diff --git a/README.md b/README.md index 7cf3ca43b7..3c73e1102e 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,13 @@ For a developer experience closer to the one the project maintainers current hav * [nvm](https://github.com/creationix/nvm) * Node.js and npm (use nvm to install them) * [Yarn](https://yarnpkg.com/) -* [AndroidStudio](https://developer.android.com/studio/) to be able to compile the Android version of the app +* [Android Studio](https://developer.android.com/studio/) to be able to compile the Android version of the app * [Xcode](https://developer.apple.com/xcode/) to be able to compile the iOS app * CocoaPods(`sudo gem install cocoapods`) needed to fetch React and third-party dependencies. * [Carthage](https://github.com/Carthage/Carthage#installing-carthage) for appium to be able run iOS UI tests +Depending on your setup, there may be a few configurations needed in Android Studio and Xcode. Please refer to [React Native's documentation](https://reactnative.dev/docs/environment-setup) for the latest requirements for each development environment. + Note that the OS platform used by the maintainers is macOS but the tools and setup should be usable in other platforms too. ### Clone the project @@ -46,7 +48,7 @@ npm install ## Run ``` -npm run start +npm run start:reset ``` Runs the packager (Metro) in development mode. The packager stays running to serve the app bundle to the clients that request it. @@ -85,6 +87,8 @@ To see a list of all of your available iOS devices, use `xcrun simctl list devic ### Troubleshooting +If the Android emulator doesn't start correctly, or compiling fails with `Could not initialize class org.codehaus.groovy.runtime.InvokerHelper` or similar, it may help to double check the set up of your development environment against the latest requirements in [React Native's documentation](https://reactnative.dev/docs/environment-setup). With Android Studio, for example, you will need to configure the `ANDROID_HOME` environment variable and ensure that your version of JDK matches the latest requirements. + Some times, and especially when tweaking anything in the `package.json`, Babel configuration (`.babelrc`) or the Jest configuration (`jest.config.js`), your changes might seem to not take effect as expected. On those times, you might need to clean various caches before starting the packager. To do that, run the script: `npm run start:reset`. Other times, you might want to reinstall the NPM packages from scratch and the `npm run clean:install` script can be handy. ## Developing with Visual Studio Code diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index c03d3078bd..4ea7203f69 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,6 +1,11 @@ Unreleased ------ +1.46.1 +------ +* [**] Make inserter long-press options "add to beginning" and "add to end" always available. [#3074] +* [*] Fix crash when Column block width attribute was empty. [https://github.com/WordPress/gutenberg/pull/29015] + 1.46.0 ------ * [***] New Block: Audio [#2854, #3070] diff --git a/bundle/ios/App.js b/bundle/ios/App.js index c7411c5ece..bb3396e7cc 100644 --- a/bundle/ios/App.js +++ b/bundle/ios/App.js @@ -4,10 +4,10 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date. !(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,o,e){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return console.warn('A function must be passed to ErrorUtils.guard, got ',n),null;var o=null!=(u=null!=r?r:n.name)?u:'';return function(){for(var r=arguments.length,u=new Array(r),e=0;e/g;function v(t,n,l,u,s){return{element:t,tokenStart:n,tokenLength:l,prevOffset:u,leadingTextStart:s,children:[]}}var h=function(t){var n='object'==typeof t,l=n&&Object.values(t);return n&&l.length&&l.every(function(t){return(0,c.isValidElement)(t)})};function b(t){var f=O(),c=(0,o.default)(f,4),p=c[0],h=c[1],b=c[2],w=c[3],x=s.length,E=b>l?l:null;if(!t[h])return k(),!1;switch(p){case'no-more-tokens':if(0!==x){var T=s.pop(),j=T.leadingTextStart,_=T.tokenStart;u.push(n.substr(j,_))}return k(),!1;case'self-closed':return 0===x?(null!==E&&u.push(n.substr(E,b-E)),u.push(t[h]),l=b+w,!0):(S(v(t[h],b,w)),l=b+w,!0);case'opener':return s.push(v(t[h],b,w,b+w,E)),l=b+w,!0;case'closer':if(1===x)return y(b),l=b+w,!0;var L=s.pop(),I=n.substr(L.prevOffset,b-L.prevOffset);L.children.push(I),L.prevOffset=b+w;var M=v(L.element,L.tokenStart,L.tokenLength,b+w);return M.children=L.children,S(M),l=b+w,!0;default:return k(),!1}}function O(){var t=p.exec(n);if(null===t)return['no-more-tokens'];var l=t.index,u=(0,o.default)(t,4),s=u[0],f=u[1],c=u[2],v=u[3],h=s.length;return v?['self-closed',c,l,h]:f?['closer',c,l,h]:['opener',c,l,h]}function k(){var t=n.length-l;0!==t&&u.push(n.substr(l,t))}function S(t){var l=t.element,u=t.tokenStart,o=t.tokenLength,p=t.prevOffset,v=t.children,h=s[s.length-1],b=n.substr(h.prevOffset,u-h.prevOffset);b&&h.children.push(b),h.children.push(c.cloneElement.apply(void 0,[l,null].concat((0,f.default)(v)))),h.prevOffset=p||u+o}function y(t){var l=s.pop(),o=l.element,p=l.leadingTextStart,v=l.prevOffset,h=l.tokenStart,b=l.children,O=t?n.substr(v,t-v):n.substr(v);O&&b.push(O),null!==p&&u.push(n.substr(p,h-p)),u.push(c.cloneElement.apply(void 0,[o,null].concat((0,f.default)(b))))}var w=function(t,o){if(n=t,l=0,u=[],s=[],p.lastIndex=0,!h(o))throw new TypeError('The conversionMap provided is not valid. It must be an object with values that are WPElements');do{}while(b(o));return c.createElement.apply(void 0,[c.Fragment,null].concat((0,f.default)(u)))};e.default=w},948,[947,949,955,959]); @@ -1034,7 +1034,7 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.sprintf=function(t){try{for(var n=arguments.length,u=new Array(n>1?n-1:0),c=1;c=0),f[8]){case'b':p=parseInt(p,10).toString(2);break;case'c':p=String.fromCharCode(parseInt(p,10));break;case'd':case'i':p=parseInt(p,10);break;case'j':p=JSON.stringify(p,null,f[6]?parseInt(f[6]):0);break;case'e':p=f[7]?parseFloat(p).toExponential(f[7]):parseFloat(p).toExponential();break;case'f':p=f[7]?parseFloat(p).toFixed(f[7]):parseFloat(p);break;case'g':p=f[7]?String(Number(p.toPrecision(f[7]))):parseFloat(p);break;case'o':p=(parseInt(p,10)>>>0).toString(8);break;case's':p=String(p),p=f[7]?p.substring(0,f[7]):p;break;case't':p=String(!!p),p=f[7]?p.substring(0,f[7]):p;break;case'T':p=Object.prototype.toString.call(p).slice(8,-1).toLowerCase(),p=f[7]?p.substring(0,f[7]):p;break;case'u':p=parseInt(p,10)>>>0;break;case'v':p=p.valueOf(),p=f[7]?p.substring(0,f[7]):p;break;case'x':p=(parseInt(p,10)>>>0).toString(16);break;case'X':p=(parseInt(p,10)>>>0).toString(16).toUpperCase()}t.json.test(f[8])?_+=p:(!t.number.test(f[8])||h&&!f[3]?y='':(y=h?'+':'-',p=p.toString().replace(t.sign,'')),b=f[4]?'0'===f[4]?'0':f[4].charAt(1):' ',x=f[6]-(y+p).length,l=f[6]&&x>0?b.repeat(x):'',_+=f[5]?y+p+l:'0'===b?y+l+p:l+y+p)}return _}var p=Object.create(null);function c(n){if(p[n])return p[n];for(var s,o=n,c=[],u=0;o;){if(null!==(s=t.text.exec(o)))c.push(s[0]);else if(null!==(s=t.modulo.exec(o)))c.push('%');else{if(null===(s=t.placeholder.exec(o)))throw new SyntaxError('[sprintf] unexpected placeholder');if(s[2]){u|=1;var f=[],l=s[2],b=[];if(null===(b=t.key.exec(l)))throw new SyntaxError('[sprintf] failed to parse named argument key');for(f.push(b[1]);''!==(l=l.substring(b[0].length));)if(null!==(b=t.key_access.exec(l)))f.push(b[1]);else{if(null===(b=t.index_access.exec(l)))throw new SyntaxError('[sprintf] failed to parse named argument key');f.push(b[1])}s[2]=f}else u|=2;if(3===u)throw new Error('[sprintf] mixing positional and named placeholders is not (yet) supported');c.push(s)}o=o.substring(s[0].length)}return p[n]=c}void 0!==e&&(e.sprintf=n,e.vsprintf=s),'undefined'!=typeof window&&(window.sprintf=n,window.vsprintf=s,'function'==typeof define&&define.amd&&define(function(){return{sprintf:n,vsprintf:s}}))})()},1030,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createI18n=void 0;var n=t(r(d[1])),o=t(r(d[2]));function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:'default';p.data[n]=l(l(l({},u),p.data[n]),t),p.data[n]['']=l(l({},u['']),p.data[n][''])},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'default',n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,c=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0;return p.data[t]||f(void 0,t),p.dcnpgettext(t,n,o,c,l)},s=function(t){return void 0===t?'default':t},_=function(t,n,o){var l=v(o,n,t);return void 0===c?l:(l=c.applyFilters('i18n.gettext_with_context',l,t,n,o),c.applyFilters('i18n.gettext_with_context_'+s(o),l,t,n,o))};return t&&f(t,n),{setLocaleData:f,__:function(t,n){var o=v(n,void 0,t);return void 0===c?o:(o=c.applyFilters('i18n.gettext',o,t,n),c.applyFilters('i18n.gettext_'+s(n),o,t,n))},_x:_,_n:function(t,n,o,l){var u=v(l,void 0,t,n,o);return void 0===c?u:(u=c.applyFilters('i18n.ngettext',u,t,n,o,l),c.applyFilters('i18n.ngettext_'+s(l),u,t,n,o,l))},_nx:function(t,n,o,l,u){var p=v(u,l,t,n,o);return void 0===c?p:(p=c.applyFilters('i18n.ngettext_with_context',p,t,n,o,l,u),c.applyFilters('i18n.ngettext_with_context_'+s(u),p,t,n,o,l,u))},isRTL:function(){return'rtl'===_('ltr','text direction')}}}},1031,[5,66,1032]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createI18n=void 0;var n=t(r(d[1])),o=t(r(d[2]));function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:'default';p.data[n]=l(l(l({},u),p.data[n]),t),p.data[n]['']=l(l({},u['']),p.data[n][''])},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'default',n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,c=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0;return p.data[t]||f(void 0,t),p.dcnpgettext(t,n,o,c,l)},s=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:'default'},_=function(t,n,o){var l=v(o,n,t);return c?(l=c.applyFilters('i18n.gettext_with_context',l,t,n,o),c.applyFilters('i18n.gettext_with_context_'+s(o),l,t,n,o)):l};return t&&f(t,n),{setLocaleData:f,__:function(t,n){var o=v(n,void 0,t);return c?(o=c.applyFilters('i18n.gettext',o,t,n),c.applyFilters('i18n.gettext_'+s(n),o,t,n)):o},_x:_,_n:function(t,n,o,l){var u=v(l,void 0,t,n,o);return c?(u=c.applyFilters('i18n.ngettext',u,t,n,o,l),c.applyFilters('i18n.ngettext_'+s(l),u,t,n,o,l)):u},_nx:function(t,n,o,l,u){var p=v(u,l,t,n,o);return c?(p=c.applyFilters('i18n.ngettext_with_context',p,t,n,o,l,u),c.applyFilters('i18n.ngettext_with_context_'+s(u),p,t,n,o,l,u)):p},isRTL:function(){return'rtl'===_('ltr','text direction')}}}},1031,[5,66,1032]); __d(function(g,r,i,a,m,e,d){'use strict';var t,o=(t=r(d[0]))&&'object'==typeof t&&'default'in t?t.default:t,s={contextDelimiter:"\x04",onMissingKey:null};function n(t){var o,s,n;for(o=t.split(';'),s=0;s=500&&n.status<600&&s?u(s).catch(function(){return!1!==t.parse?Promise.reject({code:'post_process',message:(0,o.__)('Media upload failed. If this is a photo or a large image, please scale it down and try again.')}):Promise.reject(n)}):(0,c.parseAndThrowError)(n,t.parse)}).then(function(n){return(0,c.parseResponseAndNormalizeError)(n,t.parse)})};e.default=u},1071,[5,66,1027,1072]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.parseAndThrowError=s,e.parseResponseAndNormalizeError=void 0;var n=r(d[0]),o=function(n){return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?204===n.status?null:n.json?n.json():Promise.reject(n):n},t=function(o){var t={code:'invalid_json',message:(0,n.__)('The response is not a valid JSON response.')};if(!o||!o.json)throw t;return o.json().catch(function(){throw t})};function s(o){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))throw o;return t(o).then(function(o){var t={code:'unknown_error',message:(0,n.__)('An unknown error occurred.')};throw o||t})}e.parseResponseAndNormalizeError=function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(o(n,t)).catch(function(n){return s(n,t)})}},1072,[1027]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={storeConfig:!0,store:!0,SETTINGS_DEFAULTS:!0};Object.defineProperty(e,"storeConfig",{enumerable:!0,get:function(){return u.storeConfig}}),Object.defineProperty(e,"store",{enumerable:!0,get:function(){return u.store}}),Object.defineProperty(e,"SETTINGS_DEFAULTS",{enumerable:!0,get:function(){return c.SETTINGS_DEFAULTS}}),r(d[0]),r(d[1]);var n=r(d[2]);Object.keys(n).forEach(function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(e,o,{enumerable:!0,get:function(){return n[o]}}))});var o=r(d[3]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var u=r(d[4]),c=r(d[5])},1073,[1074,2107,2110,2272,2235,2237]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),Object.defineProperty(e,"applyFormat",{enumerable:!0,get:function(){return u.applyFormat}}),Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return o.concat}}),Object.defineProperty(e,"create",{enumerable:!0,get:function(){return c.create}}),Object.defineProperty(e,"getActiveFormat",{enumerable:!0,get:function(){return b.getActiveFormat}}),Object.defineProperty(e,"getActiveObject",{enumerable:!0,get:function(){return f.getActiveObject}}),Object.defineProperty(e,"getTextContent",{enumerable:!0,get:function(){return l.getTextContent}}),Object.defineProperty(e,"__unstableIsListRootSelected",{enumerable:!0,get:function(){return s.isListRootSelected}}),Object.defineProperty(e,"__unstableIsActiveListType",{enumerable:!0,get:function(){return p.isActiveListType}}),Object.defineProperty(e,"isCollapsed",{enumerable:!0,get:function(){return y.isCollapsed}}),Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return O.isEmpty}}),Object.defineProperty(e,"__unstableIsEmptyLine",{enumerable:!0,get:function(){return O.isEmptyLine}}),Object.defineProperty(e,"join",{enumerable:!0,get:function(){return j.join}}),Object.defineProperty(e,"registerFormatType",{enumerable:!0,get:function(){return P.registerFormatType}}),Object.defineProperty(e,"removeFormat",{enumerable:!0,get:function(){return _.removeFormat}}),Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return L.remove}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return I.replace}}),Object.defineProperty(e,"insert",{enumerable:!0,get:function(){return T.insert}}),Object.defineProperty(e,"__unstableInsertLineSeparator",{enumerable:!0,get:function(){return v.insertLineSeparator}}),Object.defineProperty(e,"__unstableRemoveLineSeparator",{enumerable:!0,get:function(){return A.removeLineSeparator}}),Object.defineProperty(e,"insertObject",{enumerable:!0,get:function(){return F.insertObject}}),Object.defineProperty(e,"slice",{enumerable:!0,get:function(){return E.slice}}),Object.defineProperty(e,"split",{enumerable:!0,get:function(){return S.split}}),Object.defineProperty(e,"__unstableToDom",{enumerable:!0,get:function(){return R.toDom}}),Object.defineProperty(e,"toHTMLString",{enumerable:!0,get:function(){return C.toHTMLString}}),Object.defineProperty(e,"toggleFormat",{enumerable:!0,get:function(){return h.toggleFormat}}),Object.defineProperty(e,"__UNSTABLE_LINE_SEPARATOR",{enumerable:!0,get:function(){return x.LINE_SEPARATOR}}),Object.defineProperty(e,"unregisterFormatType",{enumerable:!0,get:function(){return M.unregisterFormatType}}),Object.defineProperty(e,"__unstableCanIndentListItems",{enumerable:!0,get:function(){return N.canIndentListItems}}),Object.defineProperty(e,"__unstableCanOutdentListItems",{enumerable:!0,get:function(){return D.canOutdentListItems}}),Object.defineProperty(e,"__unstableIndentListItems",{enumerable:!0,get:function(){return H.indentListItems}}),Object.defineProperty(e,"__unstableOutdentListItems",{enumerable:!0,get:function(){return B.outdentListItems}}),Object.defineProperty(e,"__unstableChangeListType",{enumerable:!0,get:function(){return U.changeListType}}),Object.defineProperty(e,"__unstableCreateElement",{enumerable:!0,get:function(){return k.createElement}}),Object.defineProperty(e,"useAnchorRef",{enumerable:!0,get:function(){return q.useAnchorRef}}),Object.defineProperty(e,"__experimentalRichText",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"__unstableFormatEdit",{enumerable:!0,get:function(){return z.default}});var n=r(d[1]),u=r(d[2]),o=r(d[3]),c=r(d[4]),b=r(d[5]),f=r(d[6]),l=r(d[7]),s=r(d[8]),p=r(d[9]),y=r(d[10]),O=r(d[11]),j=r(d[12]),P=r(d[13]),_=r(d[14]),L=r(d[15]),I=r(d[16]),T=r(d[17]),v=r(d[18]),A=r(d[19]),F=r(d[20]),E=r(d[21]),S=r(d[22]),R=r(d[23]),C=r(d[24]),h=r(d[25]),x=r(d[26]),M=r(d[27]),N=r(d[28]),D=r(d[29]),H=r(d[30]),B=r(d[31]),U=r(d[32]),k=r(d[33]),q=r(d[34]),w=t(r(d[35])),z=t(r(d[36]))},1074,[5,1075,1177,1180,1181,1184,1186,1187,1188,1190,1191,1192,1193,1194,1195,1196,1198,1197,1199,1200,1201,1202,1203,1204,1207,1208,1183,1209,1210,1211,1212,1213,1216,1182,1217,1218,1693]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={storeConfig:!0,store:!0,SETTINGS_DEFAULTS:!0};Object.defineProperty(e,"storeConfig",{enumerable:!0,get:function(){return u.storeConfig}}),Object.defineProperty(e,"store",{enumerable:!0,get:function(){return u.store}}),Object.defineProperty(e,"SETTINGS_DEFAULTS",{enumerable:!0,get:function(){return c.SETTINGS_DEFAULTS}}),r(d[0]),r(d[1]);var n=r(d[2]);Object.keys(n).forEach(function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(e,o,{enumerable:!0,get:function(){return n[o]}}))});var o=r(d[3]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var u=r(d[4]),c=r(d[5])},1073,[1074,2110,2113,2276,2238,2240]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),Object.defineProperty(e,"applyFormat",{enumerable:!0,get:function(){return u.applyFormat}}),Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return o.concat}}),Object.defineProperty(e,"create",{enumerable:!0,get:function(){return c.create}}),Object.defineProperty(e,"getActiveFormat",{enumerable:!0,get:function(){return b.getActiveFormat}}),Object.defineProperty(e,"getActiveObject",{enumerable:!0,get:function(){return f.getActiveObject}}),Object.defineProperty(e,"getTextContent",{enumerable:!0,get:function(){return l.getTextContent}}),Object.defineProperty(e,"__unstableIsListRootSelected",{enumerable:!0,get:function(){return s.isListRootSelected}}),Object.defineProperty(e,"__unstableIsActiveListType",{enumerable:!0,get:function(){return p.isActiveListType}}),Object.defineProperty(e,"isCollapsed",{enumerable:!0,get:function(){return y.isCollapsed}}),Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return O.isEmpty}}),Object.defineProperty(e,"__unstableIsEmptyLine",{enumerable:!0,get:function(){return O.isEmptyLine}}),Object.defineProperty(e,"join",{enumerable:!0,get:function(){return j.join}}),Object.defineProperty(e,"registerFormatType",{enumerable:!0,get:function(){return P.registerFormatType}}),Object.defineProperty(e,"removeFormat",{enumerable:!0,get:function(){return _.removeFormat}}),Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return L.remove}}),Object.defineProperty(e,"replace",{enumerable:!0,get:function(){return I.replace}}),Object.defineProperty(e,"insert",{enumerable:!0,get:function(){return T.insert}}),Object.defineProperty(e,"__unstableInsertLineSeparator",{enumerable:!0,get:function(){return v.insertLineSeparator}}),Object.defineProperty(e,"__unstableRemoveLineSeparator",{enumerable:!0,get:function(){return A.removeLineSeparator}}),Object.defineProperty(e,"insertObject",{enumerable:!0,get:function(){return F.insertObject}}),Object.defineProperty(e,"slice",{enumerable:!0,get:function(){return E.slice}}),Object.defineProperty(e,"split",{enumerable:!0,get:function(){return S.split}}),Object.defineProperty(e,"__unstableToDom",{enumerable:!0,get:function(){return R.toDom}}),Object.defineProperty(e,"toHTMLString",{enumerable:!0,get:function(){return C.toHTMLString}}),Object.defineProperty(e,"toggleFormat",{enumerable:!0,get:function(){return h.toggleFormat}}),Object.defineProperty(e,"__UNSTABLE_LINE_SEPARATOR",{enumerable:!0,get:function(){return x.LINE_SEPARATOR}}),Object.defineProperty(e,"unregisterFormatType",{enumerable:!0,get:function(){return M.unregisterFormatType}}),Object.defineProperty(e,"__unstableCanIndentListItems",{enumerable:!0,get:function(){return N.canIndentListItems}}),Object.defineProperty(e,"__unstableCanOutdentListItems",{enumerable:!0,get:function(){return D.canOutdentListItems}}),Object.defineProperty(e,"__unstableIndentListItems",{enumerable:!0,get:function(){return H.indentListItems}}),Object.defineProperty(e,"__unstableOutdentListItems",{enumerable:!0,get:function(){return B.outdentListItems}}),Object.defineProperty(e,"__unstableChangeListType",{enumerable:!0,get:function(){return U.changeListType}}),Object.defineProperty(e,"__unstableCreateElement",{enumerable:!0,get:function(){return k.createElement}}),Object.defineProperty(e,"useAnchorRef",{enumerable:!0,get:function(){return q.useAnchorRef}}),Object.defineProperty(e,"__experimentalRichText",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"__unstableFormatEdit",{enumerable:!0,get:function(){return z.default}});var n=r(d[1]),u=r(d[2]),o=r(d[3]),c=r(d[4]),b=r(d[5]),f=r(d[6]),l=r(d[7]),s=r(d[8]),p=r(d[9]),y=r(d[10]),O=r(d[11]),j=r(d[12]),P=r(d[13]),_=r(d[14]),L=r(d[15]),I=r(d[16]),T=r(d[17]),v=r(d[18]),A=r(d[19]),F=r(d[20]),E=r(d[21]),S=r(d[22]),R=r(d[23]),C=r(d[24]),h=r(d[25]),x=r(d[26]),M=r(d[27]),N=r(d[28]),D=r(d[29]),H=r(d[30]),B=r(d[31]),U=r(d[32]),k=r(d[33]),q=r(d[34]),w=t(r(d[35])),z=t(r(d[36]))},1074,[5,1075,1177,1180,1181,1184,1186,1187,1188,1190,1191,1192,1193,1194,1195,1196,1198,1197,1199,1200,1201,1202,1203,1204,1207,1208,1183,1209,1210,1211,1212,1213,1216,1182,1217,1218,1696]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=void 0;var c=r(d[2]),s=o(r(d[3])),u=t(r(d[4])),l=t(r(d[5])),n=(0,c.createReduxStore)('core/rich-text',{reducer:s.default,selectors:u,actions:l});e.store=n,(0,c.register)(n)},1075,[32,5,1076,1173,1174,1176]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"combineReducers",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"withSelect",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"withDispatch",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"withRegistry",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"RegistryProvider",{enumerable:!0,get:function(){return b.RegistryProvider}}),Object.defineProperty(e,"RegistryConsumer",{enumerable:!0,get:function(){return b.RegistryConsumer}}),Object.defineProperty(e,"useRegistry",{enumerable:!0,get:function(){return b.useRegistry}}),Object.defineProperty(e,"useSelect",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"useDispatch",{enumerable:!0,get:function(){return p.useDispatch}}),Object.defineProperty(e,"AsyncModeProvider",{enumerable:!0,get:function(){return P.AsyncModeProvider}}),Object.defineProperty(e,"createRegistry",{enumerable:!0,get:function(){return v.createRegistry}}),Object.defineProperty(e,"createRegistrySelector",{enumerable:!0,get:function(){return R.createRegistrySelector}}),Object.defineProperty(e,"createRegistryControl",{enumerable:!0,get:function(){return R.createRegistryControl}}),Object.defineProperty(e,"controls",{enumerable:!0,get:function(){return j.controls}}),Object.defineProperty(e,"createReduxStore",{enumerable:!0,get:function(){return O.default}}),e.plugins=e.register=e.use=e.registerStore=e.registerGenericStore=e.subscribe=e.dispatch=e.__experimentalResolveSelect=e.select=void 0;var u=n(r(d[2])),c=n(r(d[3])),o=t(r(d[4]));e.plugins=o;var s=n(r(d[5])),l=n(r(d[6])),f=n(r(d[7])),b=r(d[8]),y=n(r(d[9])),p=r(d[10]),P=r(d[11]),v=r(d[12]),R=r(d[13]),j=r(d[14]),O=n(r(d[15])),S=c.default.select;e.select=S;var _=c.default.__experimentalResolveSelect;e.__experimentalResolveSelect=_;var h=c.default.dispatch;e.dispatch=h;var x=c.default.subscribe;e.subscribe=x;var C=c.default.registerGenericStore;e.registerGenericStore=C;var w=c.default.registerStore;e.registerStore=w;var D=c.default.use;e.use=D;var G=c.default.register;e.register=G},1076,[32,5,1077,1078,1109,1115,1166,1170,1171,1161,1167,1172,1079,1100,1099,1080]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"combineReducers",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"withSelect",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"withDispatch",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"withRegistry",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"RegistryProvider",{enumerable:!0,get:function(){return b.RegistryProvider}}),Object.defineProperty(e,"RegistryConsumer",{enumerable:!0,get:function(){return b.RegistryConsumer}}),Object.defineProperty(e,"useRegistry",{enumerable:!0,get:function(){return b.useRegistry}}),Object.defineProperty(e,"useSelect",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"useDispatch",{enumerable:!0,get:function(){return p.useDispatch}}),Object.defineProperty(e,"AsyncModeProvider",{enumerable:!0,get:function(){return P.AsyncModeProvider}}),Object.defineProperty(e,"createRegistry",{enumerable:!0,get:function(){return v.createRegistry}}),Object.defineProperty(e,"createRegistrySelector",{enumerable:!0,get:function(){return j.createRegistrySelector}}),Object.defineProperty(e,"createRegistryControl",{enumerable:!0,get:function(){return j.createRegistryControl}}),Object.defineProperty(e,"controls",{enumerable:!0,get:function(){return O.controls}}),Object.defineProperty(e,"createReduxStore",{enumerable:!0,get:function(){return R.default}}),e.plugins=e.register=e.use=e.registerStore=e.registerGenericStore=e.subscribe=e.dispatch=e.resolveSelect=e.select=void 0;var u=n(r(d[2])),c=n(r(d[3])),o=t(r(d[4]));e.plugins=o;var s=n(r(d[5])),l=n(r(d[6])),f=n(r(d[7])),b=r(d[8]),y=n(r(d[9])),p=r(d[10]),P=r(d[11]),v=r(d[12]),j=r(d[13]),O=r(d[14]),R=n(r(d[15])),S=c.default.select;e.select=S;var h=c.default.resolveSelect;e.resolveSelect=h;var C=c.default.dispatch;e.dispatch=C;var _=c.default.subscribe;e.subscribe=_;var w=c.default.registerGenericStore;e.registerGenericStore=w;var D=c.default.registerStore;e.registerStore=D;var G=c.default.use;e.use=G;var M=c.default.register;e.register=M},1076,[32,5,1077,1078,1109,1115,1166,1170,1171,1161,1167,1172,1079,1100,1099,1080]); __d(function(g,r,i,a,m,e,d){m.exports=function(n){var t,u=Object.keys(n);return t=(function(){var n,t,f;for(n='return {',t=0;t0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,f={},b=[],p=new Set;function v(){b.forEach(function(t){return t()})}var y=function(t){return b.push(t),function(){b=(0,c.without)(b,t)}};function O(t,n){if('function'!=typeof n.getSelectors)throw new TypeError('config.getSelectors must be a function');if('function'!=typeof n.getActions)throw new TypeError('config.getActions must be a function');if('function'!=typeof n.subscribe)throw new TypeError('config.subscribe must be a function');f[t]=n,n.subscribe(v)}var h={registerGenericStore:O,stores:f,namespaces:f,subscribe:y,select:function(t){var n=(0,c.isObject)(t)?t.name:t;p.add(n);var u=f[n];if(u)return u.getSelectors();return o&&o.select(n)},__experimentalResolveSelect:function(t){var n=(0,c.isObject)(t)?t.name:t;p.add(n);var u=f[n];if(u)return u.__experimentalGetResolveSelectors();return o&&o.__experimentalResolveSelect(n)},dispatch:function(t){var n=(0,c.isObject)(t)?t.name:t,u=f[n];if(u)return u.getActions();return o&&o.dispatch(n)},use:function(t,n){return h=l(l({},h),t(h,n))},register:function(t){O(t.name,t.instantiate(h))},__experimentalMarkListeningStores:function(t,n){p.clear();var o=t.call(this);return n.current=Array.from(p),o},__experimentalSubscribeStore:function(t,n){if(t in f)return f[t].subscribe(n);if(!o)return y(n);return o.__experimentalSubscribeStore(t,n)}};h.registerStore=function(t,n){if(!n.reducer)throw new TypeError('Must specify store reducer');var o=(0,u.default)(t,n).instantiate(h);return O(t,o),o.store},O('core/data',(0,s.default)(h)),Object.entries(t).forEach(function(t){var o=(0,n.default)(t,2),c=o[0],u=o[1];return h.registerStore(c,u)}),o&&o.subscribe(v);return S=h,(0,c.mapValues)(S,function(t,n){return'function'!=typeof t?t:function(){return h[n].apply(null,arguments)}});var S};var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),u=t(r(d[4])),s=t(r(d[5]));function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var n=1;n1?u-1:0),l=1;l1?u-1:0),l=1;l3?s-3:0),p=3;p0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,f={},b=[],p=new Set;function v(){b.forEach(function(t){return t()})}var y=function(t){return b.push(t),function(){b=(0,c.without)(b,t)}};function O(t,n){if('function'!=typeof n.getSelectors)throw new TypeError('config.getSelectors must be a function');if('function'!=typeof n.getActions)throw new TypeError('config.getActions must be a function');if('function'!=typeof n.subscribe)throw new TypeError('config.subscribe must be a function');f[t]=n,n.subscribe(v)}var h={registerGenericStore:O,stores:f,namespaces:f,subscribe:y,select:function(t){var n=(0,c.isObject)(t)?t.name:t;p.add(n);var u=f[n];if(u)return u.getSelectors();return o&&o.select(n)},resolveSelect:function(t){var n=(0,c.isObject)(t)?t.name:t;p.add(n);var u=f[n];if(u)return u.getResolveSelectors();return o&&o.resolveSelect(n)},dispatch:function(t){var n=(0,c.isObject)(t)?t.name:t,u=f[n];if(u)return u.getActions();return o&&o.dispatch(n)},use:function(t,n){return h=l(l({},h),t(h,n))},register:function(t){O(t.name,t.instantiate(h))},__experimentalMarkListeningStores:function(t,n){p.clear();var o=t.call(this);return n.current=Array.from(p),o},__experimentalSubscribeStore:function(t,n){if(t in f)return f[t].subscribe(n);if(!o)return y(n);return o.__experimentalSubscribeStore(t,n)}};h.registerStore=function(t,n){if(!n.reducer)throw new TypeError('Must specify store reducer');var o=(0,u.default)(t,n).instantiate(h);return O(t,o),o.store},O('core/data',(0,s.default)(h)),Object.entries(t).forEach(function(t){var o=(0,n.default)(t,2),c=o[0],u=o[1];return h.registerStore(c,u)}),o&&o.subscribe(v);return S=h,(0,c.mapValues)(S,function(t,n){return'function'!=typeof t?t:function(){return h[n].apply(null,arguments)}});var S};var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),u=t(r(d[4])),s=t(r(d[5]));function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var n=1;n1?u-1:0),s=1;s1?u-1:0),s=1;s3?l-3:0),p=3;p0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(p)throw p;for(var u=!1,c={},l=0;l2?o-2:0),s=2;s2?o-2:0),s=2;s2?o-2:0),s=2;s2?o-2:0),s=2;s2?o-2:0),s=2;s2?o-2:0),s=2;s1&&void 0!==arguments[1]?arguments[1]:{},c=l.version,u=l.alternative,v=l.plugin,s=l.link,f=l.hint,p=t+" is deprecated"+(c?" and will be removed"+(v?" from "+v:'')+" in version "+c:'')+"."+(u?" Please use "+u+" instead.":'')+(s?" See: "+s:'')+(f?" Note: "+f:'');if(p in o)return;(0,n.doAction)('deprecated',t,l,p),console.warn(p),o[p]=!0},e.logged=void 0;var n=r(d[0]),o=Object.create(null);e.logged=o},1111,[4]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createPersistenceInterface=O,e.default=e.withLazySameState=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),s=t(r(d[4])),u=r(d[5]);function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var n=1;n0,l=(0,c.has)(o,['core/edit-post','preferences','features','fullscreenMode']);f&&!l&&(u=(0,c.merge)({},u,{preferences:{features:{fullscreenMode:!1}}}));var p=(0,c.get)(o,['core/nux','preferences','areTipsEnabled']),v=(0,c.has)(o,['core/edit-post','preferences','features','welcomeGuide']);void 0===p||v||(u=(0,c.merge)({},u,{preferences:{features:{welcomeGuide:p}}})),u!==o['core/edit-post']&&n.set('core/edit-post',u)};var y=S;e.default=y},1112,[5,24,66,1068,1113,1076]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createPersistenceInterface=O,e.default=e.withLazySameState=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),s=t(r(d[4])),u=r(d[5]);function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var n=1;n0,j=(0,c.has)(u,['core/edit-post','preferences','features','fullscreenMode']);y&&!j&&(S=(0,c.merge)({},S,{preferences:{features:{fullscreenMode:!1}}}));var P=(0,c.get)(u,['core/nux','preferences','areTipsEnabled']),h=(0,c.has)(u,['core/edit-post','preferences','features','welcomeGuide']);void 0===P||h||(S=(0,c.merge)({},S,{preferences:{features:{welcomeGuide:P}}})),S!==u['core/edit-post']&&s.set('core/edit-post',S)};var y=S;e.default=y},1112,[5,24,66,1068,1113,1076]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,l=t(r(d[1]));try{(o=window.localStorage).setItem('__wpDataTestLocalStorage',''),o.removeItem('__wpDataTestLocalStorage')}catch(t){o=l.default}var _=o;e.default=_},1113,[5,1114]); __d(function(g,r,i,a,m,e,d){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={getItem:function(n){return t&&t[n]?t[n]:null},setItem:function(u,l){t||n.clear(),t[u]=String(l)},clear:function(){t=Object.create(null)}},u=n;e.default=u},1114,[]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),f=r(d[3]),o=t(r(d[4])),c=function(t){return(0,f.createHigherOrderComponent)(function(c){return(0,f.pure)(function(f){var l=(0,o.default)(function(n,u){return t(n,f,u)});return(0,n.createElement)(c,(0,u.default)({},f,l))})},'withSelect')};e.default=c},1115,[5,946,24,1116,1161]); @@ -1221,19 +1221,19 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.g __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChildIndex=function(n,l){for(var f=n.text,u=n.replacements,o=u[l]||[],_=l,c=l||0;c=o.length))return _;_=c}return _};var t=r(d[0])},1215,[1183]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.changeListType=function(t,n){for(var p,O=t.text,l=t.replacements,s=t.start,b=t.end,y=(0,o.getLineIndex)(t,s),j=l[y]||[],P=l[(0,o.getLineIndex)(t,b)]||[],h=(0,f.getParentLineIndex)(t,y),v=l.slice(),w=j.length-1,L=P.length-1,_=h+1||0;_L?t:n}))}if(!p)return t;return u(u({},t),{},{replacements:v})};var n=t(r(d[1])),c=r(d[2]),o=r(d[3]),f=r(d[4]);function p(t,n){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),c.push.apply(c,o)}return c}function u(t){for(var c=1;c]*>','gim'),s=RegExp('$','gim');return n.replace(o,'').replace(s,'')}},{key:"removeTag",value:function(t,n){var o=RegExp('<'+t+'>','gim'),s=RegExp('','gim');return n.replace(o,'').replace(s,'')}},{key:"convertFontSizeFromString",value:function(t){return t&&(0,y.isString)(t)&&t.endsWith('px')?parseFloat(t.substring(0,t.length-2)):t}},{key:"onChangeFromAztec",value:function(t){this.removeRootTagsProduceByAztec(G(t.nativeEvent.text))!==this.value&&(this.lastEventCount=t.nativeEvent.eventCount,this.comesFromAztec=!0,this.firedAfterTextChanged=!0,this.onTextUpdate(t),this.lastAztecEventType='input')}},{key:"onTextUpdate",value:function(t){var n=this.removeRootTagsProduceByAztec(G(t.nativeEvent.text)),o=n;this.isIOS||(o=this.restoreParagraphTags(n,this.multilineTag)),this.debounceCreateUndoLevel();var s=this.value!==o;this.value=o,s&&this.props.onChange(o)}},{key:"restoreParagraphTags",value:function(t,n){return'p'!==n||t&&t.startsWith('

')?t:'

'+t+'

'}},{key:"onContentSizeChange",value:function(t){this.setState(t),this.lastAztecEventType='content size change'}},{key:"onKeyDown",value:function(t){t.defaultPrevented||(this.handleDelete(t),this.handleEnter(t),this.handleTriggerKeyCodes(t))}},{key:"handleEnter",value:function(t){if(t.keyCode===A.ENTER){var n=this.props.onEnter;n&&(n({value:this.createRecord(),onChange:this.onFormatChange,shiftKey:t.shiftKey}),this.lastAztecEventType='input')}}},{key:"handleDelete",value:function(t){var n=t.keyCode;if(n===A.DELETE||n===A.BACKSPACE){var o=n===A.BACKSPACE,s=this.props,l=s.onDelete,u=s.__unstableMultilineTag;this.lastEventCount=t.nativeEvent.eventCount,this.comesFromAztec=!0,this.firedAfterTextChanged=t.nativeEvent.firedAfterTextChanged;var h,c=this.createRecord(),p=c.start,v=c.end,f=c.text;return 0===p&&0!==v&&v>=f.length?(h=(0,H.remove)(c),this.onFormatChange(h),void t.preventDefault()):u&&(h=o&&0===c.start&&0===c.end&&(0,M.isEmptyLine)(c)?(0,j.removeLineSeparator)(c,!o):(0,j.removeLineSeparator)(c,o))?(this.onFormatChange(h),void t.preventDefault()):void(!l||!(0,K.isCollapsed)(c)||o&&0!==p||!o&&v!==f.length||(l({isReverse:o,value:c}),t.preventDefault(),this.lastAztecEventType='input'))}}},{key:"handleTriggerKeyCodes",value:function(t){var n=t.keyCode,o=this.suggestionOptions().find(function(t){return t.triggerChar.charCodeAt(0)===n});if(o){var s=this.getRecord(),l=(0,B.getTextContent)(s);(0===l.length||0===s.start||'\n'===l.charAt(s.start-1)||' '===l.charAt(s.start-1))&&o.onClick?o.onClick():this.insertString(s,o.triggerChar)}}},{key:"suggestionOptions",value:function(){var t=this.props,n=t.areMentionsSupported,o=t.areXPostsSupported;return[{supported:n,title:(0,_.__)('Insert mention'),onClick:this.handleUserSuggestion,triggerChar:'@',value:'mention',label:(0,_.__)('Mention'),icon:R.atSymbol},{supported:o,title:(0,_.__)('Insert crosspost'),onClick:this.handleXpostSuggestion,triggerChar:'+',value:'crosspost',label:(0,_.__)('Crosspost'),icon:R.plus}].filter(function(t){return t.supported})}},{key:"handleSuggestionFunc",value:function(t,n){var o=this;return function(){var s=o.getRecord();t().then(function(t){o.insertString(s,""+n+t+" ")}).catch(function(){})}}},{key:"onPaste",value:function(t){var n=this.props,o=n.onPaste,s=n.onChange,l=this.state.activeFormats,u=void 0===l?[]:l,h=t.nativeEvent,c=h.pastedText,p=h.pastedHtml,v=h.files,f=this.createRecord();if(t.preventDefault(),!(0,K.isCollapsed)(f)){var C=(p||c).replace(/<[^>]+>/g,'').trim();if((0,z.isURL)(C)){var S=(0,w.applyFormat)(f,{type:'a',attributes:{href:(0,x.decodeEntities)(C)}});return this.value=this.valueToFormat(S),s(this.value),void window.console.log('Created link:\n\n',C)}}o&&o({value:f,onChange:this.onFormatChange,html:p,plainText:c,files:v,activeFormats:u})}},{key:"onFocus",value:function(){this.isTouched=!0;var t=this.props,n=t.unstableOnFocus,o=t.onSelectionChange;n&&n(),o(this.selectionStart,this.selectionEnd),this.lastAztecEventType='focus'}},{key:"onBlur",value:function(t){this.isTouched=!1,t.nativeEvent.text&&t.nativeEvent.text!==this.props.value&&this.onTextUpdate(t),this.props.onBlur&&this.props.onBlur(t),this.lastAztecEventType='blur'}},{key:"onSelectionChange",value:function(t,n){var o=this.selectionStart!==t||this.selectionEnd!==n;this.selectionStart=t,this.selectionEnd=n;var s='input'!==this.lastAztecEventType&&this.props.value===this.value;if(o&&s){var l=this.createRecord(),u=(0,U.getActiveFormats)(l);this.setState({activeFormats:u})}this.props.onSelectionChange(t,n)}},{key:"onSelectionChangeFromAztec",value:function(t,n,o,s){var l=Math.min(t,n),u=Math.max(t,n);this.removeRootTagsProduceByAztec(G(s.nativeEvent.text))===this.value&&l===this.selectionStart&&u===this.selectionEnd||(this.comesFromAztec=!0,this.firedAfterTextChanged=!0,this.onTextUpdate(s),this.props.__unstableIsSelected&&this.onSelectionChange(l,u),this.lastEventCount=s.nativeEvent.eventCount,this.lastAztecEventType='selection change')}},{key:"isEmpty",value:function(){return(0,M.isEmpty)(this.formatToValue(this.props.value))}},{key:"formatToValue",value:function(t){var n=this.props.preserveWhiteSpace;return Array.isArray(t)?(0,I.create)({html:k.childrenBlock.toHTML(t),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:n}):'string'===this.props.format?(0,I.create)({html:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:n}):null===t?(0,I.create)():t}},{key:"shouldComponentUpdate",value:function(t){return t.tagName!==this.props.tagName||t.reversed!==this.props.reversed||t.start!==this.props.start?(this.lastEventCount=void 0,this.value=void 0,!0):(void 0===t.value||void 0===this.props.value||this.comesFromAztec&&this.firedAfterTextChanged||t.value===this.props.value||(void 0!==t.selectionStart&&void 0!==t.selectionEnd&&(this.needsSelectionUpdate=!0),this.lastEventCount=void 0),this.comesFromAztec||void 0!==t.selectionStart&&void 0!==t.selectionEnd&&t.selectionStart!==this.props.selectionStart&&t.selectionStart!==this.selectionStart&&t.__unstableIsSelected&&(this.needsSelectionUpdate=!0,this.lastEventCount=void 0),!0)}},{key:"componentDidMount",value:function(){this.props.blockIsSelected&&!this.props.__unstableMobileNoFocusOnMount&&(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0))}},{key:"componentWillUnmount",value:function(){this._editor.isFocused()&&this._editor.blur()}},{key:"componentDidUpdate",value:function(t){this.props.value!==this.value&&(this.value=this.props.value,this.lastEventCount=void 0);var n=this.props.__unstableIsSelected,o=t.__unstableIsSelected;n&&!o?(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0)):!n&&o&&this._editor.blur()}},{key:"getHtmlToRender",value:function(t,n){var o=this.valueToFormat(t);if(void 0===o&&(this.lastEventCount=void 0,o=''),!this.isIOS&&(''===o||"

"===o))return'';if(n){var s="";"ol"===n&&(this.props.reversed&&(s+=" reversed"),this.props.start&&(s+=" start="+this.props.start)),o="<"+n+" "+s+">"+o+""}return o}},{key:"render",value:function(){var t=this,s=this.props,l=s.tagName,u=s.style,h=s.__unstableIsSelected,c=s.children,p=s.getStylesFromColorScheme,v=s.minWidth,S=s.maxWidth,y=s.formatTypes,T=s.parentBlockStyles,b=s.accessibilityLabel,F=s.disableEditingMenu,k=void 0!==F&&F,x=this.getRecord(),A=this.getHtmlToRender(x,l),z=p(V.default.richTextPlaceholder,V.default.richTextPlaceholderDark).color,R=p(V.default.richText,V.default.richTextDark),_=R.color,P=R.textDecorationColor,w=R.fontFamily,D=null;if(this.needsSelectionUpdate&&(this.needsSelectionUpdate=!1,D={start:this.props.selectionStart,end:this.props.selectionEnd},!this.isIOS)){var U=A.match(/(
)+<\/p>$/g);if(U){console.warn('Oops, BR tag(s) at the end of content. Aztec will remove them, adapting the selection...');var W=(U[0].match(/br/g)||[]).length;if(W>0){var B=this.props.selectionStart-W;B<0&&(B=0);var M=this.props.selectionEnd-W;M<0&&(M=0),D={start:B,end:M}}}}this.comesFromAztec&&(this.comesFromAztec=!1,this.firedAfterTextChanged=!1);var I=S&&this.state.width&&S-this.state.width<10?S:this.state.width,L=(null==u?void 0:u.padding)&&(null==u?void 0:u.backgroundColor)&&{padding:u.padding,backgroundColor:u.backgroundColor};return(0,n.createElement)(C.View,{style:L},c&&c({isSelected:h,value:x,onChange:this.onFormatChange,onFocus:function(){}}),(0,n.createElement)(f.default,(0,o.default)({accessibilityLabel:b,ref:function(n){t._editor=n,t.props.setRef&&t.props.setRef(n)},style:$($($({backgroundColor:V.default.richText.backgroundColor},u),this.isIOS&&v&&S?{width:I}:{maxWidth:S}),{},{minHeight:this.state.height}),text:{text:A,eventCount:this.lastEventCount,selection:D,linkTextColor:P},placeholder:this.props.placeholder,placeholderTextColor:this.props.placeholderTextColor||z,deleteEnter:this.props.deleteEnter,onChange:this.onChangeFromAztec,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,triggerKeyCodes:this.suggestionOptions().map(function(t){return t.triggerChar}),onPaste:this.onPaste,activeFormats:this.getActiveFormatNames(x),onContentSizeChange:this.onContentSizeChange,onCaretVerticalPositionChange:this.props.onCaretVerticalPositionChange,onSelectionChange:this.onSelectionChangeFromAztec,blockType:{tag:l},color:u&&u.color||T&&T.color||_,maxImagesWidth:200,fontFamily:this.props.fontFamily||w,fontSize:this.props.fontSize||u&&this.convertFontSizeFromString(u.fontSize),fontWeight:this.props.fontWeight,fontStyle:this.props.fontStyle,disableEditingMenu:k,isMultiline:this.isMultiline,textAlign:this.props.textAlign},this.isIOS?{maxWidth:S}:{},{minWidth:v,id:this.props.id,selectionColor:this.props.selectionColor})),h&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(O.default,{formatTypes:y,value:x,onChange:this.onFormatChange,onFocus:function(){}}),(0,n.createElement)(E.BlockFormatControls,null,(0,n.createElement)(N.default,{options:this.suggestionOptions()}))))}}]),P})(n.Component);e.RichText=Q,Q.defaultProps={format:'string',value:'',tagName:'div'};var Y=(0,b.compose)([(0,F.withSelect)(function(t,n){var o=n.clientId,s=t('core/block-editor'),l=s.getBlockParents,u=s.getBlock,h=s.getSettings,c=l(o,!0),p=c?u(c[0]):void 0,v=(0,y.get)(p,['attributes','childrenStyles'])||{};return $({areMentionsSupported:!0===h('capabilities').mentions,areXPostsSupported:!0===h('capabilities').xposts},{parentBlockStyles:v})}),b.withPreferredColorScheme,function(t){return function(s){var l=(0,P.useFormatTypes)({clientId:s.clientId,identifier:s.identifier,withoutInteractiveFormatting:s.withoutInteractiveFormatting}).formatTypes;return(0,n.createElement)(t,(0,o.default)({},s,{formatTypes:l}))}}])(Q);e.default=Y},1218,[5,946,24,66,7,42,60,57,59,56,1219,25,945,1068,1029,1073,1116,1076,1223,1657,1221,1043,1247,1027,1692,1693,1177,1184,1185,1197,1187,1192,1181,1207,1200,1191,1196,1694,1695]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.RichText=void 0;var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),h=t(r(d[6])),c=t(r(d[7])),p=t(r(d[8])),v=t(r(d[9])),f=t(r(d[10])),C=r(d[11]),S=r(d[12]),y=r(d[13]),T=t(r(d[14])),E=r(d[15]),b=r(d[16]),F=r(d[17]),k=r(d[18]),x=r(d[19]),A=r(d[20]),z=r(d[21]),R=r(d[22]),_=r(d[23]),P=r(d[24]),O=t(r(d[25])),w=r(d[26]),D=r(d[27]),U=r(d[28]),W=r(d[29]),B=r(d[30]),M=r(d[31]),I=r(d[32]),L=r(d[33]),j=r(d[34]),K=r(d[35]),H=r(d[36]),V=t(r(d[37])),N=t(r(d[38]));function X(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function $(t){for(var n=1;n]*>','gim'),s=RegExp('$','gim');return n.replace(o,'').replace(s,'')}},{key:"removeTag",value:function(t,n){var o=RegExp('<'+t+'>','gim'),s=RegExp('','gim');return n.replace(o,'').replace(s,'')}},{key:"convertFontSizeFromString",value:function(t){return t&&(0,y.isString)(t)&&t.endsWith('px')?parseFloat(t.substring(0,t.length-2)):t}},{key:"onChangeFromAztec",value:function(t){this.removeRootTagsProduceByAztec(G(t.nativeEvent.text))!==this.value&&(this.lastEventCount=t.nativeEvent.eventCount,this.comesFromAztec=!0,this.firedAfterTextChanged=!0,this.onTextUpdate(t),this.lastAztecEventType='input')}},{key:"onTextUpdate",value:function(t){var n=this.removeRootTagsProduceByAztec(G(t.nativeEvent.text)),o=n;this.isIOS||(o=this.restoreParagraphTags(n,this.multilineTag)),this.debounceCreateUndoLevel();var s=this.value!==o;this.value=o,s&&this.props.onChange(o)}},{key:"restoreParagraphTags",value:function(t,n){return'p'!==n||t&&t.startsWith('

')?t:'

'+t+'

'}},{key:"onContentSizeChange",value:function(t){this.setState(t),this.lastAztecEventType='content size change'}},{key:"onKeyDown",value:function(t){t.defaultPrevented||(this.handleDelete(t),this.handleEnter(t),this.handleTriggerKeyCodes(t))}},{key:"handleEnter",value:function(t){if(t.keyCode===A.ENTER){var n=this.props.onEnter;n&&(n({value:this.createRecord(),onChange:this.onFormatChange,shiftKey:t.shiftKey}),this.lastAztecEventType='input')}}},{key:"handleDelete",value:function(t){var n=t.keyCode;if(n===A.DELETE||n===A.BACKSPACE){var o=n===A.BACKSPACE,s=this.props,l=s.onDelete,u=s.__unstableMultilineTag;this.lastEventCount=t.nativeEvent.eventCount,this.comesFromAztec=!0,this.firedAfterTextChanged=t.nativeEvent.firedAfterTextChanged;var h,c=this.createRecord(),p=c.start,v=c.end,f=c.text;return 0===p&&0!==v&&v>=f.length?(h=(0,H.remove)(c),this.onFormatChange(h),void t.preventDefault()):u&&(h=o&&0===c.start&&0===c.end&&(0,M.isEmptyLine)(c)?(0,j.removeLineSeparator)(c,!o):(0,j.removeLineSeparator)(c,o))?(this.onFormatChange(h),void t.preventDefault()):void(!l||!(0,K.isCollapsed)(c)||o&&0!==p||!o&&v!==f.length||(l({isReverse:o,value:c}),t.preventDefault(),this.lastAztecEventType='input'))}}},{key:"handleTriggerKeyCodes",value:function(t){var n=t.keyCode,o=this.suggestionOptions().find(function(t){return t.triggerChar.charCodeAt(0)===n});if(o){var s=this.getRecord(),l=(0,B.getTextContent)(s);(0===l.length||0===s.start||'\n'===l.charAt(s.start-1)||' '===l.charAt(s.start-1))&&o.onClick?o.onClick():this.insertString(s,o.triggerChar)}}},{key:"suggestionOptions",value:function(){var t=this.props,n=t.areMentionsSupported,o=t.areXPostsSupported;return[{supported:n,title:(0,_.__)('Insert mention'),onClick:this.handleUserSuggestion,triggerChar:'@',value:'mention',label:(0,_.__)('Mention'),icon:R.atSymbol},{supported:o,title:(0,_.__)('Insert crosspost'),onClick:this.handleXpostSuggestion,triggerChar:'+',value:'crosspost',label:(0,_.__)('Crosspost'),icon:R.plus}].filter(function(t){return t.supported})}},{key:"handleSuggestionFunc",value:function(t,n){var o=this;return function(){var s=o.getRecord();t().then(function(t){o.insertString(s,""+n+t+" ")}).catch(function(){})}}},{key:"onPaste",value:function(t){var n=this.props,o=n.onPaste,s=n.onChange,l=this.state.activeFormats,u=void 0===l?[]:l,h=t.nativeEvent,c=h.pastedText,p=h.pastedHtml,v=h.files,f=this.createRecord();if(t.preventDefault(),!(0,K.isCollapsed)(f)){var C=(p||c).replace(/<[^>]+>/g,'').trim();if((0,z.isURL)(C)){var S=(0,w.applyFormat)(f,{type:'a',attributes:{href:(0,x.decodeEntities)(C)}});return this.value=this.valueToFormat(S),s(this.value),void window.console.log('Created link:\n\n',C)}}o&&o({value:f,onChange:this.onFormatChange,html:p,plainText:c,files:v,activeFormats:u})}},{key:"onFocus",value:function(){this.isTouched=!0;var t=this.props,n=t.unstableOnFocus,o=t.onSelectionChange;n&&n(),o(this.selectionStart,this.selectionEnd),this.lastAztecEventType='focus'}},{key:"onBlur",value:function(t){this.isTouched=!1,t.nativeEvent.text&&t.nativeEvent.text!==this.props.value&&this.onTextUpdate(t),this.props.onBlur&&this.props.onBlur(t),this.lastAztecEventType='blur'}},{key:"onSelectionChange",value:function(t,n){var o=this.selectionStart!==t||this.selectionEnd!==n;this.selectionStart=t,this.selectionEnd=n;var s='input'!==this.lastAztecEventType&&this.props.value===this.value;if(o&&s){var l=this.createRecord(),u=(0,U.getActiveFormats)(l);this.setState({activeFormats:u})}this.props.onSelectionChange(t,n)}},{key:"onSelectionChangeFromAztec",value:function(t,n,o,s){var l=Math.min(t,n),u=Math.max(t,n);this.removeRootTagsProduceByAztec(G(s.nativeEvent.text))===this.value&&l===this.selectionStart&&u===this.selectionEnd||(this.comesFromAztec=!0,this.firedAfterTextChanged=!0,this.onTextUpdate(s),this.props.__unstableIsSelected&&this.onSelectionChange(l,u),this.lastEventCount=s.nativeEvent.eventCount,this.lastAztecEventType='selection change')}},{key:"isEmpty",value:function(){return(0,M.isEmpty)(this.formatToValue(this.props.value))}},{key:"formatToValue",value:function(t){var n=this.props.preserveWhiteSpace;return Array.isArray(t)?(0,I.create)({html:k.childrenBlock.toHTML(t),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:n}):'string'===this.props.format?(0,I.create)({html:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:n}):null===t?(0,I.create)():t}},{key:"shouldComponentUpdate",value:function(t){return t.tagName!==this.props.tagName||t.reversed!==this.props.reversed||t.start!==this.props.start?(this.lastEventCount=void 0,this.value=void 0,!0):(void 0===t.value||void 0===this.props.value||this.comesFromAztec&&this.firedAfterTextChanged||t.value===this.props.value||(void 0!==t.selectionStart&&void 0!==t.selectionEnd&&(this.needsSelectionUpdate=!0),this.lastEventCount=void 0),this.comesFromAztec||void 0!==t.selectionStart&&void 0!==t.selectionEnd&&t.selectionStart!==this.props.selectionStart&&t.selectionStart!==this.selectionStart&&t.__unstableIsSelected&&(this.needsSelectionUpdate=!0,this.lastEventCount=void 0),!0)}},{key:"componentDidMount",value:function(){this.props.blockIsSelected&&!this.props.__unstableMobileNoFocusOnMount&&(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0))}},{key:"componentWillUnmount",value:function(){this._editor.isFocused()&&this._editor.blur()}},{key:"componentDidUpdate",value:function(t){this.props.value!==this.value&&(this.value=this.props.value,this.lastEventCount=void 0);var n=this.props.__unstableIsSelected,o=t.__unstableIsSelected;n&&!o?(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0)):!n&&o&&this._editor.blur()}},{key:"getHtmlToRender",value:function(t,n){var o=this.valueToFormat(t);if(void 0===o&&(this.lastEventCount=void 0,o=''),!this.isIOS&&(''===o||"

"===o))return'';if(n){var s="";"ol"===n&&(this.props.reversed&&(s+=" reversed"),this.props.start&&(s+=" start="+this.props.start)),o="<"+n+" "+s+">"+o+""}return o}},{key:"render",value:function(){var t=this,s=this.props,l=s.tagName,u=s.style,h=s.__unstableIsSelected,c=s.children,p=s.getStylesFromColorScheme,v=s.minWidth,S=s.maxWidth,y=s.formatTypes,T=s.parentBlockStyles,b=s.accessibilityLabel,F=s.disableEditingMenu,k=void 0!==F&&F,x=this.getRecord(),A=this.getHtmlToRender(x,l),z=p(V.default.richTextPlaceholder,V.default.richTextPlaceholderDark).color,R=p(V.default.richText,V.default.richTextDark),_=R.color,P=R.textDecorationColor,w=R.fontFamily,D=null;if(this.needsSelectionUpdate&&(this.needsSelectionUpdate=!1,D={start:this.props.selectionStart,end:this.props.selectionEnd},!this.isIOS)){var U=A.match(/(
)+<\/p>$/g);if(U){console.warn('Oops, BR tag(s) at the end of content. Aztec will remove them, adapting the selection...');var W=(U[0].match(/br/g)||[]).length;if(W>0){var B=this.props.selectionStart-W;B<0&&(B=0);var M=this.props.selectionEnd-W;M<0&&(M=0),D={start:B,end:M}}}}this.comesFromAztec&&(this.comesFromAztec=!1,this.firedAfterTextChanged=!1);var I=S&&this.state.width&&S-this.state.width<10?S:this.state.width,L=(null==u?void 0:u.padding)&&(null==u?void 0:u.backgroundColor)&&{padding:u.padding,backgroundColor:u.backgroundColor};return(0,n.createElement)(C.View,{style:L},c&&c({isSelected:h,value:x,onChange:this.onFormatChange,onFocus:function(){}}),(0,n.createElement)(f.default,(0,o.default)({accessibilityLabel:b,ref:function(n){t._editor=n,t.props.setRef&&t.props.setRef(n)},style:$($($({backgroundColor:V.default.richText.backgroundColor},u),this.isIOS&&v&&S?{width:I}:{maxWidth:S}),{},{minHeight:this.state.height}),text:{text:A,eventCount:this.lastEventCount,selection:D,linkTextColor:P},placeholder:this.props.placeholder,placeholderTextColor:this.props.placeholderTextColor||z,deleteEnter:this.props.deleteEnter,onChange:this.onChangeFromAztec,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,triggerKeyCodes:this.suggestionOptions().map(function(t){return t.triggerChar}),onPaste:this.onPaste,activeFormats:this.getActiveFormatNames(x),onContentSizeChange:this.onContentSizeChange,onCaretVerticalPositionChange:this.props.onCaretVerticalPositionChange,onSelectionChange:this.onSelectionChangeFromAztec,blockType:{tag:l},color:u&&u.color||T&&T.color||_,maxImagesWidth:200,fontFamily:this.props.fontFamily||w,fontSize:this.props.fontSize||u&&this.convertFontSizeFromString(u.fontSize),fontWeight:this.props.fontWeight,fontStyle:this.props.fontStyle,disableEditingMenu:k,isMultiline:this.isMultiline,textAlign:this.props.textAlign},this.isIOS?{maxWidth:S}:{},{minWidth:v,id:this.props.id,selectionColor:this.props.selectionColor})),h&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(O.default,{formatTypes:y,value:x,onChange:this.onFormatChange,onFocus:function(){}}),(0,n.createElement)(E.BlockFormatControls,null,(0,n.createElement)(N.default,{options:this.suggestionOptions()}))))}}]),P})(n.Component);e.RichText=Q,Q.defaultProps={format:'string',value:'',tagName:'div'};var Y=(0,b.compose)([(0,F.withSelect)(function(t,n){var o=n.clientId,s=t('core/block-editor'),l=s.getBlockParents,u=s.getBlock,h=s.getSettings,c=l(o,!0),p=c?u(c[0]):void 0,v=(0,y.get)(p,['attributes','childrenStyles'])||{};return $({areMentionsSupported:!0===h('capabilities').mentions,areXPostsSupported:!0===h('capabilities').xposts},{parentBlockStyles:v})}),b.withPreferredColorScheme,function(t){return function(s){var l=(0,P.useFormatTypes)({clientId:s.clientId,identifier:s.identifier,withoutInteractiveFormatting:s.withoutInteractiveFormatting}).formatTypes;return(0,n.createElement)(t,(0,o.default)({},s,{formatTypes:l}))}}])(Q);e.default=Y},1218,[5,946,24,66,7,42,60,57,59,56,1219,25,945,1068,1029,1073,1116,1076,1223,1660,1221,1043,1247,1027,1695,1696,1177,1184,1185,1197,1187,1192,1181,1207,1200,1191,1196,1697,1698]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])).default;e.default=u},1219,[5,1220]); __d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[2]),s=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),h=t(r(d[7])),f=t(r(d[8])),p=t(r(d[9])),C=t(r(d[10])),y=t(r(d[11])),v=n(r(d[12])),_=t(r(d[13])),b=r(d[14]);function E(n,t){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,s)}return o}function w(n){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:c.isAppleOS;return[].concat((0,u.default)(t(o)),[n.toLowerCase()]).join('+')}});e.rawShortcut=E;var S=(0,o.mapValues)(A,function(t){return function(l){var A,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.isAppleOS,S=E(),h=(A={},(0,n.default)(A,f,S?'\u2325':'Alt'),(0,n.default)(A,s,S?'\u2303':'Ctrl'),(0,n.default)(A,p,'\u2318'),(0,n.default)(A,v,S?'\u21e7':'Shift'),A),C=t(E).reduce(function(t,n){var l=(0,o.get)(h,n,n);return[].concat((0,u.default)(t),S?[l]:[l,'+'])},[]),T=(0,o.capitalize)(l);return[].concat((0,u.default)(C),[T])}});e.displayShortcutList=S;var h=(0,o.mapValues)(S,function(t){return function(n){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.isAppleOS;return t(n,u).join('')}});e.displayShortcut=h;var C=(0,o.mapValues)(A,function(t){return function(A){var E,S=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.isAppleOS,h=S(),C=(E={},(0,n.default)(E,v,'Shift'),(0,n.default)(E,p,h?'Command':'Control'),(0,n.default)(E,s,'Control'),(0,n.default)(E,f,h?'Option':'Alt'),(0,n.default)(E,',',(0,l.__)('Comma')),(0,n.default)(E,'.',(0,l.__)('Period')),(0,n.default)(E,'`',(0,l.__)('Backtick')),E);return[].concat((0,u.default)(t(S)),[A]).map(function(t){return(0,o.capitalize)((0,o.get)(C,t,t))}).join(h?' ':' + ')}});function T(t){return[f,s,p,v].filter(function(n){return t[n+"Key"]})}e.shortcutAriaLabel=C;var y=(0,o.mapValues)(A,function(t){return function(n,u){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.isAppleOS,f=t(l),s=T(n);return!(0,o.xor)(f,s).length&&(u?n.key===u:(0,o.includes)(f,n.key.toLowerCase()))}});e.isKeyboardEvent=y},1221,[5,66,14,1068,1027,1222]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isAppleOS=function(){return'ios'===n.Platform.OS};var n=r(d[0])},1222,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={store:!0,withBlockContentContext:!0};Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),Object.defineProperty(e,"withBlockContentContext",{enumerable:!0,get:function(){return c.withBlockContentContext}});var n=r(d[0]),o=r(d[1]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var c=r(d[2])},1223,[1224,1229,1660]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={store:!0,withBlockContentContext:!0};Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),Object.defineProperty(e,"withBlockContentContext",{enumerable:!0,get:function(){return c.withBlockContentContext}});var n=r(d[0]),o=r(d[1]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var c=r(d[2])},1223,[1224,1229,1663]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=void 0;var s=r(d[2]),c=o(r(d[3])),u=t(r(d[4])),_=t(r(d[5])),l=r(d[6]),n=(0,s.createReduxStore)(l.STORE_NAME,{reducer:c.default,selectors:u,actions:_});e.store=n,(0,s.register)(n)},1224,[32,5,1076,1225,1226,1227,1228]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.blockTypes=O,e.blockStyles=E,e.blockVariations=b,e.createBlockNameSetterReducer=y,e.categories=N,e.collections=T,e.default=e.groupingBlockName=e.unregisteredFallbackBlockName=e.freeformFallbackBlockName=e.defaultBlockName=e.DEFAULT_CATEGORIES=void 0;var n=t(r(d[1])),c=t(r(d[2])),l=r(d[3]),o=r(d[4]),u=r(d[5]);function s(t,n){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),c.push.apply(c,l)}return c}function f(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'ADD_BLOCK_TYPES':return f(f({},t),(0,l.keyBy)((0,l.map)(n.blockTypes,function(t){return(0,l.omit)(t,'styles ')}),'name'));case'REMOVE_BLOCK_TYPES':return(0,l.omit)(t,n.names)}return t}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'ADD_BLOCK_TYPES':return f(f({},t),(0,l.mapValues)((0,l.keyBy)(o.blockTypes,'name'),function(c){return(0,l.uniqBy)([].concat((0,n.default)((0,l.get)(c,['styles'],[])),(0,n.default)((0,l.get)(t,[c.name],[]))),function(t){return t.name})}));case'ADD_BLOCK_STYLES':return f(f({},t),{},(0,c.default)({},o.blockName,(0,l.uniqBy)([].concat((0,n.default)((0,l.get)(t,[o.blockName],[])),(0,n.default)(o.styles)),function(t){return t.name})));case'REMOVE_BLOCK_STYLES':return f(f({},t),{},(0,c.default)({},o.blockName,(0,l.filter)((0,l.get)(t,[o.blockName],[]),function(t){return-1===o.styleNames.indexOf(t.name)})))}return t}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'ADD_BLOCK_TYPES':return f(f({},t),(0,l.mapValues)((0,l.keyBy)(o.blockTypes,'name'),function(c){return(0,l.uniqBy)([].concat((0,n.default)((0,l.get)(c,['variations'],[])),(0,n.default)((0,l.get)(t,[c.name],[]))),function(t){return t.name})}));case'ADD_BLOCK_VARIATIONS':return f(f({},t),{},(0,c.default)({},o.blockName,(0,l.uniqBy)([].concat((0,n.default)((0,l.get)(t,[o.blockName],[])),(0,n.default)(o.variations)),function(t){return t.name})));case'REMOVE_BLOCK_VARIATIONS':return f(f({},t),{},(0,c.default)({},o.blockName,(0,l.filter)((0,l.get)(t,[o.blockName],[]),function(t){return-1===o.variationNames.indexOf(t.name)})))}return t}function y(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case'REMOVE_BLOCK_TYPES':return-1!==c.names.indexOf(n)?null:n;case t:return c.name||null}return n}}e.DEFAULT_CATEGORIES=_;var k=y('SET_DEFAULT_BLOCK_NAME');e.defaultBlockName=k;var p=y('SET_FREEFORM_FALLBACK_BLOCK_NAME');e.freeformFallbackBlockName=p;var B=y('SET_UNREGISTERED_FALLBACK_BLOCK_NAME');e.unregisteredFallbackBlockName=B;var v=y('SET_GROUPING_BLOCK_NAME');function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_CATEGORIES':return n.categories||[];case'UPDATE_CATEGORY':if(!n.category||(0,l.isEmpty)(n.category))return t;if((0,l.find)(t,['slug',n.slug]))return(0,l.map)(t,function(t){return t.slug===n.slug?f(f({},t),n.category):t})}return t}function T(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'ADD_BLOCK_COLLECTION':return f(f({},t),{},(0,c.default)({},n.namespace,{title:n.title,icon:n.icon}));case'REMOVE_BLOCK_COLLECTION':return(0,l.omit)(t,n.namespace)}return t}e.groupingBlockName=v;var L=(0,o.combineReducers)({blockTypes:O,blockStyles:E,blockVariations:b,defaultBlockName:k,freeformFallbackBlockName:p,unregisteredFallbackBlockName:B,groupingBlockName:v,categories:N,collections:T});e.default=L},1225,[5,14,66,1068,1076,1027]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockType=k,e.getBlockStyles=function(t,n){return t.blockStyles[n]},e.getBlockVariations=b,e.getDefaultBlockVariation=function(t,n,o){var c=b(t,n,o);return(0,u.findLast)(c,'isDefault')||(0,u.first)(c)},e.getCategories=function(t){return t.categories},e.getCollections=function(t){return t.collections},e.getDefaultBlockName=function(t){return t.defaultBlockName},e.getFreeformFallbackBlockName=function(t){return t.freeformFallbackBlockName},e.getUnregisteredFallbackBlockName=function(t){return t.unregisteredFallbackBlockName},e.getGroupingBlockName=function(t){return t.groupingBlockName},e.hasBlockSupport=h,e.isMatchingSearchTerm=function(t,n,o){var c=f(t,n),l=(0,u.flow)([u.deburr,function(t){return t.toLowerCase()},function(t){return t.trim()}]),s=l(o),p=(0,u.flow)([l,function(t){return(0,u.includes)(t,s)}]);return p(c.title)||(0,u.some)(c.keywords,p)||p(c.category)},e.hasChildBlocksWithInserterSupport=e.hasChildBlocks=e.getBlockSupport=e.getChildBlockNames=e.getBlockTypes=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),u=r(d[4]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function s(t){for(var n=1;n0};e.hasChildBlocksWithInserterSupport=function(t,n){return(0,u.some)(y(t,n),function(n){return h(t,n,'inserter',!0)})}},1226,[5,14,66,1175,1068]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.addBlockTypes=function(n){return{type:'ADD_BLOCK_TYPES',blockTypes:(0,t.castArray)(n)}},e.removeBlockTypes=function(n){return{type:'REMOVE_BLOCK_TYPES',names:(0,t.castArray)(n)}},e.addBlockStyles=function(n,o){return{type:'ADD_BLOCK_STYLES',styles:(0,t.castArray)(o),blockName:n}},e.removeBlockStyles=function(n,o){return{type:'REMOVE_BLOCK_STYLES',styleNames:(0,t.castArray)(o),blockName:n}},e.addBlockVariations=function(n,o){return{type:'ADD_BLOCK_VARIATIONS',variations:(0,t.castArray)(o),blockName:n}},e.removeBlockVariations=function(n,o){return{type:'REMOVE_BLOCK_VARIATIONS',variationNames:(0,t.castArray)(o),blockName:n}},e.setDefaultBlockName=function(t){return{type:'SET_DEFAULT_BLOCK_NAME',name:t}},e.setFreeformFallbackBlockName=function(t){return{type:'SET_FREEFORM_FALLBACK_BLOCK_NAME',name:t}},e.setUnregisteredFallbackBlockName=function(t){return{type:'SET_UNREGISTERED_FALLBACK_BLOCK_NAME',name:t}},e.setGroupingBlockName=function(t){return{type:'SET_GROUPING_BLOCK_NAME',name:t}},e.setCategories=function(t){return{type:'SET_CATEGORIES',categories:t}},e.updateCategory=function(t,n){return{type:'UPDATE_CATEGORY',slug:t,category:n}},e.addBlockCollection=function(t,n,o){return{type:'ADD_BLOCK_COLLECTION',namespace:t,title:n,icon:o}},e.removeBlockCollection=function(t){return{type:'REMOVE_BLOCK_COLLECTION',namespace:t}};var t=r(d[0])},1227,[1068]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.STORE_NAME=void 0;e.STORE_NAME='core/blocks'},1228,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createBlock",{enumerable:!0,get:function(){return o.createBlock}}),Object.defineProperty(e,"createBlocksFromInnerBlocksTemplate",{enumerable:!0,get:function(){return o.createBlocksFromInnerBlocksTemplate}}),Object.defineProperty(e,"cloneBlock",{enumerable:!0,get:function(){return o.cloneBlock}}),Object.defineProperty(e,"getPossibleBlockTransformations",{enumerable:!0,get:function(){return o.getPossibleBlockTransformations}}),Object.defineProperty(e,"switchToBlockType",{enumerable:!0,get:function(){return o.switchToBlockType}}),Object.defineProperty(e,"getBlockTransforms",{enumerable:!0,get:function(){return o.getBlockTransforms}}),Object.defineProperty(e,"findTransform",{enumerable:!0,get:function(){return o.findTransform}}),Object.defineProperty(e,"getBlockFromExample",{enumerable:!0,get:function(){return o.getBlockFromExample}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"getBlockAttributes",{enumerable:!0,get:function(){return c.getBlockAttributes}}),Object.defineProperty(e,"parseWithAttributeSchema",{enumerable:!0,get:function(){return c.parseWithAttributeSchema}}),Object.defineProperty(e,"pasteHandler",{enumerable:!0,get:function(){return u.pasteHandler}}),Object.defineProperty(e,"rawHandler",{enumerable:!0,get:function(){return u.rawHandler}}),Object.defineProperty(e,"getPhrasingContentSchema",{enumerable:!0,get:function(){return u.deprecatedGetPhrasingContentSchema}}),Object.defineProperty(e,"serialize",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"getBlockContent",{enumerable:!0,get:function(){return l.getBlockContent}}),Object.defineProperty(e,"getBlockDefaultClassName",{enumerable:!0,get:function(){return l.getBlockDefaultClassName}}),Object.defineProperty(e,"getBlockMenuDefaultClassName",{enumerable:!0,get:function(){return l.getBlockMenuDefaultClassName}}),Object.defineProperty(e,"getSaveElement",{enumerable:!0,get:function(){return l.getSaveElement}}),Object.defineProperty(e,"getSaveContent",{enumerable:!0,get:function(){return l.getSaveContent}}),Object.defineProperty(e,"__unstableGetBlockProps",{enumerable:!0,get:function(){return l.getBlockProps}}),Object.defineProperty(e,"__unstableSerializeAndClean",{enumerable:!0,get:function(){return l.__unstableSerializeAndClean}}),Object.defineProperty(e,"isValidBlockContent",{enumerable:!0,get:function(){return f.isValidBlockContent}}),Object.defineProperty(e,"getCategories",{enumerable:!0,get:function(){return b.getCategories}}),Object.defineProperty(e,"setCategories",{enumerable:!0,get:function(){return b.setCategories}}),Object.defineProperty(e,"updateCategory",{enumerable:!0,get:function(){return b.updateCategory}}),Object.defineProperty(e,"registerBlockType",{enumerable:!0,get:function(){return s.registerBlockType}}),Object.defineProperty(e,"registerBlockCollection",{enumerable:!0,get:function(){return s.registerBlockCollection}}),Object.defineProperty(e,"unregisterBlockType",{enumerable:!0,get:function(){return s.unregisterBlockType}}),Object.defineProperty(e,"setFreeformContentHandlerName",{enumerable:!0,get:function(){return s.setFreeformContentHandlerName}}),Object.defineProperty(e,"getFreeformContentHandlerName",{enumerable:!0,get:function(){return s.getFreeformContentHandlerName}}),Object.defineProperty(e,"setUnregisteredTypeHandlerName",{enumerable:!0,get:function(){return s.setUnregisteredTypeHandlerName}}),Object.defineProperty(e,"getUnregisteredTypeHandlerName",{enumerable:!0,get:function(){return s.getUnregisteredTypeHandlerName}}),Object.defineProperty(e,"setDefaultBlockName",{enumerable:!0,get:function(){return s.setDefaultBlockName}}),Object.defineProperty(e,"getDefaultBlockName",{enumerable:!0,get:function(){return s.getDefaultBlockName}}),Object.defineProperty(e,"setGroupingBlockName",{enumerable:!0,get:function(){return s.setGroupingBlockName}}),Object.defineProperty(e,"getGroupingBlockName",{enumerable:!0,get:function(){return s.getGroupingBlockName}}),Object.defineProperty(e,"getBlockType",{enumerable:!0,get:function(){return s.getBlockType}}),Object.defineProperty(e,"getBlockTypes",{enumerable:!0,get:function(){return s.getBlockTypes}}),Object.defineProperty(e,"getBlockSupport",{enumerable:!0,get:function(){return s.getBlockSupport}}),Object.defineProperty(e,"hasBlockSupport",{enumerable:!0,get:function(){return s.hasBlockSupport}}),Object.defineProperty(e,"getBlockVariations",{enumerable:!0,get:function(){return s.getBlockVariations}}),Object.defineProperty(e,"isReusableBlock",{enumerable:!0,get:function(){return s.isReusableBlock}}),Object.defineProperty(e,"getChildBlockNames",{enumerable:!0,get:function(){return s.getChildBlockNames}}),Object.defineProperty(e,"hasChildBlocks",{enumerable:!0,get:function(){return s.hasChildBlocks}}),Object.defineProperty(e,"hasChildBlocksWithInserterSupport",{enumerable:!0,get:function(){return s.hasChildBlocksWithInserterSupport}}),Object.defineProperty(e,"unstable__bootstrapServerSideBlockDefinitions",{enumerable:!0,get:function(){return s.unstable__bootstrapServerSideBlockDefinitions}}),Object.defineProperty(e,"registerBlockStyle",{enumerable:!0,get:function(){return s.registerBlockStyle}}),Object.defineProperty(e,"unregisterBlockStyle",{enumerable:!0,get:function(){return s.unregisterBlockStyle}}),Object.defineProperty(e,"registerBlockVariation",{enumerable:!0,get:function(){return s.registerBlockVariation}}),Object.defineProperty(e,"unregisterBlockVariation",{enumerable:!0,get:function(){return s.unregisterBlockVariation}}),Object.defineProperty(e,"isUnmodifiedDefaultBlock",{enumerable:!0,get:function(){return p.isUnmodifiedDefaultBlock}}),Object.defineProperty(e,"normalizeIconObject",{enumerable:!0,get:function(){return p.normalizeIconObject}}),Object.defineProperty(e,"isValidIcon",{enumerable:!0,get:function(){return p.isValidIcon}}),Object.defineProperty(e,"__experimentalGetBlockLabel",{enumerable:!0,get:function(){return p.getBlockLabel}}),Object.defineProperty(e,"__experimentalGetAccessibleBlockLabel",{enumerable:!0,get:function(){return p.getAccessibleBlockLabel}}),Object.defineProperty(e,"doBlocksMatchTemplate",{enumerable:!0,get:function(){return y.doBlocksMatchTemplate}}),Object.defineProperty(e,"synchronizeBlocksWithTemplate",{enumerable:!0,get:function(){return y.synchronizeBlocksWithTemplate}}),Object.defineProperty(e,"children",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"node",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"__EXPERIMENTAL_STYLE_PROPERTY",{enumerable:!0,get:function(){return P.__EXPERIMENTAL_STYLE_PROPERTY}});var o=r(d[2]),c=n(r(d[3])),u=r(d[4]),l=n(r(d[5])),f=r(d[6]),b=r(d[7]),s=r(d[8]),p=r(d[9]),y=r(d[10]),k=t(r(d[11])),B=t(r(d[12])),P=r(d[13])},1229,[5,32,1230,1650,1664,1659,1654,1690,1246,1641,1691,1663,1662,1649]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createBlock=b,e.createBlocksFromInnerBlocksTemplate=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.map(function(n){var o=Array.isArray(n)?n:[n.name,n.attributes,n.innerBlocks],u=(0,c.default)(o,3),l=u[0],f=u[1],s=u[2],p=void 0===s?[]:s;return b(l,f,t(p))})},e.cloneBlock=function t(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var c=arguments.length>2?arguments[2]:void 0;var l=(0,u.v4)();var f=(0,p.sanitizeBlockAttributes)(n.name,v(v({},n.attributes),o));return v(v({},n),{},{clientId:l,attributes:f,innerBlocks:c||n.innerBlocks.map(function(n){return t(n)})})},e.getPossibleBlockTransformations=function(t){if((0,l.isEmpty)(t))return[];var o=B(t),c=O(t);return(0,l.uniq)([].concat((0,n.default)(o),(0,n.default)(c)))},e.findTransform=j,e.getBlockTransforms=_,e.switchToBlockType=function(t,n){var o,c=(0,l.castArray)(t),u=c.length>1,p=c[0],k=p.name,b=_('from',n),y=j(_('to',k),function(t){return'block'===t.type&&(h(t)||-1!==t.blocks.indexOf(n))&&(!u||t.isMultiBlock)})||j(b,function(t){return'block'===t.type&&(h(t)||-1!==t.blocks.indexOf(k))&&(!u||t.isMultiBlock)});if(!y)return null;o=y.isMultiBlock?(0,l.has)(y,'__experimentalConvert')?y.__experimentalConvert(c):y.transform(c.map(function(t){return t.attributes}),c.map(function(t){return t.innerBlocks})):(0,l.has)(y,'__experimentalConvert')?y.__experimentalConvert(p):y.transform(p.attributes,p.innerBlocks);if(!(0,l.isObjectLike)(o))return null;if((o=(0,l.castArray)(o)).some(function(t){return!(0,s.getBlockType)(t.name)}))return null;var B=(0,l.findIndex)(o,function(t){return t.name===n});if(B<0)return null;return o.map(function(n,o){var c=v(v({},n),{},{clientId:o===B?p.clientId:n.clientId});return(0,f.applyFilters)('blocks.switchToBlockType.transformedBlock',c,t)})},e.getBlockFromExample=e.isContainerGroupBlock=e.isWildcardBlockTransform=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),u=r(d[4]),l=r(d[5]),f=r(d[6]),s=r(d[7]),p=r(d[8]);function k(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function v(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c=(0,p.sanitizeBlockAttributes)(t,n);return{clientId:(0,u.v4)(),name:t,isValid:!0,attributes:c,innerBlocks:o}}var y=function(t,n,o){if((0,l.isEmpty)(o))return!1;var c=o.length>1,u=(0,l.first)(o).name;if(!(h(t)||!c||t.isMultiBlock))return!1;if(!h(t)&&!(0,l.every)(o,{name:u}))return!1;if(!('block'===t.type))return!1;var f=(0,l.first)(o);if(!('from'!==n||-1!==t.blocks.indexOf(f.name)||h(t)))return!1;if(!c&&T(f.name)&&T(t.blockName))return!1;if((0,l.isFunction)(t.isMatch)){var s=t.isMultiBlock?o.map(function(t){return t.attributes}):f.attributes;if(!t.isMatch(s))return!1}return!0},B=function(t){if((0,l.isEmpty)(t))return[];var n=(0,s.getBlockTypes)();return(0,l.filter)(n,function(n){return!!j(_('from',n.name),function(n){return y(n,'from',t)})})},O=function(t){if((0,l.isEmpty)(t))return[];var n=(0,l.first)(t),o=_('to',(0,s.getBlockType)(n.name).name),c=(0,l.filter)(o,function(n){return n&&y(n,'to',t)});return(0,l.flatMap)(c,function(t){return t.blocks}).map(function(t){return(0,s.getBlockType)(t)})},h=function(t){return t&&'block'===t.type&&Array.isArray(t.blocks)&&t.blocks.includes('*')};e.isWildcardBlockTransform=h;var T=function(t){return t===(0,s.getGroupingBlockName)()};function j(t,n){for(var o=(0,f.createHooks)(),c=function(c){var u=t[c];n(u)&&o.addFilter('transform','transform/'+c.toString(),function(t){return t||u},u.priority)},u=0;u0&&void 0!==arguments[0]?arguments[0]:[];return n.map(function(n){var o=Array.isArray(n)?n:[n.name,n.attributes,n.innerBlocks],u=(0,c.default)(o,3),l=u[0],f=u[1],s=u[2],p=void 0===s?[]:s;return b(l,f,t(p))})},e.cloneBlock=function t(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var c=arguments.length>2?arguments[2]:void 0;var l=(0,u.v4)();var f=(0,p.sanitizeBlockAttributes)(n.name,v(v({},n.attributes),o));return v(v({},n),{},{clientId:l,attributes:f,innerBlocks:c||n.innerBlocks.map(function(n){return t(n)})})},e.getPossibleBlockTransformations=function(t){if((0,l.isEmpty)(t))return[];var o=B(t),c=O(t);return(0,l.uniq)([].concat((0,n.default)(o),(0,n.default)(c)))},e.findTransform=j,e.getBlockTransforms=_,e.switchToBlockType=function(t,n){var o,c=(0,l.castArray)(t),u=c.length>1,p=c[0],k=p.name,b=_('from',n),y=j(_('to',k),function(t){return'block'===t.type&&(h(t)||-1!==t.blocks.indexOf(n))&&(!u||t.isMultiBlock)})||j(b,function(t){return'block'===t.type&&(h(t)||-1!==t.blocks.indexOf(k))&&(!u||t.isMultiBlock)});if(!y)return null;o=y.isMultiBlock?(0,l.has)(y,'__experimentalConvert')?y.__experimentalConvert(c):y.transform(c.map(function(t){return t.attributes}),c.map(function(t){return t.innerBlocks})):(0,l.has)(y,'__experimentalConvert')?y.__experimentalConvert(p):y.transform(p.attributes,p.innerBlocks);if(!(0,l.isObjectLike)(o))return null;if((o=(0,l.castArray)(o)).some(function(t){return!(0,s.getBlockType)(t.name)}))return null;var B=(0,l.findIndex)(o,function(t){return t.name===n});if(B<0)return null;return o.map(function(n,o){var c=v(v({},n),{},{clientId:o===B?p.clientId:n.clientId});return(0,f.applyFilters)('blocks.switchToBlockType.transformedBlock',c,t)})},e.getBlockFromExample=e.isContainerGroupBlock=e.isWildcardBlockTransform=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),u=r(d[4]),l=r(d[5]),f=r(d[6]),s=r(d[7]),p=r(d[8]);function k(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function v(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c=(0,p.sanitizeBlockAttributes)(t,n);return{clientId:(0,u.v4)(),name:t,isValid:!0,attributes:c,innerBlocks:o}}var y=function(t,n,o){if((0,l.isEmpty)(o))return!1;var c=o.length>1,u=(0,l.first)(o).name;if(!(h(t)||!c||t.isMultiBlock))return!1;if(!h(t)&&!(0,l.every)(o,{name:u}))return!1;if(!('block'===t.type))return!1;var f=(0,l.first)(o);if(!('from'!==n||-1!==t.blocks.indexOf(f.name)||h(t)))return!1;if(!c&&T(f.name)&&T(t.blockName))return!1;if((0,l.isFunction)(t.isMatch)){var s=t.isMultiBlock?o.map(function(t){return t.attributes}):f.attributes;if(!t.isMatch(s))return!1}return!0},B=function(t){if((0,l.isEmpty)(t))return[];var n=(0,s.getBlockTypes)();return(0,l.filter)(n,function(n){return!!j(_('from',n.name),function(n){return y(n,'from',t)})})},O=function(t){if((0,l.isEmpty)(t))return[];var n=(0,l.first)(t),o=_('to',(0,s.getBlockType)(n.name).name),c=(0,l.filter)(o,function(n){return n&&y(n,'to',t)});return(0,l.flatMap)(c,function(t){return t.blocks}).map(function(t){return(0,s.getBlockType)(t)})},h=function(t){return t&&'block'===t.type&&Array.isArray(t.blocks)&&t.blocks.includes('*')};e.isWildcardBlockTransform=h;var T=function(t){return t===(0,s.getGroupingBlockName)()};function j(t,n){for(var o=(0,f.createHooks)(),c=function(c){var u=t[c];n(u)&&o.addFilter('transform','transform/'+c.toString(),function(t){return t||u},u.priority)},u=0;ut)&&void 0===s.nsecs&&(y=0),y>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");t=h,c=y,o=q;var j=(1e4*(268435455&(h+=122192928e5))+y)%4294967296;w[_++]=j>>>24&255,w[_++]=j>>>16&255,w[_++]=j>>>8&255,w[_++]=255&j;var p=h/4294967296*1e4&268435455;w[_++]=p>>>8&255,w[_++]=255&p,w[_++]=p>>>24&15|16,w[_++]=p>>>16&255,w[_++]=q>>>8|128,w[_++]=255&q;for(var A=0;A<6;++A)w[_+A]=k[A];return v||(0,l.default)(w)};e.default=v},1232,[1233,1234]); __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!t)throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return t(o)};var t='undefined'!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||'undefined'!=typeof msCrypto&&'function'==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),o=new Uint8Array(16)},1233,[]); @@ -1249,8 +1249,8 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{v __d(function(g,r,i,a,m,e,d){"use strict";function t(t,n,o,f){switch(t){case 0:return n&o^~n&f;case 1:return n^o^f;case 2:return n&o^n&f^o&f;case 3:return n^o^f}}function n(t,n){return t<>>32-n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(o){var f=[1518500249,1859775393,2400959708,3395469782],u=[1732584193,4023233417,2562383102,271733878,3285377520];if('string'==typeof o){var c=unescape(encodeURIComponent(o));o=[];for(var l=0;l>>0;O=I,I=j,j=n(b,30)>>>0,b=C,C=k}u[0]=u[0]+C>>>0,u[1]=u[1]+b>>>0,u[2]=u[2]+j>>>0,u[3]=u[3]+I>>>0,u[4]=u[4]+O>>>0}return[u[0]>>24&255,u[0]>>16&255,u[0]>>8&255,255&u[0],u[1]>>24&255,u[1]>>16&255,u[1]>>8&255,255&u[1],u[2]>>24&255,u[2]>>16&255,u[2]>>8&255,255&u[2],u[3]>>24&255,u[3]>>16&255,u[3]>>8&255,255&u[3],u[4]>>24&255,u[4]>>16&255,u[4]>>8&255,255&u[4]]};e.default=o},1243,[]); __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default='00000000-0000-0000-0000-000000000000'},1244,[]); __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,u=(t=r(d[0]))&&t.__esModule?t:{default:t};var f=function(t){if(!(0,u.default)(t))throw TypeError('Invalid UUID');return parseInt(t.substr(14,1),16)};e.default=f},1245,[1235]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.unstable__bootstrapServerSideBlockDefinitions=function(t){e.serverSideBlockDefinitions=h=B(B({},h),t)},e.registerBlockType=function(t,o){if(o=B(B({name:t,icon:l.blockDefault,keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],save:function(){return null}},(0,n.pickBy)((0,n.get)(h,t,{}),function(t){return!(0,n.isNil)(t)})),o),'string'!=typeof t)return void console.error('Block names must be strings.');if(!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t))return void console.error('Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block');if((0,s.select)(k.store).getBlockType(t))return void console.error('Block "'+t+'" is already registered.');var f=B({},o);(o=(0,c.applyFilters)('blocks.registerBlockType',o,t)).deprecated&&(o.deprecated=o.deprecated.map(function(o){return(0,n.pick)((0,c.applyFilters)('blocks.registerBlockType',B(B({},(0,n.omit)(f,p.DEPRECATED_ENTRY_KEYS)),o),t),p.DEPRECATED_ENTRY_KEYS)}));if(!(0,n.isPlainObject)(o))return void console.error('Block settings must be a valid object.');if(!(0,n.isFunction)(o.save))return void console.error('The "save" property must be a valid function.');if('edit'in o&&!(0,n.isFunction)(o.edit))return void console.error('The "edit" property must be a valid function.');y.hasOwnProperty(o.category)&&(o.category=y[o.category]);'category'in o&&!(0,n.some)((0,s.select)(k.store).getCategories(),{slug:o.category})&&(console.warn('The block "'+t+'" is registered with an invalid category "'+o.category+'".'),delete o.category);if(!('title'in o)||''===o.title)return void console.error('The block "'+t+'" must have a title.');if('string'!=typeof o.title)return void console.error('Block titles must be strings.');if(o.icon=(0,u.normalizeIconObject)(o.icon),!(0,u.isValidIcon)(o.icon.src))return void console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional");return(0,s.dispatch)(k.store).addBlockTypes(o),o},e.registerBlockCollection=function(t,o){var n=o.title,c=o.icon;(0,s.dispatch)(k.store).addBlockCollection(t,n,c)},e.unregisterBlockCollection=function(t){(0,s.dispatch)(k.store).removeBlockCollection(t)},e.unregisterBlockType=function(t){var o=(0,s.select)(k.store).getBlockType(t);if(!o)return void console.error('Block "'+t+'" is not registered.');return(0,s.dispatch)(k.store).removeBlockTypes(t),o},e.setFreeformContentHandlerName=function(t){(0,s.dispatch)(k.store).setFreeformFallbackBlockName(t)},e.getFreeformContentHandlerName=function(){return(0,s.select)(k.store).getFreeformFallbackBlockName()},e.getGroupingBlockName=function(){return(0,s.select)(k.store).getGroupingBlockName()},e.setUnregisteredTypeHandlerName=function(t){(0,s.dispatch)(k.store).setUnregisteredFallbackBlockName(t)},e.getUnregisteredTypeHandlerName=function(){return(0,s.select)(k.store).getUnregisteredFallbackBlockName()},e.setDefaultBlockName=function(t){(0,s.dispatch)(k.store).setDefaultBlockName(t)},e.setGroupingBlockName=function(t){(0,s.dispatch)(k.store).setGroupingBlockName(t)},e.getDefaultBlockName=function(){return(0,s.select)(k.store).getDefaultBlockName()},e.getBlockType=function(t){return(0,s.select)(k.store).getBlockType(t)},e.getBlockTypes=function(){return(0,s.select)(k.store).getBlockTypes()},e.getBlockSupport=function(t,o,n){return(0,s.select)(k.store).getBlockSupport(t,o,n)},e.hasBlockSupport=function(t,o,n){return(0,s.select)(k.store).hasBlockSupport(t,o,n)},e.isReusableBlock=function(t){return'core/block'===t.name},e.unregisterBlockVariation=e.registerBlockVariation=e.getBlockVariations=e.unregisterBlockStyle=e.registerBlockStyle=e.hasChildBlocksWithInserterSupport=e.hasChildBlocks=e.getChildBlockNames=e.serverSideBlockDefinitions=void 0;var o=t(r(d[1])),n=r(d[2]),c=r(d[3]),s=r(d[4]),l=r(d[5]),u=r(d[6]),p=r(d[7]),k=r(d[8]);function f(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function B(t){for(var n=1;n3&&void 0!==arguments[3]?arguments[3]:'vertical',l=t.title,u=B(t,n,'accessibility'),f=void 0!==o,p=u&&u!==l;if(f&&'vertical'===c)return p?(0,s.sprintf)((0,s.__)('%1$s Block. Row %2$d. %3$s'),l,o,u):(0,s.sprintf)((0,s.__)('%1$s Block. Row %2$d'),l,o);if(f&&'horizontal'===c)return p?(0,s.sprintf)((0,s.__)('%1$s Block. Column %2$d. %3$s'),l,o,u):(0,s.sprintf)((0,s.__)('%1$s Block. Column %2$d'),l,o);if(p)return(0,s.sprintf)((0,s.__)('%1$s Block. %2$s'),l,u);return(0,s.sprintf)((0,s.__)('%s Block'),l)},e.sanitizeBlockAttributes=function(t,n){var o=(0,b.getBlockType)(t);if(void 0===o)throw new Error("Block type '"+t+"' is not registered.");return(0,c.reduce)(o.attributes,function(t,o,c){var l=n[c];return void 0!==l?t[c]=l:o.hasOwnProperty('default')&&(t[c]=o.default),-1!==['node','children'].indexOf(o.source)&&('string'==typeof t[c]?t[c]=[t[c]]:Array.isArray(t[c])||(t[c]=[])),t},{})};var o=n(r(d[2])),c=r(d[3]),l=t(r(d[4])),u=r(d[5]),s=r(d[6]),f=r(d[7]),p=r(d[8]),b=r(d[9]),v=r(d[10]);function k(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function y(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:'visual';if('core/template-part'===t.name&&n.slug){var l,u=(0,p.select)('core').getEntityRecord('postType','wp_template_part',n.theme+'//'+n.slug);if(u)return(0,c.startCase)((null==(l=u.title)?void 0:l.rendered)||u.slug)}var s=t.__experimentalLabel,b=t.title,v=s&&s(n,{context:o});return v?(0,f.__unstableStripHTML)(v):b}},1641,[32,5,66,1068,1642,946,1027,1643,1076,1246,1230]); -__d(function(g,r,i,a,m,e,d){!(function(t){var n=/^\s+/,s=/\s+$/,o=0,f=t.round,h=t.min,l=t.max,u=t.random;function c(t,n){if(t=t||'',n=n||{},t instanceof c)return t;if(!(this instanceof c))return new c(t,n);var s=b(t);this._originalInput=t,this._r=s.r,this._g=s.g,this._b=s.b,this._a=s.a,this._roundA=f(100*this._a)/100,this._format=n.format||s.format,this._gradientType=n.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=s.ok,this._tc_id=o++}function b(t){var n,s,o,f={r:0,g:0,b:0},u=1,c=null,b=null,_=null,v=!1,A=!1;return"string"==typeof t&&(t=W(t)),"object"==typeof t&&(Q(t.r)&&Q(t.g)&&Q(t.b)?(n=t.r,s=t.g,o=t.b,f={r:255*P(n,255),g:255*P(s,255),b:255*P(o,255)},v=!0,A="%"===String(t.r).substr(-1)?"prgb":"rgb"):Q(t.h)&&Q(t.s)&&Q(t.v)?(c=V(t.s),b=V(t.v),f=y(t.h,c,b),v=!0,A="hsv"):Q(t.h)&&Q(t.s)&&Q(t.l)&&(c=V(t.s),_=V(t.l),f=p(t.h,c,_),v=!0,A="hsl"),t.hasOwnProperty("a")&&(u=t.a)),u=O(u),{ok:v,format:t.format||A,r:h(255,l(f.r,0)),g:h(255,l(f.g,0)),b:h(255,l(f.b,0)),a:u}}function _(t,n,s){t=P(t,255),n=P(n,255),s=P(s,255);var o,f,u=l(t,n,s),c=h(t,n,s),b=(u+c)/2;if(u==c)o=f=0;else{var _=u-c;switch(f=b>.5?_/(2-u-c):_/(u+c),u){case t:o=(n-s)/_+(n1&&(s-=1),s<.16666666666666666?t+6*(n-t)*s:s<.5?n:s<.6666666666666666?t+(n-t)*(.6666666666666666-s)*6:t}if(t=P(t,360),n=P(n,100),s=P(s,100),0===n)o=f=h=s;else{var u=s<.5?s*(1+n):s+n-s*n,c=2*s-u;o=l(c,u,t+.3333333333333333),f=l(c,u,t),h=l(c,u,t-.3333333333333333)}return{r:255*o,g:255*f,b:255*h}}function v(t,n,s){t=P(t,255),n=P(n,255),s=P(s,255);var o,f,u=l(t,n,s),c=h(t,n,s),b=u,_=u-c;if(f=0===u?0:_/u,u==c)o=0;else{switch(u){case t:o=(n-s)/_+(n>1)+720)%360;--n;)o.h=(o.h+f)%360,h.push(c(o));return h}function E(t,n){n=n||6;for(var s=c(t).toHsv(),o=s.h,f=s.s,h=s.v,l=[],u=1/n;n--;)l.push(c({h:o,s:f,v:h})),h=(h+u)%1;return l}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var n,s,o,f=this.toRgb();return n=f.r/255,s=f.g/255,o=f.b/255,.2126*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:t.pow((s+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:t.pow((o+.055)/1.055,2.4))},setAlpha:function(t){return this._a=O(t),this._roundA=f(100*this._a)/100,this},toHsv:function(){var t=v(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=v(this._r,this._g,this._b),n=f(360*t.h),s=f(100*t.s),o=f(100*t.v);return 1==this._a?"hsv("+n+", "+s+"%, "+o+"%)":"hsva("+n+", "+s+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=_(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=_(this._r,this._g,this._b),n=f(360*t.h),s=f(100*t.s),o=f(100*t.l);return 1==this._a?"hsl("+n+", "+s+"%, "+o+"%)":"hsla("+n+", "+s+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return A(this._r,this._g,this._b,t)},toHexString:function(t){return'#'+this.toHex(t)},toHex8:function(t){return x(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return'#'+this.toHex8(t)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*P(this._r,255))+"%",g:f(100*P(this._g,255))+"%",b:f(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+f(100*P(this._r,255))+"%, "+f(100*P(this._g,255))+"%, "+f(100*P(this._b,255))+"%)":"rgba("+f(100*P(this._r,255))+"%, "+f(100*P(this._g,255))+"%, "+f(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[A(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var n='#'+k(this._r,this._g,this._b,this._a),s=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var f=c(t);s='#'+k(f._r,f._g,f._b,f._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+s+")"},toString:function(t){var n=!!t;t=t||this._format;var s=!1,o=this._a<1&&this._a>=0;return n||!o||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(s=this.toRgbString()),"prgb"===t&&(s=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(s=this.toHexString()),"hex3"===t&&(s=this.toHexString(!0)),"hex4"===t&&(s=this.toHex8String(!0)),"hex8"===t&&(s=this.toHex8String()),"name"===t&&(s=this.toName()),"hsl"===t&&(s=this.toHslString()),"hsv"===t&&(s=this.toHsvString()),s||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(t,n){var s=t.apply(null,[this].concat([].slice.call(n)));return this._r=s._r,this._g=s._g,this._b=s._b,this.setAlpha(s._a),this},lighten:function(){return this._applyModification(R,arguments)},brighten:function(){return this._applyModification(F,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(S,arguments)},greyscale:function(){return this._applyModification(H,arguments)},spin:function(){return this._applyModification(q,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(M,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(N,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(L,arguments)}},c.fromRatio=function(t,n){if("object"==typeof t){var s={};for(var o in t)t.hasOwnProperty(o)&&(s[o]="a"===o?t[o]:V(t[o]));t=s}return c(t,n)},c.equals=function(t,n){return!(!t||!n)&&c(t).toRgbString()==c(n).toRgbString()},c.random=function(){return c.fromRatio({r:u(),g:u(),b:u()})},c.mix=function(t,n,s){s=0===s?0:s||50;var o=c(t).toRgb(),f=c(n).toRgb(),h=s/100;return c({r:(f.r-o.r)*h+o.r,g:(f.g-o.g)*h+o.g,b:(f.b-o.b)*h+o.b,a:(f.a-o.a)*h+o.a})},c.readability=function(n,s){var o=c(n),f=c(s);return(t.max(o.getLuminance(),f.getLuminance())+.05)/(t.min(o.getLuminance(),f.getLuminance())+.05)},c.isReadable=function(t,n,s){var o,f,h=c.readability(t,n);switch(f=!1,(o=Y(s)).level+o.size){case"AAsmall":case"AAAlarge":f=h>=4.5;break;case"AAlarge":f=h>=3;break;case"AAAsmall":f=h>=7}return f},c.mostReadable=function(t,n,s){var o,f,h,l,u=null,b=0;f=(s=s||{}).includeFallbackColors,h=s.level,l=s.size;for(var _=0;_b&&(b=o,u=c(n[_]));return c.isReadable(t,u,{level:h,size:l})||!f?u:(s.includeFallbackColors=!1,c.mostReadable(t,["#fff","#000"],s))};var T=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=c.hexNames=(function(t){var n={};for(var s in t)t.hasOwnProperty(s)&&(n[t[s]]=s);return n})(T);function O(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function P(n,s){U(n)&&(n="100%");var o=B(n);return n=h(s,l(0,parseFloat(n))),o&&(n=parseInt(n*s,10)/100),t.abs(n-s)<1e-6?1:n%s/parseFloat(s)}function $(t){return h(1,l(0,t))}function D(t){return parseInt(t,16)}function U(t){return"string"==typeof t&&-1!=t.indexOf('.')&&1===parseFloat(t)}function B(t){return"string"==typeof t&&-1!=t.indexOf('%')}function G(t){return 1==t.length?'0'+t:''+t}function V(t){return t<=1&&(t=100*t+"%"),t}function X(n){return t.round(255*parseFloat(n)).toString(16)}function J(t){return D(t)/255}var K={CSS_UNIT:new RegExp("(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)"),rgb:new RegExp("rgb[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),rgba:new RegExp("rgba[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsl:new RegExp("hsl[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsla:new RegExp("hsla[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsv:new RegExp("hsv[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsva:new RegExp("hsva[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Q(t){return!!K.CSS_UNIT.exec(t)}function W(t){t=t.replace(n,'').replace(s,'').toLowerCase();var o,f=!1;if(T[t])t=T[t],f=!0;else if('transparent'==t)return{r:0,g:0,b:0,a:0,format:"name"};return(o=K.rgb.exec(t))?{r:o[1],g:o[2],b:o[3]}:(o=K.rgba.exec(t))?{r:o[1],g:o[2],b:o[3],a:o[4]}:(o=K.hsl.exec(t))?{h:o[1],s:o[2],l:o[3]}:(o=K.hsla.exec(t))?{h:o[1],s:o[2],l:o[3],a:o[4]}:(o=K.hsv.exec(t))?{h:o[1],s:o[2],v:o[3]}:(o=K.hsva.exec(t))?{h:o[1],s:o[2],v:o[3],a:o[4]}:(o=K.hex8.exec(t))?{r:D(o[1]),g:D(o[2]),b:D(o[3]),a:J(o[4]),format:f?"name":"hex8"}:(o=K.hex6.exec(t))?{r:D(o[1]),g:D(o[2]),b:D(o[3]),format:f?"name":"hex"}:(o=K.hex4.exec(t))?{r:D(o[1]+''+o[1]),g:D(o[2]+''+o[2]),b:D(o[3]+''+o[3]),a:J(o[4]+''+o[4]),format:f?"name":"hex8"}:!!(o=K.hex3.exec(t))&&{r:D(o[1]+''+o[1]),g:D(o[2]+''+o[2]),b:D(o[3]+''+o[3]),format:f?"name":"hex"}}function Y(t){var n,s;return n=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),s=(t.size||"small").toLowerCase(),"AA"!==n&&"AAA"!==n&&(n="AA"),"small"!==s&&"large"!==s&&(s="small"),{level:n,size:s}}void 0!==m&&m.exports?m.exports=c:'function'==typeof define&&define.amd?define(function(){return c}):window.tinycolor=c})(Math)},1642,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var o={focus:!0};e.focus=void 0;var c=t(r(d[1])),n=t(r(d[2])),u=r(d[3]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var f=r(d[4]);Object.keys(f).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))});var l=r(d[5]);Object.keys(l).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}}))});var b={focusable:c,tabbable:n};e.focus=b},1643,[32,1644,1645,1646,1647,1648]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.find=function(f){var l=f.querySelectorAll(t);return Array.from(l).filter(function(t){if(!n(t)||o(t))return!1;var f=t.nodeName;return'AREA'!==f||u(t)})};var t=['[tabindex]','a[href]','button:not([disabled])','input:not([type="hidden"]):not([disabled])','select:not([disabled])','textarea:not([disabled])','iframe','object','embed','area[href]','[contenteditable]:not([contenteditable=false])'].join(',');function n(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0}function o(t){return'iframe'===t.nodeName.toLowerCase()&&'-1'===t.getAttribute('tabindex')}function u(t){var o=t.closest('map[name]');if(!o)return!1;var u=t.ownerDocument.querySelector('img[usemap="#'+o.name+'"]');return!!u&&n(u)}},1644,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isTabbableIndex=o,e.find=function(n){return v((0,t.find)(n))},e.findPrevious=function(u){var o=(0,t.find)(u.ownerDocument.body),f=o.indexOf(u);return o.length=f,(0,n.last)(v(o))},e.findNext=function(u){var o=(0,t.find)(u.ownerDocument.body),f=o.indexOf(u),c=o.slice(f+1).filter(function(n){return!u.contains(n)});return(0,n.first)(v(c))};var n=r(d[0]),t=r(d[1]);function u(n){var t=n.getAttribute('tabindex');return null===t?0:parseInt(t,10)}function o(n){return-1!==u(n)}function f(n,t){return{element:n,index:t}}function c(n){return n.element}function l(n,t){var o=u(n.element),f=u(t.element);return o===f?n.index-t.index:o-f}function v(t){return t.filter(o).map(f).sort(l).map(c).reduce((u={},function(t,o){var f=o.nodeName,c=o.type,l=o.checked,v=o.name;if('INPUT'!==f||'radio'!==c||!v)return t.concat(o);var s=u.hasOwnProperty(v);if(!l&&s)return t;if(s){var b=u[v];t=(0,n.without)(t,b)}return u[v]=o,t.concat(o)}),[]);var u}},1645,[1068,1644]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.isHorizontalEdge=function(t,n){return f(t,n)},e.isVerticalEdge=function(t,n){return f(t,n,!0)},e.getRectangleFromRange=v,e.computeCaretRect=function(t){var n=t.getSelection(),o=n.rangeCount?n.getRangeAt(0):null;if(!o)return;return v(o)},e.placeCaretAtHorizontalEdge=h,e.placeCaretAtVerticalEdge=function t(n,o,l){var u=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!n)return;if(!l||!n.isContentEditable)return void h(n,o);var s=l.height/2;var c=n.getBoundingClientRect();var f=l.left;var v=o?c.bottom-s:c.top+s;var p=n.ownerDocument;var E=p.defaultView;var C=N(p,f,v,n);if(!C||!n.contains(C.startContainer))return!u||C&&C.startContainer&&C.startContainer.contains(n)?void h(n,o):(n.scrollIntoView(o),void t(n,o,l,!1));var T=E.getSelection();T.removeAllRanges();T.addRange(C);n.focus();T.removeAllRanges();T.addRange(C)},e.isTextField=E,e.isNumberInput=C,e.documentHasTextSelection=T,e.documentHasUncollapsedSelection=function(t){return T(t)||y(t.activeElement)},e.documentHasSelection=function(t){return E(t.activeElement)||C(t.activeElement)||T(t)},e.isEntirelySelected=function(t){if((0,o.includes)(['INPUT','TEXTAREA'],t.nodeName))return 0===t.selectionStart&&t.value.length===t.selectionEnd;if(!t.isContentEditable)return!0;var n=t.ownerDocument.defaultView.getSelection(),l=n.rangeCount?n.getRangeAt(0):null;if(!l)return!0;var u=l.startContainer,s=l.endContainer,c=l.startOffset,f=l.endOffset;if(u===t&&s===t&&0===c&&f===t.childNodes.length)return!0;var v=t.lastChild,h=v.nodeType===v.TEXT_NODE?v.data.length:v.childNodes.length;return u===t.firstChild&&s===t.lastChild&&0===c&&f===h},e.getScrollContainer=function t(n){if(!n)return;if(n.scrollHeight>n.clientHeight){var o=u(n),l=o.overflowY;if(/(auto|scroll)/.test(l))return n}return t(n.parentNode)},e.getOffsetParent=function(t){var n;for(;(n=t.parentNode)&&n.nodeType!==n.ELEMENT_NODE;);if(!n)return null;if('static'!==u(n).position)return n;return n.offsetParent},e.replace=function(t,n){b(n,t.parentNode),R(t)},e.remove=R,e.insertAfter=b,e.unwrap=A,e.replaceTag=function(t,n){var o=t.ownerDocument.createElement(n);for(;t.firstChild;)o.appendChild(t.firstChild);return t.parentNode.replaceChild(o,t),o},e.wrap=function(t,n){n.parentNode.insertBefore(t,n),t.appendChild(n)},e.__unstableStripHTML=function(t){return(new window.DOMParser).parseFromString(t,'text/html').body.textContent||''},e.isEmpty=w,e.removeInvalidHTML=function(t,n,o){var l=document.implementation.createHTMLDocument('');return l.body.innerHTML=t,S(l.body.childNodes,l,n,o),l.body.innerHTML};var n=t(r(d[1])),o=r(d[2]),l=r(d[3]);function u(t){return t.ownerDocument.defaultView.getComputedStyle(t)}function s(t){var o=Array.from(t.getClientRects());if(o.length){var l=Math.min.apply(Math,(0,n.default)(o.map(function(t){return t.top})));return Math.max.apply(Math,(0,n.default)(o.map(function(t){return t.bottom})))-l}}function c(t){var n=t.anchorNode,o=t.focusNode,l=t.anchorOffset,u=t.focusOffset,s=n.compareDocumentPosition(o);return!(s&n.DOCUMENT_POSITION_PRECEDING)&&(!!(s&n.DOCUMENT_POSITION_FOLLOWING)||(0!==s||l<=u))}function f(t,n,l){if((0,o.includes)(['INPUT','TEXTAREA'],t.tagName))return t.selectionStart===t.selectionEnd&&(n?0===t.selectionStart:t.value.length===t.selectionStart);if(!t.isContentEditable)return!0;var f=t.ownerDocument,h=f.defaultView.getSelection();if(!h.rangeCount)return!1;var p=h.getRangeAt(0),E=p.cloneRange(),C=c(h),T=h.isCollapsed;T||E.collapse(!C);var y=v(E),R=v(p);if(!y||!R)return!1;if(!T&&s(p)>y.height&&C===n)return!1;var b='rtl'===u(t).direction?!n:n,A=t.getBoundingClientRect(),S=N(f,b?A.left+1:A.right-1,n?A.top+1:A.bottom-1,t);if(!S)return!1;var w=v(S);if(!w)return!1;var O=n?'top':'bottom',P=b?'left':'right',M=w[O]-R[O],D=w[P]-y[P],I=Math.abs(M)<=1,L=Math.abs(D)<=1;return l?I:I&&L}function v(t){if(!t.collapsed)return t.getBoundingClientRect();var n=t.startContainer,o=n.ownerDocument;if('BR'===n.nodeName){var l=n.parentNode,u=Array.from(l.childNodes).indexOf(n);(t=o.createRange()).setStart(l,u),t.setEnd(l,u)}var s=t.getClientRects()[0];if(!s){var c=o.createTextNode("\u200b");(t=t.cloneRange()).insertNode(c),s=t.getClientRects()[0],c.parentNode.removeChild(c)}return s}function h(t,n){if(t){if((0,o.includes)(['INPUT','TEXTAREA'],t.tagName))return t.focus(),void(n?(t.selectionStart=t.value.length,t.selectionEnd=t.value.length):(t.selectionStart=0,t.selectionEnd=0));if(t.focus(),t.isContentEditable){var l=t[n?'lastChild':'firstChild'];if(l){var u=t.ownerDocument,s=u.defaultView.getSelection(),c=u.createRange();c.selectNodeContents(l),c.collapse(!n),s.removeAllRanges(),s.addRange(c)}}}}function p(t,n,o){if(t.caretRangeFromPoint)return t.caretRangeFromPoint(n,o);if(!t.caretPositionFromPoint)return null;var l=t.caretPositionFromPoint(n,o);if(!l)return null;var u=t.createRange();return u.setStart(l.offsetNode,l.offset),u.collapse(!0),u}function N(t,n,o,l){var u=l.style.zIndex,s=l.style.position;l.style.zIndex='10000',l.style.position='relative';var c=p(t,n,o);return l.style.zIndex=u,l.style.position=s,c}function E(t){var n=t.nodeName,o=t.contentEditable;return'INPUT'===n&&!['button','checkbox','hidden','file','radio','image','range','reset','submit','number'].includes(t.type)||'TEXTAREA'===n||'true'===o}function C(t){var n=t.nodeName,o=t.type,l=t.valueAsNumber;return'INPUT'===n&&'number'===o&&!!l}function T(t){var n=t.defaultView.getSelection(),o=n.rangeCount?n.getRangeAt(0):null;return o&&!o.collapsed}function y(t){if(!E(t)&&!C(t))return!1;try{var n=t.selectionStart,o=t.selectionEnd;return null!==n&&n!==o}catch(t){return!1}}function R(t){t.parentNode.removeChild(t)}function b(t,n){n.parentNode.insertBefore(t,n.nextSibling)}function A(t){for(var n=t.parentNode;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}function S(t,n,u,s){Array.from(t).forEach(function(t){var c=t.nodeName.toLowerCase();if(!u.hasOwnProperty(c)||u[c].isMatch&&!u[c].isMatch(t))S(t.childNodes,n,u,s),s&&!(0,l.isPhrasingContent)(t)&&t.nextElementSibling&&b(n.createElement('br'),t),A(t);else if(t.nodeType===t.ELEMENT_NODE){var f=u[c],v=f.attributes,h=void 0===v?[]:v,p=f.classes,N=void 0===p?[]:p,E=f.children,C=f.require,T=void 0===C?[]:C,y=f.allowEmpty;if(E&&!y&&w(t))return void R(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach(function(n){var l=n.name;'class'===l||(0,o.includes)(h,l)||t.removeAttribute(l)}),t.classList&&t.classList.length)){var O=N.map(function(t){return'string'==typeof t?function(n){return n===t}:t instanceof RegExp?function(n){return t.test(n)}:o.noop});Array.from(t.classList).forEach(function(n){O.some(function(t){return t(n)})||t.classList.remove(n)}),t.classList.length||t.removeAttribute('class')}if(t.hasChildNodes()){if('*'===E)return;if(E)T.length&&!t.querySelector(T.join(','))?(S(t.childNodes,n,u,s),A(t)):'BODY'===t.parentNode.nodeName&&(0,l.isPhrasingContent)(t)?(S(t.childNodes,n,u,s),Array.from(t.childNodes).some(function(t){return!(0,l.isPhrasingContent)(t)})&&A(t)):S(t.childNodes,n,E,s);else for(;t.firstChild;)R(t.firstChild)}}})}function w(t){return!t.hasChildNodes()||Array.from(t.childNodes).every(function(t){return t.nodeType===t.TEXT_NODE?!t.nodeValue.trim():t.nodeType!==t.ELEMENT_NODE||('BR'===t.nodeName||!t.hasAttributes()&&w(t))})}},1646,[5,14,1068,1647]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getPhrasingContentSchema=p,e.isPhrasingContent=function(t){var n=t.nodeName.toLowerCase();return p().hasOwnProperty(n)||'span'===n},e.isTextContent=function(t){var n=t.nodeName.toLowerCase();return b.hasOwnProperty(n)||'span'===n};var n=t(r(d[1])),o=r(d[2]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function u(t){for(var o=1;o2&&void 0!==arguments[2]?arguments[2]:{},s=(0,O.normalizeBlockType)(t),c=(0,l.mapValues)(s.attributes,function(t,s){return x(s,t,n,o)});return(0,v.applyFilters)('blocks.getBlockAttributes',c,s,n,o)}function _(t,s){var u=(0,b.getBlockType)(t.name),f=u.deprecated;if(!f||!f.length)return t;for(var v=t,p=v.originalContent,y=v.innerBlocks,h=0;h0&&(T.isValid?console.info('Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s',w.name,w,(0,h.getSaveContent)(w,T.attributes),T.originalContent):T.validationIssues.forEach(function(t){var n=t.log,s=t.args;return n.apply(void 0,(0,o.default)(s))})),T}}function q(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.isCommentDelimited,s=void 0===o||o,c=t.blockName,u=t.attrs,l=void 0===u?{}:u,f=t.innerBlocks,v=void 0===f?[]:f,p=t.innerContent,b=0,y=(void 0===p?[]:p).map(function(t){return null!==t?t:q(v[b++],n)}).join('\n').replace(/\n+/g,'\n').trim();return s?(0,h.getCommentDelimitedContent)(c,l,y):y}e.toBooleanAttributeMatcher=V;var R,W=(R=p.parse,function(t){return R(t).reduce(function(t,n){var o=M(n);return o&&t.push(o),t},[])});e.parseWithGrammar=W;var z=W;e.default=z},1650,[5,36,14,66,24,1651,1068,1652,4,1653,1246,1230,1654,1659,1661,1641,1649]); -__d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(t){'use strict';function n(t,n){for(var u,o=n.split('.');u=o.shift();){if(!(u in t))return;t=t[u]}return t}var u,o=function(){return u||(u=document.implementation.createHTMLDocument('')),u};function f(t,n){if(n){if('string'==typeof t){var u=o();u.body.innerHTML=t,t=u.body}if('function'==typeof n)return n(t);if(Object===n.constructor)return Object.keys(n).reduce(function(u,o){return u[o]=f(t,n[o]),u},{})}}function c(t,u){return 1===arguments.length&&(u=t,t=void 0),function(o){var f=o;if(t&&(f=o.querySelector(t)),f)return n(f,u)}}t.parse=f,t.prop=c,t.attr=function(t,n){return 1===arguments.length&&(n=t,t=void 0),function(u){var o=c(t,'attributes')(u);if(o&&o.hasOwnProperty(n))return o[n].value}},t.html=function(t){return c(t,'innerHTML')},t.text=function(t){return c(t,'textContent')},t.query=function(t,n){return function(u){var o=u.querySelectorAll(t);return[].map.call(o,function(t){return f(t,n)})}},Object.defineProperty(t,'__esModule',{value:!0})},'object'==typeof e&&void 0!==m?n(e):'function'==typeof define&&define.amd?define(['exports'],n):n(t.hpq={})},1651,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.autop=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l=[];if(''===t.trim())return'';if(-1!==(t+='\n').indexOf(''),s=c.pop();t='';for(var u=0;u';l.push([b,f.substr(h)+'']),t+=f.substr(0,h)+b}else t+=f}t+=s}-1!==(t=o(t=(t=(t=(t=t.replace(/\s*/g,'\n\n')).replace(new RegExp("(<(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)[\\s/>])",'g'),'\n\n$1')).replace(new RegExp("()",'g'),'$1\n\n')).replace(/\r\n|\r/g,'\n'),{'\n':' \x3c!-- wpnl --\x3e '})).indexOf('\s*/g,''));-1!==t.indexOf('')&&(t=(t=(t=t.replace(/(]*>)\s*/g,'$1')).replace(/\s*<\/object>/g,'')).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,'$1'));-1===t.indexOf('\]]*[>\]])\s*/g,'$1')).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,'$1')).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,'$1'));-1!==t.indexOf(']*>)/,'$1')).replace(/<\/figcaption>\s*/,''));var v=(t=t.replace(/\n\n+/g,'\n\n')).split(/\n\s*\n/).filter(Boolean);t='',v.forEach(function(p){t+='

'+p.replace(/^\n*|\n*$/g,'')+'

\n'}),t=(t=(t=(t=(t=(t=(t=(t=t.replace(/

\s*<\/p>/g,'')).replace(/

([^<]+)<\/(div|address|form)>/g,'

$1

')).replace(new RegExp("

\\s*(]*>)\\s*

",'g'),'$1')).replace(/

(/g,'$1')).replace(/

]*)>/gi,'

')).replace(/<\/blockquote><\/p>/g,'

')).replace(new RegExp("

\\s*(]*>)",'g'),'$1')).replace(new RegExp("(]*>)\\s*

",'g'),'$1'),n&&(t=(t=(t=(t=t.replace(/<(script|style).*?<\/\\1>/g,function(t){return t[0].replace(/\n/g,'')})).replace(/
|/g,'
')).replace(/(
)?\s*\n/g,function(t,p){return p?t:'
\n'})).replace(//g,'\n'));t=(t=(t=t.replace(new RegExp("(]*>)\\s*
",'g'),'$1')).replace(/
(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,'$1')).replace(/\n<\/p>$/g,'

'),l.forEach(function(n){var l=(0,p.default)(n,2),o=l[0],c=l[1];t=t.replace(o,c)}),-1!==t.indexOf('\x3c!-- wpnl --\x3e')&&(t=t.replace(/\s?\s?/g,'\n'));return t},e.removep=function(t){var p=[],n=!1,l=!1;if(!t)return'';-1===t.indexOf(']*>[\s\S]*?<\/\1>/g,function(t){return p.push(t),''}));-1!==t.indexOf(']*>[\s\S]+?<\/pre>/g,function(t){return(t=(t=t.replace(/
(\r\n|\n)?/g,'')).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,'')).replace(/\r?\n/g,'')}));-1!==t.indexOf('[caption')&&(l=!0,t=t.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(t){return t.replace(/]*)>/g,'').replace(/[\r\n\t]+/,'')}));-1!==(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(new RegExp("\\s*\\s*",'g'),'\n')).replace(new RegExp("\\s*<((?:blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure|div|p)(?: [^>]*)?)>",'g'),'\n<$1>')).replace(/(

]+>[\s\S]*?)<\/p>/g,'$1')).replace(/]*)?>\s*

/gi,'\n\n')).replace(/\s*

/gi,'')).replace(/\s*<\/p>\s*/gi,'\n\n')).replace(/\n[\s\u00a0]+\n/g,'\n\n')).replace(/(\s*)
\s*/gi,function(t,p){return p&&-1!==p.indexOf('\n')?'\n\n':'\n'})).replace(/\s*

\s*/g,'
\n')).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,'\n\n[caption$1[/caption]\n\n')).replace(/caption\]\n\n+\[caption/g,'caption]\n\n[caption')).replace(new RegExp("\\s*<((?:blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure|pre)(?: [^>]*)?)\\s*>",'g'),'\n<$1>')).replace(new RegExp("\\s*\\s*",'g'),'\n')).replace(/<((li|dt|dd)[^>]*)>/g,' \t<$1>')).indexOf('/g,'\n'));-1!==t.indexOf(']*)?>\s*/g,'\n\n\n\n'));-1!==t.indexOf('/g,function(t){return t.replace(/[\r\n]+/g,'')}));t=(t=(t=(t=t.replace(/<\/p#>/g,'

\n')).replace(/\s*(

]+>[\s\S]*?<\/p>)/g,'\n$1')).replace(/^\s+/,'')).replace(/[\s\u00a0]+$/,''),n&&(t=t.replace(//g,'\n'));l&&(t=t.replace(/]*)>/g,''));p.length&&(t=t.replace(//g,function(){return p.shift()}));return t};var p=t(r(d[1])),n=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function l(t){for(var p,l=[],o=t;p=o.match(n);){var c=p.index;l.push(o.slice(0,c)),l.push(p[0]),o=o.slice(c+p[0].length)}return o.length&&l.push(o),l}function o(t,p){for(var n=l(t),o=!1,c=Object.keys(p),s=1;s)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function f(n,t,o,u,s){return{blockName:n,attrs:t,innerBlocks:o,innerHTML:u,innerContent:s}}function p(n){return f(null,{},[],n,[n])}function k(n,t,o,u,s){return{block:n,tokenStart:t,tokenLength:o,prevOffset:u||t+o,leadingHtmlStart:s}}function b(){var n=h(),c=(0,l.default)(n,5),b=c[0],v=c[1],S=c[2],_=c[3],C=c[4],M=s.length,z=_>o?o:null;switch(b){case'no-more-tokens':if(0===M)return O(),!1;if(1===M)return L(),!1;for(;02&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)(),s=t.chars,u=n.chars,c=0;c2&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)();if(t.length!==n.length)return o.warning('Expected attributes %o, instead saw %o.',n,t),!1;for(var s={},c=0;c2&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)();return t.tagName!==o.tagName&&t.tagName.toLowerCase()!==o.tagName.toLowerCase()?(s.warning('Expected tag name `%s`, instead saw `%s`.',o.tagName,t.tagName),!1):I.apply(void 0,(0,n.default)([t,o].map(V)).concat([s]))},Chars:$,Comment:$};function _(t){for(var n;n=t.shift();){if('Chars'!==n.type)return n;if(!E.test(n.chars))return n}}function H(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,y.createLogger)();try{return new f.Tokenizer(new q).tokenize(t)}catch(o){n.warning('Malformed HTML detected: %s',t)}return null}function R(t,n){return!!t.selfClosing&&!(!n||n.tagName!==t.tagName||'EndTag'!==n.type)}function F(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)();if(t===n)return!0;var s,c,l=[t,n].map(function(t){return H(t,o)}),f=(0,u.default)(l,2),p=f[0],v=f[1];if(!p||!v)return!1;for(;s=_(p);){if(!(c=_(v)))return o.warning('Expected end of content, instead saw %o.',s),!1;if(s.type!==c.type)return o.warning('Expected token of type `%s` (%o), instead saw `%s` (%o).',c.type,c,s.type,s),!1;var h=W[s.type];if(h&&!h(s,c,o))return!1;R(s,v[0])?_(v):R(c,p[0])&&_(p)}return!(c=_(v))||(o.warning('Expected %o, instead saw end of content.',c),!1)}function Q(t,n,o){var s,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,y.createQueuedLogger)(),c=(0,w.normalizeBlockType)(t);try{s=(0,h.getSaveContent)(c,n)}catch(t){return u.error('Block validation failed because an error occurred while generating block content:\n\n%s',t.toString()),{isValid:!1,validationIssues:u.getItems()}}var l=F(o,s,u);return l||u.error('Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s',c.name,c,s,o),{isValid:l,validationIssues:u.getItems()}}e.isEqualTokensOfType=W},1654,[5,14,66,1655,36,7,42,1656,1068,1657,1658,1659,1641]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3]);m.exports=function(c){return n(c)||t(c)||o(c)||u()}},1655,[37,17,18,39]); -__d(function(g,r,i,a,m,e,d){var t,o;t=this,o=function(t){'use strict';var o={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:"\"",QUOT:"\"",rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"},s=/^#[xX]([A-Fa-f0-9]+)$/,n=/^#([0-9]+)$/,l=/^([A-Za-z0-9]+)$/,u=(function(){function t(t){this.named=t}return t.prototype.parse=function(t){if(t){var o=t.match(s);return o?String.fromCharCode(parseInt(o[1],16)):(o=t.match(n))?String.fromCharCode(parseInt(o[1],10)):(o=t.match(l))?this.named[o[1]]:void 0}},t})(),c=/[\t\n\f ]/,p=/[A-Za-z]/,h=/\r\n?/g;function f(t){return c.test(t)}function b(t){return p.test(t)}function q(t){return t.replace(h,'\n')}var w=(function(){function t(t,o){this.delegate=t,this.entityParser=o,this.state="beforeData",this.line=-1,this.column=-1,this.input='',this.index=-1,this.tagNameBuffer='',this.states={beforeData:function(){var t=this.peek();if('<'===t)this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if('\n'===t){var o=this.tagNameBuffer.toLowerCase();'pre'!==o&&'textarea'!==o||this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var t=this.peek();'<'===t?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):'&'===t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||'&')):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();'!'===t?this.transitionTo("markupDeclarationOpen"):'/'===t?this.transitionTo("endTagOpen"):('@'===t||':'===t||b(t))&&(this.transitionTo("tagName"),this.tagNameBuffer='',this.delegate.beginStartTag(),this.appendToTagName(t))},markupDeclarationOpen:function(){'-'===this.consume()&&'-'===this.input.charAt(this.index)&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var t=this.consume();'-'===t?this.transitionTo("commentStartDash"):'>'===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(t),this.transitionTo("comment"))},commentStartDash:function(){var t=this.consume();'-'===t?this.transitionTo("commentEnd"):'>'===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData('-'),this.transitionTo("comment"))},comment:function(){var t=this.consume();'-'===t?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();'-'===t?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData('-'+t),this.transitionTo("comment"))},commentEnd:function(){var t=this.consume();'>'===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData('--'+t),this.transitionTo("comment"))},tagName:function(){var t=this.consume();f(t)?this.transitionTo("beforeAttributeName"):'/'===t?this.transitionTo("selfClosingStartTag"):'>'===t?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();f(t)?this.consume():'/'===t?(this.transitionTo("selfClosingStartTag"),this.consume()):'>'===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'='===t?(this.delegate.reportSyntaxError('attribute name cannot start with equals sign'),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var t=this.peek();f(t)?(this.transitionTo("afterAttributeName"),this.consume()):'/'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):'='===t?(this.transitionTo("beforeAttributeValue"),this.consume()):'>'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===t||"'"===t||'<'===t?(this.delegate.reportSyntaxError(t+' is not a valid character within attribute names'),this.consume(),this.delegate.appendToAttributeName(t)):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();f(t)?this.consume():'/'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):'='===t?(this.consume(),this.transitionTo("beforeAttributeValue")):'>'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();f(t)?this.consume():'"'===t?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):'>'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):'&'===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||'&'):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):'&'===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||'&'):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();f(t)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):'/'===t?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):'&'===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||'&')):'>'===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();f(t)?(this.consume(),this.transitionTo("beforeAttributeName")):'/'===t?(this.consume(),this.transitionTo("selfClosingStartTag")):'>'===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){'>'===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var t=this.consume();('@'===t||':'===t||b(t))&&(this.transitionTo("tagName"),this.tagNameBuffer='',this.delegate.beginEndTag(),this.appendToTagName(t))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input='',this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(t){this.state=t},t.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},t.prototype.tokenizePart=function(t){for(this.input+=q(t);this.index1?t-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},n=y.blockType,o=y.attributes;return(0,c.applyFilters)('blocks.getSaveContent.extraProps',k({},t),n,o)},e.getSaveElement=O,e.getSaveContent=B,e.getCommentAttributes=C,e.serializeAttributes=h,e.getBlockContent=j,e.getCommentDelimitedContent=P,e.serializeBlock=S,e.__unstableSerializeAndClean=function(t){1===t.length&&(0,f.isUnmodifiedDefaultBlock)(t[0])&&(t=[]);var n=w(t);1===t.length&&t[0].name===(0,p.getFreeformContentHandlerName)()&&(n=(0,s.removep)(n));return n},e.default=w;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=t(r(d[5])),s=r(d[6]),p=r(d[7]),f=r(d[8]),b=t(r(d[9]));function v(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function k(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:[],v=(0,f.normalizeBlockType)(t),O=v.save;if(O.prototype instanceof n.Component){var B=new O({attributes:o});O=B.render.bind(B)}y.blockType=v,y.attributes=o;var C=O({attributes:o,innerBlocks:s}),h=v.apiVersion>1||(0,p.hasBlockSupport)(v,'lightBlockWrapper',!1);if((0,l.isObject)(C)&&(0,c.hasFilter)('blocks.getSaveContent.extraProps')&&!h){var j=(0,c.applyFilters)('blocks.getSaveContent.extraProps',k({},C.props),v,o);(0,u.default)(j,C.props)||(C=(0,n.cloneElement)(C,j))}return C=(0,c.applyFilters)('blocks.getSaveElement',C,v,o),(0,n.createElement)(b.default,{innerBlocks:s},C)}function B(t,o,l){var c=(0,f.normalizeBlockType)(t);return(0,n.renderToString)(O(c,o,l))}function C(t,n){return(0,l.reduce)(t.attributes,function(t,o,l){var c=n[l];return void 0===c?t:void 0!==o.source?t:'default'in o&&o.default===c?t:(t[l]=c,t)},{})}function h(t){return JSON.stringify(t).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}function j(t){var n=t.originalContent;if(t.isValid||t.innerBlocks.length)try{n=B(t.name,t.attributes,t.innerBlocks)}catch(t){}return n}function P(t,n,o){var c=(0,l.isEmpty)(n)?'':h(n)+' ',u=(0,l.startsWith)(t,'core/')?t.slice(5):t;return o?"\x3c!-- wp:"+u+" "+c+"--\x3e\n"+o+"\n\x3c!-- /wp:"+u+" --\x3e":"\x3c!-- wp:"+u+" "+c+"/--\x3e"}function S(t){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isInnerBlocks,o=void 0!==n&&n,l=t.name,c=j(t);return l===(0,p.getUnregisteredTypeHandlerName)()||!o&&l===(0,p.getFreeformContentHandlerName)()?c:P(l,C((0,p.getBlockType)(l),t.attributes),c)}function w(t,n){return(0,l.castArray)(t).map(function(t){return S(t,n)}).join('\n\n')}},1659,[5,946,66,1068,4,1121,1652,1246,1641,1660]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.withBlockContentContext=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=(0,n.createContext)(function(){}),f=u.Consumer,C=u.Provider,v=(0,l.createHigherOrderComponent)(function(t){return function(l){return(0,n.createElement)(f,null,function(c){return(0,n.createElement)(t,(0,o.default)({},l,{BlockContent:c}))})}},'withBlockContentContext');e.withBlockContentContext=v;var k=function(t){var o=t.children,l=t.innerBlocks;return(0,n.createElement)(C,{value:function(){var t=(0,c.serialize)(l,{isInnerBlocks:!0});return(0,n.createElement)(n.RawHTML,null,t)}},o)};e.default=k},1660,[5,946,24,1116,1229]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.html=function(t,n){return function(u){var o=u;if(t&&(o=u.querySelector(t)),!o)return'';if(n){for(var c='',f=o.children.length,l=0;l]+>/g,'')).replace(/^\s*]*>\s*]*>(?:\s*)?/i,'')).replace(/(?:\s*)?<\/body>\s*<\/html>\s*$/i,''),'INLINE'!==z){var $=_||D;if(-1!==$.indexOf('\x3c!-- wp:'))return(0,p.parseWithGrammar)($)}String.prototype.normalize&&(_=_.normalize());!D||_&&!(0,E.isPlain)(_)||(_=(0,I.default)(D),'AUTO'===z&&-1===D.indexOf('\n')&&0!==D.indexOf('

')&&0===_.indexOf('

')&&(z='INLINE'));if('INLINE'===z)return B(_,G);var q=(0,H.default)(_),J=q.length>1;if('AUTO'===z&&!J&&(0,b.default)(_,W))return B(_,G);var K=(0,o.getPhrasingContentSchema)('paste'),Q=(0,E.getBlockContentSchema)('paste'),R=(0,l.compact)((0,l.flatMap)(q,function(t){if('string'!=typeof t)return t;var n=[S.default,y.default,T.default,P.default,L.default,h.default,O.default,v.default,w.default,M.default,j.default],l=k(k({},Q),K);return t=(0,E.deepFilterHTML)(t,n,Q),t=(0,o.removeInvalidHTML)(t,l),t=(0,s.default)(t),t=(0,E.deepFilterHTML)(t,[x.default,N.default,F.default],Q),A.log('Processed HTML piece:\n\n',t),(0,f.htmlToBlocks)(t)}));if('AUTO'===z&&1===R.length&&(0,u.hasBlockSupport)(R[0].name,'__unstablePasteTextInline',!1)){var V=D.trim();if(''!==V&&-1===V.indexOf('\n'))return(0,o.removeInvalidHTML)((0,c.getBlockContent)(R[0]),K)}return R};var n=t(r(d[1])),l=r(d[2]),o=r(d[3]),f=r(d[4]),u=r(d[5]),c=r(d[6]),p=r(d[7]),s=t(r(d[8])),O=t(r(d[9])),v=t(r(d[10])),b=t(r(d[11])),h=t(r(d[12])),T=t(r(d[13])),y=t(r(d[14])),P=t(r(d[15])),L=t(r(d[16])),j=t(r(d[17])),M=t(r(d[18])),H=t(r(d[19])),I=t(r(d[20])),w=t(r(d[21])),S=t(r(d[22])),x=t(r(d[23])),N=t(r(d[24])),E=r(d[25]),F=t(r(d[26]));function _(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function k(t){for(var l=1;l1&&void 0!==arguments[1]?arguments[1]:n,o=n.ownerDocument.createElement('figure');t.parentNode.insertBefore(o,t),o.appendChild(n)}},1678,[1068,1643]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),s=r(d[4]),u=r(d[5]),f=r(d[6]),l=r(d[7]);function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function p(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:0,O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],y=(0,u.getBlockTransforms)('from'),h=(0,u.findTransform)(y,function(t){return-1===O.indexOf(t.blockName)&&'shortcode'===t.type&&(0,c.some)((0,c.castArray)(t.tag),function(t){return(0,s.regexp)(t).test(n)})});if(!h)return[n];var v,j=(0,c.castArray)(h.tag),k=(0,c.find)(j,function(t){return(0,s.regexp)(t).test(n)}),P=b;if(v=(0,s.next)(k,n,b)){b=v.index+v.content.length;var w=n.substr(0,v.index),x=n.substr(b);if(!((0,c.includes)(v.shortcode.content||'','<')||/(\n|

)\s*$/.test(w)&&/^\s*(\n|<\/p>)/.test(x)))return t(n,b);if(h.isMatch&&!h.isMatch(v.shortcode.attrs))return t(n,P,[].concat((0,o.default)(O),[h.blockName]));var B=(0,c.mapValues)((0,c.pickBy)(h.attributes,function(t){return t.shortcode}),function(t){return t.shortcode(v.shortcode.attrs,v)}),D=(0,u.createBlock)(h.blockName,(0,l.getBlockAttributes)(p(p({},(0,f.getBlockType)(h.blockName)),{},{attributes:h.attributes}),v.shortcode.content,B));return[].concat((0,o.default)(t(w)),[D],(0,o.default)(t(x)))}return[n]};e.default=O},1679,[5,66,14,1068,1680,1230,1246,1650]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.next=s,e.replace=c,e.string=o,e.regexp=u,e.fromMatch=h,e.default=e.attrs=void 0;var n=r(d[1]);function s(t,n){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=u(t);o.lastIndex=c;var f=o.exec(n);if(f){if('['===f[1]&&']'===f[7])return s(t,n,o.lastIndex);var l={index:f.index,content:f[0],shortcode:h(f)};return f[1]&&(l.content=l.content.slice(1),l.index++),f[7]&&(l.content=l.content.slice(0,-1)),l}}function c(t,n,s){return n.replace(u(t),function(t,n,c,o,u,f,l,p){if('['===n&&']'===p)return t;var v=s(h(arguments));return v||''===v?n+v+p:t})}function o(t){return new l(t).string()}function u(t){return new RegExp('\\[(\\[?)('+t+')(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)','g')}var f=(0,t(r(d[2])).default)(function(t){var n,s={},c=[],o=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g,' ');n=o.exec(t);)n[1]?s[n[1].toLowerCase()]=n[2]:n[3]?s[n[3].toLowerCase()]=n[4]:n[5]?s[n[5].toLowerCase()]=n[6]:n[7]?c.push(n[7]):n[8]?c.push(n[8]):n[9]&&c.push(n[9]);return{named:s,numeric:c}});function h(t){var n;return n=t[4]?'self-closing':t[6]?'closed':'single',new l({tag:t[2],attrs:t[3],type:n,content:t[5]})}e.attrs=f;var l=(0,n.extend)(function(t){var s=this;(0,n.extend)(this,(0,n.pick)(t||{},'tag','attrs','type','content'));var c=this.attrs;this.attrs={named:{},numeric:[]},c&&((0,n.isString)(c)?this.attrs=f(c):(0,n.isEqual)(Object.keys(c),['named','numeric'])?this.attrs=c:(0,n.forEach)(c,function(t,n){s.set(n,t)}))},{next:s,replace:c,string:o,regexp:u,attrs:f,fromMatch:h});(0,n.extend)(l.prototype,{get:function(t){return this.attrs[(0,n.isNumber)(t)?'numeric':'named'][t]},set:function(t,s){return this.attrs[(0,n.isNumber)(t)?'numeric':'named'][t]=s,this},string:function(){var t='['+this.tag;return(0,n.forEach)(this.attrs.numeric,function(n){/\s/.test(n)?t+=' "'+n+'"':t+=' '+n}),(0,n.forEach)(this.attrs.named,function(n,s){t+=' '+s+'="'+n+'"'}),'single'===this.type?t+']':'self-closing'===this.type?t+' /]':(t+=']',this.content&&(t+=this.content),t+'[/'+this.tag+']')}});var p=l;e.default=p},1680,[5,1068,1029]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return t.makeHtml(o(n))};var t=new(n(r(d[1])).default.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function o(n){return n.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,function(n,t,o,u){return t+"\n"+o+"\n"+u})}},1681,[5,1682]); -__d(function(e,r,t,a,n,s,o){(function(){function e(e){'use strict';var r={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:'Omit the default extra whiteline added to code blocks',type:'boolean'},noHeaderId:{defaultValue:!1,describe:'Turn on/off generated header id',type:'boolean'},prefixHeaderId:{defaultValue:!1,describe:'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \'section-\' prefix',type:'string'},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:'boolean'},ghCompatibleHeaderId:{defaultValue:!1,describe:'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',type:'boolean'},rawHeaderId:{defaultValue:!1,describe:'Remove only spaces, \' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',type:'boolean'},headerLevelStart:{defaultValue:!1,describe:'The header blocks level start',type:'integer'},parseImgDimensions:{defaultValue:!1,describe:'Turn on/off image dimension parsing',type:'boolean'},simplifiedAutoLink:{defaultValue:!1,describe:'Turn on/off GFM autolink style',type:'boolean'},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:'Excludes trailing punctuation from links generated with autoLinking',type:'boolean'},literalMidWordUnderscores:{defaultValue:!1,describe:'Parse midword underscores as literal underscores',type:'boolean'},literalMidWordAsterisks:{defaultValue:!1,describe:'Parse midword asterisks as literal asterisks',type:'boolean'},strikethrough:{defaultValue:!1,describe:'Turn on/off strikethrough support',type:'boolean'},tables:{defaultValue:!1,describe:'Turn on/off tables support',type:'boolean'},tablesHeaderId:{defaultValue:!1,describe:'Add an id to table headers',type:'boolean'},ghCodeBlocks:{defaultValue:!0,describe:'Turn on/off GFM fenced code blocks support',type:'boolean'},tasklists:{defaultValue:!1,describe:'Turn on/off GFM tasklist support',type:'boolean'},smoothLivePreview:{defaultValue:!1,describe:'Prevents weird effects in live previews due to incomplete input',type:'boolean'},smartIndentationFix:{defaultValue:!1,description:'Tries to smartly fix indentation in es6 strings',type:'boolean'},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:'Disables the requirement of indenting nested sublists by 4 spaces',type:'boolean'},simpleLineBreaks:{defaultValue:!1,description:'Parses simple line breaks as
(GFM Style)',type:'boolean'},requireSpaceBeforeHeadingText:{defaultValue:!1,description:'Makes adding a space between `#` and the header text mandatory (GFM Style)',type:'boolean'},ghMentions:{defaultValue:!1,description:'Enables github @mentions',type:'boolean'},ghMentionsLink:{defaultValue:'https://github.com/{u}',description:'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',type:'string'},encodeEmails:{defaultValue:!0,description:'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',type:'boolean'},openLinksInNewWindow:{defaultValue:!1,description:'Open all links in new windows',type:'boolean'},backslashEscapesHTMLTags:{defaultValue:!1,description:'Support for HTML Tag escaping. ex:

foo
',type:'boolean'},emoji:{defaultValue:!1,description:'Enable emoji support. Ex: `this is a :smile: emoji`',type:'boolean'},underline:{defaultValue:!1,description:'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',type:'boolean'},completeHTMLDocument:{defaultValue:!1,description:'Outputs a complete html document, including ``, `` and `` tags',type:'boolean'},metadata:{defaultValue:!1,description:'Enable support for document metadata (defined at the top of the document between `\xab\xab\xab` and `\xbb\xbb\xbb` or between `---` and `---`).',type:'boolean'},splitAdjacentBlockquotes:{defaultValue:!1,description:'Split adjacent blockquote blocks',type:'boolean'}};if(!1===e)return JSON.parse(JSON.stringify(r));var t={};for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a].defaultValue);return t}var r={},t={},a={},s=e(!0),o='vanilla',i={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:(function(){'use strict';var r=e(!0),t={};for(var a in r)r.hasOwnProperty(a)&&(t[a]=!0);return t})()};function l(e,t){'use strict';var a=t?'Error in '+t+' extension->':'Error in unnamed extension',n={valid:!0,error:''};r.helper.isArray(e)||(e=[e]);for(var s=0;s').replace(/&/g,'&')};var u=function(e,r,t,a){'use strict';var n,s,o,i,l,c=a||'',u=c.indexOf('g')>-1,d=new RegExp(r+'|'+t,'g'+c.replace(/g/g,'')),p=new RegExp(r,c.replace(/g/g,'')),h=[];do{for(n=0;o=d.exec(e);)if(p.test(o[0]))n++||(i=(s=d.lastIndex)-o[0].length);else if(n&&!--n){l=o.index+o[0].length;var _={left:{start:i,end:s},match:{start:s,end:o.index},right:{start:o.index,end:l},wholeMatch:{start:i,end:l}};if(h.push(_),!u)return h}}while(n&&(d.lastIndex=s));return h};r.helper.matchRecursiveRegExp=function(e,r,t,a){'use strict';for(var n=u(e,r,t,a),s=[],o=0;o0){var d=[];0!==i[0].wholeMatch.start&&d.push(e.slice(0,i[0].wholeMatch.start));for(var p=0;p=0?n+(a||0):n},r.helper.splitAtIndex=function(e,t){'use strict';if(!r.helper.isString(e))throw'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';return[e.substring(0,t),e.substring(t)]},r.helper.encodeEmailAddress=function(e){'use strict';var r=[function(e){return'&#'+e.charCodeAt(0)+';'},function(e){return'&#x'+e.charCodeAt(0).toString(16)+';'},function(e){return e}];return e=e.replace(/./g,function(e){if('@'===e)e=r[Math.floor(2*Math.random())](e);else{var t=Math.random();e=t>.9?r[2](e):t>.45?r[1](e):r[0](e)}return e})},r.helper.padEnd=function(e,r,t){'use strict';return r>>=0,t=String(t||' '),e.length>r?String(e):((r-=e.length)>t.length&&(t+=t.repeat(r/t.length)),String(e)+t.slice(0,r))},'undefined'==typeof console&&(console={warn:function(e){'use strict';alert(e)},log:function(e){'use strict';alert(e)},error:function(e){'use strict';throw e}}),r.helper.regexes={asteriskDashAndColon:/([*_:~])/g},r.helper.emojis={'+1':"\ud83d\udc4d",'-1':"\ud83d\udc4e",100:"\ud83d\udcaf",1234:"\ud83d\udd22",'1st_place_medal':"\ud83e\udd47",'2nd_place_medal':"\ud83e\udd48",'3rd_place_medal':"\ud83e\udd49",'8ball':"\ud83c\udfb1",a:"\ud83c\udd70\ufe0f",ab:"\ud83c\udd8e",abc:"\ud83d\udd24",abcd:"\ud83d\udd21",accept:"\ud83c\ude51",aerial_tramway:"\ud83d\udea1",airplane:"\u2708\ufe0f",alarm_clock:"\u23f0",alembic:"\u2697\ufe0f",alien:"\ud83d\udc7d",ambulance:"\ud83d\ude91",amphora:"\ud83c\udffa",anchor:"\u2693\ufe0f",angel:"\ud83d\udc7c",anger:"\ud83d\udca2",angry:"\ud83d\ude20",anguished:"\ud83d\ude27",ant:"\ud83d\udc1c",apple:"\ud83c\udf4e",aquarius:"\u2652\ufe0f",aries:"\u2648\ufe0f",arrow_backward:"\u25c0\ufe0f",arrow_double_down:"\u23ec",arrow_double_up:"\u23eb",arrow_down:"\u2b07\ufe0f",arrow_down_small:"\ud83d\udd3d",arrow_forward:"\u25b6\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_heading_up:"\u2934\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_lower_left:"\u2199\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_right:"\u27a1\ufe0f",arrow_right_hook:"\u21aa\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_up_small:"\ud83d\udd3c",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrows_clockwise:"\ud83d\udd03",arrows_counterclockwise:"\ud83d\udd04",art:"\ud83c\udfa8",articulated_lorry:"\ud83d\ude9b",artificial_satellite:"\ud83d\udef0",astonished:"\ud83d\ude32",athletic_shoe:"\ud83d\udc5f",atm:"\ud83c\udfe7",atom_symbol:"\u269b\ufe0f",avocado:"\ud83e\udd51",b:"\ud83c\udd71\ufe0f",baby:"\ud83d\udc76",baby_bottle:"\ud83c\udf7c",baby_chick:"\ud83d\udc24",baby_symbol:"\ud83d\udebc",back:"\ud83d\udd19",bacon:"\ud83e\udd53",badminton:"\ud83c\udff8",baggage_claim:"\ud83d\udec4",baguette_bread:"\ud83e\udd56",balance_scale:"\u2696\ufe0f",balloon:"\ud83c\udf88",ballot_box:"\ud83d\uddf3",ballot_box_with_check:"\u2611\ufe0f",bamboo:"\ud83c\udf8d",banana:"\ud83c\udf4c",bangbang:"\u203c\ufe0f",bank:"\ud83c\udfe6",bar_chart:"\ud83d\udcca",barber:"\ud83d\udc88",baseball:"\u26be\ufe0f",basketball:"\ud83c\udfc0",basketball_man:"\u26f9\ufe0f",basketball_woman:"\u26f9\ufe0f‍\u2640\ufe0f",bat:"\ud83e\udd87",bath:"\ud83d\udec0",bathtub:"\ud83d\udec1",battery:"\ud83d\udd0b",beach_umbrella:"\ud83c\udfd6",bear:"\ud83d\udc3b",bed:"\ud83d\udecf",bee:"\ud83d\udc1d",beer:"\ud83c\udf7a",beers:"\ud83c\udf7b",beetle:"\ud83d\udc1e",beginner:"\ud83d\udd30",bell:"\ud83d\udd14",bellhop_bell:"\ud83d\udece",bento:"\ud83c\udf71",biking_man:"\ud83d\udeb4",bike:"\ud83d\udeb2",biking_woman:"\ud83d\udeb4‍\u2640\ufe0f",bikini:"\ud83d\udc59",biohazard:"\u2623\ufe0f",bird:"\ud83d\udc26",birthday:"\ud83c\udf82",black_circle:"\u26ab\ufe0f",black_flag:"\ud83c\udff4",black_heart:"\ud83d\udda4",black_joker:"\ud83c\udccf",black_large_square:"\u2b1b\ufe0f",black_medium_small_square:"\u25fe\ufe0f",black_medium_square:"\u25fc\ufe0f",black_nib:"\u2712\ufe0f",black_small_square:"\u25aa\ufe0f",black_square_button:"\ud83d\udd32",blonde_man:"\ud83d\udc71",blonde_woman:"\ud83d\udc71‍\u2640\ufe0f",blossom:"\ud83c\udf3c",blowfish:"\ud83d\udc21",blue_book:"\ud83d\udcd8",blue_car:"\ud83d\ude99",blue_heart:"\ud83d\udc99",blush:"\ud83d\ude0a",boar:"\ud83d\udc17",boat:"\u26f5\ufe0f",bomb:"\ud83d\udca3",book:"\ud83d\udcd6",bookmark:"\ud83d\udd16",bookmark_tabs:"\ud83d\udcd1",books:"\ud83d\udcda",boom:"\ud83d\udca5",boot:"\ud83d\udc62",bouquet:"\ud83d\udc90",bowing_man:"\ud83d\ude47",bow_and_arrow:"\ud83c\udff9",bowing_woman:"\ud83d\ude47‍\u2640\ufe0f",bowling:"\ud83c\udfb3",boxing_glove:"\ud83e\udd4a",boy:"\ud83d\udc66",bread:"\ud83c\udf5e",bride_with_veil:"\ud83d\udc70",bridge_at_night:"\ud83c\udf09",briefcase:"\ud83d\udcbc",broken_heart:"\ud83d\udc94",bug:"\ud83d\udc1b",building_construction:"\ud83c\udfd7",bulb:"\ud83d\udca1",bullettrain_front:"\ud83d\ude85",bullettrain_side:"\ud83d\ude84",burrito:"\ud83c\udf2f",bus:"\ud83d\ude8c",business_suit_levitating:"\ud83d\udd74",busstop:"\ud83d\ude8f",bust_in_silhouette:"\ud83d\udc64",busts_in_silhouette:"\ud83d\udc65",butterfly:"\ud83e\udd8b",cactus:"\ud83c\udf35",cake:"\ud83c\udf70",calendar:"\ud83d\udcc6",call_me_hand:"\ud83e\udd19",calling:"\ud83d\udcf2",camel:"\ud83d\udc2b",camera:"\ud83d\udcf7",camera_flash:"\ud83d\udcf8",camping:"\ud83c\udfd5",cancer:"\u264b\ufe0f",candle:"\ud83d\udd6f",candy:"\ud83c\udf6c",canoe:"\ud83d\udef6",capital_abcd:"\ud83d\udd20",capricorn:"\u2651\ufe0f",car:"\ud83d\ude97",card_file_box:"\ud83d\uddc3",card_index:"\ud83d\udcc7",card_index_dividers:"\ud83d\uddc2",carousel_horse:"\ud83c\udfa0",carrot:"\ud83e\udd55",cat:"\ud83d\udc31",cat2:"\ud83d\udc08",cd:"\ud83d\udcbf",chains:"\u26d3",champagne:"\ud83c\udf7e",chart:"\ud83d\udcb9",chart_with_downwards_trend:"\ud83d\udcc9",chart_with_upwards_trend:"\ud83d\udcc8",checkered_flag:"\ud83c\udfc1",cheese:"\ud83e\uddc0",cherries:"\ud83c\udf52",cherry_blossom:"\ud83c\udf38",chestnut:"\ud83c\udf30",chicken:"\ud83d\udc14",children_crossing:"\ud83d\udeb8",chipmunk:"\ud83d\udc3f",chocolate_bar:"\ud83c\udf6b",christmas_tree:"\ud83c\udf84",church:"\u26ea\ufe0f",cinema:"\ud83c\udfa6",circus_tent:"\ud83c\udfaa",city_sunrise:"\ud83c\udf07",city_sunset:"\ud83c\udf06",cityscape:"\ud83c\udfd9",cl:"\ud83c\udd91",clamp:"\ud83d\udddc",clap:"\ud83d\udc4f",clapper:"\ud83c\udfac",classical_building:"\ud83c\udfdb",clinking_glasses:"\ud83e\udd42",clipboard:"\ud83d\udccb",clock1:"\ud83d\udd50",clock10:"\ud83d\udd59",clock1030:"\ud83d\udd65",clock11:"\ud83d\udd5a",clock1130:"\ud83d\udd66",clock12:"\ud83d\udd5b",clock1230:"\ud83d\udd67",clock130:"\ud83d\udd5c",clock2:"\ud83d\udd51",clock230:"\ud83d\udd5d",clock3:"\ud83d\udd52",clock330:"\ud83d\udd5e",clock4:"\ud83d\udd53",clock430:"\ud83d\udd5f",clock5:"\ud83d\udd54",clock530:"\ud83d\udd60",clock6:"\ud83d\udd55",clock630:"\ud83d\udd61",clock7:"\ud83d\udd56",clock730:"\ud83d\udd62",clock8:"\ud83d\udd57",clock830:"\ud83d\udd63",clock9:"\ud83d\udd58",clock930:"\ud83d\udd64",closed_book:"\ud83d\udcd5",closed_lock_with_key:"\ud83d\udd10",closed_umbrella:"\ud83c\udf02",cloud:"\u2601\ufe0f",cloud_with_lightning:"\ud83c\udf29",cloud_with_lightning_and_rain:"\u26c8",cloud_with_rain:"\ud83c\udf27",cloud_with_snow:"\ud83c\udf28",clown_face:"\ud83e\udd21",clubs:"\u2663\ufe0f",cocktail:"\ud83c\udf78",coffee:"\u2615\ufe0f",coffin:"\u26b0\ufe0f",cold_sweat:"\ud83d\ude30",comet:"\u2604\ufe0f",computer:"\ud83d\udcbb",computer_mouse:"\ud83d\uddb1",confetti_ball:"\ud83c\udf8a",confounded:"\ud83d\ude16",confused:"\ud83d\ude15",congratulations:"\u3297\ufe0f",construction:"\ud83d\udea7",construction_worker_man:"\ud83d\udc77",construction_worker_woman:"\ud83d\udc77‍\u2640\ufe0f",control_knobs:"\ud83c\udf9b",convenience_store:"\ud83c\udfea",cookie:"\ud83c\udf6a",cool:"\ud83c\udd92",policeman:"\ud83d\udc6e",copyright:"\xa9\ufe0f",corn:"\ud83c\udf3d",couch_and_lamp:"\ud83d\udecb",couple:"\ud83d\udc6b",couple_with_heart_woman_man:"\ud83d\udc91",couple_with_heart_man_man:"\ud83d\udc68‍\u2764\ufe0f‍\ud83d\udc68",couple_with_heart_woman_woman:"\ud83d\udc69‍\u2764\ufe0f‍\ud83d\udc69",couplekiss_man_man:"\ud83d\udc68‍\u2764\ufe0f‍\ud83d\udc8b‍\ud83d\udc68",couplekiss_man_woman:"\ud83d\udc8f",couplekiss_woman_woman:"\ud83d\udc69‍\u2764\ufe0f‍\ud83d\udc8b‍\ud83d\udc69",cow:"\ud83d\udc2e",cow2:"\ud83d\udc04",cowboy_hat_face:"\ud83e\udd20",crab:"\ud83e\udd80",crayon:"\ud83d\udd8d",credit_card:"\ud83d\udcb3",crescent_moon:"\ud83c\udf19",cricket:"\ud83c\udfcf",crocodile:"\ud83d\udc0a",croissant:"\ud83e\udd50",crossed_fingers:"\ud83e\udd1e",crossed_flags:"\ud83c\udf8c",crossed_swords:"\u2694\ufe0f",crown:"\ud83d\udc51",cry:"\ud83d\ude22",crying_cat_face:"\ud83d\ude3f",crystal_ball:"\ud83d\udd2e",cucumber:"\ud83e\udd52",cupid:"\ud83d\udc98",curly_loop:"\u27b0",currency_exchange:"\ud83d\udcb1",curry:"\ud83c\udf5b",custard:"\ud83c\udf6e",customs:"\ud83d\udec3",cyclone:"\ud83c\udf00",dagger:"\ud83d\udde1",dancer:"\ud83d\udc83",dancing_women:"\ud83d\udc6f",dancing_men:"\ud83d\udc6f‍\u2642\ufe0f",dango:"\ud83c\udf61",dark_sunglasses:"\ud83d\udd76",dart:"\ud83c\udfaf",dash:"\ud83d\udca8",date:"\ud83d\udcc5",deciduous_tree:"\ud83c\udf33",deer:"\ud83e\udd8c",department_store:"\ud83c\udfec",derelict_house:"\ud83c\udfda",desert:"\ud83c\udfdc",desert_island:"\ud83c\udfdd",desktop_computer:"\ud83d\udda5",male_detective:"\ud83d\udd75\ufe0f",diamond_shape_with_a_dot_inside:"\ud83d\udca0",diamonds:"\u2666\ufe0f",disappointed:"\ud83d\ude1e",disappointed_relieved:"\ud83d\ude25",dizzy:"\ud83d\udcab",dizzy_face:"\ud83d\ude35",do_not_litter:"\ud83d\udeaf",dog:"\ud83d\udc36",dog2:"\ud83d\udc15",dollar:"\ud83d\udcb5",dolls:"\ud83c\udf8e",dolphin:"\ud83d\udc2c",door:"\ud83d\udeaa",doughnut:"\ud83c\udf69",dove:"\ud83d\udd4a",dragon:"\ud83d\udc09",dragon_face:"\ud83d\udc32",dress:"\ud83d\udc57",dromedary_camel:"\ud83d\udc2a",drooling_face:"\ud83e\udd24",droplet:"\ud83d\udca7",drum:"\ud83e\udd41",duck:"\ud83e\udd86",dvd:"\ud83d\udcc0",'e-mail':"\ud83d\udce7",eagle:"\ud83e\udd85",ear:"\ud83d\udc42",ear_of_rice:"\ud83c\udf3e",earth_africa:"\ud83c\udf0d",earth_americas:"\ud83c\udf0e",earth_asia:"\ud83c\udf0f",egg:"\ud83e\udd5a",eggplant:"\ud83c\udf46",eight_pointed_black_star:"\u2734\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",electric_plug:"\ud83d\udd0c",elephant:"\ud83d\udc18",email:"\u2709\ufe0f",end:"\ud83d\udd1a",envelope_with_arrow:"\ud83d\udce9",euro:"\ud83d\udcb6",european_castle:"\ud83c\udff0",european_post_office:"\ud83c\udfe4",evergreen_tree:"\ud83c\udf32",exclamation:"\u2757\ufe0f",expressionless:"\ud83d\ude11",eye:"\ud83d\udc41",eye_speech_bubble:"\ud83d\udc41‍\ud83d\udde8",eyeglasses:"\ud83d\udc53",eyes:"\ud83d\udc40",face_with_head_bandage:"\ud83e\udd15",face_with_thermometer:"\ud83e\udd12",fist_oncoming:"\ud83d\udc4a",factory:"\ud83c\udfed",fallen_leaf:"\ud83c\udf42",family_man_woman_boy:"\ud83d\udc6a",family_man_boy:"\ud83d\udc68‍\ud83d\udc66",family_man_boy_boy:"\ud83d\udc68‍\ud83d\udc66‍\ud83d\udc66",family_man_girl:"\ud83d\udc68‍\ud83d\udc67",family_man_girl_boy:"\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc66",family_man_girl_girl:"\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc67",family_man_man_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc66",family_man_man_boy_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc66‍\ud83d\udc66",family_man_man_girl:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67",family_man_man_girl_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc66",family_man_man_girl_girl:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc67",family_man_woman_boy_boy:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_man_woman_girl:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67",family_man_woman_girl_boy:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_man_woman_girl_girl:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",family_woman_boy:"\ud83d\udc69‍\ud83d\udc66",family_woman_boy_boy:"\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_woman_girl:"\ud83d\udc69‍\ud83d\udc67",family_woman_girl_boy:"\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_woman_girl_girl:"\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",family_woman_woman_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc66",family_woman_woman_boy_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_woman_woman_girl:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67",family_woman_woman_girl_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_woman_woman_girl_girl:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",fast_forward:"\u23e9",fax:"\ud83d\udce0",fearful:"\ud83d\ude28",feet:"\ud83d\udc3e",female_detective:"\ud83d\udd75\ufe0f‍\u2640\ufe0f",ferris_wheel:"\ud83c\udfa1",ferry:"\u26f4",field_hockey:"\ud83c\udfd1",file_cabinet:"\ud83d\uddc4",file_folder:"\ud83d\udcc1",film_projector:"\ud83d\udcfd",film_strip:"\ud83c\udf9e",fire:"\ud83d\udd25",fire_engine:"\ud83d\ude92",fireworks:"\ud83c\udf86",first_quarter_moon:"\ud83c\udf13",first_quarter_moon_with_face:"\ud83c\udf1b",fish:"\ud83d\udc1f",fish_cake:"\ud83c\udf65",fishing_pole_and_fish:"\ud83c\udfa3",fist_raised:"\u270a",fist_left:"\ud83e\udd1b",fist_right:"\ud83e\udd1c",flags:"\ud83c\udf8f",flashlight:"\ud83d\udd26",fleur_de_lis:"\u269c\ufe0f",flight_arrival:"\ud83d\udeec",flight_departure:"\ud83d\udeeb",floppy_disk:"\ud83d\udcbe",flower_playing_cards:"\ud83c\udfb4",flushed:"\ud83d\ude33",fog:"\ud83c\udf2b",foggy:"\ud83c\udf01",football:"\ud83c\udfc8",footprints:"\ud83d\udc63",fork_and_knife:"\ud83c\udf74",fountain:"\u26f2\ufe0f",fountain_pen:"\ud83d\udd8b",four_leaf_clover:"\ud83c\udf40",fox_face:"\ud83e\udd8a",framed_picture:"\ud83d\uddbc",free:"\ud83c\udd93",fried_egg:"\ud83c\udf73",fried_shrimp:"\ud83c\udf64",fries:"\ud83c\udf5f",frog:"\ud83d\udc38",frowning:"\ud83d\ude26",frowning_face:"\u2639\ufe0f",frowning_man:"\ud83d\ude4d‍\u2642\ufe0f",frowning_woman:"\ud83d\ude4d",middle_finger:"\ud83d\udd95",fuelpump:"\u26fd\ufe0f",full_moon:"\ud83c\udf15",full_moon_with_face:"\ud83c\udf1d",funeral_urn:"\u26b1\ufe0f",game_die:"\ud83c\udfb2",gear:"\u2699\ufe0f",gem:"\ud83d\udc8e",gemini:"\u264a\ufe0f",ghost:"\ud83d\udc7b",gift:"\ud83c\udf81",gift_heart:"\ud83d\udc9d",girl:"\ud83d\udc67",globe_with_meridians:"\ud83c\udf10",goal_net:"\ud83e\udd45",goat:"\ud83d\udc10",golf:"\u26f3\ufe0f",golfing_man:"\ud83c\udfcc\ufe0f",golfing_woman:"\ud83c\udfcc\ufe0f‍\u2640\ufe0f",gorilla:"\ud83e\udd8d",grapes:"\ud83c\udf47",green_apple:"\ud83c\udf4f",green_book:"\ud83d\udcd7",green_heart:"\ud83d\udc9a",green_salad:"\ud83e\udd57",grey_exclamation:"\u2755",grey_question:"\u2754",grimacing:"\ud83d\ude2c",grin:"\ud83d\ude01",grinning:"\ud83d\ude00",guardsman:"\ud83d\udc82",guardswoman:"\ud83d\udc82‍\u2640\ufe0f",guitar:"\ud83c\udfb8",gun:"\ud83d\udd2b",haircut_woman:"\ud83d\udc87",haircut_man:"\ud83d\udc87‍\u2642\ufe0f",hamburger:"\ud83c\udf54",hammer:"\ud83d\udd28",hammer_and_pick:"\u2692",hammer_and_wrench:"\ud83d\udee0",hamster:"\ud83d\udc39",hand:"\u270b",handbag:"\ud83d\udc5c",handshake:"\ud83e\udd1d",hankey:"\ud83d\udca9",hatched_chick:"\ud83d\udc25",hatching_chick:"\ud83d\udc23",headphones:"\ud83c\udfa7",hear_no_evil:"\ud83d\ude49",heart:"\u2764\ufe0f",heart_decoration:"\ud83d\udc9f",heart_eyes:"\ud83d\ude0d",heart_eyes_cat:"\ud83d\ude3b",heartbeat:"\ud83d\udc93",heartpulse:"\ud83d\udc97",hearts:"\u2665\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_division_sign:"\u2797",heavy_dollar_sign:"\ud83d\udcb2",heavy_heart_exclamation:"\u2763\ufe0f",heavy_minus_sign:"\u2796",heavy_multiplication_x:"\u2716\ufe0f",heavy_plus_sign:"\u2795",helicopter:"\ud83d\ude81",herb:"\ud83c\udf3f",hibiscus:"\ud83c\udf3a",high_brightness:"\ud83d\udd06",high_heel:"\ud83d\udc60",hocho:"\ud83d\udd2a",hole:"\ud83d\udd73",honey_pot:"\ud83c\udf6f",horse:"\ud83d\udc34",horse_racing:"\ud83c\udfc7",hospital:"\ud83c\udfe5",hot_pepper:"\ud83c\udf36",hotdog:"\ud83c\udf2d",hotel:"\ud83c\udfe8",hotsprings:"\u2668\ufe0f",hourglass:"\u231b\ufe0f",hourglass_flowing_sand:"\u23f3",house:"\ud83c\udfe0",house_with_garden:"\ud83c\udfe1",houses:"\ud83c\udfd8",hugs:"\ud83e\udd17",hushed:"\ud83d\ude2f",ice_cream:"\ud83c\udf68",ice_hockey:"\ud83c\udfd2",ice_skate:"\u26f8",icecream:"\ud83c\udf66",id:"\ud83c\udd94",ideograph_advantage:"\ud83c\ude50",imp:"\ud83d\udc7f",inbox_tray:"\ud83d\udce5",incoming_envelope:"\ud83d\udce8",tipping_hand_woman:"\ud83d\udc81",information_source:"\u2139\ufe0f",innocent:"\ud83d\ude07",interrobang:"\u2049\ufe0f",iphone:"\ud83d\udcf1",izakaya_lantern:"\ud83c\udfee",jack_o_lantern:"\ud83c\udf83",japan:"\ud83d\uddfe",japanese_castle:"\ud83c\udfef",japanese_goblin:"\ud83d\udc7a",japanese_ogre:"\ud83d\udc79",jeans:"\ud83d\udc56",joy:"\ud83d\ude02",joy_cat:"\ud83d\ude39",joystick:"\ud83d\udd79",kaaba:"\ud83d\udd4b",key:"\ud83d\udd11",keyboard:"\u2328\ufe0f",keycap_ten:"\ud83d\udd1f",kick_scooter:"\ud83d\udef4",kimono:"\ud83d\udc58",kiss:"\ud83d\udc8b",kissing:"\ud83d\ude17",kissing_cat:"\ud83d\ude3d",kissing_closed_eyes:"\ud83d\ude1a",kissing_heart:"\ud83d\ude18",kissing_smiling_eyes:"\ud83d\ude19",kiwi_fruit:"\ud83e\udd5d",koala:"\ud83d\udc28",koko:"\ud83c\ude01",label:"\ud83c\udff7",large_blue_circle:"\ud83d\udd35",large_blue_diamond:"\ud83d\udd37",large_orange_diamond:"\ud83d\udd36",last_quarter_moon:"\ud83c\udf17",last_quarter_moon_with_face:"\ud83c\udf1c",latin_cross:"\u271d\ufe0f",laughing:"\ud83d\ude06",leaves:"\ud83c\udf43",ledger:"\ud83d\udcd2",left_luggage:"\ud83d\udec5",left_right_arrow:"\u2194\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",lemon:"\ud83c\udf4b",leo:"\u264c\ufe0f",leopard:"\ud83d\udc06",level_slider:"\ud83c\udf9a",libra:"\u264e\ufe0f",light_rail:"\ud83d\ude88",link:"\ud83d\udd17",lion:"\ud83e\udd81",lips:"\ud83d\udc44",lipstick:"\ud83d\udc84",lizard:"\ud83e\udd8e",lock:"\ud83d\udd12",lock_with_ink_pen:"\ud83d\udd0f",lollipop:"\ud83c\udf6d",loop:"\u27bf",loud_sound:"\ud83d\udd0a",loudspeaker:"\ud83d\udce2",love_hotel:"\ud83c\udfe9",love_letter:"\ud83d\udc8c",low_brightness:"\ud83d\udd05",lying_face:"\ud83e\udd25",m:"\u24c2\ufe0f",mag:"\ud83d\udd0d",mag_right:"\ud83d\udd0e",mahjong:"\ud83c\udc04\ufe0f",mailbox:"\ud83d\udceb",mailbox_closed:"\ud83d\udcea",mailbox_with_mail:"\ud83d\udcec",mailbox_with_no_mail:"\ud83d\udced",man:"\ud83d\udc68",man_artist:"\ud83d\udc68‍\ud83c\udfa8",man_astronaut:"\ud83d\udc68‍\ud83d\ude80",man_cartwheeling:"\ud83e\udd38‍\u2642\ufe0f",man_cook:"\ud83d\udc68‍\ud83c\udf73",man_dancing:"\ud83d\udd7a",man_facepalming:"\ud83e\udd26‍\u2642\ufe0f",man_factory_worker:"\ud83d\udc68‍\ud83c\udfed",man_farmer:"\ud83d\udc68‍\ud83c\udf3e",man_firefighter:"\ud83d\udc68‍\ud83d\ude92",man_health_worker:"\ud83d\udc68‍\u2695\ufe0f",man_in_tuxedo:"\ud83e\udd35",man_judge:"\ud83d\udc68‍\u2696\ufe0f",man_juggling:"\ud83e\udd39‍\u2642\ufe0f",man_mechanic:"\ud83d\udc68‍\ud83d\udd27",man_office_worker:"\ud83d\udc68‍\ud83d\udcbc",man_pilot:"\ud83d\udc68‍\u2708\ufe0f",man_playing_handball:"\ud83e\udd3e‍\u2642\ufe0f",man_playing_water_polo:"\ud83e\udd3d‍\u2642\ufe0f",man_scientist:"\ud83d\udc68‍\ud83d\udd2c",man_shrugging:"\ud83e\udd37‍\u2642\ufe0f",man_singer:"\ud83d\udc68‍\ud83c\udfa4",man_student:"\ud83d\udc68‍\ud83c\udf93",man_teacher:"\ud83d\udc68‍\ud83c\udfeb",man_technologist:"\ud83d\udc68‍\ud83d\udcbb",man_with_gua_pi_mao:"\ud83d\udc72",man_with_turban:"\ud83d\udc73",tangerine:"\ud83c\udf4a",mans_shoe:"\ud83d\udc5e",mantelpiece_clock:"\ud83d\udd70",maple_leaf:"\ud83c\udf41",martial_arts_uniform:"\ud83e\udd4b",mask:"\ud83d\ude37",massage_woman:"\ud83d\udc86",massage_man:"\ud83d\udc86‍\u2642\ufe0f",meat_on_bone:"\ud83c\udf56",medal_military:"\ud83c\udf96",medal_sports:"\ud83c\udfc5",mega:"\ud83d\udce3",melon:"\ud83c\udf48",memo:"\ud83d\udcdd",men_wrestling:"\ud83e\udd3c‍\u2642\ufe0f",menorah:"\ud83d\udd4e",mens:"\ud83d\udeb9",metal:"\ud83e\udd18",metro:"\ud83d\ude87",microphone:"\ud83c\udfa4",microscope:"\ud83d\udd2c",milk_glass:"\ud83e\udd5b",milky_way:"\ud83c\udf0c",minibus:"\ud83d\ude90",minidisc:"\ud83d\udcbd",mobile_phone_off:"\ud83d\udcf4",money_mouth_face:"\ud83e\udd11",money_with_wings:"\ud83d\udcb8",moneybag:"\ud83d\udcb0",monkey:"\ud83d\udc12",monkey_face:"\ud83d\udc35",monorail:"\ud83d\ude9d",moon:"\ud83c\udf14",mortar_board:"\ud83c\udf93",mosque:"\ud83d\udd4c",motor_boat:"\ud83d\udee5",motor_scooter:"\ud83d\udef5",motorcycle:"\ud83c\udfcd",motorway:"\ud83d\udee3",mount_fuji:"\ud83d\uddfb",mountain:"\u26f0",mountain_biking_man:"\ud83d\udeb5",mountain_biking_woman:"\ud83d\udeb5‍\u2640\ufe0f",mountain_cableway:"\ud83d\udea0",mountain_railway:"\ud83d\ude9e",mountain_snow:"\ud83c\udfd4",mouse:"\ud83d\udc2d",mouse2:"\ud83d\udc01",movie_camera:"\ud83c\udfa5",moyai:"\ud83d\uddff",mrs_claus:"\ud83e\udd36",muscle:"\ud83d\udcaa",mushroom:"\ud83c\udf44",musical_keyboard:"\ud83c\udfb9",musical_note:"\ud83c\udfb5",musical_score:"\ud83c\udfbc",mute:"\ud83d\udd07",nail_care:"\ud83d\udc85",name_badge:"\ud83d\udcdb",national_park:"\ud83c\udfde",nauseated_face:"\ud83e\udd22",necktie:"\ud83d\udc54",negative_squared_cross_mark:"\u274e",nerd_face:"\ud83e\udd13",neutral_face:"\ud83d\ude10",new:"\ud83c\udd95",new_moon:"\ud83c\udf11",new_moon_with_face:"\ud83c\udf1a",newspaper:"\ud83d\udcf0",newspaper_roll:"\ud83d\uddde",next_track_button:"\u23ed",ng:"\ud83c\udd96",no_good_man:"\ud83d\ude45‍\u2642\ufe0f",no_good_woman:"\ud83d\ude45",night_with_stars:"\ud83c\udf03",no_bell:"\ud83d\udd15",no_bicycles:"\ud83d\udeb3",no_entry:"\u26d4\ufe0f",no_entry_sign:"\ud83d\udeab",no_mobile_phones:"\ud83d\udcf5",no_mouth:"\ud83d\ude36",no_pedestrians:"\ud83d\udeb7",no_smoking:"\ud83d\udead",'non-potable_water':"\ud83d\udeb1",nose:"\ud83d\udc43",notebook:"\ud83d\udcd3",notebook_with_decorative_cover:"\ud83d\udcd4",notes:"\ud83c\udfb6",nut_and_bolt:"\ud83d\udd29",o:"\u2b55\ufe0f",o2:"\ud83c\udd7e\ufe0f",ocean:"\ud83c\udf0a",octopus:"\ud83d\udc19",oden:"\ud83c\udf62",office:"\ud83c\udfe2",oil_drum:"\ud83d\udee2",ok:"\ud83c\udd97",ok_hand:"\ud83d\udc4c",ok_man:"\ud83d\ude46‍\u2642\ufe0f",ok_woman:"\ud83d\ude46",old_key:"\ud83d\udddd",older_man:"\ud83d\udc74",older_woman:"\ud83d\udc75",om:"\ud83d\udd49",on:"\ud83d\udd1b",oncoming_automobile:"\ud83d\ude98",oncoming_bus:"\ud83d\ude8d",oncoming_police_car:"\ud83d\ude94",oncoming_taxi:"\ud83d\ude96",open_file_folder:"\ud83d\udcc2",open_hands:"\ud83d\udc50",open_mouth:"\ud83d\ude2e",open_umbrella:"\u2602\ufe0f",ophiuchus:"\u26ce",orange_book:"\ud83d\udcd9",orthodox_cross:"\u2626\ufe0f",outbox_tray:"\ud83d\udce4",owl:"\ud83e\udd89",ox:"\ud83d\udc02",package:"\ud83d\udce6",page_facing_up:"\ud83d\udcc4",page_with_curl:"\ud83d\udcc3",pager:"\ud83d\udcdf",paintbrush:"\ud83d\udd8c",palm_tree:"\ud83c\udf34",pancakes:"\ud83e\udd5e",panda_face:"\ud83d\udc3c",paperclip:"\ud83d\udcce",paperclips:"\ud83d\udd87",parasol_on_ground:"\u26f1",parking:"\ud83c\udd7f\ufe0f",part_alternation_mark:"\u303d\ufe0f",partly_sunny:"\u26c5\ufe0f",passenger_ship:"\ud83d\udef3",passport_control:"\ud83d\udec2",pause_button:"\u23f8",peace_symbol:"\u262e\ufe0f",peach:"\ud83c\udf51",peanuts:"\ud83e\udd5c",pear:"\ud83c\udf50",pen:"\ud83d\udd8a",pencil2:"\u270f\ufe0f",penguin:"\ud83d\udc27",pensive:"\ud83d\ude14",performing_arts:"\ud83c\udfad",persevere:"\ud83d\ude23",person_fencing:"\ud83e\udd3a",pouting_woman:"\ud83d\ude4e",phone:"\u260e\ufe0f",pick:"\u26cf",pig:"\ud83d\udc37",pig2:"\ud83d\udc16",pig_nose:"\ud83d\udc3d",pill:"\ud83d\udc8a",pineapple:"\ud83c\udf4d",ping_pong:"\ud83c\udfd3",pisces:"\u2653\ufe0f",pizza:"\ud83c\udf55",place_of_worship:"\ud83d\uded0",plate_with_cutlery:"\ud83c\udf7d",play_or_pause_button:"\u23ef",point_down:"\ud83d\udc47",point_left:"\ud83d\udc48",point_right:"\ud83d\udc49",point_up:"\u261d\ufe0f",point_up_2:"\ud83d\udc46",police_car:"\ud83d\ude93",policewoman:"\ud83d\udc6e‍\u2640\ufe0f",poodle:"\ud83d\udc29",popcorn:"\ud83c\udf7f",post_office:"\ud83c\udfe3",postal_horn:"\ud83d\udcef",postbox:"\ud83d\udcee",potable_water:"\ud83d\udeb0",potato:"\ud83e\udd54",pouch:"\ud83d\udc5d",poultry_leg:"\ud83c\udf57",pound:"\ud83d\udcb7",rage:"\ud83d\ude21",pouting_cat:"\ud83d\ude3e",pouting_man:"\ud83d\ude4e‍\u2642\ufe0f",pray:"\ud83d\ude4f",prayer_beads:"\ud83d\udcff",pregnant_woman:"\ud83e\udd30",previous_track_button:"\u23ee",prince:"\ud83e\udd34",princess:"\ud83d\udc78",printer:"\ud83d\udda8",purple_heart:"\ud83d\udc9c",purse:"\ud83d\udc5b",pushpin:"\ud83d\udccc",put_litter_in_its_place:"\ud83d\udeae",question:"\u2753",rabbit:"\ud83d\udc30",rabbit2:"\ud83d\udc07",racehorse:"\ud83d\udc0e",racing_car:"\ud83c\udfce",radio:"\ud83d\udcfb",radio_button:"\ud83d\udd18",radioactive:"\u2622\ufe0f",railway_car:"\ud83d\ude83",railway_track:"\ud83d\udee4",rainbow:"\ud83c\udf08",rainbow_flag:"\ud83c\udff3\ufe0f‍\ud83c\udf08",raised_back_of_hand:"\ud83e\udd1a",raised_hand_with_fingers_splayed:"\ud83d\udd90",raised_hands:"\ud83d\ude4c",raising_hand_woman:"\ud83d\ude4b",raising_hand_man:"\ud83d\ude4b‍\u2642\ufe0f",ram:"\ud83d\udc0f",ramen:"\ud83c\udf5c",rat:"\ud83d\udc00",record_button:"\u23fa",recycle:"\u267b\ufe0f",red_circle:"\ud83d\udd34",registered:"\xae\ufe0f",relaxed:"\u263a\ufe0f",relieved:"\ud83d\ude0c",reminder_ribbon:"\ud83c\udf97",repeat:"\ud83d\udd01",repeat_one:"\ud83d\udd02",rescue_worker_helmet:"\u26d1",restroom:"\ud83d\udebb",revolving_hearts:"\ud83d\udc9e",rewind:"\u23ea",rhinoceros:"\ud83e\udd8f",ribbon:"\ud83c\udf80",rice:"\ud83c\udf5a",rice_ball:"\ud83c\udf59",rice_cracker:"\ud83c\udf58",rice_scene:"\ud83c\udf91",right_anger_bubble:"\ud83d\uddef",ring:"\ud83d\udc8d",robot:"\ud83e\udd16",rocket:"\ud83d\ude80",rofl:"\ud83e\udd23",roll_eyes:"\ud83d\ude44",roller_coaster:"\ud83c\udfa2",rooster:"\ud83d\udc13",rose:"\ud83c\udf39",rosette:"\ud83c\udff5",rotating_light:"\ud83d\udea8",round_pushpin:"\ud83d\udccd",rowing_man:"\ud83d\udea3",rowing_woman:"\ud83d\udea3‍\u2640\ufe0f",rugby_football:"\ud83c\udfc9",running_man:"\ud83c\udfc3",running_shirt_with_sash:"\ud83c\udfbd",running_woman:"\ud83c\udfc3‍\u2640\ufe0f",sa:"\ud83c\ude02\ufe0f",sagittarius:"\u2650\ufe0f",sake:"\ud83c\udf76",sandal:"\ud83d\udc61",santa:"\ud83c\udf85",satellite:"\ud83d\udce1",saxophone:"\ud83c\udfb7",school:"\ud83c\udfeb",school_satchel:"\ud83c\udf92",scissors:"\u2702\ufe0f",scorpion:"\ud83e\udd82",scorpius:"\u264f\ufe0f",scream:"\ud83d\ude31",scream_cat:"\ud83d\ude40",scroll:"\ud83d\udcdc",seat:"\ud83d\udcba",secret:"\u3299\ufe0f",see_no_evil:"\ud83d\ude48",seedling:"\ud83c\udf31",selfie:"\ud83e\udd33",shallow_pan_of_food:"\ud83e\udd58",shamrock:"\u2618\ufe0f",shark:"\ud83e\udd88",shaved_ice:"\ud83c\udf67",sheep:"\ud83d\udc11",shell:"\ud83d\udc1a",shield:"\ud83d\udee1",shinto_shrine:"\u26e9",ship:"\ud83d\udea2",shirt:"\ud83d\udc55",shopping:"\ud83d\udecd",shopping_cart:"\ud83d\uded2",shower:"\ud83d\udebf",shrimp:"\ud83e\udd90",signal_strength:"\ud83d\udcf6",six_pointed_star:"\ud83d\udd2f",ski:"\ud83c\udfbf",skier:"\u26f7",skull:"\ud83d\udc80",skull_and_crossbones:"\u2620\ufe0f",sleeping:"\ud83d\ude34",sleeping_bed:"\ud83d\udecc",sleepy:"\ud83d\ude2a",slightly_frowning_face:"\ud83d\ude41",slightly_smiling_face:"\ud83d\ude42",slot_machine:"\ud83c\udfb0",small_airplane:"\ud83d\udee9",small_blue_diamond:"\ud83d\udd39",small_orange_diamond:"\ud83d\udd38",small_red_triangle:"\ud83d\udd3a",small_red_triangle_down:"\ud83d\udd3b",smile:"\ud83d\ude04",smile_cat:"\ud83d\ude38",smiley:"\ud83d\ude03",smiley_cat:"\ud83d\ude3a",smiling_imp:"\ud83d\ude08",smirk:"\ud83d\ude0f",smirk_cat:"\ud83d\ude3c",smoking:"\ud83d\udeac",snail:"\ud83d\udc0c",snake:"\ud83d\udc0d",sneezing_face:"\ud83e\udd27",snowboarder:"\ud83c\udfc2",snowflake:"\u2744\ufe0f",snowman:"\u26c4\ufe0f",snowman_with_snow:"\u2603\ufe0f",sob:"\ud83d\ude2d",soccer:"\u26bd\ufe0f",soon:"\ud83d\udd1c",sos:"\ud83c\udd98",sound:"\ud83d\udd09",space_invader:"\ud83d\udc7e",spades:"\u2660\ufe0f",spaghetti:"\ud83c\udf5d",sparkle:"\u2747\ufe0f",sparkler:"\ud83c\udf87",sparkles:"\u2728",sparkling_heart:"\ud83d\udc96",speak_no_evil:"\ud83d\ude4a",speaker:"\ud83d\udd08",speaking_head:"\ud83d\udde3",speech_balloon:"\ud83d\udcac",speedboat:"\ud83d\udea4",spider:"\ud83d\udd77",spider_web:"\ud83d\udd78",spiral_calendar:"\ud83d\uddd3",spiral_notepad:"\ud83d\uddd2",spoon:"\ud83e\udd44",squid:"\ud83e\udd91",stadium:"\ud83c\udfdf",star:"\u2b50\ufe0f",star2:"\ud83c\udf1f",star_and_crescent:"\u262a\ufe0f",star_of_david:"\u2721\ufe0f",stars:"\ud83c\udf20",station:"\ud83d\ude89",statue_of_liberty:"\ud83d\uddfd",steam_locomotive:"\ud83d\ude82",stew:"\ud83c\udf72",stop_button:"\u23f9",stop_sign:"\ud83d\uded1",stopwatch:"\u23f1",straight_ruler:"\ud83d\udccf",strawberry:"\ud83c\udf53",stuck_out_tongue:"\ud83d\ude1b",stuck_out_tongue_closed_eyes:"\ud83d\ude1d",stuck_out_tongue_winking_eye:"\ud83d\ude1c",studio_microphone:"\ud83c\udf99",stuffed_flatbread:"\ud83e\udd59",sun_behind_large_cloud:"\ud83c\udf25",sun_behind_rain_cloud:"\ud83c\udf26",sun_behind_small_cloud:"\ud83c\udf24",sun_with_face:"\ud83c\udf1e",sunflower:"\ud83c\udf3b",sunglasses:"\ud83d\ude0e",sunny:"\u2600\ufe0f",sunrise:"\ud83c\udf05",sunrise_over_mountains:"\ud83c\udf04",surfing_man:"\ud83c\udfc4",surfing_woman:"\ud83c\udfc4‍\u2640\ufe0f",sushi:"\ud83c\udf63",suspension_railway:"\ud83d\ude9f",sweat:"\ud83d\ude13",sweat_drops:"\ud83d\udca6",sweat_smile:"\ud83d\ude05",sweet_potato:"\ud83c\udf60",swimming_man:"\ud83c\udfca",swimming_woman:"\ud83c\udfca‍\u2640\ufe0f",symbols:"\ud83d\udd23",synagogue:"\ud83d\udd4d",syringe:"\ud83d\udc89",taco:"\ud83c\udf2e",tada:"\ud83c\udf89",tanabata_tree:"\ud83c\udf8b",taurus:"\u2649\ufe0f",taxi:"\ud83d\ude95",tea:"\ud83c\udf75",telephone_receiver:"\ud83d\udcde",telescope:"\ud83d\udd2d",tennis:"\ud83c\udfbe",tent:"\u26fa\ufe0f",thermometer:"\ud83c\udf21",thinking:"\ud83e\udd14",thought_balloon:"\ud83d\udcad",ticket:"\ud83c\udfab",tickets:"\ud83c\udf9f",tiger:"\ud83d\udc2f",tiger2:"\ud83d\udc05",timer_clock:"\u23f2",tipping_hand_man:"\ud83d\udc81‍\u2642\ufe0f",tired_face:"\ud83d\ude2b",tm:"\u2122\ufe0f",toilet:"\ud83d\udebd",tokyo_tower:"\ud83d\uddfc",tomato:"\ud83c\udf45",tongue:"\ud83d\udc45",top:"\ud83d\udd1d",tophat:"\ud83c\udfa9",tornado:"\ud83c\udf2a",trackball:"\ud83d\uddb2",tractor:"\ud83d\ude9c",traffic_light:"\ud83d\udea5",train:"\ud83d\ude8b",train2:"\ud83d\ude86",tram:"\ud83d\ude8a",triangular_flag_on_post:"\ud83d\udea9",triangular_ruler:"\ud83d\udcd0",trident:"\ud83d\udd31",triumph:"\ud83d\ude24",trolleybus:"\ud83d\ude8e",trophy:"\ud83c\udfc6",tropical_drink:"\ud83c\udf79",tropical_fish:"\ud83d\udc20",truck:"\ud83d\ude9a",trumpet:"\ud83c\udfba",tulip:"\ud83c\udf37",tumbler_glass:"\ud83e\udd43",turkey:"\ud83e\udd83",turtle:"\ud83d\udc22",tv:"\ud83d\udcfa",twisted_rightwards_arrows:"\ud83d\udd00",two_hearts:"\ud83d\udc95",two_men_holding_hands:"\ud83d\udc6c",two_women_holding_hands:"\ud83d\udc6d",u5272:"\ud83c\ude39",u5408:"\ud83c\ude34",u55b6:"\ud83c\ude3a",u6307:"\ud83c\ude2f\ufe0f",u6708:"\ud83c\ude37\ufe0f",u6709:"\ud83c\ude36",u6e80:"\ud83c\ude35",u7121:"\ud83c\ude1a\ufe0f",u7533:"\ud83c\ude38",u7981:"\ud83c\ude32",u7a7a:"\ud83c\ude33",umbrella:"\u2614\ufe0f",unamused:"\ud83d\ude12",underage:"\ud83d\udd1e",unicorn:"\ud83e\udd84",unlock:"\ud83d\udd13",up:"\ud83c\udd99",upside_down_face:"\ud83d\ude43",v:"\u270c\ufe0f",vertical_traffic_light:"\ud83d\udea6",vhs:"\ud83d\udcfc",vibration_mode:"\ud83d\udcf3",video_camera:"\ud83d\udcf9",video_game:"\ud83c\udfae",violin:"\ud83c\udfbb",virgo:"\u264d\ufe0f",volcano:"\ud83c\udf0b",volleyball:"\ud83c\udfd0",vs:"\ud83c\udd9a",vulcan_salute:"\ud83d\udd96",walking_man:"\ud83d\udeb6",walking_woman:"\ud83d\udeb6‍\u2640\ufe0f",waning_crescent_moon:"\ud83c\udf18",waning_gibbous_moon:"\ud83c\udf16",warning:"\u26a0\ufe0f",wastebasket:"\ud83d\uddd1",watch:"\u231a\ufe0f",water_buffalo:"\ud83d\udc03",watermelon:"\ud83c\udf49",wave:"\ud83d\udc4b",wavy_dash:"\u3030\ufe0f",waxing_crescent_moon:"\ud83c\udf12",wc:"\ud83d\udebe",weary:"\ud83d\ude29",wedding:"\ud83d\udc92",weight_lifting_man:"\ud83c\udfcb\ufe0f",weight_lifting_woman:"\ud83c\udfcb\ufe0f‍\u2640\ufe0f",whale:"\ud83d\udc33",whale2:"\ud83d\udc0b",wheel_of_dharma:"\u2638\ufe0f",wheelchair:"\u267f\ufe0f",white_check_mark:"\u2705",white_circle:"\u26aa\ufe0f",white_flag:"\ud83c\udff3\ufe0f",white_flower:"\ud83d\udcae",white_large_square:"\u2b1c\ufe0f",white_medium_small_square:"\u25fd\ufe0f",white_medium_square:"\u25fb\ufe0f",white_small_square:"\u25ab\ufe0f",white_square_button:"\ud83d\udd33",wilted_flower:"\ud83e\udd40",wind_chime:"\ud83c\udf90",wind_face:"\ud83c\udf2c",wine_glass:"\ud83c\udf77",wink:"\ud83d\ude09",wolf:"\ud83d\udc3a",woman:"\ud83d\udc69",woman_artist:"\ud83d\udc69‍\ud83c\udfa8",woman_astronaut:"\ud83d\udc69‍\ud83d\ude80",woman_cartwheeling:"\ud83e\udd38‍\u2640\ufe0f",woman_cook:"\ud83d\udc69‍\ud83c\udf73",woman_facepalming:"\ud83e\udd26‍\u2640\ufe0f",woman_factory_worker:"\ud83d\udc69‍\ud83c\udfed",woman_farmer:"\ud83d\udc69‍\ud83c\udf3e",woman_firefighter:"\ud83d\udc69‍\ud83d\ude92",woman_health_worker:"\ud83d\udc69‍\u2695\ufe0f",woman_judge:"\ud83d\udc69‍\u2696\ufe0f",woman_juggling:"\ud83e\udd39‍\u2640\ufe0f",woman_mechanic:"\ud83d\udc69‍\ud83d\udd27",woman_office_worker:"\ud83d\udc69‍\ud83d\udcbc",woman_pilot:"\ud83d\udc69‍\u2708\ufe0f",woman_playing_handball:"\ud83e\udd3e‍\u2640\ufe0f",woman_playing_water_polo:"\ud83e\udd3d‍\u2640\ufe0f",woman_scientist:"\ud83d\udc69‍\ud83d\udd2c",woman_shrugging:"\ud83e\udd37‍\u2640\ufe0f",woman_singer:"\ud83d\udc69‍\ud83c\udfa4",woman_student:"\ud83d\udc69‍\ud83c\udf93",woman_teacher:"\ud83d\udc69‍\ud83c\udfeb",woman_technologist:"\ud83d\udc69‍\ud83d\udcbb",woman_with_turban:"\ud83d\udc73‍\u2640\ufe0f",womans_clothes:"\ud83d\udc5a",womans_hat:"\ud83d\udc52",women_wrestling:"\ud83e\udd3c‍\u2640\ufe0f",womens:"\ud83d\udeba",world_map:"\ud83d\uddfa",worried:"\ud83d\ude1f",wrench:"\ud83d\udd27",writing_hand:"\u270d\ufe0f",x:"\u274c",yellow_heart:"\ud83d\udc9b",yen:"\ud83d\udcb4",yin_yang:"\u262f\ufe0f",yum:"\ud83d\ude0b",zap:"\u26a1\ufe0f",zipper_mouth_face:"\ud83e\udd10",zzz:"\ud83d\udca4",octocat:':octocat:',showdown:'S'},r.Converter=function(e){'use strict';var t={},n=[],c=[],u={},d=o,p={parsed:{},raw:'',format:''};function h(e,t){if(t=t||null,r.helper.isString(e)){if(t=e=r.helper.stdExtName(e),r.extensions[e])return console.warn('DEPRECATION WARNING: '+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void _(r.extensions[e],e);if(r.helper.isUndefined(a[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=a[e]}'function'==typeof e&&(e=e()),r.helper.isArray(e)||(e=[e]);var s=l(e,t);if(!s.valid)throw Error(s.error);for(var o=0;o[ \t]+\xa8NBSP;<'),!t){if(!window||!window.document)throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');t=window.document}var a=t.createElement('div');a.innerHTML=e;var n={preList:(function(e){for(var t=e.querySelectorAll('pre'),a=[],n=0;n'}else a.push(t[n].innerHTML),t[n].innerHTML='',t[n].setAttribute('prenum',n.toString());return a})(a)};!(function e(r){for(var t=0;t? ?(['"].*['"])?\)$/m)>-1)o='';else if(!o){if(s||(s=n.toLowerCase().replace(/ ?\n/g,' ')),o='#'+s,r.helper.isUndefined(a.gUrls[s]))return e;o=a.gUrls[s],r.helper.isUndefined(a.gTitles[s])||(c=a.gTitles[s])}var u=''};return e=(e=(e=(e=(e=a.converter._dispatch('anchors.before',e,t,a)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,a,n,s,o){if('\\'===n)return a+s;if(!r.helper.isString(t.ghMentionsLink))throw new Error('ghMentionsLink option must be a string');var i=t.ghMentionsLink.replace(/\{u}/g,o),l='';return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="\xa8E95Eblank"'),a+''+s+''})),e=a.converter._dispatch('anchors.after',e,t,a)});var d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,h=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,_=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,m=function(e){'use strict';return function(t,a,n,s,o,i,l){var c=n=n.replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback),u='',d='',p=a||'',h=l||'';return/^www\./i.test(n)&&(n=n.replace(/^www\./i,'http://www.')),e.excludeTrailingPunctuationFromURLs&&i&&(u=i),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="\xa8E95Eblank"'),p+''+c+''+u+h}},f=function(e,t){'use strict';return function(a,n,s){var o='mailto:';return n=n||'',s=r.subParser('unescapeSpecialChars')(s,e,t),e.encodeEmails?(o=r.helper.encodeEmailAddress(o+s),s=r.helper.encodeEmailAddress(s)):o+=s,n+''+s+''}};r.subParser('autoLinks',function(e,r,t){'use strict';return e=(e=(e=t.converter._dispatch('autoLinks.before',e,r,t)).replace(h,m(r))).replace(g,f(r,t)),e=t.converter._dispatch('autoLinks.after',e,r,t)}),r.subParser('simplifiedAutoLinks',function(e,r,t){'use strict';return r.simplifiedAutoLink?(e=t.converter._dispatch('simplifiedAutoLinks.before',e,r,t),e=(e=r.excludeTrailingPunctuationFromURLs?e.replace(p,m(r)):e.replace(d,m(r))).replace(_,f(r,t)),e=t.converter._dispatch('simplifiedAutoLinks.after',e,r,t)):e}),r.subParser('blockGamut',function(e,t,a){'use strict';return e=a.converter._dispatch('blockGamut.before',e,t,a),e=r.subParser('blockQuotes')(e,t,a),e=r.subParser('headers')(e,t,a),e=r.subParser('horizontalRule')(e,t,a),e=r.subParser('lists')(e,t,a),e=r.subParser('codeBlocks')(e,t,a),e=r.subParser('tables')(e,t,a),e=r.subParser('hashHTMLBlocks')(e,t,a),e=r.subParser('paragraphs')(e,t,a),e=a.converter._dispatch('blockGamut.after',e,t,a)}),r.subParser('blockQuotes',function(e,t,a){'use strict';e=a.converter._dispatch('blockQuotes.before',e,t,a),e+='\n\n';var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,'')).replace(/\xa80/g,'')).replace(/^[ \t]+$/gm,''),e=r.subParser('githubCodeBlocks')(e,t,a),e=(e=(e=r.subParser('blockGamut')(e,t,a)).replace(/(^|\n)/g,'$1 ')).replace(/(\s*
[^\r]+?<\/pre>)/gm,function(e,r){var t=r;return t=(t=t.replace(/^  /gm,'\xa80')).replace(/\xa80/g,'')}),r.subParser('hashBlock')('
\n'+e+'\n
',t,a)}),e=a.converter._dispatch('blockQuotes.after',e,t,a)}),r.subParser('codeBlocks',function(e,t,a){'use strict';e=a.converter._dispatch('codeBlocks.before',e,t,a);return e=(e=(e+='\xa80').replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=\xa80))/g,function(e,n,s){var o=n,i=s,l='\n';return o=r.subParser('outdent')(o,t,a),o=r.subParser('encodeCode')(o,t,a),o=(o=(o=r.subParser('detab')(o,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,''),t.omitExtraWLInCodeBlocks&&(l=''),o='
'+o+l+'
',r.subParser('hashBlock')(o,t,a)+i})).replace(/\xa80/,''),e=a.converter._dispatch('codeBlocks.after',e,t,a)}),r.subParser('codeSpans',function(e,t,a){'use strict';return void 0===(e=a.converter._dispatch('codeSpans.before',e,t,a))&&(e=''),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,n,s,o){var i=o;return i=(i=i.replace(/^([ \t]*)/g,'')).replace(/[ \t]*$/g,''),i=n+''+(i=r.subParser('encodeCode')(i,t,a))+'',i=r.subParser('hashHTMLSpans')(i,t,a)}),e=a.converter._dispatch('codeSpans.after',e,t,a)}),r.subParser('completeHTMLDocument',function(e,r,t){'use strict';if(!r.completeHTMLDocument)return e;e=t.converter._dispatch('completeHTMLDocument.before',e,r,t);var a='html',n='\n',s='',o='\n',i='',l='';for(var c in void 0!==t.metadata.parsed.doctype&&(n='\n','html'!==(a=t.metadata.parsed.doctype.toString().toLowerCase())&&'html5'!==a||(o='')),t.metadata.parsed)if(t.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case'doctype':break;case'title':s=''+t.metadata.parsed.title+'\n';break;case'charset':o='html'===a||'html5'===a?'\n':'\n';break;case'language':case'lang':i=' lang="'+t.metadata.parsed[c]+'"',l+='\n';break;default:l+='\n'}return e=n+'\n\n'+s+o+l+'\n\n'+e.trim()+'\n\n',e=t.converter._dispatch('completeHTMLDocument.after',e,r,t)}),r.subParser('detab',function(e,r,t){'use strict';return e=(e=(e=(e=(e=(e=t.converter._dispatch('detab.before',e,r,t)).replace(/\t(?=\t)/g,' ')).replace(/\t/g,'\xa8A\xa8B')).replace(/\xa8B(.+?)\xa8A/g,function(e,r){for(var t=r,a=4-t.length%4,n=0;n/g,'>'),e=t.converter._dispatch('encodeAmpsAndAngles.after',e,r,t)}),r.subParser('encodeBackslashEscapes',function(e,t,a){'use strict';return e=(e=(e=a.converter._dispatch('encodeBackslashEscapes.before',e,t,a)).replace(/\\(\\)/g,r.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('encodeBackslashEscapes.after',e,t,a)}),r.subParser('encodeCode',function(e,t,a){'use strict';return e=(e=a.converter._dispatch('encodeCode.before',e,t,a)).replace(/&/g,'&').replace(//g,'>').replace(/([*_{}\[\]\\=~-])/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('encodeCode.after',e,t,a)}),r.subParser('escapeSpecialCharsWithinTagAttributes',function(e,t,a){'use strict';return e=(e=(e=a.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before',e,t,a)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,'$1`').replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)}),e=a.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after',e,t,a)}),r.subParser('githubCodeBlocks',function(e,t,a){'use strict';return t.ghCodeBlocks?(e=a.converter._dispatch('githubCodeBlocks.before',e,t,a),e=(e=(e+='\xa80').replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,n,s,o){var i=t.omitExtraWLInCodeBlocks?'':'\n';return o=r.subParser('encodeCode')(o,t,a),o=(o=(o=r.subParser('detab')(o,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,''),o='
'+o+i+'
',o=r.subParser('hashBlock')(o,t,a),'\n\n\xa8G'+(a.ghCodeBlocks.push({text:e,codeblock:o})-1)+'G\n\n'})).replace(/\xa80/,''),a.converter._dispatch('githubCodeBlocks.after',e,t,a)):e}),r.subParser('hashBlock',function(e,r,t){'use strict';return e=(e=t.converter._dispatch('hashBlock.before',e,r,t)).replace(/(^\n+|\n+$)/g,''),e='\n\n\xa8K'+(t.gHtmlBlocks.push(e)-1)+'K\n\n',e=t.converter._dispatch('hashBlock.after',e,r,t)}),r.subParser('hashCodeTags',function(e,t,a){'use strict';e=a.converter._dispatch('hashCodeTags.before',e,t,a);return e=r.helper.replaceRecursiveRegExp(e,function(e,n,s,o){var i=s+r.subParser('encodeCode')(n,t,a)+o;return'\xa8C'+(a.gHtmlSpans.push(i)-1)+'C'},']*>','','gim'),e=a.converter._dispatch('hashCodeTags.after',e,t,a)}),r.subParser('hashElement',function(e,r,t){'use strict';return function(e,r){var a=r;return a=(a=(a=a.replace(/\n\n/g,'\n')).replace(/^\n/,'')).replace(/\n+$/g,''),a='\n\n\xa8K'+(t.gHtmlBlocks.push(a)-1)+'K\n\n'}}),r.subParser('hashHTMLBlocks',function(e,t,a){'use strict';e=a.converter._dispatch('hashHTMLBlocks.before',e,t,a);var n=['pre','div','h1','h2','h3','h4','h5','h6','blockquote','table','dl','ol','ul','script','noscript','form','fieldset','iframe','math','style','section','header','footer','nav','article','aside','address','audio','canvas','figure','hgroup','output','video','p'],s=function(e,r,t,n){var s=e;return-1!==t.search(/\bmarkdown\b/)&&(s=t+a.converter.makeHtml(r)+n),'\n\n\xa8K'+(a.gHtmlBlocks.push(s)-1)+'K\n\n'};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,r){return'<'+r+'>'}));for(var o=0;o]*>)','im'),c='<'+n[o]+'\\b[^>]*>',u='';-1!==(i=r.helper.regexIndexOf(e,l));){var d=r.helper.splitAtIndex(e,i),p=r.helper.replaceRecursiveRegExp(d[1],s,c,u,'im');if(p===d[1])break;e=d[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,r.subParser('hashElement')(e,t,a)),e=(e=r.helper.replaceRecursiveRegExp(e,function(e){return'\n\n\xa8K'+(a.gHtmlBlocks.push(e)-1)+'K\n\n'},'^ {0,3}\x3c!--','--\x3e','gm')).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,r.subParser('hashElement')(e,t,a)),e=a.converter._dispatch('hashHTMLBlocks.after',e,t,a)}),r.subParser('hashHTMLSpans',function(e,r,t){'use strict';function a(e){return'\xa8C'+(t.gHtmlSpans.push(e)-1)+'C'}return e=(e=(e=(e=(e=t.converter._dispatch('hashHTMLSpans.before',e,r,t)).replace(/<[^>]+?\/>/gi,function(e){return a(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return a(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return a(e)})).replace(/<[^>]+?>/gi,function(e){return a(e)}),e=t.converter._dispatch('hashHTMLSpans.after',e,r,t)}),r.subParser('unhashHTMLSpans',function(e,r,t){'use strict';e=t.converter._dispatch('unhashHTMLSpans.before',e,r,t);for(var a=0;a]*>\\s*]*>','^ {0,3}\\s*
','gim'),e=a.converter._dispatch('hashPreCodeTags.after',e,t,a)}),r.subParser('headers',function(e,t,a){'use strict';e=a.converter._dispatch('headers.before',e,t,a);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),s=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(s,function(e,s){var o=r.subParser('spanGamut')(s,t,a),i=t.noHeaderId?'':' id="'+l(s)+'"',c=''+o+'';return r.subParser('hashBlock')(c,t,a)})).replace(o,function(e,s){var o=r.subParser('spanGamut')(s,t,a),i=t.noHeaderId?'':' id="'+l(s)+'"',c=n+1,u=''+o+'';return r.subParser('hashBlock')(u,t,a)});var i=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function l(e){var n,s;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,s=r.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?'section-':'',t.rawPrefixHeaderId||(n=s+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,'-').replace(/&/g,'').replace(/\xa8T/g,'').replace(/\xa8D/g,'').replace(/[&+$,\/:;=?@"#{}|^\xa8~\[\]`\\*)(%.!'<>]/g,'').toLowerCase():t.rawHeaderId?n.replace(/ /g,'-').replace(/&/g,'&').replace(/\xa8T/g,'\xa8').replace(/\xa8D/g,'$').replace(/["']/g,'-').toLowerCase():n.replace(/[^\w]/g,'').toLowerCase(),t.rawPrefixHeaderId&&(n=s+n),a.hashLinkCounts[n]?n=n+'-'+a.hashLinkCounts[n]++:a.hashLinkCounts[n]=1,n}return e=e.replace(i,function(e,s,o){var i=o;t.customizedHeaderId&&(i=o.replace(/\s?\{([^{]+?)}\s*$/,''));var c=r.subParser('spanGamut')(i,t,a),u=t.noHeaderId?'':' id="'+l(o)+'"',d=n-1+s.length,p=''+c+'';return r.subParser('hashBlock')(p,t,a)}),e=a.converter._dispatch('headers.after',e,t,a)}),r.subParser('horizontalRule',function(e,t,a){'use strict';e=a.converter._dispatch('horizontalRule.before',e,t,a);var n=r.subParser('hashBlock')('
',t,a);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=a.converter._dispatch('horizontalRule.after',e,t,a)}),r.subParser('images',function(e,t,a){'use strict';function n(e,t,n,s,o,i,l,c){var u=a.gUrls,d=a.gTitles,p=a.gDimensions;if(n=n.toLowerCase(),c||(c=''),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)s='';else if(''===s||null===s){if(''!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g,' ')),s='#'+n,r.helper.isUndefined(u[n]))return e;s=u[n],r.helper.isUndefined(d[n])||(c=d[n]),r.helper.isUndefined(p[n])||(o=p[n].width,i=p[n].height)}t=t.replace(/"/g,'"').replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback);var h=''+t+''}return e=(e=(e=(e=(e=(e=a.converter._dispatch('images.before',e,t,a)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function(e,r,t,a,s,o,i,l){return n(e,r,t,a=a.replace(/\s/g,''),s,o,0,l)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=a.converter._dispatch('images.after',e,t,a)}),r.subParser('italicsAndBold',function(e,r,t){'use strict';function a(e,r,t){return r+e+t}return e=t.converter._dispatch('italicsAndBold.before',e,r,t),e=r.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,r){return a(r,'','')})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return a(r,'','')})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,r){return a(r,'','')}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e}),e=r.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e}),e=t.converter._dispatch('italicsAndBold.after',e,r,t)}),r.subParser('lists',function(e,t,a){'use strict';function n(e,n){a.gListLevel++,e=e.replace(/\n{2,}$/,'\n');var s=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!\xa80)/.test(e+='\xa80');return t.disableForced4SpacesIndentedSublists&&(s=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(s,function(e,n,s,i,l,c,u){u=u&&''!==u.trim();var d=r.subParser('outdent')(l,t,a),p='';return c&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='-1?(d=r.subParser('githubCodeBlocks')(d,t,a),d=r.subParser('blockGamut')(d,t,a)):(d=(d=r.subParser('lists')(d,t,a)).replace(/\n$/,''),d=(d=r.subParser('hashHTMLBlocks')(d,t,a)).replace(/\n\n+/g,'\n\n'),d=o?r.subParser('paragraphs')(d,t,a):r.subParser('spanGamut')(d,t,a)),d=''+(d=d.replace('\xa8A',''))+'\n'})).replace(/\xa80/g,''),a.gListLevel--,n&&(e=e.replace(/\s+$/,'')),e}function s(e,r){if('ol'===r){var t=e.match(/^ *(\d+)\./);if(t&&'1'!==t[1])return' start="'+t[1]+'"'}return''}function o(e,r,a){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,i=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l='ul'===r?o:i,c='';if(-1!==e.search(l))!(function t(u){var d=u.search(l),p=s(e,r);-1!==d?(c+='\n\n<'+r+p+'>\n'+n(u.slice(0,d),!!a)+'\n',l='ul'===(r='ul'===r?'ol':'ul')?o:i,t(u.slice(d))):c+='\n\n<'+r+p+'>\n'+n(u,!!a)+'\n'})(e);else{var u=s(e,r);c='\n\n<'+r+u+'>\n'+n(e,!!a)+'\n'}return c}return e=a.converter._dispatch('lists.before',e,t,a),e+='\xa80',e=(e=a.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t){return o(r,t.search(/[*+-]/g)>-1?'ul':'ol',!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t,a){return o(t,a.search(/[*+-]/g)>-1?'ul':'ol',!1)})).replace(/\xa80/,''),e=a.converter._dispatch('lists.after',e,t,a)}),r.subParser('metadata',function(e,r,t){'use strict';if(!r.metadata)return e;function a(e){t.metadata.raw=e,(e=(e=e.replace(/&/g,'&').replace(/"/g,'"')).replace(/\n {4}/g,' ')).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,r,a){return t.metadata.parsed[r]=a,''})}return e=(e=(e=(e=t.converter._dispatch('metadata.before',e,r,t)).replace(/^\s*\xab\xab\xab+(\S*?)\n([\s\S]+?)\n\xbb\xbb\xbb+\n/,function(e,r,t){return a(t),'\xa8M'})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,r,n){return r&&(t.metadata.format=r),a(n),'\xa8M'})).replace(/\xa8M/g,''),e=t.converter._dispatch('metadata.after',e,r,t)}),r.subParser('outdent',function(e,r,t){'use strict';return e=(e=(e=t.converter._dispatch('outdent.before',e,r,t)).replace(/^(\t|[ ]{1,4})/gm,'\xa80')).replace(/\xa80/g,''),e=t.converter._dispatch('outdent.after',e,r,t)}),r.subParser('paragraphs',function(e,t,a){'use strict';for(var n=(e=(e=(e=a.converter._dispatch('paragraphs.before',e,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,'')).split(/\n{2,}/g),s=[],o=n.length,i=0;i=0?s.push(l):l.search(/\S/)>=0&&(l=(l=r.subParser('spanGamut')(l,t,a)).replace(/^([ \t]*)/g,'

'),l+='

',s.push(l))}for(o=s.length,i=0;i]*>\s*]*>/.test(u)&&(d=!0)}s[i]=u}return e=(e=(e=s.join('\n')).replace(/^\n+/g,'')).replace(/\n+$/g,''),a.converter._dispatch('paragraphs.after',e,t,a)}),r.subParser('runExtension',function(e,r,t,a){'use strict';if(e.filter)r=e.filter(r,a.converter,t);else if(e.regex){var n=e.regex;n instanceof RegExp||(n=new RegExp(n,'g')),r=r.replace(n,e.replace)}return r}),r.subParser('spanGamut',function(e,t,a){'use strict';return e=a.converter._dispatch('spanGamut.before',e,t,a),e=r.subParser('codeSpans')(e,t,a),e=r.subParser('escapeSpecialCharsWithinTagAttributes')(e,t,a),e=r.subParser('encodeBackslashEscapes')(e,t,a),e=r.subParser('images')(e,t,a),e=r.subParser('anchors')(e,t,a),e=r.subParser('autoLinks')(e,t,a),e=r.subParser('simplifiedAutoLinks')(e,t,a),e=r.subParser('emoji')(e,t,a),e=r.subParser('underline')(e,t,a),e=r.subParser('italicsAndBold')(e,t,a),e=r.subParser('strikethrough')(e,t,a),e=r.subParser('ellipsis')(e,t,a),e=r.subParser('hashHTMLSpans')(e,t,a),e=r.subParser('encodeAmpsAndAngles')(e,t,a),t.simpleLineBreaks?/\n\n\xa8K/.test(e)||(e=e.replace(/\n+/g,'
\n')):e=e.replace(/ +\n/g,'
\n'),e=a.converter._dispatch('spanGamut.after',e,t,a)}),r.subParser('strikethrough',function(e,t,a){'use strict';function n(e){return t.simplifiedAutoLink&&(e=r.subParser('simplifiedAutoLinks')(e,t,a)),''+e+''}return t.strikethrough&&(e=(e=a.converter._dispatch('strikethrough.before',e,t,a)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,r){return n(r)}),e=a.converter._dispatch('strikethrough.after',e,t,a)),e}),r.subParser('stripLinkDefinitions',function(e,t,a){'use strict';var n=function(e,n,s,o,i,l,c){return n=n.toLowerCase(),s.match(/^data:.+?\/.+?;base64,/)?a.gUrls[n]=s.replace(/\s/g,''):a.gUrls[n]=r.subParser('encodeAmpsAndAngles')(s,t,a),l?l+c:(c&&(a.gTitles[n]=c.replace(/"|'/g,'"')),t.parseImgDimensions&&o&&i&&(a.gDimensions[n]={width:o,height:i}),'')};return e=(e=(e=(e+='\xa80').replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=\xa80)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=\xa80))/gm,n)).replace(/\xa80/,'')}),r.subParser('tables',function(e,t,a){'use strict';if(!t.tables)return e;function n(e,n){return''+r.subParser('spanGamut')(e,t,a)+'\n'}function s(e,r){for(var t='\n\n\n',a=e.length,n=0;n\n\n\n',n=0;n\n';for(var s=0;s\n'}return t+='\n
\n'}function o(e){var o,i=e.split('\n');for(o=0;o'+(c=r.subParser('spanGamut')(c,t,a))+'\n'));for(o=0;o<_.length;++o){for(var b=[],w=0;w'+r+''})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return''+r+''}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?''+r+'':e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?''+r+'':e})).replace(/(_)/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('underline.after',e,t,a)):e}),r.subParser('unescapeSpecialChars',function(e,r,t){'use strict';return e=(e=t.converter._dispatch('unescapeSpecialChars.before',e,r,t)).replace(/\xa8E(\d+)E/g,function(e,r){var t=parseInt(r);return String.fromCharCode(t)}),e=t.converter._dispatch('unescapeSpecialChars.after',e,r,t)}),r.subParser('makeMarkdown.blockquote',function(e,t){'use strict';var a='';if(e.hasChildNodes())for(var n=e.childNodes,s=n.length,o=0;o ')}),r.subParser('makeMarkdown.codeBlock',function(e,r){'use strict';var t=e.getAttribute('language'),a=e.getAttribute('precodenum');return'```'+t+'\n'+r.preList[a]+'\n```'}),r.subParser('makeMarkdown.codeSpan',function(e){'use strict';return'`'+e.innerHTML+'`'}),r.subParser('makeMarkdown.emphasis',function(e,t){'use strict';var a='';if(e.hasChildNodes()){a+='*';for(var n=e.childNodes,s=n.length,o=0;o',e.hasAttribute('width')&&e.hasAttribute('height')&&(r+=' ='+e.getAttribute('width')+'x'+e.getAttribute('height')),e.hasAttribute('title')&&(r+=' "'+e.getAttribute('title')+'"'),r+=')'),r}),r.subParser('makeMarkdown.links',function(e,t){'use strict';var a='';if(e.hasChildNodes()&&e.hasAttribute('href')){var n=e.childNodes,s=n.length;a='[';for(var o=0;o',e.hasAttribute('title')&&(a+=' "'+e.getAttribute('title')+'"'),a+=')'}return a}),r.subParser('makeMarkdown.list',function(e,t,a){'use strict';var n='';if(!e.hasChildNodes())return'';for(var s=e.childNodes,o=s.length,i=e.getAttribute('start')||1,l=0;l'+r.preList[t]+''}),r.subParser('makeMarkdown.strikethrough',function(e,t){'use strict';var a='';if(e.hasChildNodes()){a+='~~';for(var n=e.childNodes,s=n.length,o=0;otr>th'),l=e.querySelectorAll('tbody>tr');for(a=0;a_&&(_=g)}for(a=0;a/g,'\\$1>')).replace(/^#/gm,'\\#')).replace(/^(\s*)([-=]{3,})(\s*)$/,'$1\\$2$3')).replace(/^( {0,3}\d+)\./gm,'$1\\.')).replace(/^( {0,3})([+-])/gm,'$1\\$2')).replace(/]([\s]*)\(/g,'\\]$1\\(')).replace(/^ {0,3}\[([\S \t]*?)]:/gm,'\\[$1]:')});'function'==typeof define&&define.amd?define(function(){'use strict';return r}):void 0!==n&&n.exports?n.exports=r:this.showdown=r}).call(this)},1682,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){if('IFRAME'===n.nodeName){var o=n.ownerDocument.createTextNode(n.src);n.parentNode.replaceChild(o,n)}}},1683,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){if(!u.id||0!==u.id.indexOf('docs-internal-guid-'))return;(0,n.unwrap)(u)};var n=r(d[0])},1684,[1643]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(t.nodeType!==t.TEXT_NODE)return;var o=t;for(;o=o.parentNode;)if(o.nodeType===o.ELEMENT_NODE&&'PRE'===o.nodeName)return;var l=t.data.replace(/[ \r\n\t]+/g,' ');if(' '===l[0]){var f=(0,n.getSibling)(t,'previous');f&&'BR'!==f.nodeName&&' '!==f.textContent.slice(-1)||(l=l.slice(1))}if(' '===l[l.length-1]){var v=(0,n.getSibling)(t,'next');(!v||'BR'===v.nodeName||v.nodeType===v.TEXT_NODE&&(' '===(E=v.textContent[0])||'\r'===E||'\n'===E||'\t'===E))&&(l=l.slice(0,-1))}var E;l?t.data=l:t.parentNode.removeChild(t)};var n=r(d[0])},1685,[1686]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockContentSchemaFromTransforms=h,e.getBlockContentSchema=function(t){return h((0,f.getRawTransforms)(),t)},e.isPlain=function(t){return!/<(?!br[ />])/i.test(t)},e.deepFilterNodeList=b,e.deepFilterHTML=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0,c=document.implementation.createHTMLDocument('');return c.body.innerHTML=t,b(c.body.childNodes,n,c,o),c.body.innerHTML},e.getSibling=function t(n,o){var c=n[o+"Sibling"];if(c&&(0,u.isPhrasingContent)(c))return c;var s=n.parentNode;if(!s||!(0,u.isPhrasingContent)(s))return;return t(s,o)};var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),u=r(d[4]),s=r(d[5]),f=r(d[6]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function p(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:[];var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.length===u.length&&(0,c.every)(u,function(c,u){var l=(0,o.default)(c,3),f=l[0],s=l[2],p=n[u];return f===p.name&&t(p.innerBlocks,s)})},e.synchronizeBlocksWithTemplate=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];var p=arguments.length>1?arguments[1]:void 0;if(!p)return n;return(0,c.map)(p,function(p,y){var O=(0,o.default)(p,3),b=O[0],h=O[1],j=O[2],k=n[y];if(k&&k.name===b){var P=t(k.innerBlocks,j);return v(v({},k),{},{innerBlocks:P})}var B=(0,s.getBlockType)(b),w=function(t){return'html'===(0,c.get)(t,['source'])},D=function(t){return'query'===(0,c.get)(t,['source'])},T=function(t,n){return(0,c.mapValues)(n,function(n,o){return _(t[o],n)})},_=function(t,n){return w(t)&&(0,c.isArray)(n)?(0,u.renderToString)(n):D(t)&&n?n.map(function(n){return T(t.query,n)}):n},S=T((0,c.get)(B,['attributes'],{}),h),q=(0,l.convertLegacyBlocks)(b,S),E=q.name,M=q.attributes;return(0,f.createBlock)(E,M,t([],j))})};var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),u=r(d[4]),l=r(d[5]),f=r(d[6]),s=r(d[7]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function v(t){for(var o=1;o1;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(t.ToolbarGroup,null,(0,n.createElement)(t.ToolbarButton,{title:f.title,icon:(0,n.createElement)(o.Icon,{icon:f.icon}),onClick:f.onClick,onLongPress:v?function(){u.current&&u.current.presentPicker()}:void 0})),v&&(0,n.createElement)(t.Picker,{ref:u,options:c,onChange:function(n){var t=c.find(function(t){return t.value===n});t&&t.onClick()},hideCancelButton:!0}))};e.default=l},1695,[946,1696,1247]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0});var o={SVG:!0,Path:!0,Circle:!0,Polygon:!0,Rect:!0,G:!0,HorizontalRule:!0,BlockQuotation:!0,ColorIndicator:!0,ColorPalette:!0,ColorPicker:!0,Dashicon:!0,Dropdown:!0,DropdownMenu:!0,Toolbar:!0,ToolbarButton:!0,__experimentalToolbarContext:!0,ToolbarGroup:!0,ToolbarItem:!0,Icon:!0,Spinner:!0,createSlotFill:!0,Slot:!0,Fill:!0,SlotFillProvider:!0,BaseControl:!0,TextareaControl:!0,PanelBody:!0,PanelActions:!0,Button:!0,__experimentalText:!0,ExternalLink:!0,TextControl:!0,ToggleControl:!0,SelectControl:!0,RangeControl:!0,ResizableBox:!0,FooterMessageControl:!0,ColorControl:!0,QueryControls:!0,Notice:!0,NoticeList:!0,RadioControl:!0,UnitControl:!0,Disabled:!0,withConstrainedTabbing:!0,withFallbackStyles:!0,withFilters:!0,withFocusOutside:!0,withFocusReturn:!0,withNotices:!0,withSpokenMessages:!0,BottomSheet:!0,BottomSheetConsumer:!0,BottomSheetProvider:!0,BottomSheetContext:!0,HTMLTextInput:!0,KeyboardAvoidingView:!0,KeyboardAwareFlatList:!0,Picker:!0,ReadableContentView:!0,CycleSelectControl:!0,Gradient:!0,ColorSettings:!0,LinkPicker:!0,LinkPickerScreen:!0,LinkSettings:!0,LinkSettingsScreen:!0,LinkSettingsNavigation:!0,Image:!0,IMAGE_DEFAULT_FOCAL_POINT:!0,ImageEditingButton:!0,InserterButton:!0,setClipboard:!0,getClipboard:!0,Preview:!0,AudioPlayer:!0,colorsUtils:!0,WIDE_ALIGNMENTS:!0,ALIGNMENT_BREAKPOINTS:!0,alignmentHelpers:!0,convertUnitToMobile:!0,useConvertUnitToMobile:!0,getValueAndUnit:!0,GlobalStylesContext:!0,useGlobalStyles:!0,withGlobalStyles:!0,getMergedGlobalStyles:!0};Object.defineProperty(e,"SVG",{enumerable:!0,get:function(){return u.SVG}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return u.Path}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return u.Circle}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return u.Polygon}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return u.Rect}}),Object.defineProperty(e,"G",{enumerable:!0,get:function(){return u.G}}),Object.defineProperty(e,"HorizontalRule",{enumerable:!0,get:function(){return u.HorizontalRule}}),Object.defineProperty(e,"BlockQuotation",{enumerable:!0,get:function(){return u.BlockQuotation}}),Object.defineProperty(e,"ColorIndicator",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"ColorPalette",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"ColorPicker",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Dashicon",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Dropdown",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"DropdownMenu",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"Toolbar",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"ToolbarButton",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"__experimentalToolbarContext",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"ToolbarGroup",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"ToolbarItem",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"Icon",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"Spinner",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"createSlotFill",{enumerable:!0,get:function(){return h.createSlotFill}}),Object.defineProperty(e,"Slot",{enumerable:!0,get:function(){return h.Slot}}),Object.defineProperty(e,"Fill",{enumerable:!0,get:function(){return h.Fill}}),Object.defineProperty(e,"SlotFillProvider",{enumerable:!0,get:function(){return h.Provider}}),Object.defineProperty(e,"BaseControl",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"TextareaControl",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"PanelBody",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"PanelActions",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"__experimentalText",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"ExternalLink",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"TextControl",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"ToggleControl",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"SelectControl",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"RangeControl",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"ResizableBox",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"FooterMessageControl",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"ColorControl",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"QueryControls",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"Notice",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"NoticeList",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"RadioControl",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"UnitControl",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"Disabled",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"withConstrainedTabbing",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"withFallbackStyles",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"withFilters",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"withFocusOutside",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"withFocusReturn",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"withNotices",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"withSpokenMessages",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"BottomSheet",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"BottomSheetConsumer",{enumerable:!0,get:function(){return $.BottomSheetConsumer}}),Object.defineProperty(e,"BottomSheetProvider",{enumerable:!0,get:function(){return $.BottomSheetProvider}}),Object.defineProperty(e,"BottomSheetContext",{enumerable:!0,get:function(){return $.BottomSheetContext}}),Object.defineProperty(e,"HTMLTextInput",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"KeyboardAvoidingView",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"KeyboardAwareFlatList",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"Picker",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"ReadableContentView",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"CycleSelectControl",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"Gradient",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"ColorSettings",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"LinkPicker",{enumerable:!0,get:function(){return ae.LinkPicker}}),Object.defineProperty(e,"LinkPickerScreen",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"LinkSettings",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"LinkSettingsScreen",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(e,"LinkSettingsNavigation",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"IMAGE_DEFAULT_FOCAL_POINT",{enumerable:!0,get:function(){return ge.IMAGE_DEFAULT_FOCAL_POINT}}),Object.defineProperty(e,"ImageEditingButton",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"InserterButton",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"setClipboard",{enumerable:!0,get:function(){return pe.setClipboard}}),Object.defineProperty(e,"getClipboard",{enumerable:!0,get:function(){return pe.getClipboard}}),Object.defineProperty(e,"Preview",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(e,"AudioPlayer",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"colorsUtils",{enumerable:!0,get:function(){return je.colorsUtils}}),Object.defineProperty(e,"WIDE_ALIGNMENTS",{enumerable:!0,get:function(){return se.WIDE_ALIGNMENTS}}),Object.defineProperty(e,"ALIGNMENT_BREAKPOINTS",{enumerable:!0,get:function(){return se.ALIGNMENT_BREAKPOINTS}}),Object.defineProperty(e,"alignmentHelpers",{enumerable:!0,get:function(){return se.alignmentHelpers}}),Object.defineProperty(e,"convertUnitToMobile",{enumerable:!0,get:function(){return Ce.convertUnitToMobile}}),Object.defineProperty(e,"useConvertUnitToMobile",{enumerable:!0,get:function(){return Ce.useConvertUnitToMobile}}),Object.defineProperty(e,"getValueAndUnit",{enumerable:!0,get:function(){return Ce.getValueAndUnit}}),Object.defineProperty(e,"GlobalStylesContext",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"useGlobalStyles",{enumerable:!0,get:function(){return Se.useGlobalStyles}}),Object.defineProperty(e,"withGlobalStyles",{enumerable:!0,get:function(){return Se.withGlobalStyles}}),Object.defineProperty(e,"getMergedGlobalStyles",{enumerable:!0,get:function(){return Se.getMergedGlobalStyles}});var u=r(d[2]),l=n(r(d[3])),c=n(r(d[4])),f=n(r(d[5])),b=n(r(d[6])),P=n(r(d[7])),y=n(r(d[8])),p=n(r(d[9])),O=n(r(d[10])),j=n(r(d[11])),s=n(r(d[12])),C=n(r(d[13])),S=n(r(d[14])),T=n(r(d[15])),h=r(d[16]),I=n(r(d[17])),B=n(r(d[18])),L=n(r(d[19])),k=n(r(d[20])),w=n(r(d[21])),G=t(r(d[22]));Object.keys(G).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return G[t]}}))});var A=n(r(d[23])),_=n(r(d[24])),M=n(r(d[25])),F=n(r(d[26])),N=n(r(d[27])),v=n(r(d[28])),x=n(r(d[29])),E=n(r(d[30])),R=n(r(d[31])),U=n(r(d[32])),D=n(r(d[33])),V=n(r(d[34])),H=n(r(d[35])),K=n(r(d[36])),z=n(r(d[37])),Q=n(r(d[38])),W=n(r(d[39])),q=n(r(d[40])),J=n(r(d[41])),X=n(r(d[42])),Y=n(r(d[43])),Z=n(r(d[44])),$=r(d[45]),ee=n(r(d[46])),te=n(r(d[47])),ne=n(r(d[48])),re=n(r(d[49])),oe=n(r(d[50])),ue=n(r(d[51])),ie=n(r(d[52])),le=n(r(d[53])),ae=r(d[54]),ce=n(r(d[55])),fe=n(r(d[56])),be=n(r(d[57])),de=n(r(d[58])),ge=t(r(d[59])),Pe=n(r(d[60])),ye=n(r(d[61])),pe=r(d[62]),me=n(r(d[63])),Oe=n(r(d[64])),je=r(d[65]),se=r(d[66]),Ce=r(d[67]),Se=t(r(d[68]))},1696,[32,5,1250,1697,1700,1702,1713,1714,1715,1720,1722,1725,1721,1723,1719,1731,1733,1742,1743,1744,1748,1717,1750,1781,1782,1789,1791,1794,1806,1808,1810,1812,1816,1821,1822,1824,1827,1828,1829,1830,1831,1832,1833,1834,1837,2044,2045,2047,2051,1793,2057,2059,2060,2063,2076,2079,2080,2083,2084,2085,2089,2092,2094,2095,2097,1699,2103,2104,2105]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),c=r(d[2]),n=r(d[3]),o=r(d[4]),u=r(d[5]),s=t(r(d[6])),f=r(d[7]);function y(t){var o=t.opacity;return(0,l.createElement)(c.Animated.View,{style:[s.default.selected,{opacity:o}]},(0,l.createElement)(c.View,{style:[s.default.outline,s.default.selectedOutline]}),(0,l.createElement)(n.Icon,{icon:n.check,style:s.default.icon,size:24}))}var E=function(t){var n=t.color,E=t.isSelected,p=t.withCustomPicker,V=t.style,w=t.opacity,v=f.colorsUtils.isGradient,O=(0,u.usePreferredColorSchemeStyle)(s.default.outline,s.default.outlineDark);return v(n)?(0,l.createElement)(o.Gradient,{style:[s.default.circleOption,V],gradientValue:n},(0,l.createElement)(c.View,{style:O}),E&&(0,l.createElement)(y,{opacity:w})):p?(0,l.createElement)(c.View,{style:[s.default.circleOption,V]},(0,l.createElement)(c.View,{style:O}),n.map(function(t){return(0,l.createElement)(o.Gradient,{gradientValue:t,style:[s.default.circleOption,s.default.absolute,V],key:t})}),E&&(0,l.createElement)(y,null)):(0,l.createElement)(c.View,{style:[s.default.circleOption,V,{backgroundColor:n}]},(0,l.createElement)(c.View,{style:O}),E&&(0,l.createElement)(y,{opacity:w}))};e.default=E},1697,[5,946,25,1247,1696,1116,1698,1699]); -__d(function(g,r,i,a,m,e,d){m.exports={selected:{height:28,width:28,borderRadius:14,backgroundColor:"#fff",justifyContent:"center",alignItems:"center"},circleOption:{height:48,width:48,borderRadius:24,marginRight:8,justifyContent:"center",alignItems:"center"},absolute:{position:"absolute",marginRight:0,borderWidth:0},icon:{color:"#2e4453"},outline:{borderColor:"#0000001e",top:0,bottom:0,left:0,right:0,borderRadius:24,borderWidth:1,position:"absolute",zIndex:2},outlineDark:{borderColor:"#ffffff14"},selectedOutline:{top:-1,bottom:-1,left:-1,right:-1,borderRadius:14}}},1698,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.colorsUtils=void 0;var l={linear:'linear-gradient',radial:'radial-gradient'},n=function(n){return(null==n?void 0:n.includes(l.radial))?l.radial:!(null==n||!n.includes(l.linear))&&l.linear},t={screens:{gradientPicker:'GradientPicker',picker:'Picker',palette:'Palette'},segments:['Solid','Gradient'],gradients:l,gradientOptions:[{label:'Linear',value:l.linear},{label:'Radial',value:l.radial}],getGradientType:n,isGradient:function(l){return!!n(l)}};e.colorsUtils=t},1699,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=r(d[2]),l=r(d[3]),c=r(d[4]),u=r(d[5]),s=t(r(d[6])),f=t(r(d[7])),S=r(d[8]),v=200,y=0,b=0,h=0;var p=function(t){var p=t.setColor,E=t.activeColor,w=t.isGradientColor,C=t.defaultSettings,V=t.currentSegment,T=t.onCustomPress,P=t.shouldEnableBottomSheetScroll,_=t.shouldShowCustomIndicatorOption,k=void 0===_||_,R=t.shouldShowCustomLabel,x=void 0===R||R,I=t.shouldShowCustomVerticalSeparator,A=void 0===I||I,D=t.customColorIndicatorStyles,z=t.customIndicatorWrapperStyles,O=(0,n.useRef)(),W='ios'===o.Platform.OS,H=V===S.colorsUtils.segments[1],N=(0,n.useRef)(new o.Animated.Value(1)).current,q=(0,n.useRef)(new o.Animated.Value(1)).current,B=(0,l.uniq)((0,l.map)(C.colors,'color')),F=(0,l.uniq)((0,l.map)(C.gradients,'gradient')),L=H?F:B,U=H?E:['linear-gradient(120deg, rgba(255,0,0,.8) 0%, rgba(255,255,255,1) 70.71%)','linear-gradient(240deg, rgba(0,255,0,.8) 0%, rgba(0,255,0,0) 70.71%)','linear-gradient(360deg, rgba(0,0,255,.8) 0%, rgba(0,0,255,0) 70.71%)'],j=w&&K(),G=k&&(!H||j),M=H?(0,c.__)('Navigates to customize the gradient'):(0,c.__)('Navigates to custom color picker'),J=(0,c.__)('Custom');function K(){var t=E&&L.includes(E);return!!E&&(H?w&&!t:!w&&!t)}function Q(t){return!K()&&E===t}function X(t,n){return o.Animated.timing(t,{toValue:n,duration:v,easing:o.Easing.ease,useNativeDriver:!0})}function Y(t){Q(t)||q.setValue(0),o.Animated.parallel([X(N,2),X(q,1)]).start(function(){q.setValue(1),N.setValue(1)})}(0,n.useEffect)(function(){O.current&&(K()?O.current.scrollToEnd():O.current.scrollTo({x:0,y:0}))},[V]);var Z=N.interpolate({inputRange:[1,1.5,2],outputRange:[1,.7,1]});function $(t){var n;n=o.Dimensions.get('window').width,j&&(W||j&&y-b-h0?(o-s)/2:0;return[E.container,l,{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:c}]}},{key:"getCurrentColor",value:function(){var t=this.props.hue,n=void 0===t?0:t;return(0,y.default)("hue "+n+" 1.0 0.5").toHexString()}},{key:"computeHueValueDrag",value:function(t){var n=t.dx,o=this.props.barWidth,u=void 0===o?200:o,s=this.dragStartValue,f=n/u;return 360*(0,S.default)(s/360+f)}},{key:"computeHueValuePress",value:function(t){var n=t.nativeEvent.locationX,o=this.props.barWidth,u=void 0===o?200:o;return 360*(0,S.default)(n/u)}},{key:"fireDragEvent",value:function(t,n){var o=this.props[t];o&&o({hue:this.computeHueValueDrag(n),gestureState:n})}},{key:"firePressEvent",value:function(t){var n=this.props.onPress;n&&n({hue:this.computeHueValuePress(t),nativeEvent:t.nativeEvent})}},{key:"render",value:function(){var t=this.hueColors,n=this.props,u=n.sliderSize,s=void 0===u?24:u,f=n.barWidth,l=void 0===f?200:f,c=n.barHeight,y=void 0===c?12:c,S=n.borderRadius,R=void 0===S?0:S,P=s/10;return h.default.createElement(v.View,(0,o.default)({style:this.getContainerStyle()},this.panResponder.panHandlers,{hitSlop:{top:10,bottom:10,left:0,right:0}}),h.default.createElement(p.default,{colors:t,style:{borderRadius:R},start:{x:0,y:0},end:{x:1,y:0}},h.default.createElement(v.View,{style:{width:l,height:y}})),h.default.createElement(v.Animated.View,{pointerEvents:"none",style:[E.slider,{width:s,height:s,left:(s-P)/2,borderRadius:s/2,transform:[{translateX:this.sliderX}]}]}))}}]),D})(h.Component);e.default=P;var E=v.StyleSheet.create({container:{justifyContent:'center',alignItems:'center'},slider:{position:'absolute',backgroundColor:'#fff',shadowColor:'#000',shadowOffset:{width:0,height:7},shadowOpacity:.43,shadowRadius:10,elevation:5}})},1705,[32,5,24,7,42,57,59,56,71,25,1706,1642,1710]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=r(d[1]),l=t(r(d[2])),u=t(r(d[3])),o="ios"===f.Platform.OS?l.default:u.default;e.default=o},1706,[5,25,1707,1709]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),y=t(r(d[9])),h=r(d[10]),v=n(r(d[11]));function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=function(t,n){return Array.isArray(n)?(console.warn("LinearGradient '"+t+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),{x:n[0],y:n[1]}):n},A=(function(t){(0,c.default)(x,t);var n,A,C=(n=x,A=P(),function(){var t,o=(0,p.default)(n);if(A){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,f.default)(this,t)});function x(){return(0,s.default)(this,x),C.apply(this,arguments)}return(0,u.default)(x,[{key:"setNativeProps",value:function(t){this.gradientRef.setNativeProps(t)}},{key:"render",value:function(){var t=this,n=this.props,s=n.start,u=n.end,c=n.colors,f=n.locations,p=n.useAngle,P=n.angleCenter,A=n.angle,C=(0,l.default)(n,["start","end","colors","locations","useAngle","angleCenter","angle"]);return c&&f&&c.length!==f.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length'),y.default.createElement(v.default,(0,o.default)({ref:function(n){t.gradientRef=n}},C,{startPoint:R('start',s),endPoint:R('end',u),colors:c.map(h.processColor),locations:f?f.slice(0,c.length):null,useAngle:p,angleCenter:R('angleCenter',P),angle:A}))}}]),x})(y.Component);e.default=A,A.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1707,[32,5,24,67,7,42,57,59,56,71,25,1708]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0]).requireNativeComponent)('BVLinearGradient');e.default=t},1708,[25]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),f=n(r(d[6])),c=n(r(d[7])),p=n(r(d[8])),y=t(r(d[9])),h=r(d[10]),R=n(r(d[11]));function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=function(t,n){return Array.isArray(n)&&console.warn("LinearGradient '"+t+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),null!==n&&'object'==typeof n?[n.x,n.y]:n},P=(function(t){(0,f.default)(C,t);var n,P,A=(n=C,P=b(),function(){var t,o=(0,p.default)(n);if(P){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,c.default)(this,t)});function C(){return(0,s.default)(this,C),A.apply(this,arguments)}return(0,u.default)(C,[{key:"setNativeProps",value:function(t){this.gradientRef.setNativeProps(t)}},{key:"render",value:function(){var t=this,n=this.props,s=n.children,u=n.colors,f=n.end,c=n.locations,p=n.useAngle,b=n.angleCenter,P=n.angle,A=n.start,C=n.style,L=(0,l.default)(n,["children","colors","end","locations","useAngle","angleCenter","angle","start","style"]);u&&c&&u.length!==c.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length');var x,w=h.StyleSheet.flatten(C)||{},B=w.borderRadius||0,T=(x=B,function(t){return'number'==typeof t?t:x}),_=[T(w.borderTopLeftRadius),T(w.borderTopLeftRadius),T(w.borderTopRightRadius),T(w.borderTopRightRadius),T(w.borderBottomRightRadius),T(w.borderBottomRightRadius),T(w.borderBottomLeftRadius),T(w.borderBottomLeftRadius)];return y.default.createElement(h.View,(0,o.default)({ref:function(n){t.gradientRef=n}},L,{style:C}),y.default.createElement(R.default,{style:{position:'absolute',top:0,left:0,bottom:0,right:0},colors:u.map(h.processColor),startPoint:v('start',A),endPoint:v('end',f),locations:c?c.slice(0,u.length):null,useAngle:p,angleCenter:v('angleCenter',b),angle:P,borderRadii:_}),s)}}]),C})(y.Component);e.default=P,P.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1709,[32,5,24,67,7,42,57,59,56,71,25,1708]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t){return t<0?0:t>1?1:t};e.default=t},1710,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),s=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),v=t(r(d[9])),h=r(d[10]),y=n(r(d[11])),S=n(r(d[12])),P=n(r(d[13]));function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function R(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=j(j({},n),t);return t.className&&n.className&&(o.className=(0,c.default)(t.className,n.className)),o}var D=(0,v.withPreferredColorScheme)(function(n){var p,v=n.children,w=n.className,j=n.controls,D=n.icon,N=void 0===D?O.menu:D,E=n.label,k=n.popoverProps,_=n.toggleProps,S=n.menuLabel,A=n.position;if(S&&(0,b.default)('`menuLabel` prop in `DropdownComponent`',{alternative:'`menuProps` object and its `aria-label` property',plugin:'Gutenberg'}),A&&(0,b.default)('`position` prop in `DropdownComponent`',{alternative:'`popoverProps` object and its `position` property',plugin:'Gutenberg'}),(0,s.isEmpty)(j)&&!(0,s.isFunction)(v))return null;(0,s.isEmpty)(j)||(p=j,Array.isArray(p[0])||(p=[p]));var T=C({className:'components-dropdown-menu__popover',position:A},k);return(0,t.createElement)(h.default,{className:(0,c.default)('components-dropdown-menu',w),popoverProps:T,renderToggle:function(n){var o=n.isOpen,p=n.onToggle,s=function(n){o||n.keyCode!==f.DOWN||(n.preventDefault(),n.stopPropagation(),p())},u=C({className:(0,c.default)('components-dropdown-menu__toggle',{'is-opened':o})},_);return(0,t.createElement)(P.default,(0,l.default)({},u,{icon:N,onClick:function(n){p(n),u.onClick&&u.onClick(n)},onKeyDown:function(n){s(n),u.onKeyDown&&u.onKeyDown(n)},"aria-haspopup":"true","aria-expanded":o,label:E,showTooltip:!0}),u.children)},renderContent:function(n){var l=n.isOpen,c=n.onClose,f=(0,o.default)(n,["isOpen","onClose"]);return(0,t.createElement)(y.BottomSheet,{hideHeader:!0,isVisible:l,onClose:c},(0,s.isFunction)(v)?v(f):null,(0,t.createElement)(y.PanelBody,{title:E,style:{paddingLeft:0,paddingRight:0}},(0,s.flatMap)(p,function(n,o){return n.map(function(n,l){return(0,t.createElement)(y.BottomSheet.Cell,{key:[o,l].join(),label:n.title,onPress:function(){c(),n.onClick&&n.onClick()},editable:!1,icon:n.icon,leftAlign:!0,isSelected:n.isActive,separatorType:'android'===u.Platform.OS?'none':'leftMargin'})})})))}})});e.default=D},1715,[5,946,67,24,66,1716,1068,25,1221,1111,1696,1116,1247,1717,1714]); -__d(function(g,r,i,a,m,e,d){!(function(){'use strict';var n={}.hasOwnProperty;function t(){for(var f=[],o=0;o0&&0===u?'has-left-divider':null},l))})}),b)};e.default=h},1721,[5,946,24,67,1716,1068,1722,1727,1729,1725]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),s=t(r(d[2])),o=t(r(d[3])),n=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),b=t(r(d[8]));var p=(0,l.forwardRef)(function(t,p){var v=t.containerClassName,N=t.className,C=t.extraProps,P=t.children,_=t.title,h=t.isActive,E=t.isDisabled,k=(0,o.default)(t,["containerClassName","className","extraProps","children","title","isActive","isDisabled"]);return(0,l.useContext)(f.default)?(0,l.createElement)(u.default,(0,s.default)({className:(0,n.default)('components-toolbar-button',N)},C,k,{ref:p}),function(t){return(0,l.createElement)(c.default,(0,s.default)({label:_,isPressed:h,disabled:E},t),P)}):(0,l.createElement)(b.default,{className:v},(0,l.createElement)(c.default,(0,s.default)({ref:p,icon:k.icon,label:_,shortcut:k.shortcut,"data-subscript":k.subscript,onClick:function(t){t.stopPropagation(),k.onClick&&k.onClick(t)},className:(0,n.default)('components-toolbar__control',N),isPressed:h,disabled:E,"data-toolbar-item":!0},C,k),P))});e.default=p},1722,[5,946,24,67,1716,1717,1723,1725,1726]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),f=t(r(d[4]));function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var o=1;o1,textAlignVertical:"top"}))};e.default=u},1743,[5,946,25,1742]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.PanelBody=c,e.default=void 0;var l=r(d[1]),n=r(d[2]),u=t(r(d[3])),o=t(r(d[4]));function c(t){var c=t.children,f=t.title,v=t.style,s=void 0===v?{}:v;return(0,l.createElement)(n.View,{style:[u.default.panelContainer,s]},f&&(0,l.createElement)(n.Text,{style:u.default.sectionHeaderText},f),c,(0,l.createElement)(o.default,null))}var f=c;e.default=f},1744,[5,946,25,1745,1746]); -__d(function(g,r,i,a,m,e,d){m.exports={panelContainer:{paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16},sectionHeaderText:{color:"#87a6bc",paddingTop:24,paddingBottom:8,fontSize:14,fontWeight:"500"}}},1745,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=r(d[2]),u=r(d[3]),c=t(r(d[4]));var f=(0,u.withPreferredColorScheme)(function(t){var u=t.getStylesFromColorScheme;return(0,o.createElement)(l.View,{style:u(c.default.coverSeparator,c.default.coverSeparatorDark)})});e.default=f},1746,[5,946,25,1116,1747]); -__d(function(g,r,i,a,m,e,d){m.exports={coverSeparator:{height:2,marginTop:-2,backgroundColor:"#fff"},coverSeparatorDark:{backgroundColor:"#2e2e2e"}}},1747,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),u=r(d[4]),c=t(r(d[5])),f=t(r(d[6]));var s=(0,u.withPreferredColorScheme)(function(t){var u=t.actions,s=t.getStylesFromColorScheme;return(0,l.createElement)(n.View,{style:s(c.default.panelActionsContainer,c.default.panelActionsContainerDark)},u.map(function(t){var n=t.label,u=t.onPress;return(0,l.createElement)(o.TextControl,{label:n,onPress:u,labelStyle:c.default.defaultLabelStyle,key:n})}),(0,l.createElement)(f.default,null))});e.default=s},1748,[5,946,25,1696,1116,1749,1746]); -__d(function(g,r,i,a,m,e,d){m.exports={panelActionsContainer:{borderTopColor:"#e8eaeb",borderTopWidth:1},panelActionsContainerDark:{borderTopColor:"#3c434a"},defaultLabelStyle:{color:"#d94f4f"}}},1749,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=r(d[2]),l=u.default.Text(f.text);e.default=l},1750,[5,1751,1775]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]),o=r(d[1]),c=o.createStyled(t.StyleSheet),n=o.createCss(t.StyleSheet),S=['ActivityIndicator','ActivityIndicatorIOS','ART','Button','DatePickerIOS','DrawerLayoutAndroid','Image','ImageBackground','ImageEditor','ImageStore','KeyboardAvoidingView','ListView','MapView','Modal','NavigatorIOS','Picker','PickerIOS','ProgressBarAndroid','ProgressViewIOS','ScrollView','SegmentedControlIOS','Slider','SliderIOS','SnapshotViewIOS','Switch','RecyclerViewBackedScrollView','RefreshControl','SafeAreaView','StatusBar','SwipeableListView','SwitchAndroid','SwitchIOS','TabBarIOS','Text','TextInput','ToastAndroid','ToolbarAndroid','Touchable','TouchableHighlight','TouchableNativeFeedback','TouchableOpacity','TouchableWithoutFeedback','View','ViewPagerAndroid','WebView','FlatList','SectionList','VirtualizedList'].reduce(function(o,n){return Object.defineProperty(o,n,{enumerable:!0,configurable:!1,get:function(){return c(t[n])}})},c);e.css=n,e.default=S},1751,[25,1752]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t,n,o,u,l=(t=r(d[0]))&&'object'==typeof t&&'default'in t?t.default:t,s=r(d[1]),f=r(d[2]),c=function(){return!0},v=function(t,n){for(var o=2,u=arguments.length;o':null}},T=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String;return function(o){if('word'!==o.type)return null;var u=o.value.match(t);return null===u?null:n(u[1])}},N={SPACE:E(function(t){return'space'===t.type}),SLASH:E(function(t){return'div'===t.type&&'/'===t.value}),COMMA:E(function(t){return'div'===t.type&&','===t.value}),WORD:(f='word',function(t){return t.type===f?t.value:null}),NONE:T(/^(none)$/i),AUTO:T(/^(auto)$/i),NUMBER:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)$/,Number),LENGTH:T(/^(0$|(?:[+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)(?=px$))/,Number),UNSUPPORTED_LENGTH_UNIT:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?(ch|em|ex|rem|vh|vw|vmin|vmax|cm|mm|in|pc|pt))$/),ANGLE:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?(?:deg|rad))$/),PERCENT:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?%)$/),IDENT:T(/(^-?[_a-z][_a-z0-9-]*$)/i),STRING:function(t){return'string'!==t.type?null:t.value.replace(/\\([0-9a-f]{1,6})(?:\s|$)/gi,function(t,n){return String.fromCharCode(parseInt(n,16))}).replace(/\\/g,'')},COLOR:function(t){return'word'===t.type&&(y.test(t.value)||t.value in p||'transparent'===t.value)?t.value:'function'===t.type&&w.test(t.value)?h.stringify(t):null},LINE:T(/^(none|underline|line-through)$/i)},b=N.NONE,S=N.COLOR,k=N.LENGTH,O=N.UNSUPPORTED_LENGTH_UNIT,C=N.SPACE,L=T(/^(solid|dashed|dotted)$/),R=N.LENGTH,P=N.UNSUPPORTED_LENGTH_UNIT,A=N.PERCENT,V=N.COLOR,U=N.SPACE,$=N.NONE,G=function(t){var n=t.types,o=void 0===n?[R,P,A]:n,u=t.directions,c=void 0===u?['Top','Right','Bottom','Left']:u,f=t.prefix,h=void 0===f?'':f,v=t.suffix,p=void 0===v?'':v;return function(t){var n,u=[];for(u.push(t.expect.apply(t,l(o)));u.length<4&&t.hasTokens();)t.expect(U),u.push(t.expect.apply(t,l(o)));t.expectEmpty();var f=u[0],v=u[1],x=void 0===v?f:v,y=u[2],w=void 0===y?f:y,E=u[3],T=void 0===E?x:E,N=function(t){return''+h+c[t]+p};return s(n={},N(0),f),s(n,N(1),x),s(n,N(2),w),s(n,N(3),T),n}},I=function(t){var n=t.expect(R),o=t.matches(U)?t.expect(R):n;return t.expectEmpty(),{width:n,height:o}},_=function(t){var n=void 0,o=void 0,u=void 0,s=void 0;if(t.matches($))return t.expectEmpty(),{offset:{width:0,height:0},radius:0,color:'black'};for(var l=!1;t.hasTokens();)l&&t.expect(U),void 0===n&&t.matches(R,P)?(n=t.lastValue,t.expect(U),o=t.expect(R,P),t.saveRewindPoint(),t.matches(U)&&t.matches(R,P)?u=t.lastValue:t.rewind()):void 0===s&&t.matches(V)?s=t.lastValue:t.throw(),l=!0;return void 0===n&&t.throw(),{offset:{width:n,height:o},radius:void 0!==u?u:0,color:void 0!==s?s:'black'}},H=N.NONE,D=N.AUTO,M=N.NUMBER,B=N.LENGTH,F=N.SPACE,W=N.SPACE,Y=T(/(nowrap|wrap|wrap-reverse)/),j=T(/(row|row-reverse|column|column-reverse)/),X=N.SPACE,z=N.IDENT,Z=N.STRING,q=function(t){var n=void 0;if(t.matches(Z))n=t.lastValue;else for(n=t.expect(z);t.hasTokens();){t.expect(X),n+=' '+t.expect(z)}return t.expectEmpty(),{fontFamily:n}},J=N.SPACE,K=N.LENGTH,Q=N.UNSUPPORTED_LENGTH_UNIT,ee=N.NUMBER,te=N.SLASH,ne=T(/^(normal)$/),re=T(/^(italic)$/),oe=T(/^([1-9]00|bold)$/),ie=T(/^(small-caps)$/),ae=[],ue=N.SPACE,se=N.LINE,le=N.COLOR,ce=T(/^(solid|double|dotted|dashed)$/),de=N.SPACE,fe=N.LINE,he=N.SPACE,ve=N.COMMA,pe=N.LENGTH,me=N.NUMBER,xe=N.ANGLE,ye=function(t){return function(n){var o=n.expect(t);return n.expectEmpty(),o}},we=ye(me),Ee=ye(pe),Te=ye(xe),Ne=function(t){return function(n,o){return function(u){var l=u.expect(t),c=void 0;if(u.hasTokens())u.expect(ve),c=u.expect(t);else{if(void 0===o)return l;c=o}return u.expectEmpty(),[s({},n+'Y',c),s({},n+'X',l)]}}},be=Ne(me),Se=Ne(pe),ke=Ne(xe),ge={perspective:we,scale:be('scale'),scaleX:we,scaleY:we,translate:Se('translate',0),translateX:Ee,translateY:Ee,rotate:Te,rotateX:Te,rotateY:Te,rotateZ:Te,skewX:Te,skewY:Te,skew:ke('skew','0deg')},Oe=N.IDENT,Ce=N.WORD,Le=N.COLOR,Re=N.LENGTH,Pe=N.UNSUPPORTED_LENGTH_UNIT,Ae=N.PERCENT,Ve=N.AUTO,Ue=G({types:[Le],prefix:'border',suffix:'Color'}),$e=G({directions:['TopLeft','TopRight','BottomRight','BottomLeft'],prefix:'border',suffix:'Radius'}),Ge=G({prefix:'border',suffix:'Width'}),Ie=G({types:[Re,Pe,Ae,Ve],prefix:'margin'}),_e=G({prefix:'padding'}),He={background:function(t){return{backgroundColor:t.expect(Le)}},border:function(t){var n=void 0,o=void 0,u=void 0;if(t.matches(b))return t.expectEmpty(),{borderWidth:0,borderColor:'black',borderStyle:'solid'};for(var s=0;s<3&&t.hasTokens();)0!==s&&t.expect(C),void 0===n&&t.matches(k)||t.matches(O)?n=t.lastValue:void 0===o&&t.matches(S)?o=t.lastValue:void 0===u&&t.matches(L)?u=t.lastValue:t.throw(),s+=1;return t.expectEmpty(),void 0===n&&(n=1),void 0===o&&(o="black"),void 0===u&&(u="solid"),{borderWidth:n,borderColor:o,borderStyle:u}},borderColor:Ue,borderRadius:$e,borderWidth:Ge,boxShadow:function(t){var n=_(t);return{shadowOffset:n.offset,shadowRadius:n.radius,shadowColor:n.color,shadowOpacity:1}},flex:function(t){var n=void 0,o=void 0,u=void 0;if(t.matches(H))return t.expectEmpty(),{flexGrow:0,flexShrink:0,flexBasis:'auto'};if(t.saveRewindPoint(),t.matches(D)&&!t.hasTokens())return{flexGrow:1,flexShrink:1,flexBasis:'auto'};t.rewind();for(var s=0;s<2&&t.hasTokens();)0!==s&&t.expect(F),void 0===n&&t.matches(M)?(n=t.lastValue,t.saveRewindPoint(),t.matches(F)&&t.matches(M)?o=t.lastValue:t.rewind()):void 0===u&&t.matches(B)?u=t.lastValue:void 0===u&&t.matches(D)?u='auto':t.throw(),s+=1;return t.expectEmpty(),void 0===n&&(n=1),void 0===o&&(o=1),void 0===u&&(u=0),{flexGrow:n,flexShrink:o,flexBasis:u}},flexFlow:function(t){for(var n=void 0,o=void 0,u=0;u<2&&t.hasTokens();)0!==u&&t.expect(W),void 0===n&&t.matches(Y)?n=t.lastValue:void 0===o&&t.matches(j)?o=t.lastValue:t.throw(),u+=1;return t.expectEmpty(),void 0===n&&(n="nowrap"),void 0===o&&(o="row"),{flexWrap:n,flexDirection:o}},font:function(t){for(var n=void 0,o=void 0,u=void 0,s=void 0,l=0;l<3&&t.hasTokens();){if(t.matches(ne));else if(void 0===n&&t.matches(re))n=t.lastValue;else if(void 0===o&&t.matches(oe))o=t.lastValue;else{if(void 0!==u||!t.matches(ie))break;u=[t.lastValue]}t.expect(J),l+=1}var c=t.expect(K,Q);t.matches(te)&&(s=t.matches(ee)?c*t.lastValue:t.expect(K,Q)),t.expect(J);var f=q(t).fontFamily;void 0===n&&(n="normal"),void 0===o&&(o="normal"),void 0===u&&(u=ae);var h={fontStyle:n,fontWeight:o,fontVariant:u,fontSize:c,fontFamily:f};return void 0!==s&&(h.lineHeight=s),h},fontFamily:q,fontVariant:function(t){return{fontVariant:[t.expect(Oe)]}},fontWeight:function(t){return{fontWeight:t.expect(Ce)}},margin:Ie,padding:_e,shadowOffset:function(t){return{shadowOffset:I(t)}},textShadow:function(t){var n=_(t);return{textShadowOffset:n.offset,textShadowRadius:n.radius,textShadowColor:n.color}},textShadowOffset:function(t){return{textShadowOffset:I(t)}},textDecoration:function(t){for(var n=void 0,o=void 0,u=void 0,s=!1;t.hasTokens();){if(s&&t.expect(ue),void 0===n&&t.matches(se)){var l=[t.lastValue.toLowerCase()];t.saveRewindPoint(),'none'!==l[0]&&t.matches(ue)&&t.matches(se)?(l.push(t.lastValue.toLowerCase()),l.sort().reverse()):t.rewind(),n=l.join(' ')}else void 0===o&&t.matches(ce)?o=t.lastValue:void 0===u&&t.matches(le)?u=t.lastValue:t.throw();s=!0}return{textDecorationLine:void 0!==n?n:"none",textDecorationColor:void 0!==u?u:"black",textDecorationStyle:void 0!==o?o:"solid"}},textDecorationLine:function(t){for(var n=[],o=!1;t.hasTokens();)o&&t.expect(de),n.push(t.expect(fe).toLowerCase()),o=!0;return n.sort().reverse(),{textDecorationLine:n.join(' ')}},transform:function(t){for(var n=[],o=!1;t.hasTokens();){o&&t.expect(he);var u=t.expectFunction(),l=u.functionName,c=ge[l](u);Array.isArray(c)||(c=[s({},l,c)]),n=c.concat(n),o=!0}return{transform:n}}},De=(function(){function t(n,o){u(this,t),this.index=0,this.nodes=n,this.functionName=null!=o?o.value:null,this.lastValue=null,this.rewindIndex=-1}return n(t,[{key:'hasTokens',value:function(){return this.index<=this.nodes.length-1}},{key:"SYMBOL_MATCH",value:function(){if(!this.hasTokens())return null;for(var t=this.nodes[this.index],n=0;n1&&void 0!==arguments[1]?arguments[1]:[];return n.reduce(function(n,u){var s=ze(u[0]),l=u[1],c=-1===o.indexOf(s);return t(n,Xe(s,l,c))},{})}},1753,[24,1754,1759,1761]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]);function s(n){return this instanceof s?(this.nodes=t(n),this):new s(n)}s.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):''},s.prototype.walk=function(t,o){return n(this.nodes,t,o),this},s.unit=r(d[3]),s.walk=n,s.stringify=o,m.exports=s},1754,[1755,1756,1757,1758]); -__d(function(g,r,i,a,m,e,d){var o='('.charCodeAt(0),t=')'.charCodeAt(0),c='\''.charCodeAt(0),s='"'.charCodeAt(0),h='\\'.charCodeAt(0),l='/'.charCodeAt(0),n=','.charCodeAt(0),u=':'.charCodeAt(0),f='*'.charCodeAt(0);m.exports=function(p){for(var A,C,v,x,y,w,I,O,b=[],_=p,q=0,j=_.charCodeAt(q),k=_.length,z=[{nodes:b}],B=0,D='',E='',F='';q=48&&c<=57)s+=o[h],l=!0;else if(c===n){if(b)break;b=!0,s+=o[h]}else{if(c!==f&&c!==t)break;if(0!==h)break;s+=o[h]}h+=1}return!!l&&{number:s,unit:o.slice(h)}}},1758,[]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},1759,[1760]); -__d(function(e,f,a,d,r,l,i){r.exports={black:"#000000",silver:"#c0c0c0",gray:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32",rebeccapurple:"#663399"}},1760,[]); -__d(function(g,r,i,a,m,e,d){function t(p){return p&&'object'==typeof p?u(p)||c(p)?p:o(p)?l(p,t):y(f(p),function(o,u){return o[n(u)]=t(p[u]),o},{}):p}function n(t){return t.replace(/[_.-](\w|$)/g,function(t,n){return n.toUpperCase()})}m.exports=function(o){return'string'==typeof o?n(o):t(o)};var o=Array.isArray||function(t){return'[object Array]'===Object.prototype.toString.call(t)},u=function(t){return'[object Date]'===Object.prototype.toString.call(t)},c=function(t){return'[object RegExp]'===Object.prototype.toString.call(t)},p=Object.prototype.hasOwnProperty,f=Object.keys||function(t){var n=[];for(var o in t)p.call(t,o)&&n.push(o);return n};function l(t,n){if(t.map)return t.map(n);for(var o=[],u=0;uA)&&(R=(V=V.replace(' ',':')).length),0n&&(n=(c=c.trim()).charCodeAt(0)),n){case 38:return c.replace(x,'$1'+t.trim());case 58:return t.trim()+c.replace(x,'$1'+t.trim());default:if(0<1*s&&0h.charCodeAt(8))break;case 115:o=o.replace(h,'-webkit-'+h)+';'+o;break;case 207:case 102:o=o.replace(h,'-webkit-'+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],0=4;)c=1540483477*(65535&(c=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))+((1540483477*(c>>>16)&65535)<<16),h=1540483477*(65535&h)+((1540483477*(h>>>16)&65535)<<16)^(c=1540483477*(65535&(c^=c>>>24))+((1540483477*(c>>>16)&65535)<<16)),o-=4,++n;switch(o){case 3:h^=(255&t.charCodeAt(n+2))<<16;case 2:h^=(255&t.charCodeAt(n+1))<<8;case 1:h=1540483477*(65535&(h^=255&t.charCodeAt(n)))+((1540483477*(h>>>16)&65535)<<16)}return h=1540483477*(65535&(h^=h>>>13))+((1540483477*(h>>>16)&65535)<<16),((h^=h>>>15)>>>0).toString(36)}},1771,[]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});e.default={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},1772,[]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),e.default=function(t){var n={};return function(u){return void 0===n[u]&&(n[u]=t(u)),n[u]}}},1773,[]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]);e.default=function(){for(var n=arguments.length,u=new Array(n),l=0;l0&&void 0!==arguments[0]?arguments[0]:'body'){case'title.large':return(0,f.default)(z(),b,"\n\tfont-size: 32px;\n\tline-height: 40px;\n");case'title.medium':return(0,f.default)(v(),b,"\n\tfont-size: 24px;\n\tline-height: 32px;\n");case'title.small':return(0,f.default)(x(),b,"\n\tfont-size: 20px;\n\tline-height: 28px;\n");case'subtitle':return(0,f.default)(p(),w,"\n\tfont-size: 16px;\n\tline-height: 24px;\n");case'subtitle.small':return(0,f.default)(s(),w,"\n\tfont-size: 14px;\n\tline-height: 20px;\n");case'body':return(0,f.default)(h(),y);case'body.large':return(0,f.default)(c(),y,"\n\tfont-size: 16px;\n\tline-height: 24px;\n");case'body.small':return(0,f.default)(l(),y,"\n\tfont-size: 14px;\n\tline-height: 20px;\n");case'button':return"\n font-weight: 600;\n font-size: 14px;\n line-height: 20px;\n";case'caption':return"\n\tfont-weight: 400;\n\tfont-size: 12px;\n\tline-height: 16px;\n";case'label':return"\n\tfont-weight: 600;\n\tfont-size: 12px;\n\tline-height: 16px;\n";case'sectionheading':return _}};e.text=function(t){return(0,f.default)(o(),u.fontFamily,j(t.variant))}},1775,[5,1776,1777,1778,1779]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){return t||(t=n.slice(0)),n.raw=t,n}},1776,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.fontFamily=void 0;e.fontFamily=''},1777,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).css;e.default=t},1778,[1751]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.COLORS=e.UI=e.ADMIN=e.ALERT=e.BLUE=e.LIGHT_OPACITY_LIGHT=e.LIGHT_GRAY=e.DARK_OPACITY_LIGHT=e.DARK_OPACITY=e.DARK_GRAY=e.G2=e.BASE=void 0;var b=t(r(d[1])),c=r(d[2]),o=r(d[3]);function f(t,b){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);b&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(t,b).enumerable})),c.push.apply(c,o)}return c}function l(t){for(var c=1;c0&&void 0!==arguments[0]?arguments[0]:'',n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=(0,u.default)(t).toRgb(),f=o.r,l=o.g,c=o.b;return"rgba("+f+", "+l+", "+c+", "+n+")"},e.color=function(t){return(0,o.get)(l.COLORS,t,'#000')},e.isColor=v,e.getOptimalTextColor=y,e.getOptimalTextShade=function(t){return'#000000'===y(t)?'dark':'light'},e.getComputedColor=e.getComputedBackgroundColor=void 0;var n,o=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),l=r(d[4]);function c(){if('undefined'!=typeof document){if(!n){var t=document.createElement('div');t.setAttribute('data-g2-color-computation-node',''),document.body.appendChild(t),n=t}return n}}function v(t){return'string'==typeof t&&(0,u.default)(t).isValid()}var p=(0,f.default)(function(t){var n;if('string'!=typeof t)return'';if(v(t))return t;if(!t.includes('var('))return'';if('undefined'==typeof document)return'';var o=c();if(!o)return'';o.style.background=t;var u=null==(n=window)?void 0:n.getComputedStyle(o).background;return o.style.background='',u||''});e.getComputedBackgroundColor=p;var s=(0,f.default)(function(t){var n;if('string'!=typeof t)return'';if(v(t))return t;if(!t.includes('var('))return'';if('undefined'==typeof document)return'';var o=c();if(!o)return'';o.style.color=t;var u=null==(n=window)?void 0:n.getComputedStyle(o).color;return o.style.color='',u||''});function y(t){var n=p(t);return u.default.isReadable(n,'#000000')?'#000000':'#ffffff'}e.getComputedColor=s},1780,[5,1068,1642,1029,1779]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ExternalLink=o,e.default=void 0;var n=r(d[0]),t=r(d[1]),l=r(d[2]),c=r(d[3]);function o(o){var u=o.href,f=o.children;return(0,n.createElement)(t.TouchableOpacity,{onPress:function(){return t.Linking.openURL(u)},accessibilityLabel:(0,l.__)('Open link in a browser')},(0,n.createElement)(t.Text,null,f),(0,n.createElement)(c.Icon,{icon:c.external}))}var u=o;e.default=u},1781,[946,25,1027,1247]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=l(r(d[2])),o=l(r(d[3])),s=l(r(d[4]));var u=(0,t.memo)(function(l){var u=l.label,c=l.hideLabelFromVision,v=l.value,h=l.help,b=l.className,p=l.instanceId,f=l.onChange,_=l.type,y=void 0===_?'text':_,V=(0,o.default)(l,["label","hideLabelFromVision","value","help","className","instanceId","onChange","type"]),C="inspector-text-control-"+p;return(0,t.createElement)(s.default,(0,n.default)({label:u,hideLabelFromVision:c,id:C,help:h,className:b,type:y,value:v,onChangeValue:f,"aria-describedby":h?C+'__help':void 0},V))});e.default=u},1782,[5,946,24,67,1783]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),s=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),y=t(r(d[8])),p=t(r(d[9])),b=t(r(d[10])),v=r(d[11]),h=r(d[12]),S=r(d[13]),E=r(d[14]),R=r(d[15]),T=r(d[16]),O=t(r(d[17])),C=t(r(d[18]));function w(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);l&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function V(t){for(var l=1;l=21,k=b||!f,F=y(u.default.ripple,u.default.rippleDark).backgroundColor;if(S){var C='android'===c.Platform.OS&&c.Platform.Version>=28&&h;return(0,t.createElement)(c.TouchableNativeFeedback,(0,o.default)({},O,{onPress:f,disabled:k,useForeground:C,background:c.TouchableNativeFeedback.Ripple(F,h)}),(0,t.createElement)(c.View,{style:[h&&u.default.overflow,n]},v))}return(0,t.createElement)(c.TouchableOpacity,(0,o.default)({},O,{onPress:f,disabled:k,activeOpacity:p,style:n}),v)});e.default=f},1785,[5,946,24,67,25,1116,1786]); -__d(function(g,r,i,a,m,e,d){m.exports={ripple:{backgroundColor:"rgba(0, 0, 0, 0.2)"},rippleDark:{backgroundColor:"rgba(255, 255, 255, 0.2)"},overflow:{overflow:"hidden"}}},1786,[]); -__d(function(g,r,i,a,m,e,d){m.exports={labelIconSeparator:{width:12},separatorMarginLeft:{marginLeft:36},isSelected:{color:"#0087be"},activeOpacity:{opacity:1}}},1787,[]); -__d(function(g,r,i,a,m,e,d){m.exports={labelIconSeparator:{width:32},separatorMarginLeft:{marginLeft:56},isSelected:{color:"#0087be"}}},1788,[]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),t=l(r(d[2])),c=l(r(d[3])),o=l(r(d[4])),u=(0,n.memo)(function(l){var u=l.label,s=l.checked,h=l.help,f=l.instanceId,v=l.className,b=l.onChange,p=(0,c.default)(l,["label","checked","help","instanceId","className","onChange"]),_="inspector-toggle-control-"+f;return(0,n.createElement)(o.default,(0,t.default)({label:u,id:_,help:h,className:v,value:s,onValueChange:b,"aria-describedby":h?_+'__help':void 0},p))});e.default=u},1789,[5,946,24,67,1790]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=t.value,b=t.onValueChange,v=(0,o.default)(t,["value","onValueChange"]),_=f?(0,c.sprintf)((0,c._x)('%s. On','switch control'),v.label):(0,c.sprintf)((0,c._x)('%s. Off','switch control'),v.label);return(0,l.createElement)(s.default,(0,n.default)({},v,{accessibilityLabel:_,accessibilityRole:'none',accessibilityHint:(0,c.__)('Double tap to toggle setting'),onPress:function(){b(!f)},editable:!1,value:''}),(0,l.createElement)(u.Switch,{value:f,onValueChange:b}))};var l=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=t(r(d[6]))},1790,[5,946,24,67,25,1027,1783]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=l(r(d[2])),t=l(r(d[3])),s=l(r(d[4])),u=(0,o.memo)(function(l){var u=l.help,c=l.instanceId,p=l.label,h=l.multiple,b=void 0!==h&&h,f=l.onChange,v=l.options,_=void 0===v?[]:v,V=l.className,C=l.hideLabelFromVision,F=(0,t.default)(l,["help","instanceId","label","multiple","onChange","options","className","hideLabelFromVision"]),L="inspector-select-control-"+c;return(0,o.createElement)(s.default,(0,n.default)({label:p,hideLabelFromVision:C,id:L,help:u,className:V,onChangeValue:f,"aria-describedby":u?L+"__help":void 0,multiple:b,options:_},F))});e.default=u},1791,[5,946,24,67,1792]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var v,s=n.options,h=n.hideCancelButton,C=n.onChangeValue,p=n.value,_=(0,u.default)(n,["options","hideCancelButton","onChangeValue","value"]),b=(0,o.find)(s,{value:p}),B=b?b.label:p;return(0,t.createElement)(f.default,(0,l.default)({onPress:function(){v.presentPicker()},editable:!1,value:B},_),(0,t.createElement)(c.default,{leftAlign:!0,hideCancelButton:h,ref:function(n){return v=n},options:s,onChange:function(n){C(n)}}))};var t=r(d[1]),l=n(r(d[2])),u=n(r(d[3])),o=r(d[4]),f=n(r(d[5])),c=n(r(d[6]))},1792,[5,946,24,67,1068,1783,1793]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),f=t(r(d[5])),l=r(d[6]),s=r(d[7]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var h=(function(t){(0,o.default)(I,t);var h,v,y=(h=I,v=p(),function(){var t,n=(0,f.default)(h);if(v){var u=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function I(){return(0,n.default)(this,I),y.apply(this,arguments)}return(0,u.default)(I,[{key:"presentPicker",value:function(){var t=this.props,n=t.options,u=t.onChange,o=t.title,c=t.destructiveButtonIndex,f=t.disabledButtonIndices,p=t.getAnchor,h=n.map(function(t){return t.label}),v=[(0,s.__)('Cancel')].concat(h);l.ActionSheetIOS.showActionSheetWithOptions({title:o,options:v,cancelButtonIndex:0,destructiveButtonIndex:c,disabledButtonIndices:f,anchor:p&&p()},function(t){if(0!==t){var o=n[t-1];u(o.value)}})}},{key:"render",value:function(){return null}}]),I})(r(d[8]).Component);e.default=h},1793,[5,7,42,57,59,56,25,1027,946]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),t=l(r(d[2])),o=l(r(d[3])),u=l(r(d[4])),s=l(r(d[5])),c=(0,n.memo)(function(l){var c=l.className,p=l.currentInput,f=l.label,v=l.value,b=l.instanceId,I=l.onChange,h=l.beforeIcon,y=l.afterIcon,_=l.help,x=l.allowReset,C=l.initialPosition,T=l.min,w=l.max,N=l.type,P=l.separatorType,R=(0,o.default)(l,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","type","separatorType"]);if('stepper'===N)return(0,n.createElement)(s.default,{label:f,max:w,min:T,onChange:I,separatorType:P,value:v});var V="inspector-range-control-"+b,E=null===p?v:p,j=isFinite(E)?E:C;return(0,n.createElement)(u.default,(0,t.default)({label:f,id:V,help:_,className:c,onChange:I,"aria-describedby":_?V+"__help":void 0,minimumValue:T,maximumValue:w,value:v,beforeIcon:h,afterIcon:y,allowReset:x,defaultValue:j,separatorType:P},R))});e.default=c},1794,[5,946,24,67,1795,1803]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),h=t(r(d[8])),C=t(r(d[9])),v=r(d[10]),p=t(r(d[11])),b=r(d[12]),y=r(d[13]),V=t(r(d[14])),S=t(r(d[15])),T=t(r(d[16])),k=r(d[17]);function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R='ios'===v.Platform.OS,P=(function(t){(0,f.default)(A,t);var y,P,_=(y=A,P=x(),function(){var t,l=(0,C.default)(y);if(P){var n=(0,C.default)(this).constructor;t=Reflect.construct(l,arguments,n)}else t=l.apply(this,arguments);return(0,h.default)(this,t)});function A(t){var l;(0,o.default)(this,A),(l=_.call(this,t)).onChangeValue=l.onChangeValue.bind((0,c.default)(l)),l.onChange=l.onChange.bind((0,c.default)(l)),l.onCellPress=l.onCellPress.bind((0,c.default)(l));var n=t.value,u=t.defaultValue,s=t.minimumValue,f=Number(n||u||s);return l.state={accessible:!0,inputValue:f,sliderValue:f},l}return(0,s.default)(A,[{key:"onChangeValue",value:function(t){var l=this.props,n=l.decimalNum,u=l.onChange;t=(0,k.toFixed)(t,n),this.setState({inputValue:t}),this.announceCurrentValue(""+t),u(t)}},{key:"onCellPress",value:function(){if(this.setState({accessible:!1}),this.sliderRef){var t=(0,v.findNodeHandle)(this.sliderRef);v.AccessibilityInfo.setAccessibilityFocus(t)}}},{key:"announceCurrentValue",value:function(t){var l=(0,b.sprintf)((0,b.__)('Current value is %s'),t);v.AccessibilityInfo.announceForAccessibility(l)}},{key:"onChange",value:function(t){var l=this.props,n=l.onChange,u=l.onComplete;this.setState({sliderValue:t}),n(t),u&&u(t)}},{key:"render",value:function(){var t=this,o=this.props,s=o.value,c=o.defaultValue,f=o.minimumValue,h=void 0===f?0:f,C=o.maximumValue,y=void 0===C?10:C,k=o.disabled,x=o.step,P=void 0===x?1:x,_=o.preferredColorScheme,A=o.minimumTrackTintColor,I=void 0===A?'light'===_?'#00669b':'#5198d9':A,N=o.maximumTrackTintColor,w=void 0===N?R?'#e9eff3':'#909090':N,D=o.thumbTintColor,O=void 0===D?!R&&'#00669b':D,E=o.preview,F=o.cellContainerStyle,j=o.onComplete,H=o.shouldDisplayTextInput,$=void 0===H||H,L=o.children,M=o.decimalNum,q=(0,u.default)(o,["value","defaultValue","minimumValue","maximumValue","disabled","step","preferredColorScheme","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","preview","cellContainerStyle","onComplete","shouldDisplayTextInput","children","decimalNum"]),z=this.state,B=z.accessible,G=z.inputValue,J=z.sliderValue,K=(0,b.sprintf)((0,b._x)('%1$s. Current value is %2$s','Slider for picking a number inside a range'),q.label,s),Q=[S.default.container,R?S.default.containerIOS:S.default.containerAndroid];return(0,l.createElement)(V.default,(0,n.default)({},q,{cellContainerStyle:[S.default.cellContainerStyles,F],cellRowContainerStyle:Q,accessibilityRole:'none',value:'',editable:!1,activeOpacity:1,accessible:B,onPress:this.onCellPress,valueStyle:S.default.valueStyle,accessibilityLabel:K,accessibilityHint:(0,b.__)('Double tap to change the value using slider')}),(0,l.createElement)(v.View,{style:Q},E,(0,l.createElement)(p.default,{value:J,defaultValue:c,disabled:k,step:P,minimumValue:h,maximumValue:y,minimumTrackTintColor:I,maximumTrackTintColor:w,thumbTintColor:O,onValueChange:this.onChangeValue,onSlidingComplete:j,ref:function(l){t.sliderRef=l},style:R?S.default.sliderIOS:S.default.sliderAndroid,accessibilityRole:'adjustable'}),$&&(0,l.createElement)(T.default,{label:q.label,onChange:this.onChange,defaultValue:""+G,value:G,min:h,max:y,step:P,decimalNum:M},L)))}}]),A})(l.Component),_=(0,y.withPreferredColorScheme)(P);e.default=_},1795,[5,946,24,67,7,42,60,57,59,56,25,1796,1027,1116,1783,1798,1799,1800]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,l=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),S=r(d[4]),f=t(r(d[5])),v=u.default.forwardRef(function(t,v){var s=S.StyleSheet.compose(n.slider,t.style),c=t.onValueChange,h=t.onSlidingStart,C=t.onSlidingComplete,p=(0,o.default)(t,["onValueChange","onSlidingStart","onSlidingComplete"]),b=c?function(t){var n=!0;'android'===S.Platform.OS&&(n=null!=t.nativeEvent.fromUser&&t.nativeEvent.fromUser),n&&c(t.nativeEvent.value)}:null,R=b,y=h?function(t){h(t.nativeEvent.value)}:null,E=C?function(t){C(t.nativeEvent.value)}:null;return u.default.createElement(f.default,(0,l.default)({},p,{thumbImage:'web'===S.Platform.OS?t.thumbImage:S.Image.resolveAssetSource(t.thumbImage),ref:v,style:s,onChange:R,onRNCSliderSlidingStart:y,onRNCSliderSlidingComplete:E,onRNCSliderValueChange:b,enabled:!t.disabled,onStartShouldSetResponder:function(){return!0},onResponderTerminationRequest:function(){return!1}}))});v.defaultProps={disabled:!1,value:0,minimumValue:0,maximumValue:1,step:0,inverted:!1,touchToSeek:'android'===S.Platform.OS},n='ios'===S.Platform.OS?S.StyleSheet.create({slider:{height:40}}):S.StyleSheet.create({slider:{}});var s=v;e.default=s},1796,[5,24,67,71,25,1797]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0]).requireNativeComponent)('RNCSlider');e.default=t},1797,[25]); -__d(function(g,r,i,a,m,e,d){m.exports={sliderIOS:{flexGrow:1,minHeight:48},sliderAndroid:{flexGrow:1,minHeight:48,marginLeft:-6},isSelected:{borderWidth:2,borderColor:"#0087be"},container:{flexDirection:"row",alignItems:"center"},cellContainerStyles:{marginTop:13,flexDirection:"column",alignItems:"flex-start"},containerIOS:{paddingTop:6,paddingBottom:6},containerAndroid:{paddingTop:8,paddingBottom:8},valueStyle:{height:0}}},1798,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),f=r(d[8]),p=r(d[9]),v=r(d[10]),y=r(d[11]),S=t(r(d[12]));function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var b="ios"===f.Platform.OS?r(d[13]):r(d[14]),F='ios'===f.Platform.OS,C=(function(t){(0,s.default)(I,t);var p,C,V=(p=I,C=x(),function(){var t,n=(0,h.default)(p);if(C){var u=(0,h.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function I(t){var n;(0,u.default)(this,I),(n=V.call(this,t)).announceCurrentValue=n.announceCurrentValue.bind((0,l.default)(n)),n.onInputFocus=n.onInputFocus.bind((0,l.default)(n)),n.onInputBlur=n.onInputBlur.bind((0,l.default)(n)),n.handleChangePixelRatio=n.handleChangePixelRatio.bind((0,l.default)(n)),n.onSubmitEditing=n.onSubmitEditing.bind((0,l.default)(n)),n.onChangeText=n.onChangeText.bind((0,l.default)(n));var o=t.value,s=t.defaultValue,c=t.min,h=t.decimalNum,f=(0,y.toFixed)(o||s||c,h),p=n.getFontScale();return n.state={fontScale:p,inputValue:f,controlValue:f,hasFocus:!1},n}return(0,o.default)(I,[{key:"componentDidMount",value:function(){f.AppState.addEventListener('change',this.handleChangePixelRatio)}},{key:"componentWillUnmount",value:function(){f.AppState.removeEventListener('change',this.handleChangePixelRatio),clearTimeout(this.timeoutAnnounceValue)}},{key:"componentDidUpdate",value:function(t,n){var u=this.props.value,o=this.state,l=o.hasFocus,s=o.inputValue;if(t.value!==u&&this.setState({inputValue:u}),n.hasFocus!==l){var c=this.validateInput(s);this.setState({inputValue:c})}!n.hasFocus&&l&&this._valueTextInput.focus()}},{key:"getFontScale",value:function(){return f.PixelRatio.getFontScale()<1?1:f.PixelRatio.getFontScale()}},{key:"handleChangePixelRatio",value:function(t){'active'===t&&this.setState({fontScale:this.getFontScale()})}},{key:"onInputFocus",value:function(){this.setState({hasFocus:!0})}},{key:"onInputBlur",value:function(){var t=this.state.inputValue;this.onChangeText(""+t),this.setState({hasFocus:!1})}},{key:"validateInput",value:function(t){var n=this.props,u=n.min,o=n.max,l=n.decimalNum,s=u;return t?'number'==typeof t?(s=Math.max(t,u),o?Math.min(s,o):s):(s=Math.max((0,y.removeNonDigit)(t,l),u),o?Math.min(s,o):s):u}},{key:"updateValue",value:function(t){var n=this.props.onChange,u=this.validateInput(t);this.announceCurrentValue(""+u),n(u)}},{key:"onChangeText",value:function(t){var n=this.props.decimalNum,u=(0,y.removeNonDigit)(t,n);t=u.replace(',','.'),t=(0,y.toFixed)(t,n);var o=this.validateInput(t);this.setState({inputValue:u,controlValue:o}),this.updateValue(o)}},{key:"onSubmitEditing",value:function(t){var n=t.nativeEvent.text,u=this.props.decimalNum,o=this.state.inputValue;if(!isNaN(Number(n))){n=(0,y.toFixed)(n.replace(',','.'),u);var l=this.validateInput(n);o!==l&&(this.setState({inputValue:l}),this.announceCurrentValue(""+l),this.props.onChange(l))}}},{key:"announceCurrentValue",value:function(t){var n=(0,v.sprintf)((0,v.__)('Current value is %s'),t);f.AccessibilityInfo.announceForAccessibility(n)}},{key:"render",value:function(){var t=this,u=this.props,o=u.getStylesFromColorScheme,l=u.children,s=this.state,c=s.fontScale,h=s.inputValue,p=s.hasFocus,v=o(S.default.textInput,S.default.textInputDark),y=o(S.default.verticalBorder,S.default.verticalBorderDark),x=[v,b.borderStyle,p&&b.isSelected],C=[F?y:x,{width:50*c}];return(0,n.createElement)(f.TouchableWithoutFeedback,{onPress:this.onInputFocus,accessible:!1},(0,n.createElement)(f.View,{style:[S.default.textInputContainer,F&&x],accessible:!1},F||p?(0,n.createElement)(f.TextInput,{ref:function(n){return t._valueTextInput=n},style:C,onChangeText:this.onChangeText,onSubmitEditing:this.onSubmitEditing,onFocus:this.onInputFocus,onBlur:this.onInputBlur,keyboardType:"numeric",returnKeyType:"done",numberOfLines:1,defaultValue:""+h,value:h,pointerEvents:p?'auto':'none'}):(0,n.createElement)(f.Text,{style:C,numberOfLines:1,ellipsizeMode:"clip"},h),l))}}]),I})(n.Component),V=(0,p.withPreferredColorScheme)(C);e.default=V},1799,[5,946,7,42,60,57,59,56,25,1116,1027,1800,1784,1801,1802]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.removeNonDigit=function(t,o){var n=o>0?/^(\d+\.?\,?(\d+)?)/:/([\d]+)/,u=t.match(n);return u?u[0]:''},e.toFixed=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Math.pow(10,o<0?0:o);return Math.floor(t*n)/n}},1800,[]); -__d(function(g,r,i,a,m,e,d){m.exports={isSelected:{borderWidth:2,borderColor:"#0087be"},borderStyle:{borderWidth:1,borderRadius:4}}},1801,[]); -__d(function(g,r,i,a,m,e,d){m.exports={borderStyle:{borderBottomWidth:1},isSelected:{borderBottomWidth:2,borderColor:"#0087be"}}},1802,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),v=r(d[8]),h=r(d[9]),V=r(d[10]),p=t(r(d[11])),y=t(r(d[12])),I=t(r(d[13])),b=t(r(d[14])),P=r(d[15]);function D(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var C='ios'===v.Platform.OS,S=(function(t){(0,s.default)(k,t);var V,S,T=(V=k,S=D(),function(){var t,n=(0,f.default)(V);if(S){var l=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function k(t){var n;(0,l.default)(this,k),(n=T.call(this,t)).announceValue=n.announceValue.bind((0,o.default)(n)),n.onDecrementValue=n.onDecrementValue.bind((0,o.default)(n)),n.onDecrementValuePressIn=n.onDecrementValuePressIn.bind((0,o.default)(n)),n.onIncrementValue=n.onIncrementValue.bind((0,o.default)(n)),n.onIncrementValuePressIn=n.onIncrementValuePressIn.bind((0,o.default)(n)),n.onPressOut=n.onPressOut.bind((0,o.default)(n));var u=t.value,s=t.defaultValue,c=t.min,f=u||s||c;return n.state={inputValue:f,stepperValue:f},n}return(0,u.default)(k,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),clearInterval(this.interval),clearTimeout(this.timeoutAnnounceValue)}},{key:"onIncrementValue",value:function(){var t=this.props,n=t.step,l=t.max,u=t.onChange,o=t.value,s=t.decimalNum,c=(0,P.toFixed)(o+n,s);(c<=l||void 0===l)&&(u(c),this.setState({inputValue:c}),this.announceValue(c))}},{key:"onDecrementValue",value:function(){var t=this.props,n=t.step,l=t.min,u=t.onChange,o=t.value,s=t.decimalNum,c=(0,P.toFixed)(o-n,s);c>=l&&(u(c),this.setState({inputValue:c}),this.announceValue(c))}},{key:"onIncrementValuePressIn",value:function(){var t=this;this.onIncrementValue(),this.timeout=setTimeout(function(){t.startPressInterval(t.onIncrementValue)},500)}},{key:"onDecrementValuePressIn",value:function(){var t=this;this.onDecrementValue(),this.timeout=setTimeout(function(){t.startPressInterval(t.onDecrementValue)},500)}},{key:"onPressOut",value:function(){clearTimeout(this.timeout),clearInterval(this.interval)}},{key:"startPressInterval",value:function(t){var n=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,u=0;this.interval=setInterval(function(){t(),10===(u+=1)&&(clearInterval(n.interval),n.startPressInterval(t,l/2))},l)}},{key:"announceValue",value:function(t){var n=this.props.label;'ios'===v.Platform.OS&&(clearTimeout(this.timeoutAnnounceValue),this.timeoutAnnounceValue=setTimeout(function(){v.AccessibilityInfo.announceForAccessibility(t+" "+n)},300))}},{key:"render",value:function(){var t=this,l=this.props,u=l.label,o=l.icon,s=l.min,c=l.max,f=l.value,V=l.separatorType,P=l.children,D=l.shouldDisplayTextInput,S=void 0!==D&&D,T=l.preview,k=l.onChange,A=l.decimalNum,O=l.cellContainerStyle,R=this.state.inputValue,w=f===s,x=f===c,E=[I.default.cellLabel,o?{}:I.default.cellLabelNoIcon],N=(0,h.sprintf)((0,h.__)('%1$s. Current value is %2$s'),u,f),_=[I.default.rowContainer,C?I.default.containerIOS:I.default.containerAndroid];return(0,n.createElement)(v.View,{accessible:!0,accessibilityRole:"adjustable",accessibilityLabel:N,accessibilityActions:[{name:'increment'},{name:'decrement'}],onAccessibilityAction:function(n){switch(n.nativeEvent.actionName){case'increment':t.onIncrementValue();break;case'decrement':t.onDecrementValue()}}},(0,n.createElement)(p.default,{accessibilityRole:"none",accessible:!1,cellContainerStyle:[I.default.cellContainerStyle,T&&I.default.columnContainer,O],cellRowContainerStyle:T?_:I.default.cellRowStyles,disabled:!0,editable:!1,icon:o,label:u,labelStyle:E,leftAlign:!0,separatorType:V},(0,n.createElement)(v.View,{style:T&&_},T,(0,n.createElement)(y.default,{isMaxValue:x,isMinValue:w,onPressInDecrement:this.onDecrementValuePressIn,onPressInIncrement:this.onIncrementValuePressIn,onPressOut:this.onPressOut,value:f,shouldDisplayTextInput:S},S&&(0,n.createElement)(b.default,{label:u,onChange:k,defaultValue:""+R,value:R,min:s,step:1,decimalNum:A},P)))))}}]),k})(n.Component);S.defaultProps={step:1};var T=(0,V.withPreferredColorScheme)(S);e.default=T},1803,[5,946,7,42,60,57,59,56,25,1027,1116,1783,1804,1805,1799,1800]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),s=r(d[4]),u=t(r(d[5]));var c=(0,o.withPreferredColorScheme)(function(t){var o=t.getStylesFromColorScheme,c=t.isMaxValue,f=t.isMinValue,y=t.onPressInDecrement,v=t.onPressInIncrement,P=t.onPressOut,p=t.value,I=t.children,b=t.shouldDisplayTextInput,h=o(u.default.value,u.default.valueTextDark),E=o(u.default.button,u.default.buttonDark);return(0,l.createElement)(n.View,{style:u.default.container},!b&&(0,l.createElement)(n.Text,{style:h},p),I,(0,l.createElement)(n.TouchableOpacity,{disabled:f,onPressIn:y,onPressOut:P,style:[E,f?{opacity:.4}:null]},(0,l.createElement)(s.Icon,{icon:s.minus,size:24,color:E.color})),(0,l.createElement)(n.TouchableOpacity,{disabled:c,onPressIn:v,onPressOut:P,style:[E,c?{opacity:.4}:null]},(0,l.createElement)(s.Icon,{icon:s.plus,size:24,color:E.color})))});e.default=c},1804,[5,946,25,1116,1247,1805]); -__d(function(g,r,i,a,m,e,d){m.exports={container:{flexGrow:1,flexDirection:"row",alignItems:"center",minHeight:48,justifyContent:"flex-end"},rowContainer:{flexDirection:"row",alignItems:"center"},columnContainer:{marginTop:13,flexDirection:"column"},containerIOS:{paddingTop:6,paddingBottom:6},containerAndroid:{paddingTop:8,paddingBottom:8},cellContainerStyles:{flexDirection:"row",alignItems:"flex-start"},cellRowStyles:{flexShrink:1,minHeight:48,alignItems:"center",justifyContent:"space-between"},cellLabel:{flexGrow:1,flexShrink:1,flexBasis:0},cellLabelNoIcon:{marginLeft:0},button:{width:32,height:32,backgroundColor:"#f3f6f8",color:"#0087be",borderRadius:16,marginLeft:12,alignItems:"center",justifyContent:"center"},buttonNoBg:{width:32,height:32,color:"#87a6bc",alignItems:"center",justifyContent:"center"},buttonNoBgTextDark:{color:"rgba(255, 255, 255, 0.85)"},buttonDark:{backgroundColor:"rgba(255, 255, 255, 0.1)",color:"#5198d9"},value:{color:"#2e4453",fontSize:16},spacings:{marginLeft:12,marginRight:12},valueTextDark:{color:"rgba(255, 255, 255, 0.6)"}}},1805,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),c=r(d[2]),o=r(d[3]),u=t(r(d[4]));var f=(0,o.withPreferredColorScheme)(function(t){var o=t.size,f=t.showHandle,h=void 0===f||f,n=t.getStylesFromColorScheme,s=o.height,v=n(u.default.staticSpacer,u.default.staticDarkSpacer);return(0,l.createElement)(c.View,{style:[v,h&&u.default.selectedSpacer,{height:s}]})});e.default=f},1806,[5,946,25,1116,1807]); -__d(function(g,r,i,a,m,e,d){m.exports={staticSpacer:{height:20,backgroundColor:"transparent",borderWidth:1,borderColor:"#e2e4e7",borderStyle:"dashed",borderRadius:1},staticDarkSpacer:{borderWidth:1,borderColor:"rgba(226, 228, 231, 0.3)",borderStyle:"dashed"},selectedSpacer:{borderWidth:2,borderColor:"#5198d9",borderStyle:"solid"}}},1807,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),f=t(r(d[2])),l=t(r(d[3]));var n=function(t){var n=(0,f.default)({},t);return(0,u.createElement)(l.default,n)};e.default=n},1808,[5,946,24,1809]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),n=r(d[4]),o=t(r(d[5])),c=t(r(d[6]));var v=(0,n.withPreferredColorScheme)(function(t){var n=t.textAlign,v=void 0===n?'center':n,s=(0,f.default)(t,["textAlign"]);return(0,l.createElement)(o.default,(0,u.default)({},s,{editable:!1,value:'',accessibilityRole:'text',labelStyle:[c.default.footerMessageCell,{textAlign:v}]}))});e.default=v},1809,[5,946,24,67,1116,1783,1784]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),t=o(r(d[2])),n=o(r(d[3])),c=o(r(d[4]));var u=function(o){var u=o.label,f=o.onPress,s=o.color,v=o.withColorIndicator,b=(0,n.default)(o,["label","onPress","color","withColorIndicator"]);return(0,l.createElement)(c.default,(0,t.default)({label:u,onPress:f,color:s,withColorIndicator:v},b))};e.default=u},1810,[5,946,24,67,1811]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.color,b=t.withColorIndicator,h=void 0===b||b,y=(0,c.default)(t,["color","withColorIndicator"]);return(0,o.createElement)(s.default,(0,l.default)({},y,{accessibilityRole:'button',accessibilityHint:(0,n.__)('Double tap to go to color settings'),editable:!1,value:h&&!v&&(0,n.__)('Default')}),h&&v&&(0,o.createElement)(f.ColorIndicator,{color:v,style:_.default.colorCircle}),(0,o.createElement)(u.Icon,{icon:u.chevronRight}))};var o=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),n=r(d[4]),u=r(d[5]),f=r(d[6]),s=t(r(d[7])),_=t(r(d[8]))},1811,[5,946,24,67,1027,1247,1696,1783,1784]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),s=r(d[4]),u=t(r(d[5])),_=[{label:(0,n.__)('Newest to oldest'),value:'date/desc'},{label:(0,n.__)('Oldest to newest'),value:'date/asc'},{label:(0,n.__)('A \u2192 Z'),value:'title/asc'},{label:(0,n.__)('Z \u2192 A'),value:'title/desc'}],c=(0,l.memo)(function(t){var c=t.categoriesList,b=t.selectedCategoryId,v=t.numberOfItems,C=t.order,f=t.orderBy,y=t.maxItems,O=void 0===y?100:y,h=t.minItems,I=void 0===h?1:h,p=t.onCategoryChange,A=t.onNumberOfItemsChange,E=t.onOrderChange,L=t.onOrderByChange,N=(0,l.useCallback)(function(t){var l=t.split('/'),n=(0,o.default)(l,2),s=n[0],u=n[1];u!==C&&E(u),s!==f&&L(s)},[C,f,L,E]);return[E&&L&&(0,l.createElement)(s.SelectControl,{label:(0,n.__)('Order by'),value:f+"/"+C,options:_,onChange:N}),p&&(0,l.createElement)(u.default,{categoriesList:c,label:(0,n.__)('Category'),noOptionLabel:(0,n.__)('All'),selectedCategoryId:b,onChange:p}),A&&(0,l.createElement)(s.RangeControl,{label:(0,n.__)('Number of items'),value:v,onChange:A,min:I,max:O,required:!0})]});e.default=c},1812,[5,946,36,1027,1696,1813]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var s=t.label,b=t.noOptionLabel,f=t.categoriesList,C=t.selectedCategoryId,L=t.onChange,p=(0,o.default)(t,["label","noOptionLabel","categoriesList","selectedCategoryId","onChange"]),v=(0,n.useMemo)(function(){return(0,u.buildTermsTree)(f)},[f]);return(0,n.createElement)(c.default,(0,l.default)({label:s,noOptionLabel:b,onChange:L},{tree:v,selectedId:C},p))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),u=r(d[4]),c=t(r(d[5]))},1813,[5,946,24,67,1814,1815]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.buildTermsTree=function(t){var n=t.map(function(t){return u({children:[],parent:null},t)}),o=(0,c.groupBy)(n,'parent');if(o.null&&o.null.length)return n;return(function t(n){return n.map(function(n){var c=o[n.id];return u(u({},n),{},{children:c&&c.length?t(c):[]})})})(o[0]||[])};var n=t(r(d[1])),c=r(d[2]);function o(t,n){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),c.push.apply(c,o)}return c}function u(t){for(var c=1;c1&&void 0!==arguments[1]?arguments[1]:0;return(0,c.flatMap)(n,function(n){return[{value:n.id,label:(0,c.repeat)("\xa0",3*t)+(0,c.unescape)(n.name)}].concat((0,u.default)(v(n.children||[],t+1)))})}},1815,[5,946,24,67,14,1068,1696]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),o=r(d[3]),l=r(d[4]),c=r(d[5]),s=t(r(d[6])),f=function(t){var f=t.onNoticeHidden,v=t.content,E=t.id,w=(0,n.useState)(o.Dimensions.get('window').width),h=(0,u.default)(w,2),S=h[0],y=h[1],D=(0,n.useState)(!0),b=(0,u.default)(D,2),p=b[0],P=b[1],T=(0,n.useRef)(new o.Animated.Value(0)).current,V=(0,n.useRef)(null),k='ios'===o.Platform.OS,A=function(){y(o.Dimensions.get('window').width)};(0,n.useEffect)(function(){return o.Dimensions.addEventListener('change',A),function(){o.Dimensions.removeEventListener('change',A)}},[]),(0,n.useEffect)(function(){return _(),function(){clearTimeout(null==V?void 0:V.current)}},[p,E]);var R=function(){P(!1)},_=function(){o.Animated.timing(T,{toValue:p?1:0,duration:p?300:150,useNativeDriver:!0,easing:o.Easing.out(o.Easing.quad)}).start(function(){p&&f&&(V.current=setTimeout(function(){R()},3e3)),!p&&f&&f(E)})},x=(0,c.usePreferredColorSchemeStyle)(s.default.noticeSolid,s.default.noticeSolidDark),C=(0,c.usePreferredColorSchemeStyle)(s.default.text,s.default.textDark);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.Animated.View,{style:[s.default.notice,!k&&x,{width:S,transform:[{translateY:T.interpolate({inputRange:[0,1],outputRange:[-24,0]})}]}]},(0,n.createElement)(o.TouchableWithoutFeedback,{onPress:R},(0,n.createElement)(o.View,{style:s.default.noticeContent},(0,n.createElement)(o.Text,{style:C},v))),k&&(0,n.createElement)(l.BlurView,{style:s.default.blurBackground,blurType:"prominent",blurAmount:10})))};e.default=f},1816,[5,946,36,25,1817,1116,1820]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),u=t(r(d[1])),f=t(r(d[2]));m.exports={BlurView:u.default,VibrancyView:f.default}},1817,[5,1818,1819]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=n(r(d[2])),l=n(r(d[3])),u=n(r(d[4])),c=n(r(d[5])),f=n(r(d[6])),p=n(r(d[7])),s=n(r(d[8])),h=t(r(d[9])),y=n(r(d[10])),b=r(d[11]);function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function v(t){for(var n=1;n1&&!1!==l}function o(l){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,u=String(l).trim(),o=parseFloat(u,10);o=isNaN(o)?'':o;var s=u.match(/[\d.\-\+]*\s*(.*)/)[1],U=void 0!==s?s:'';if(U=U.toLowerCase(),f(t)){var c=t.find(function(l){return l.value===U});U=null==c?void 0:c.value}else U=v.value;return[o,U]}e.DEFAULT_UNIT=v},1826,[5,36,1068]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]);var o=function(o){var u=o.children;return(0,n.createElement)(t.View,{pointerEvents:"none"},u)};e.default=o},1827,[946,25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]),o=(0,t.createHigherOrderComponent)(function(o){return function(u){var c=(0,t.useConstrainedTabbing)();return(0,n.createElement)("div",{ref:c,tabIndex:"-1"},(0,n.createElement)(o,u))}},'withConstrainedTabbing');e.default=o},1828,[946,1116]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),s=t(r(d[7])),p=t(r(d[8])),y=r(d[9]),h=r(d[10]);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}e.default=function(t){return(0,h.createHigherOrderComponent)(function(h){return(function(v){(0,c.default)(C,v);var k,R,S=(k=C,R=b(),function(){var t,n=(0,p.default)(k);if(R){var l=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function C(){var t;return(0,o.default)(this,C),(t=S.apply(this,arguments)).nodeRef=t.props.node,t.state={fallbackStyles:void 0,grabStylesCompleted:!1},t.bindRef=t.bindRef.bind((0,u.default)(t)),t}return(0,f.default)(C,[{key:"bindRef",value:function(t){t&&(this.nodeRef=t)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var n=this.state,l=n.grabStylesCompleted,o=n.fallbackStyles;if(this.nodeRef&&!l){var f=t(this.nodeRef,this.props);(0,y.isEqual)(f,o)||this.setState({fallbackStyles:f,grabStylesCompleted:!!(0,y.every)(f)})}}},{key:"render",value:function(){var t=(0,n.createElement)(h,(0,l.default)({},this.props,this.state.fallbackStyles));return this.props.node?t:(0,n.createElement)("div",{ref:this.bindRef}," ",t," ")}}]),C})(n.Component)},'withFallbackStyles')}},1829,[5,946,24,7,42,60,57,59,56,1068,1116]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,p.createHigherOrderComponent)(function(p){var k,R='core/with-filters/'+t;function A(){void 0===k&&(k=(0,h.applyFilters)(t,p))}var _=(function(t){(0,u.default)(w,t);var p,y,_=(p=w,y=v(),function(){var t,n=(0,s.default)(p);if(y){var o=(0,s.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function w(){var t;return(0,o.default)(this,w),t=_.apply(this,arguments),A(),t}return(0,c.default)(w,[{key:"componentDidMount",value:function(){w.instances.push(this),1===w.instances.length&&((0,h.addAction)('hookRemoved',R,D),(0,h.addAction)('hookAdded',R,D))}},{key:"componentWillUnmount",value:function(){w.instances=(0,l.without)(w.instances,this),0===w.instances.length&&((0,h.removeAction)('hookRemoved',R),(0,h.removeAction)('hookAdded',R))}},{key:"render",value:function(){return(0,n.createElement)(k,this.props)}}]),w})(n.Component);_.instances=[];var w=(0,l.debounce)(function(){k=(0,h.applyFilters)(t,p),_.instances.forEach(function(t){t.forceUpdate()})},y);function D(n){n===t&&w()}return _},'withFilters')};var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),s=t(r(d[6])),l=r(d[7]),h=r(d[8]),p=r(d[9]);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var y=16},1830,[5,946,7,42,57,59,56,1068,4,1116]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),l=r(d[4]),c=r(d[5]),s=(0,c.createHigherOrderComponent)(function(t){return function(s){var f=(0,u.useState)(),v=(0,o.default)(f,2),O=v[0],_=v[1],h=(0,u.useCallback)(function(t){return _(function(){return(null==t?void 0:t.handleFocusOutside)?t.handleFocusOutside.bind(t):void 0})},[]);return(0,u.createElement)(l.View,(0,c.__experimentalUseFocusOutside)(O),(0,u.createElement)(t,(0,n.default)({ref:h},s)))}},'withFocusOutside');e.default=s},1831,[5,946,24,36,25,1116]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Provider=e.default=void 0;var t=r(d[1]),o=r(d[2]),u=n(r(d[3]));var c=(0,o.createHigherOrderComponent)(function(n){var u,c=function(){var n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onFocusReturn;return function(u){return function(c){var v=(0,o.useFocusReturn)(n);return(0,t.createElement)("div",{ref:v},(0,t.createElement)(u,c))}}};if((u=n)instanceof t.Component||'function'==typeof u){var v=n;return c()(v)}return c(n)},'withFocusReturn');e.default=c;e.Provider=function(n){var t=n.children;return(0,u.default)('wp.components.FocusReturnProvider component',{hint:'This provider is not used anymore. You can just remove it from your codebase'}),t}},1832,[5,946,1116,1111]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),l=t(r(d[7])),p=t(r(d[8])),v=t(r(d[9])),h=t(r(d[10])),y=r(d[11]),N=r(d[12]),O=t(r(d[13]));function b(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function j(t){for(var o=1;o0&&(0,o.createElement)(O.default,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),E})(o.Component)});e.default=P},1833,[5,946,24,14,66,7,42,60,57,59,56,1231,1116,1821]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=n(r(d[2])),o=r(d[3]),c=r(d[4]),s=(0,o.createHigherOrderComponent)(function(n){return function(s){return(0,t.createElement)(n,(0,u.default)({},s,{speak:c.speak,debouncedSpeak:(0,o.useDebounce)(c.speak,500)}))}},'withSpokenMessages');e.default=s},1834,[5,946,24,1116,1835]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.speak=function(n,u){n=(0,t.default)(n)};var t=n(r(d[1]))},1835,[5,1836]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){t=t.replace(/<[^<>]+>/g,' '),n===t&&(t+="\xa0");return n=t,t};var n=''},1836,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),h=t(r(d[6])),c=t(r(d[7])),f=t(r(d[8])),S=t(r(d[9])),b=t(r(d[10])),y=r(d[11]),p=t(r(d[12])),v=t(r(d[13])),H=r(d[14]),B=r(d[15]),C=t(r(d[16])),k=t(r(d[17])),w=t(r(d[18])),P=t(r(d[19])),E=t(r(d[20])),D=t(r(d[21])),M=t(r(d[22])),O=t(r(d[23])),I=t(r(d[24])),x=t(r(d[25])),A=t(r(d[26])),T=t(r(d[27])),F=t(r(d[28])),R=t(r(d[29])),V=r(d[30]);function j(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function L(t){for(var o=1;oo?this.setState({maxHeight:Math.min(.9*o,c)}):this.setState({maxHeight:Math.min(o/2-s,c)})}},{key:"onDimensionsChange",value:function(){this.onSetMaxHeight(),this.setState({bounces:!1})}},{key:"isCloseToBottom",value:function(t){var o=t.layoutMeasurement,n=t.contentOffset,l=t.contentSize;return o.height+n.y>=l.height-n.y}},{key:"isCloseToTop",value:function(t){return t.contentOffset.y<10}},{key:"onScroll",value:function(t){var o=t.nativeEvent;this.isCloseToTop(o)?this.setState({bounces:!1}):this.isCloseToBottom(o)&&this.setState({bounces:!0})}},{key:"onShouldEnableScroll",value:function(t){this.setState({scrollEnabled:t})}},{key:"onShouldSetBottomSheetMaxHeight",value:function(t){this.setState({isMaxHeightSet:t})}},{key:"isScrolling",value:function(t){this.setState({isScrolling:t})}},{key:"onHandleClosingBottomSheet",value:function(t){this.setState({handleClosingBottomSheet:t})}},{key:"onHandleHardwareButtonPress",value:function(t){this.setState({handleHardwareButtonPress:t})}},{key:"onCloseBottomSheet",value:function(){var t=this.props.onClose,o=this.state.handleClosingBottomSheet;o&&o(),t&&t(),this.onShouldSetBottomSheetMaxHeight(!0)}},{key:"setIsFullScreen",value:function(t){t!==this.state.isFullScreen&&(t?this.setState({isFullScreen:t,isMaxHeightSet:!1}):this.setState({isFullScreen:t,isMaxHeightSet:!0}))}},{key:"onHardwareButtonPress",value:function(){var t=this.props.onClose,o=this.state.handleHardwareButtonPress;if(!o||!o())return t?t():void 0}},{key:"getContentStyle",value:function(){return{paddingBottom:(this.state.safeAreaBottomInset||0)+C.default.scrollableContent.paddingBottom}}},{key:"render",value:function(){var t=this.props,l=t.title,u=void 0===l?'':l,h=t.isVisible,c=t.leftButton,f=t.rightButton,S=t.hideHeader,b=t.style,v=void 0===b?{}:b,H=t.contentStyle,B=void 0===H?{}:H,k=t.getStylesFromColorScheme,w=t.onDismiss,P=t.children,E=t.withHeaderSeparator,D=void 0!==E&&E,M=t.hasNavigation,O=(0,s.default)(t,["title","isVisible","leftButton","rightButton","hideHeader","style","contentStyle","getStylesFromColorScheme","onDismiss","children","withHeaderSeparator","hasNavigation"]),I=this.state,x=I.maxHeight,A=I.bounces,T=I.safeAreaBottomInset,F=I.safeAreaTopInset,j=I.isScrolling,W=I.scrollEnabled,U=I.isMaxHeightSet,N=I.isFullScreen,_=y.PanResponder.create({onMoveShouldSetPanResponder:function(t,o){return'ios'===y.Platform.OS&&o.dy>3&&!A&&(o.dy=0,!0)}}),z=k(C.default.background,C.default.backgroundDark),G=k(C.default.bottomSheetHeaderTitle,C.default.bottomSheetHeaderTitleDark),K={};N?K={flexGrow:1}:U&&(K={maxHeight:x});var q={disableScrollViewPanResponder:!0,bounces:A,onScroll:this.onScroll,onScrollBeginDrag:this.onScrollBeginDrag,onScrollEndDrag:this.onScrollEndDrag,scrollEventThrottle:16,contentContainerStyle:[C.default.content,S&&C.default.emptyHeader,B,N&&{flexGrow:1}],style:K,safeAreaBottomInset:T,scrollEnabled:W,automaticallyAdjustContentInsets:!1},J=M?y.View:y.ScrollView;return(0,o.createElement)(p.default,(0,n.default)({isVisible:h,style:C.default.bottomModal,animationInTiming:400,animationOutTiming:300,backdropTransitionInTiming:50,backdropTransitionOutTiming:50,backdropOpacity:.2,onBackdropPress:this.onCloseBottomSheet,onBackButtonPress:this.onHardwareButtonPress,onSwipe:this.onCloseBottomSheet,onDismiss:'ios'===y.Platform.OS?w:void 0,onModalHide:'android'===y.Platform.OS?w:void 0,swipeDirection:"down",onMoveShouldSetResponder:W&&_.panHandlers.onMoveShouldSetResponder,onMoveShouldSetResponderCapture:W&&_.panHandlers.onMoveShouldSetResponderCapture,onAccessibilityEscape:this.onCloseBottomSheet},O),(0,o.createElement)(R.default,{behavior:'ios'===y.Platform.OS&&'padding',style:L(L(L({},z),{},{borderColor:'rgba(0, 0, 0, 0.1)',marginTop:'ios'===y.Platform.OS&&N?F:0,flex:N?1:void 0},'android'===y.Platform.OS&&N?C.default.backgroundFullScreen:{}),v),keyboardVerticalOffset:-T},!('android'===y.Platform.OS&&N)&&(0,o.createElement)(y.View,{style:C.default.dragIndicator}),!S&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y.View,{style:C.default.bottomSheetHeader},(0,o.createElement)(y.View,{style:C.default.flex},c),(0,o.createElement)(y.Text,{style:G,maxFontSizeMultiplier:3},u),(0,o.createElement)(y.View,{style:C.default.flex},f)),D&&(0,o.createElement)(y.View,{style:C.default.separator})),(0,o.createElement)(J,M?{style:q.style}:q,(0,o.createElement)(V.BottomSheetProvider,{value:{shouldEnableBottomSheetScroll:this.onShouldEnableScroll,shouldEnableBottomSheetMaxHeight:this.onShouldSetBottomSheetMaxHeight,isBottomSheetContentScrolling:j,onHandleClosingBottomSheet:this.onHandleClosingBottomSheet,onHandleHardwareButtonPress:this.onHandleHardwareButtonPress,listProps:q,setIsFullScreen:this.setIsFullScreen,safeAreaBottomInset:T}},M?(0,o.createElement)(o.Fragment,null,P):(0,o.createElement)(y.TouchableHighlight,{accessible:!1},(0,o.createElement)(o.Fragment,null,P))),!M&&(0,o.createElement)(y.View,{style:{height:T||C.default.scrollableContent.paddingBottom}}))))}}]),w})(o.Component);var N=(0,B.withPreferredColorScheme)(U);N.getWidth=function(){return Math.min(y.Dimensions.get('window').width,C.default.background.maxWidth)},N.Button=k.default,N.Cell=w.default,N.CyclePickerCell=P.default,N.PickerCell=E.default,N.SwitchCell=D.default,N.RangeCell=M.default,N.ColorCell=O.default,N.LinkCell=I.default,N.LinkSuggestionItemCell=x.default,N.RadioCell=A.default,N.NavigationScreen=T.default,N.NavigationContainer=F.default;var _=N;e.default=_},1837,[5,946,24,66,67,7,42,60,57,59,56,25,1838,1862,945,1116,1784,1866,1783,1867,1792,1790,1795,1811,1868,1869,1823,1872,1957,2043,2044]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.ReactNativeModal=e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),p=n(r(d[4])),l=n(r(d[5])),c=n(r(d[6])),u=n(r(d[7])),f=n(r(d[8])),b=n(r(d[9])),h=t(r(d[10])),v=r(d[11]),w=n(r(d[12])),O=r(d[13]),y=t(r(d[14])),k=n(r(d[15]));function T(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function D(t){for(var n=1;n0)},onPanResponderMove:function(o,s){var p=1-n.getAccDistancePerDirection(s)/n.state.deviceWidth;if(n.isSwipeDirectionAllowed(s))n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity*p}),t(o,s);else if(n.props.scrollTo){var l=-s.dy;l>n.props.scrollOffsetMax&&(l-=(l-n.props.scrollOffsetMax)/2),n.props.scrollTo({y:l,animated:!1})}},onPanResponderRelease:function(t,o){if(n.getAccDistancePerDirection(o)>n.props.swipeThreshold&&n.props.onSwipe)return n.inSwipeClosingState=!0,void n.props.onSwipe();n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),v.Animated.spring(n.state.pan,{toValue:{x:0,y:0},bounciness:0}).start(),n.props.scrollOffset>n.props.scrollOffsetMax&&n.props.scrollTo({y:n.props.scrollOffsetMax,animated:!0})}})},n.getAccDistancePerDirection=function(t){switch(n.props.swipeDirection){case"up":return-t.dy;case"down":return t.dy;case"right":return t.dx;case"left":return-t.dx;default:return 0}},n.isSwipeDirectionAllowed=function(t){var o=t.dy,s=t.dx,p=o>0,l=o<0,c=s<0,u=s>0;return!("up"!==n.props.swipeDirection||!l)||(!("down"!==n.props.swipeDirection||!p)||(!("right"!==n.props.swipeDirection||!u)||!("left"!==n.props.swipeDirection||!c)))},n.buildAnimations=function(t){var o=t.animationIn,s=t.animationOut;if(P(o)){var p=JSON.stringify(o);S(p,o),o=p}if(P(s)){var l=JSON.stringify(s);S(l,s),s=l}n.animationIn=o,n.animationOut=s},n.handleDimensionsUpdate=function(t){var o=v.Dimensions.get("window").width,s=v.Dimensions.get("window").height;o===n.state.deviceWidth&&s===n.state.deviceHeight||n.setState({deviceWidth:o,deviceHeight:s})},n.open=function(){n.transitionLock||(n.transitionLock=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),n.state.isSwipeable&&n.state.pan.setValue({x:0,y:0}),n.contentRef&&n.contentRef[n.animationIn](n.props.animationInTiming).then(function(){n.transitionLock=!1,n.props.isVisible?n.props.onModalShow():n._close()}))},n._close=function(){if(!n.transitionLock){n.transitionLock=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:0},n.props.backdropTransitionOutTiming);var t=n.animationOut;n.inSwipeClosingState&&(n.inSwipeClosingState=!1,"up"===n.props.swipeDirection?t="slideOutUp":"down"===n.props.swipeDirection?t="slideOutDown":"right"===n.props.swipeDirection?t="slideOutRight":"left"===n.props.swipeDirection&&(t="slideOutLeft")),n.contentRef&&n.contentRef[t](n.props.animationOutTiming).then(function(){n.transitionLock=!1,n.props.isVisible?n.open():(n.setState({showContent:!1},function(){n.setState({isVisible:!1})}),n.props.onModalHide())})}},n.buildAnimations(t),n.state.isSwipeable&&(n.state=D(D({},n.state),{},{pan:new v.Animated.ValueXY}),n.buildPanResponder()),n.props.isVisible&&(n.state=D(D({},n.state),{},{isVisible:!0,showContent:!0})),n}return(0,c.default)(y,[{key:"componentWillReceiveProps",value:function(t){!this.state.isVisible&&t.isVisible&&this.setState({isVisible:!0,showContent:!0}),this.props.animationIn===t.animationIn&&this.props.animationOut===t.animationOut||this.buildAnimations(t),this.props.backdropOpacity!==t.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:t.backdropOpacity},this.props.backdropTransitionInTiming)}},{key:"componentDidMount",value:function(){this.state.isVisible&&this.open(),v.DeviceEventEmitter.addListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentWillUnmount",value:function(){v.DeviceEventEmitter.removeListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentDidUpdate",value:function(t,n){this.props.isVisible&&!t.isVisible?this.open():!this.props.isVisible&&t.isVisible&&this._close()}},{key:"render",value:function(){var t=this,n=this.props,p=(n.animationIn,n.animationInTiming,n.animationOut,n.animationOutTiming,n.avoidKeyboard),l=n.backdropColor,c=(n.backdropOpacity,n.backdropTransitionInTiming,n.backdropTransitionOutTiming,n.children),u=(n.isVisible,n.onModalShow,n.onBackdropPress),f=n.onBackButtonPress,b=n.useNativeDriver,w=n.style,y=(0,s.default)(n,["animationIn","animationInTiming","animationOut","animationOutTiming","avoidKeyboard","backdropColor","backdropOpacity","backdropTransitionInTiming","backdropTransitionOutTiming","children","isVisible","onModalShow","onBackdropPress","onBackButtonPress","useNativeDriver","style"]),T=this.state,R=T.deviceWidth,S=T.deviceHeight,P=[{margin:.05*R,transform:[{translateY:0}]},k.default.content,w],V={},M={};this.state.isSwipeable&&(V=D({},this.panResponder.panHandlers),M=this.state.pan.getLayout());var I=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?h.default.createElement(O.View,null):c,C=h.default.createElement(O.View,(0,o.default)({},V,{ref:function(n){return t.contentRef=n},style:[M,P],pointerEvents:"box-none",useNativeDriver:b},y),I);return h.default.createElement(v.Modal,(0,o.default)({transparent:!0,animationType:"none",visible:this.state.isVisible,onRequestClose:f},y),h.default.createElement(v.TouchableWithoutFeedback,{onPress:u},h.default.createElement(O.View,{ref:function(n){return t.backdropRef=n},useNativeDriver:b,style:[k.default.backdrop,{backgroundColor:this.state.showContent?l:"transparent",width:R,height:S}]})),p&&h.default.createElement(v.KeyboardAvoidingView,{behavior:"ios"===v.Platform.OS?"padding":null,pointerEvents:"box-none",style:P.concat([{margin:0}])},C),!p&&C)}}]),y})(h.Component);e.ReactNativeModal=V,V.propTypes={animationIn:w.default.oneOfType([w.default.string,w.default.object]),animationInTiming:w.default.number,animationOut:w.default.oneOfType([w.default.string,w.default.object]),animationOutTiming:w.default.number,avoidKeyboard:w.default.bool,backdropColor:w.default.string,backdropOpacity:w.default.number,backdropTransitionInTiming:w.default.number,backdropTransitionOutTiming:w.default.number,children:w.default.node.isRequired,isVisible:w.default.bool.isRequired,hideModalContentWhileAnimating:w.default.bool,onModalShow:w.default.func,onModalHide:w.default.func,onBackButtonPress:w.default.func,onBackdropPress:w.default.func,onSwipe:w.default.func,swipeThreshold:w.default.number,swipeDirection:w.default.oneOf(["up","down","left","right"]),useNativeDriver:w.default.bool,style:w.default.any,scrollTo:w.default.func,scrollOffset:w.default.number,scrollOffsetMax:w.default.number,supportedOrientations:w.default.arrayOf(w.default.oneOf(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"]))},V.defaultProps={animationIn:"slideInUp",animationInTiming:300,animationOut:"slideOutDown",animationOutTiming:300,avoidKeyboard:!1,backdropColor:"black",backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,onModalShow:function(){return null},onModalHide:function(){return null},isVisible:!1,hideModalContentWhileAnimating:!1,onBackdropPress:function(){return null},onBackButtonPress:function(){return null},swipeThreshold:100,useNativeDriver:!1,scrollTo:null,scrollOffset:0,scrollOffsetMax:0,supportedOrientations:["portrait","landscape"]};var M=V;e.default=M},1838,[32,5,24,67,66,7,42,57,59,56,71,25,83,1839,1860,1861]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"registerAnimation",{enumerable:!0,get:function(){return f.registerAnimation}}),Object.defineProperty(e,"initializeRegistryWithDefinitions",{enumerable:!0,get:function(){return f.initializeRegistryWithDefinitions}}),Object.defineProperty(e,"createAnimation",{enumerable:!0,get:function(){return c.default}}),e.Image=e.Text=e.View=e.createAnimatableComponent=void 0;var o=r(d[2]),u=n(r(d[3])),f=r(d[4]),l=t(r(d[5])),c=n(r(d[6]));(0,f.initializeRegistryWithDefinitions)(l);var b=u.default;e.createAnimatableComponent=b;var s=(0,u.default)(o.View);e.View=s;var v=(0,u.default)(o.Text);e.Text=v;var y=(0,u.default)(o.Image);e.Image=y},1839,[32,5,25,1840,1846,1848,1845]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n,o,V=t.displayName||t.name||'Component',E=b.Animated.createAnimatedComponent(t);return o=n=(function(t){(0,f.default)(V,t);var n,o,h=(n=V,o=w(),function(){var t,s=(0,p.default)(n);if(o){var u=(0,p.default)(this).constructor;t=Reflect.construct(s,arguments,u)}else t=s.apply(this,arguments);return(0,c.default)(this,t)});function V(t){var n;(0,s.default)(this,V),(n=h.call(this,t)).ref=null,n.handleRef=function(t){n.ref=t};var o=new b.Animated.Value(R(0,n.props.direction)),u={},f={};return t.animation&&(f=B(t.animation),u=x(f,o)),n.state={animationValue:o,animationStyle:u,compiledAnimation:f,transitionStyle:{},transitionValues:{},currentTransitionValues:{}},t.transition&&(n.state=j(j({},n.state),n.initializeTransitionState(t.transition))),n.delayTimer=null,(0,S.getAnimationNames)().forEach(function(t){t in(0,l.default)(n)||(n[t]=n.animate.bind((0,l.default)(n),t))}),n}return(0,u.default)(V,[{key:"initializeTransitionState",value:function(t){var n={},o={},s=(0,O.default)(t,this.props.style);return Object.keys(s).forEach(function(t){var u=s[t];if(-1!==D.indexOf(t)||'number'!=typeof u)n[t]=new b.Animated.Value(0),o[t]=u;else{var l=new b.Animated.Value(u);n[t]=l,o[t]=l}}),{currentTransitionValues:s,transitionStyle:o,transitionValues:n}}},{key:"getTransitionState",value:function(t){var n=this,o='string'==typeof t?[t]:t,s=this.state,u=s.transitionValues,l=s.currentTransitionValues,f=s.transitionStyle,c=o.filter(function(t){return!n.state.transitionValues[t]});if(c.length){var p=this.initializeTransitionState(c);u=j(j({},u),p.transitionValues),l=j(j({},l),p.currentTransitionValues),f=j(j({},f),p.transitionStyle)}return{transitionValues:u,currentTransitionValues:l,transitionStyle:f}}},{key:"setNativeProps",value:function(t){this.ref&&this.ref.setNativeProps(t)}},{key:"componentDidMount",value:function(){var t=this,n=this.props,o=n.animation,s=n.duration,u=n.delay,l=n.onAnimationBegin,f=n.iterationDelay;if(o){var c=function(){l(),t.startAnimation(s,0,f,function(n){return t.props.onAnimationEnd(n)}),t.delayTimer=null};u?this.delayTimer=setTimeout(c,u):c()}}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var n,o,s=this,u=t.animation,l=t.delay,f=t.duration,c=t.easing,p=t.iterationDelay,y=t.transition,v=t.onAnimationBegin;if(y){var h=(0,O.default)(y,t.style);this.transitionTo(h,f,c,l)}else n=u,o=this.props.animation,n!==o&&JSON.stringify(n)!==JSON.stringify(o)&&(u?this.delayTimer?this.setAnimation(u):(v(),this.animate(u,f,p).then(function(t){return s.props.onAnimationEnd(t)})):this.stopAnimation())}},{key:"componentWillUnmount",value:function(){this.delayTimer&&clearTimeout(this.delayTimer)}},{key:"setAnimation",value:function(t,n){var o=B(t);this.setState(function(t){return{animationStyle:x(o,t.animationValue),compiledAnimation:o}},n)}},{key:"animate",value:function(t,n,o){var s=this;return new Promise(function(u){s.setAnimation(t,function(){s.startAnimation(n,0,o,u)})})}},{key:"stopAnimation",value:function(){this.setState({scheduledAnimation:!1,animationStyle:{}}),this.state.animationValue.stopAnimation(),this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"startAnimation",value:function(t,n,o,s){var u=this,l=this.state,f=l.animationValue,c=l.compiledAnimation,p=this.props,y=p.direction,v=p.iterationCount,h=p.useNativeDriver,T=this.props.easing||c.easing||'ease',O=n||0,A=R(O,y),V=P(O,y);f.setValue(A),'string'==typeof T&&(T=k.default[T]);var S='reverse'===y||'alternate'===y&&!V||'alternate-reverse'===y&&!V;S&&(T=b.Easing.out(T));var E={toValue:V,easing:T,isInteraction:v<=1,duration:t||this.props.duration||1e3,useNativeDriver:h,delay:o||0};b.Animated.timing(f,E).start(function(n){O+=1,n.finished&&u.props.animation&&('infinite'===v||O=1?null:new Error('iterationCount must be a positive number or "infinite"')},iterationDelay:h.default.number,onAnimationBegin:h.default.func,onAnimationEnd:h.default.func,onTransitionBegin:h.default.func,onTransitionEnd:h.default.func,style:h.default.oneOfType([h.default.number,h.default.array,h.default.object]),transition:h.default.oneOfType([h.default.string,h.default.arrayOf(h.default.string)]),useNativeDriver:h.default.bool},n.defaultProps={animation:void 0,delay:0,direction:'normal',duration:void 0,easing:void 0,iterationCount:1,iterationDelay:0,onAnimationBegin:function(){},onAnimationEnd:function(){},onTransitionBegin:function(){},onTransitionEnd:function(){},style:void 0,transition:void 0,useNativeDriver:!1},o};var o=n(r(d[2])),s=n(r(d[3])),u=n(r(d[4])),l=n(r(d[5])),f=n(r(d[6])),c=n(r(d[7])),p=n(r(d[8])),y=n(r(d[9])),v=t(r(d[10])),h=n(r(d[11])),b=r(d[12]),T=n(r(d[13])),O=n(r(d[14])),A=n(r(d[15])),V=n(r(d[16])),S=r(d[17]),k=n(r(d[18]));function E(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function j(t){for(var n=1;n5&&void 0!==arguments[5]&&arguments[5],f=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,p=arguments.length>8?arguments[8]:void 0,y=s||u||f?b.Animated.timing(n,{toValue:o,delay:f,duration:s||1e3,easing:'function'==typeof u?u:k.default[u||'ease'],useNativeDriver:l}):b.Animated.spring(n,{toValue:o,useNativeDriver:l});setTimeout(function(){return c(t)},f),y.start(function(){return p(t)})}},1840,[32,5,66,7,42,60,57,59,56,24,71,83,25,1841,1842,1843,1845,1846,1847]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o={};return Object.keys(t).forEach(function(f){-1!==s.indexOf(f)?(o.transform||(o.transform=[]),o.transform.push((0,n.default)({},f,t[f]))):o[f]=t[f]}),o};var n=t(r(d[1])),s=['perspective','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','skewX','skewY','translateX','translateY']},1841,[5,66]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u){var o={},c=(0,n.default)(u);return('string'==typeof t?[t]:t).forEach(function(t){o[t]=t in c?c[t]:(0,f.default)(t,c)}),o};var n=t(r(d[1])),f=t(r(d[2]))},1842,[5,1843,1844]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=(0,n.default)({},f.StyleSheet.flatten(t));o.transform&&(o.transform.forEach(function(t){var n=Object.keys(t)[0];o[n]=t[n]}),delete o.transform);return o};var n=t(r(d[1])),f=r(d[2])},1843,[5,24,25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,f){if('backgroundColor'===o)return'rgba(0,0,0,0)';if('color'===o||-1!==o.indexOf('Color'))return'rgba(0,0,0,1)';if(0===o.indexOf('rotate')||0===o.indexOf('skew'))return'0deg';if('opacity'===o||0===o.indexOf('scale'))return 1;if('fontSize'===o)return 14;if(0===o.indexOf('margin')||0===o.indexOf('padding'))for(var l,u=0;u1?null:t}var s={}},1845,[5,1843]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.registerAnimation=u,e.getAnimationByName=function(n){return o[n]},e.getAnimationNames=function(){return Object.keys(o)},e.initializeRegistryWithDefinitions=function(n){Object.keys(n).forEach(function(o){u(o,(0,t.default)(n[o]))})};var t=n(r(d[1])),o={};function u(n,t){o[n]=t}},1846,[5,1845]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=r(d[0]),n={linear:s.Easing.linear,ease:s.Easing.bezier(.25,.1,.25,1),'ease-in':s.Easing.bezier(.42,0,1,1),'ease-out':s.Easing.bezier(0,0,.58,1),'ease-in-out':s.Easing.bezier(.42,0,.58,1),'ease-in-cubic':s.Easing.bezier(.55,.055,.675,.19),'ease-out-cubic':s.Easing.bezier(.215,.61,.355,1),'ease-in-out-cubic':s.Easing.bezier(.645,.045,.355,1),'ease-in-circ':s.Easing.bezier(.6,.04,.98,.335),'ease-out-circ':s.Easing.bezier(.075,.82,.165,1),'ease-in-out-circ':s.Easing.bezier(.785,.135,.15,.86),'ease-in-expo':s.Easing.bezier(.95,.05,.795,.035),'ease-out-expo':s.Easing.bezier(.19,1,.22,1),'ease-in-out-expo':s.Easing.bezier(1,0,0,1),'ease-in-quad':s.Easing.bezier(.55,.085,.68,.53),'ease-out-quad':s.Easing.bezier(.25,.46,.45,.94),'ease-in-out-quad':s.Easing.bezier(.455,.03,.515,.955),'ease-in-quart':s.Easing.bezier(.895,.03,.685,.22),'ease-out-quart':s.Easing.bezier(.165,.84,.44,1),'ease-in-out-quart':s.Easing.bezier(.77,0,.175,1),'ease-in-quint':s.Easing.bezier(.755,.05,.855,.06),'ease-out-quint':s.Easing.bezier(.23,1,.32,1),'ease-in-out-quint':s.Easing.bezier(.86,0,.07,1),'ease-in-sine':s.Easing.bezier(.47,0,.745,.715),'ease-out-sine':s.Easing.bezier(.39,.575,.565,1),'ease-in-out-sine':s.Easing.bezier(.445,.05,.55,.95),'ease-in-back':s.Easing.bezier(.6,-.28,.735,.045),'ease-out-back':s.Easing.bezier(.175,.885,.32,1.275),'ease-in-out-back':s.Easing.bezier(.68,-.55,.265,1.55)};e.default=n},1847,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var u=r(d[2]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}})});var o=r(d[3]);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})});var c=r(d[4]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}})});var f=r(d[5]);Object.keys(f).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}})});var l=r(d[6]);Object.keys(l).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}})});var b=r(d[7]);Object.keys(b).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}})});var _=r(d[8]);Object.keys(_).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return _[t]}})});var j=r(d[9]);Object.keys(j).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return j[t]}})});var s=r(d[10]);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})})},1848,[1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.wobble=e.tada=e.rubberBand=e.swing=e.shake=e.rotate=e.pulse=e.jello=e.flash=e.bounce=void 0;e.bounce={0:{translateY:0},.2:{translateY:0},.4:{translateY:-30},.43:{translateY:-30},.53:{translateY:0},.7:{translateY:-15},.8:{translateY:0},.9:{translateY:-4},1:{translateY:0}};e.flash={0:{opacity:1},.25:{opacity:0},.5:{opacity:1},.75:{opacity:0},1:{opacity:1}};e.jello={0:{skewX:'0deg',skewY:'0deg'},.111:{skewX:'0deg',skewY:'0deg'},.222:{skewX:'-12.5deg',skewY:'-12.5deg'},.333:{skewX:'6.25deg',skewY:'6.25deg'},.444:{skewX:'-3.125deg',skewY:'-3.125deg'},.555:{skewX:'1.5625deg',skewY:'1.5625deg'},.666:{skewX:'-0.78125deg',skewY:'-0.78125deg'},.777:{skewX:'0.390625deg',skewY:'0.390625deg'},.888:{skewX:'-0.1953125deg',skewY:'-0.1953125deg'},1:{skewX:'0deg',skewY:'0deg'}};e.pulse={0:{scale:1},.5:{scale:1.05},1:{scale:1}};e.rotate={0:{rotate:'0deg'},.25:{rotate:'90deg'},.5:{rotate:'180deg'},.75:{rotate:'270deg'},1:{rotate:'360deg'}};e.shake={0:{translateX:0},.1:{translateX:-10},.2:{translateX:10},.3:{translateX:-10},.4:{translateX:10},.5:{translateX:-10},.6:{translateX:10},.7:{translateX:-10},.8:{translateX:10},.9:{translateX:-10},1:{translateX:0}};e.swing={0:{rotate:'0deg'},.2:{rotate:'15deg'},.4:{rotate:'-10deg'},.6:{rotate:'5deg'},.8:{rotate:'-5deg'},1:{rotate:'0deg'}};e.rubberBand={0:{scaleX:1,scaleY:1},.3:{scaleX:1.25,scaleY:.75},.4:{scaleX:.75,scaleY:1.25},.5:{scaleX:1.15,scaleY:.85},.65:{scaleX:.95,scaleY:1.05},.75:{scaleX:1.05,scaleY:.95},1:{scaleX:1,scaleY:1}};e.tada={0:{scale:1,rotate:'0deg'},.1:{scale:.9,rotate:'-3deg'},.2:{scale:.9,rotate:'-3deg'},.3:{scale:1.1,rotate:'-3deg'},.4:{rotate:'3deg'},.5:{rotate:'-3deg'},.6:{rotate:'3deg'},.7:{rotate:'-3deg'},.8:{rotate:'3deg'},.9:{scale:1.1,rotate:'3deg'},1:{scale:1,rotate:'0deg'}};e.wobble={0:{translateX:0,rotate:'0deg'},.15:{translateX:-25,rotate:'-5deg'},.3:{translateX:20,rotate:'3deg'},.45:{translateX:-15,rotate:'-3deg'},.6:{translateX:10,rotate:'2deg'},.75:{translateX:-5,rotate:'-1deg'},1:{translateX:0,rotate:'0deg'}}},1849,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.bounceInLeft=e.bounceInRight=e.bounceInDown=e.bounceInUp=e.bounceIn=void 0;e.bounceIn={0:{opacity:0,scale:.3},.2:{scale:1.1},.4:{scale:.9},.6:{opacity:1,scale:1.03},.8:{scale:.97},1:{opacity:1,scale:1}};e.bounceInUp={0:{opacity:0,translateY:800},.6:{opacity:1,translateY:-25},.75:{translateY:10},.9:{translateY:-5},1:{translateY:0}};e.bounceInDown={0:{opacity:0,translateY:-800},.6:{opacity:1,translateY:25},.75:{translateY:-10},.9:{translateY:5},1:{translateY:0}};e.bounceInRight={0:{opacity:0,translateX:600},.6:{opacity:1,translateX:-20},.75:{translateX:8},.9:{translateX:-4},1:{translateX:0}};e.bounceInLeft={0:{opacity:0,translateX:-600},.6:{opacity:1,translateX:20},.75:{translateX:-8},.9:{translateX:4},1:{translateX:0}}},1850,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.bounceOutLeft=e.bounceOutRight=e.bounceOutDown=e.bounceOutUp=e.bounceOut=void 0;e.bounceOut={0:{opacity:1,scale:1},.2:{scale:.9},.5:{opacity:1,scale:1.11},.55:{scale:1.11},1:{opacity:0,scale:.3}};e.bounceOutUp={0:{opacity:1,translateY:0},.2:{opacity:1,translateY:-10},.4:{translateY:20},.45:{translateY:20},.55:{opacity:1},1:{opacity:0,translateY:-800}};e.bounceOutDown={0:{opacity:1,translateY:0},.2:{opacity:1,translateY:10},.4:{translateY:-20},.45:{translateY:-20},.55:{opacity:1},1:{opacity:0,translateY:800}};e.bounceOutRight={0:{opacity:1,translateX:0},.2:{opacity:1,translateX:10},.4:{translateX:-20},.45:{translateX:-20},.55:{opacity:1},1:{opacity:0,translateX:600}};e.bounceOutLeft={0:{opacity:1,translateX:0},.2:{opacity:1,translateX:-10},.4:{translateX:20},.45:{translateX:20},.55:{opacity:1},1:{opacity:0,translateX:-600}}},1851,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fadeInRightBig=e.fadeInLeftBig=e.fadeInUpBig=e.fadeInDownBig=e.fadeInRight=e.fadeInLeft=e.fadeInUp=e.fadeInDown=e.fadeIn=void 0;var n=t(r(d[1]));function f(t,f){return{from:(0,n.default)({opacity:0},t,f),to:(0,n.default)({opacity:1},t,0)}}e.fadeIn={from:{opacity:0},to:{opacity:1}};var I=f('translateY',-100);e.fadeInDown=I;var o=f('translateY',100);e.fadeInUp=o;var l=f('translateX',-100);e.fadeInLeft=l;var v=f('translateX',100);e.fadeInRight=v;var p=f('translateY',-500);e.fadeInDownBig=p;var s=f('translateY',500);e.fadeInUpBig=s;var B=f('translateX',-500);e.fadeInLeftBig=B;var c=f('translateX',500);e.fadeInRightBig=c},1852,[5,66]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fadeOutRightBig=e.fadeOutLeftBig=e.fadeOutUpBig=e.fadeOutDownBig=e.fadeOutRight=e.fadeOutLeft=e.fadeOutUp=e.fadeOutDown=e.fadeOut=void 0;var f=t(r(d[1]));function u(t,u){return{from:(0,f.default)({opacity:1},t,0),to:(0,f.default)({opacity:0},t,u)}}e.fadeOut={from:{opacity:1},to:{opacity:0}};var O=u('translateY',100);e.fadeOutDown=O;var n=u('translateY',-100);e.fadeOutUp=n;var o=u('translateX',-100);e.fadeOutLeft=o;var l=u('translateX',100);e.fadeOutRight=l;var v=u('translateY',500);e.fadeOutDownBig=v;var p=u('translateY',-500);e.fadeOutUpBig=p;var s=u('translateX',-500);e.fadeOutLeftBig=s;var B=u('translateX',500);e.fadeOutRightBig=B},1853,[5,66]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.flipOutY=e.flipOutX=e.flipInY=e.flipInX=void 0;e.flipInX={easing:'ease-in',style:{backfaceVisibility:'visible',perspective:400},0:{opacity:0,rotateX:'90deg'},.4:{rotateX:'-20deg'},.6:{opacity:1,rotateX:'10deg'},.8:{rotateX:'-5deg'},1:{opacity:1,rotateX:'0deg'}};e.flipInY={easing:'ease-in',style:{backfaceVisibility:'visible',perspective:400},0:{opacity:0,rotateY:'90deg'},.4:{rotateY:'-20deg'},.6:{opacity:1,rotateY:'10deg'},.8:{rotateY:'-5deg'},1:{opacity:1,rotateY:'0deg'}};e.flipOutX={style:{backfaceVisibility:'visible',perspective:400},0:{opacity:1,rotateX:'0deg'},.3:{opacity:1,rotateX:'-20deg'},1:{opacity:0,rotateX:'90deg'}};e.flipOutY={style:{backfaceVisibility:'visible',perspective:400},0:{opacity:1,rotateY:'0deg'},.3:{opacity:1,rotateY:'-20deg'},1:{opacity:0,rotateY:'90deg'}}},1854,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.lightSpeedOut=e.lightSpeedIn=void 0;e.lightSpeedIn={easing:'ease-out',0:{opacity:0,translateX:200,skewX:'-30deg'},.6:{opacity:1,translateX:0,skewX:'20deg'},.8:{skewX:'-5deg'},1:{opacity:1,translateX:0,skewX:'0deg'}};e.lightSpeedOut={easing:'ease-in',0:{opacity:1,translateX:0,skewX:'0deg'},1:{opacity:0,translateX:200,skewX:'30deg'}}},1855,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.slideInRight=e.slideInLeft=e.slideInUp=e.slideInDown=void 0;var t=n(r(d[1]));function l(n,l){return{from:(0,t.default)({},n,l),to:(0,t.default)({},n,0)}}var s=l('translateY',-100);e.slideInDown=s;var o=l('translateY',100);e.slideInUp=o;var f=l('translateX',-100);e.slideInLeft=f;var v=l('translateX',100);e.slideInRight=v},1856,[5,66]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.slideOutRight=e.slideOutLeft=e.slideOutUp=e.slideOutDown=void 0;var l=t(r(d[1]));function u(t,u){return{from:(0,l.default)({},t,0),to:(0,l.default)({},t,u)}}var s=u('translateY',100);e.slideOutDown=s;var n=u('translateY',-100);e.slideOutUp=n;var o=u('translateX',-100);e.slideOutLeft=o;var O=u('translateX',100);e.slideOutRight=O},1857,[5,66]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.zoomInRight=e.zoomInLeft=e.zoomInUp=e.zoomInDown=e.zoomIn=void 0;var t=o(r(d[1])),n=r(d[2]);function l(o,l){var c=Math.min(1,Math.max(-1,l));return{easing:n.Easing.bezier(.175,.885,.32,1),0:(0,t.default)({opacity:0,scale:.1},o,-1e3*c),.6:(0,t.default)({opacity:1,scale:.457},o,l),1:(0,t.default)({scale:1},o,0)}}e.zoomIn={from:{opacity:0,scale:.3},.5:{opacity:1},to:{opacity:1,scale:1}};var c=l('translateY',60);e.zoomInDown=c;var s=l('translateY',-60);e.zoomInUp=s;var z=l('translateX',10);e.zoomInLeft=z;var I=l('translateX',-10);e.zoomInRight=I},1858,[5,66,25]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.zoomOutRight=e.zoomOutLeft=e.zoomOutUp=e.zoomOutDown=e.zoomOut=void 0;var o=t(r(d[1])),u=r(d[2]);function c(t,c){var l=Math.min(1,Math.max(-1,c));return{easing:u.Easing.bezier(.175,.885,.32,1),0:(0,o.default)({opacity:1,scale:1},t,0),.4:(0,o.default)({opacity:1,scale:.457},t,c),1:(0,o.default)({opacity:0,scale:.1},t,-1e3*l)}}e.zoomOut={from:{opacity:1,scale:1},.5:{opacity:1,scale:.3},to:{opacity:0,scale:0}};var l=c('translateY',60);e.zoomOutDown=l;var n=c('translateY',-60);e.zoomOutUp=n;var s=c('translateX',10);e.zoomOutLeft=s;var z=c('translateX',-10);e.zoomOutRight=z},1859,[5,66,25]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.slideOutRight=e.slideOutLeft=e.slideOutUp=e.slideOutDown=e.slideInRight=e.slideInLeft=e.slideInUp=e.slideInDown=void 0;var n=t(r(d[1])),l=r(d[2]).Dimensions.get("window"),s=l.height,u=l.width,o=function(t,l,s){return{from:(0,n.default)({},t,l),to:(0,n.default)({},t,s)}},v=o("translateY",-s,0);e.slideInDown=v;var f=o("translateY",s,0);e.slideInUp=f;var O=o("translateX",-u,0);e.slideInLeft=O;var I=o("translateX",u,0);e.slideInRight=I;var h=o("translateY",0,s);e.slideOutDown=h;var w=o("translateY",0,-s);e.slideOutUp=w;var p=o("translateX",0,-u);e.slideOutLeft=p;var D=o("translateX",0,u);e.slideOutRight=D},1860,[5,66,25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({backdrop:{position:"absolute",top:0,bottom:0,left:0,right:0,opacity:0,backgroundColor:"black"},content:{flex:1,justifyContent:"center"}});e.default=t},1861,[25]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var o={};e.default=void 0;var n=t(r(d[1])),u=r(d[2]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=r(d[3]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))});var f=n.default;e.default=f},1862,[5,1863,1864,1865]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),o=r(d[3]),f=o.NativeModules.RNSafeArea,v=new o.NativeEventEmitter(f),s=new((function(){function t(){(0,n.default)(this,t)}return(0,u.default)(t,[{key:"getSafeAreaInsetsForRootView",value:function(){return f.getSafeAreaInsetsForRootView()}},{key:"addEventListener",value:function(t,n,u){return v.addListener(t,n,u)}},{key:"removeEventListener",value:function(t,n){v.removeListener(t,n)}}]),t})());e.default=s},1863,[5,7,42,25]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.withSafeArea=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'margin',o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'all',I=o,O=I.match(/^(top|bottom)(Left|Right)$/);O&&(I=O[1]+"And"+O[2],console.warn("'"+o+"' is deprecated. Use '"+I+"' instead."));var S='top'===I||'topAndLeft'===I||'topAndRight'===I||'vertical'===I||'verticalAndLeft'===I||'verticalAndRight'===I||'horizontalAndTop'===I||'all'===I,w='bottom'===I||'bottomAndLeft'===I||'bottomAndRight'===I||'vertical'===I||'verticalAndLeft'===I||'verticalAndRight'===I||'horizontalAndBottom'===I||'all'===I,j='left'===I||'topAndLeft'===I||'bottomAndLeft'===I||'horizontal'===I||'horizontalAndTop'===I||'horizontalAndBottom'===I||'verticalAndLeft'===I||'all'===I,D='right'===I||'topAndRight'===I||'bottomAndRight'===I||'horizontal'===I||'horizontalAndTop'===I||'horizontalAndBottom'===I||'verticalAndRight'===I||'all'===I;return(function(o){(0,c.default)(L,o);var I,O,z=(I=L,O=R(),function(){var t,n=(0,u.default)(I);if(O){var o=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,h.default)(this,t)});function L(){var t;(0,l.default)(this,L);for(var n=arguments.length,o=new Array(n),s=0;s0&&-1!==p;return(0,t.createElement)(f.default,(0,u.default)({onPress:function(){return b&&s(_())},editable:!1,value:b&&c[p].name},h))};var t=r(d[1]),u=n(r(d[2])),l=n(r(d[3])),o=r(d[4]),f=n(r(d[5]))},1867,[5,946,24,67,1068,1783]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var v=o.value,_=o.onPress,f=o.showIcon,s=void 0===f||f;return(0,l.createElement)(c.default,{icon:s&&t.link,label:(0,n.__)('Link to'),value:v||(0,n.__)('Search or type URL'),valueStyle:v?void 0:u,onPress:_},(0,l.createElement)(t.Icon,{icon:t.chevronRight}))};var l=r(d[1]),n=r(d[2]),t=r(d[3]),c=o(r(d[4])),u=o(r(d[5])).default.placeholderColor},1868,[5,946,1027,1247,1783,1784]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),u=r(d[3]),o=r(d[4]),s=r(d[5]),c=t(r(d[6])),f=t(r(d[7])),y=t(r(d[8])),p=r(d[9]),S={URL:o.globe,post:p.posts,page:p.pages},_=function(t){switch(t){case'mailto':return(0,u.__)('Add this email link');case'tel':return(0,u.__)('Add this telephone link');default:return(0,u.__)('Add this link')}};var h=function(t){var u=t.suggestion,o=t.onLinkPicked,h=u.title,k=u.url,v=u.type,b=u.isDirectEntry,E=b?k:h,L=b?_(v):k,P=(0,s.usePreferredColorSchemeStyle)(f.default.cellLabel,f.default.cellTextDark),T=(0,s.usePreferredColorSchemeStyle)(f.default.cellValue,f.default.cellTextDark),x=[P,y.default.titleStyle],C=[T,y.default.summaryStyle];return(0,l.createElement)(c.default,{icon:S[v]||p.empty,onPress:function(){return o(u)},separatorType:'none',cellContainerStyle:y.default.itemContainerStyle,labelStyle:y.default.hidden,valueStyle:y.default.hidden},(0,l.createElement)(n.View,{style:y.default.containerStyle},(0,l.createElement)(n.Text,{style:x,numberOfLines:1,ellipsizeMode:'middle'},E),(0,l.createElement)(n.Text,{style:C,numberOfLines:1,ellipsizeMode:'middle'},L)))};e.default=h},1869,[5,946,25,1027,1247,1116,1783,1784,1870,1871]); -__d(function(g,r,i,a,m,e,d){m.exports={titleStyle:{textAlign:"left",fontWeight:"bold"},summaryStyle:{textAlign:"left",fontSize:14,lineHeight:20},itemContainerStyle:{justifyContent:"flex-start",marginTop:10,marginBottom:10},containerStyle:{alignItems:"flex-start"},hidden:{display:"none"}}},1870,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.empty=e.refresh=e.pages=e.posts=void 0;var v=r(d[0]),t=r(d[1]),h=function(h){return(0,v.createElement)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,v.createElement)(t.Path,{d:h}))},s=h('M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z');e.posts=s;var c=h('M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z');e.pages=c;var n=h('M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z');e.refresh=n;var o=(0,v.createElement)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"});e.empty=o},1871,[946,1250]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=r(d[2]),u=r(d[3]),l=r(d[4]),c=r(d[5]),s=r(d[6]),h=t(r(d[7])),f=function(t){var f=t.children,v=t.fullScreen,x=t.isScrollable,H=t.isNested,b=(0,o.useNavigation)(),B=(0,n.useRef)({maxHeight:0}),E=(0,o.useIsFocused)(),C=(0,n.useContext)(c.BottomSheetContext),S=C.onHandleHardwareButtonPress,w=C.shouldEnableBottomSheetMaxHeight,y=C.setIsFullScreen,k=C.listProps,V=C.safeAreaBottomInset,_=(0,n.useContext)(s.BottomSheetNavigationContext).setHeight,p=(0,n.useCallback)((0,l.debounce)(_,10),[_]);(0,o.useFocusEffect)((0,n.useCallback)(function(){return S(function(){return b.canGoBack()?(w(!0),b.goBack(),!0):(S(null),!1)}),v?(_('100%'),y(!0)):0!==B.current.maxHeight&&(y(!1),_(B.current.maxHeight)),function(){}},[]));var F=function(t){var n=t.nativeEvent;if(!v){var o=n.layout.height;B.current.maxHeight!==o&&E&&(B.current.maxHeight=o,p(o))}};return(0,n.useMemo)(function(){return x||H?(0,n.createElement)(u.View,{onLayout:F},f):(0,n.createElement)(u.ScrollView,k,(0,n.createElement)(u.TouchableHighlight,{accessible:!1},(0,n.createElement)(u.View,{onLayout:F},f,!H&&(0,n.createElement)(u.View,{style:{height:V||h.default.scrollableContent.paddingBottom}}))))},[f,E,V,k])};e.default=f},1872,[5,946,1873,25,1068,1696,1955,1956]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={NavigationContainer:!0,useBackButton:!0,useScrollToTop:!0,DefaultTheme:!0,DarkTheme:!0,ThemeProvider:!0,useTheme:!0,Link:!0,useLinking:!0,useLinkTo:!0,useLinkProps:!0,useLinkBuilder:!0,ServerContainer:!0};Object.defineProperty(e,"NavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"useBackButton",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"useScrollToTop",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"DefaultTheme",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"DarkTheme",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"useLinking",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useLinkTo",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useLinkProps",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useLinkBuilder",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"ServerContainer",{enumerable:!0,get:function(){return T.default}});var u=r(d[1]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var o=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),k=t(r(d[13])),T=t(r(d[14])),h=r(d[15]);Object.keys(h).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))})},1873,[5,1874,1936,1944,1945,1939,1946,1937,1947,1948,1942,1950,1949,1951,1952,1954]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={BaseNavigationContainer:!0,createNavigatorFactory:!0,NavigationHelpersContext:!0,NavigationContext:!0,NavigationRouteContext:!0,CurrentRenderContext:!0,useNavigationBuilder:!0,useNavigation:!0,useRoute:!0,useFocusEffect:!0,useIsFocused:!0,useNavigationState:!0,getStateFromPath:!0,getPathFromState:!0,getActionFromState:!0,getFocusedRouteNameFromRoute:!0};Object.defineProperty(e,"BaseNavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"createNavigatorFactory",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"NavigationHelpersContext",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"NavigationContext",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"NavigationRouteContext",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"CurrentRenderContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useNavigationBuilder",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"useNavigation",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"useRoute",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useFocusEffect",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useIsFocused",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useNavigationState",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"getStateFromPath",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"getPathFromState",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"getActionFromState",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"getFocusedRouteNameFromRoute",{enumerable:!0,get:function(){return R.default}});var u=r(d[1]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var o=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),s=t(r(d[7])),p=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),v=t(r(d[13])),N=t(r(d[14])),F=t(r(d[15])),C=t(r(d[16])),R=t(r(d[17])),h=r(d[18]);Object.keys(h).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))})},1874,[5,1875,1883,1895,1897,1898,1899,1900,1901,1919,1920,1921,1922,1925,1926,1933,1934,1935,1910]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0});var o={CommonActions:!0,BaseRouter:!0,StackRouter:!0,StackActions:!0,TabRouter:!0,TabActions:!0,DrawerRouter:!0,DrawerActions:!0};Object.defineProperty(e,"BaseRouter",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"StackRouter",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"StackActions",{enumerable:!0,get:function(){return f.StackActions}}),Object.defineProperty(e,"TabRouter",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"TabActions",{enumerable:!0,get:function(){return b.TabActions}}),Object.defineProperty(e,"DrawerRouter",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"DrawerActions",{enumerable:!0,get:function(){return l.DrawerActions}}),e.CommonActions=void 0;var u=n(r(d[2]));e.CommonActions=u;var c=t(r(d[3])),f=n(r(d[4])),b=n(r(d[5])),l=n(r(d[6])),s=r(d[7]);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))})},1875,[5,32,1876,1877,1879,1880,1881,1882]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.goBack=function(){return{type:'GO_BACK'}},e.navigate=function(){if('string'==typeof(arguments.length<=0?void 0:arguments[0]))return{type:'NAVIGATE',payload:{name:arguments.length<=0?void 0:arguments[0],params:arguments.length<=1?void 0:arguments[1]}};var t=(arguments.length<=0?void 0:arguments[0])||{};if(!t.hasOwnProperty('key')&&!t.hasOwnProperty('name'))throw new Error('You need to specify name or key when calling navigate with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigate for usage.');return{type:'NAVIGATE',payload:t}},e.reset=function(t){return{type:'RESET',payload:t}},e.setParams=function(t){return{type:'SET_PARAMS',payload:{params:t}}}},1876,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=r(d[2]);function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function c(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:21;t--;)n+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return n}},1878,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=c(c({},s.default),{},{type:'stack',getInitialState:function(n){var o=n.routeNames,s=n.routeParamList,l=void 0!==t.initialRouteName&&o.includes(t.initialRouteName)?t.initialRouteName:o[0];return{stale:!1,type:'stack',key:"stack-"+(0,u.nanoid)(),index:0,routeNames:o,routes:[{key:l+"-"+(0,u.nanoid)(),name:l,params:s[l]}]}},getRehydratedState:function(n,o){var s=o.routeNames,l=o.routeParamList,p=n;if(!1===p.stale)return p;var y=p.routes.filter(function(t){return s.includes(t.name)}).map(function(t){return c(c({},t),{},{key:t.key||t.name+"-"+(0,u.nanoid)(),params:void 0!==l[t.name]?c(c({},l[t.name]),t.params):t.params})});if(0===y.length){var f=void 0!==t.initialRouteName?t.initialRouteName:s[0];y.push({key:f+"-"+(0,u.nanoid)(),name:f,params:l[f]})}return{stale:!1,type:'stack',key:"stack-"+(0,u.nanoid)(),index:y.length-1,routeNames:s,routes:y}},getStateForRouteNamesChange:function(n,o){var s=o.routeNames,l=o.routeParamList,p=n.routes.filter(function(t){return s.includes(t.name)});if(0===p.length){var y=void 0!==t.initialRouteName&&s.includes(t.initialRouteName)?t.initialRouteName:s[0];p.push({key:y+"-"+(0,u.nanoid)(),name:y,params:l[y]})}return c(c({},n),{},{routeNames:s,routes:p,index:Math.min(n.index,p.length-1)})},getStateForRouteFocus:function(t,n){var o=t.routes.findIndex(function(t){return t.key===n});return-1===o||o===t.index?t:c(c({},t),{},{index:o,routes:t.routes.slice(0,o+1)})},getStateForAction:function(t,l,p){var y=p.routeParamList;switch(l.type){case'REPLACE':var f=l.target===t.key&&l.source?t.routes.findIndex(function(t){return t.key===l.source}):t.index;if(-1===f)return null;var v=l.payload,k=v.name,P=v.key,O=v.params;return t.routeNames.includes(k)?c(c({},t),{},{routes:t.routes.map(function(t,n){return n===f?{key:void 0!==P?P:k+"-"+(0,u.nanoid)(),name:k,params:void 0!==y[k]?c(c({},y[k]),O):O}:t})}):null;case'PUSH':return t.routeNames.includes(l.payload.name)?c(c({},t),{},{index:t.index+1,routes:[].concat((0,n.default)(t.routes),[{key:void 0===l.payload.key?l.payload.name+"-"+(0,u.nanoid)():l.payload.key,name:l.payload.name,params:void 0!==y[l.payload.name]?c(c({},y[l.payload.name]),l.payload.params):l.payload.params}])}):null;case'POP':var h=l.target===t.key&&l.source?t.routes.findIndex(function(t){return t.key===l.source}):t.index;if(h>0){var x=Math.max(h-l.payload.count+1,1),N=t.routes.slice(0,x).concat(t.routes.slice(h+1));return c(c({},t),{},{index:N.length-1,routes:N})}return null;case'POP_TO_TOP':return o.getStateForAction(t,{type:'POP',payload:{count:t.routes.length-1}},p);case'NAVIGATE':if(l.payload.key||l.payload.name&&t.routeNames.includes(l.payload.name)){var b=-1;if(t.routes[t.index].name===l.payload.name&&void 0===l.payload.key||t.routes[t.index].key===l.payload.key)b=t.index;else for(var S=t.routes.length-1;S>=0;S--)if(t.routes[S].name===l.payload.name&&void 0===l.payload.key||t.routes[S].key===l.payload.key){b=S;break}return-1===b&&l.payload.key&&void 0===l.payload.name?null:-1===b&&void 0!==l.payload.name?o.getStateForAction(t,{type:'PUSH',payload:{key:l.payload.key,name:l.payload.name,params:l.payload.params}},p):c(c({},t),{},{index:b,routes:[].concat((0,n.default)(t.routes.slice(0,b)),[void 0!==l.payload.params?c(c({},t.routes[b]),{},{params:c(c({},t.routes[b].params),l.payload.params)}):t.routes[b]])})}return null;case'GO_BACK':return t.index>0?o.getStateForAction(t,{type:'POP',payload:{count:1},target:l.target,source:l.source},p):null;default:return s.default.getStateForAction(t,l)}},actionCreators:p});return o},e.StackActions=void 0;var n=t(r(d[1])),o=t(r(d[2])),u=r(d[3]),s=t(r(d[4]));function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function c(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:1}}},popToTop:function(){return{type:'POP_TO_TOP'}}};e.StackActions=p},1879,[5,14,66,1878,1877]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.initialRouteName,s=t.backBehavior,l=void 0===s?'history':s;return y(y({},u.default),{},{type:'tab',getInitialState:function(t){var u=t.routeNames,s=t.routeParamList,y=void 0!==n&&u.includes(n)?u.indexOf(n):0,c=u.map(function(t){return{name:t,key:t+"-"+(0,o.nanoid)(),params:s[t]}}),p=f(c,y,l,n);return{stale:!1,type:'tab',key:"tab-"+(0,o.nanoid)(),index:y,routeNames:u,history:p,routes:c}},getRehydratedState:function(t,u){var s,c,p=u.routeNames,h=u.routeParamList,v=t;if(!1===v.stale)return v;var k=p.map(function(t){var n=v.routes.find(function(n){return n.name===t});return y(y({},n),{},{name:t,key:n&&n.name===t&&n.key?n.key:t+"-"+(0,o.nanoid)(),params:void 0!==h[t]?y(y({},h[t]),n?n.params:void 0):n?n.params:void 0})}),b=Math.min(Math.max('number'==typeof v.index?v.index:p.indexOf(v.routes[0].name),0),k.length-1),O=null==(s=v.history)?void 0:s.filter(function(t){return k.find(function(n){return n.key===t.key})});return(null==(c=O)?void 0:c.length)||(O=f(k,b,l,n)),{stale:!1,type:'tab',key:"tab-"+(0,o.nanoid)(),index:b,routeNames:p,history:O,routes:k}},getStateForRouteNamesChange:function(t,u){var s=u.routeNames,c=u.routeParamList,p=s.map(function(n){return t.routes.find(function(t){return t.name===n})||{name:n,key:n+"-"+(0,o.nanoid)(),params:c[n]}}),h=Math.max(0,s.indexOf(t.routes[t.index].name)),v=t.history.filter(function(t){return'route'!==t.type||p.find(function(n){return n.key===t.key})});return v.length||(v=f(p,h,l,n)),y(y({},t),{},{history:v,routeNames:s,routes:p,index:h})},getStateForRouteFocus:function(t,o){var u=t.routes.findIndex(function(t){return t.key===o});return-1===u||u===t.index?t:p(t,u,l,n)},getStateForAction:function(t,o){switch(o.type){case'JUMP_TO':case'NAVIGATE':var s=-1;return-1===(s='NAVIGATE'===o.type&&o.payload.key?t.routes.findIndex(function(t){return t.key===o.payload.key}):t.routes.findIndex(function(t){return t.name===o.payload.name}))?null:p(y(y({},t),{},{routes:void 0!==o.payload.params?t.routes.map(function(t,n){return n===s?y(y({},t),{},{params:y(y({},t.params),o.payload.params)}):t}):t.routes}),s,l,n);case'GO_BACK':if(1===t.history.length)return null;var c=t.history[t.history.length-2].key,f=t.routes.findIndex(function(t){return t.key===c});return-1===f?null:y(y({},t),{},{history:t.history.slice(0,-1),index:f});default:return u.default.getStateForAction(t,o)}},shouldActionChangeFocus:function(t){return'NAVIGATE'===t.type},actionCreators:c})},e.TabActions=void 0;var n=t(r(d[1])),o=r(d[2]),u=t(r(d[3]));function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function y(t){for(var o=1;o0;c--)y.unshift({type:"route",key:t[c-1].key});break;case'initialRoute':(s=-1===(s=t.findIndex(function(t){return t.name===u}))?0:s)!==n&&y.unshift({type:"route",key:t[s].key})}return y},p=function(t,n,o,u){var s;if('history'===o){var c=t.routes[n].key;s=t.history.filter(function(t){return'route'===t.type&&t.key!==c}).concat({type:"route",key:c})}else s=f(t.routes,n,o,u);return y(y({},t),{},{index:n,history:s})}},1880,[5,66,1878,1877]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.openByDefault,u=(0,o.default)(t,["openByDefault"]),c=(0,s.default)(u);return l(l({},c),{},{type:'drawer',getInitialState:function(t){var o=t.routeNames,u=t.routeParamList,s=c.getInitialState({routeNames:o,routeParamList:u});return n&&(s=w(s)),l(l({},s),{},{stale:!1,type:'drawer',key:"drawer-"+(0,f.nanoid)()})},getRehydratedState:function(t,n){var o=n.routeNames,u=n.routeParamList;if(!1===t.stale)return t;var s=c.getRehydratedState(t,{routeNames:o,routeParamList:u});return O(t)&&(s=w(s)),l(l({},s),{},{type:'drawer',key:"drawer-"+(0,f.nanoid)()})},getStateForRouteFocus:function(t,o){var u=c.getStateForRouteFocus(t,o);return n?w(u):v(u)},getStateForAction:function(t,o,u){switch(o.type){case'OPEN_DRAWER':return w(t);case'CLOSE_DRAWER':return v(t);case'TOGGLE_DRAWER':return O(t)?v(t):w(t);case'GO_BACK':if(n){if(!O(t))return w(t)}else if(O(t))return v(t);return c.getStateForAction(t,o,u);default:return c.getStateForAction(t,o,u)}},actionCreators:p})},e.DrawerActions=void 0;var o=n(r(d[2])),u=n(r(d[3])),c=n(r(d[4])),f=r(d[5]),s=t(r(d[6]));function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function l(t){for(var n=1;n3&&void 0!==arguments[3]?arguments[3]:'vertical',l=t.title,u=B(t,n,'accessibility'),f=void 0!==o,p=u&&u!==l;if(f&&'vertical'===c)return p?(0,s.sprintf)((0,s.__)('%1$s Block. Row %2$d. %3$s'),l,o,u):(0,s.sprintf)((0,s.__)('%1$s Block. Row %2$d'),l,o);if(f&&'horizontal'===c)return p?(0,s.sprintf)((0,s.__)('%1$s Block. Column %2$d. %3$s'),l,o,u):(0,s.sprintf)((0,s.__)('%1$s Block. Column %2$d'),l,o);if(p)return(0,s.sprintf)((0,s.__)('%1$s Block. %2$s'),l,u);return(0,s.sprintf)((0,s.__)('%s Block'),l)},e.sanitizeBlockAttributes=function(t,n){var o=(0,b.getBlockType)(t);if(void 0===o)throw new Error("Block type '"+t+"' is not registered.");return(0,c.reduce)(o.attributes,function(t,o,c){var l=n[c];return void 0!==l?t[c]=l:o.hasOwnProperty('default')&&(t[c]=o.default),-1!==['node','children'].indexOf(o.source)&&('string'==typeof t[c]?t[c]=[t[c]]:Array.isArray(t[c])||(t[c]=[])),t},{})};var o=n(r(d[2])),c=r(d[3]),l=t(r(d[4])),u=r(d[5]),s=r(d[6]),f=r(d[7]),p=r(d[8]),b=r(d[9]),v=r(d[10]);function k(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function y(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:'visual';if('core/template-part'===t.name&&n.slug){var l,u=(0,p.select)('core').getEntityRecord('postType','wp_template_part',n.theme+'//'+n.slug);if(u)return(0,c.startCase)((null==(l=u.title)?void 0:l.rendered)||u.slug)}var s=t.__experimentalLabel,b=t.title,v=s&&s(n,{context:o});return v?(0,f.__unstableStripHTML)(v):b}},1644,[32,5,66,1068,1645,946,1027,1646,1076,1246,1230]); +__d(function(g,r,i,a,m,e,d){!(function(t){var n=/^\s+/,s=/\s+$/,o=0,f=t.round,h=t.min,l=t.max,u=t.random;function c(t,n){if(t=t||'',n=n||{},t instanceof c)return t;if(!(this instanceof c))return new c(t,n);var s=b(t);this._originalInput=t,this._r=s.r,this._g=s.g,this._b=s.b,this._a=s.a,this._roundA=f(100*this._a)/100,this._format=n.format||s.format,this._gradientType=n.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=s.ok,this._tc_id=o++}function b(t){var n,s,o,f={r:0,g:0,b:0},u=1,c=null,b=null,_=null,v=!1,A=!1;return"string"==typeof t&&(t=W(t)),"object"==typeof t&&(Q(t.r)&&Q(t.g)&&Q(t.b)?(n=t.r,s=t.g,o=t.b,f={r:255*P(n,255),g:255*P(s,255),b:255*P(o,255)},v=!0,A="%"===String(t.r).substr(-1)?"prgb":"rgb"):Q(t.h)&&Q(t.s)&&Q(t.v)?(c=V(t.s),b=V(t.v),f=y(t.h,c,b),v=!0,A="hsv"):Q(t.h)&&Q(t.s)&&Q(t.l)&&(c=V(t.s),_=V(t.l),f=p(t.h,c,_),v=!0,A="hsl"),t.hasOwnProperty("a")&&(u=t.a)),u=O(u),{ok:v,format:t.format||A,r:h(255,l(f.r,0)),g:h(255,l(f.g,0)),b:h(255,l(f.b,0)),a:u}}function _(t,n,s){t=P(t,255),n=P(n,255),s=P(s,255);var o,f,u=l(t,n,s),c=h(t,n,s),b=(u+c)/2;if(u==c)o=f=0;else{var _=u-c;switch(f=b>.5?_/(2-u-c):_/(u+c),u){case t:o=(n-s)/_+(n1&&(s-=1),s<.16666666666666666?t+6*(n-t)*s:s<.5?n:s<.6666666666666666?t+(n-t)*(.6666666666666666-s)*6:t}if(t=P(t,360),n=P(n,100),s=P(s,100),0===n)o=f=h=s;else{var u=s<.5?s*(1+n):s+n-s*n,c=2*s-u;o=l(c,u,t+.3333333333333333),f=l(c,u,t),h=l(c,u,t-.3333333333333333)}return{r:255*o,g:255*f,b:255*h}}function v(t,n,s){t=P(t,255),n=P(n,255),s=P(s,255);var o,f,u=l(t,n,s),c=h(t,n,s),b=u,_=u-c;if(f=0===u?0:_/u,u==c)o=0;else{switch(u){case t:o=(n-s)/_+(n>1)+720)%360;--n;)o.h=(o.h+f)%360,h.push(c(o));return h}function E(t,n){n=n||6;for(var s=c(t).toHsv(),o=s.h,f=s.s,h=s.v,l=[],u=1/n;n--;)l.push(c({h:o,s:f,v:h})),h=(h+u)%1;return l}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var n,s,o,f=this.toRgb();return n=f.r/255,s=f.g/255,o=f.b/255,.2126*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:t.pow((s+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:t.pow((o+.055)/1.055,2.4))},setAlpha:function(t){return this._a=O(t),this._roundA=f(100*this._a)/100,this},toHsv:function(){var t=v(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=v(this._r,this._g,this._b),n=f(360*t.h),s=f(100*t.s),o=f(100*t.v);return 1==this._a?"hsv("+n+", "+s+"%, "+o+"%)":"hsva("+n+", "+s+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=_(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=_(this._r,this._g,this._b),n=f(360*t.h),s=f(100*t.s),o=f(100*t.l);return 1==this._a?"hsl("+n+", "+s+"%, "+o+"%)":"hsla("+n+", "+s+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return A(this._r,this._g,this._b,t)},toHexString:function(t){return'#'+this.toHex(t)},toHex8:function(t){return x(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return'#'+this.toHex8(t)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*P(this._r,255))+"%",g:f(100*P(this._g,255))+"%",b:f(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+f(100*P(this._r,255))+"%, "+f(100*P(this._g,255))+"%, "+f(100*P(this._b,255))+"%)":"rgba("+f(100*P(this._r,255))+"%, "+f(100*P(this._g,255))+"%, "+f(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[A(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var n='#'+k(this._r,this._g,this._b,this._a),s=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var f=c(t);s='#'+k(f._r,f._g,f._b,f._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+s+")"},toString:function(t){var n=!!t;t=t||this._format;var s=!1,o=this._a<1&&this._a>=0;return n||!o||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(s=this.toRgbString()),"prgb"===t&&(s=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(s=this.toHexString()),"hex3"===t&&(s=this.toHexString(!0)),"hex4"===t&&(s=this.toHex8String(!0)),"hex8"===t&&(s=this.toHex8String()),"name"===t&&(s=this.toName()),"hsl"===t&&(s=this.toHslString()),"hsv"===t&&(s=this.toHsvString()),s||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(t,n){var s=t.apply(null,[this].concat([].slice.call(n)));return this._r=s._r,this._g=s._g,this._b=s._b,this.setAlpha(s._a),this},lighten:function(){return this._applyModification(R,arguments)},brighten:function(){return this._applyModification(F,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(S,arguments)},greyscale:function(){return this._applyModification(H,arguments)},spin:function(){return this._applyModification(q,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(M,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(N,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(L,arguments)}},c.fromRatio=function(t,n){if("object"==typeof t){var s={};for(var o in t)t.hasOwnProperty(o)&&(s[o]="a"===o?t[o]:V(t[o]));t=s}return c(t,n)},c.equals=function(t,n){return!(!t||!n)&&c(t).toRgbString()==c(n).toRgbString()},c.random=function(){return c.fromRatio({r:u(),g:u(),b:u()})},c.mix=function(t,n,s){s=0===s?0:s||50;var o=c(t).toRgb(),f=c(n).toRgb(),h=s/100;return c({r:(f.r-o.r)*h+o.r,g:(f.g-o.g)*h+o.g,b:(f.b-o.b)*h+o.b,a:(f.a-o.a)*h+o.a})},c.readability=function(n,s){var o=c(n),f=c(s);return(t.max(o.getLuminance(),f.getLuminance())+.05)/(t.min(o.getLuminance(),f.getLuminance())+.05)},c.isReadable=function(t,n,s){var o,f,h=c.readability(t,n);switch(f=!1,(o=Y(s)).level+o.size){case"AAsmall":case"AAAlarge":f=h>=4.5;break;case"AAlarge":f=h>=3;break;case"AAAsmall":f=h>=7}return f},c.mostReadable=function(t,n,s){var o,f,h,l,u=null,b=0;f=(s=s||{}).includeFallbackColors,h=s.level,l=s.size;for(var _=0;_b&&(b=o,u=c(n[_]));return c.isReadable(t,u,{level:h,size:l})||!f?u:(s.includeFallbackColors=!1,c.mostReadable(t,["#fff","#000"],s))};var T=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=c.hexNames=(function(t){var n={};for(var s in t)t.hasOwnProperty(s)&&(n[t[s]]=s);return n})(T);function O(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function P(n,s){U(n)&&(n="100%");var o=B(n);return n=h(s,l(0,parseFloat(n))),o&&(n=parseInt(n*s,10)/100),t.abs(n-s)<1e-6?1:n%s/parseFloat(s)}function $(t){return h(1,l(0,t))}function D(t){return parseInt(t,16)}function U(t){return"string"==typeof t&&-1!=t.indexOf('.')&&1===parseFloat(t)}function B(t){return"string"==typeof t&&-1!=t.indexOf('%')}function G(t){return 1==t.length?'0'+t:''+t}function V(t){return t<=1&&(t=100*t+"%"),t}function X(n){return t.round(255*parseFloat(n)).toString(16)}function J(t){return D(t)/255}var K={CSS_UNIT:new RegExp("(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)"),rgb:new RegExp("rgb[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),rgba:new RegExp("rgba[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsl:new RegExp("hsl[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsla:new RegExp("hsla[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsv:new RegExp("hsv[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hsva:new RegExp("hsva[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?"),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Q(t){return!!K.CSS_UNIT.exec(t)}function W(t){t=t.replace(n,'').replace(s,'').toLowerCase();var o,f=!1;if(T[t])t=T[t],f=!0;else if('transparent'==t)return{r:0,g:0,b:0,a:0,format:"name"};return(o=K.rgb.exec(t))?{r:o[1],g:o[2],b:o[3]}:(o=K.rgba.exec(t))?{r:o[1],g:o[2],b:o[3],a:o[4]}:(o=K.hsl.exec(t))?{h:o[1],s:o[2],l:o[3]}:(o=K.hsla.exec(t))?{h:o[1],s:o[2],l:o[3],a:o[4]}:(o=K.hsv.exec(t))?{h:o[1],s:o[2],v:o[3]}:(o=K.hsva.exec(t))?{h:o[1],s:o[2],v:o[3],a:o[4]}:(o=K.hex8.exec(t))?{r:D(o[1]),g:D(o[2]),b:D(o[3]),a:J(o[4]),format:f?"name":"hex8"}:(o=K.hex6.exec(t))?{r:D(o[1]),g:D(o[2]),b:D(o[3]),format:f?"name":"hex"}:(o=K.hex4.exec(t))?{r:D(o[1]+''+o[1]),g:D(o[2]+''+o[2]),b:D(o[3]+''+o[3]),a:J(o[4]+''+o[4]),format:f?"name":"hex8"}:!!(o=K.hex3.exec(t))&&{r:D(o[1]+''+o[1]),g:D(o[2]+''+o[2]),b:D(o[3]+''+o[3]),format:f?"name":"hex"}}function Y(t){var n,s;return n=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),s=(t.size||"small").toLowerCase(),"AA"!==n&&"AAA"!==n&&(n="AA"),"small"!==s&&"large"!==s&&(s="small"),{level:n,size:s}}void 0!==m&&m.exports?m.exports=c:'function'==typeof define&&define.amd?define(function(){return c}):window.tinycolor=c})(Math)},1645,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var o={focus:!0};e.focus=void 0;var c=t(r(d[1])),n=t(r(d[2])),u=r(d[3]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var f=r(d[4]);Object.keys(f).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))});var l=r(d[5]);Object.keys(l).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}}))});var b={focusable:c,tabbable:n};e.focus=b},1646,[32,1647,1648,1649,1650,1651]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.find=function(f){var l=f.querySelectorAll(t);return Array.from(l).filter(function(t){if(!n(t)||o(t))return!1;var f=t.nodeName;return'AREA'!==f||u(t)})};var t=['[tabindex]','a[href]','button:not([disabled])','input:not([type="hidden"]):not([disabled])','select:not([disabled])','textarea:not([disabled])','iframe','object','embed','area[href]','[contenteditable]:not([contenteditable=false])'].join(',');function n(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0}function o(t){return'iframe'===t.nodeName.toLowerCase()&&'-1'===t.getAttribute('tabindex')}function u(t){var o=t.closest('map[name]');if(!o)return!1;var u=t.ownerDocument.querySelector('img[usemap="#'+o.name+'"]');return!!u&&n(u)}},1647,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isTabbableIndex=o,e.find=function(n){return v((0,t.find)(n))},e.findPrevious=function(u){var o=(0,t.find)(u.ownerDocument.body),f=o.indexOf(u);return o.length=f,(0,n.last)(v(o))},e.findNext=function(u){var o=(0,t.find)(u.ownerDocument.body),f=o.indexOf(u),c=o.slice(f+1).filter(function(n){return!u.contains(n)});return(0,n.first)(v(c))};var n=r(d[0]),t=r(d[1]);function u(n){var t=n.getAttribute('tabindex');return null===t?0:parseInt(t,10)}function o(n){return-1!==u(n)}function f(n,t){return{element:n,index:t}}function c(n){return n.element}function l(n,t){var o=u(n.element),f=u(t.element);return o===f?n.index-t.index:o-f}function v(t){return t.filter(o).map(f).sort(l).map(c).reduce((u={},function(t,o){var f=o.nodeName,c=o.type,l=o.checked,v=o.name;if('INPUT'!==f||'radio'!==c||!v)return t.concat(o);var s=u.hasOwnProperty(v);if(!l&&s)return t;if(s){var b=u[v];t=(0,n.without)(t,b)}return u[v]=o,t.concat(o)}),[]);var u}},1648,[1068,1647]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.isHorizontalEdge=function(t,n){return f(t,n)},e.isVerticalEdge=function(t,n){return f(t,n,!0)},e.getRectangleFromRange=v,e.computeCaretRect=function(t){var n=t.getSelection(),o=n.rangeCount?n.getRangeAt(0):null;if(!o)return;return v(o)},e.placeCaretAtHorizontalEdge=h,e.placeCaretAtVerticalEdge=function t(n,o,l){var u=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!n)return;if(!l||!n.isContentEditable)return void h(n,o);var s=l.height/2;var c=n.getBoundingClientRect();var f=l.left;var v=o?c.bottom-s:c.top+s;var p=n.ownerDocument;var E=p.defaultView;var C=N(p,f,v,n);if(!C||!n.contains(C.startContainer))return!u||C&&C.startContainer&&C.startContainer.contains(n)?void h(n,o):(n.scrollIntoView(o),void t(n,o,l,!1));var T=E.getSelection();T.removeAllRanges();T.addRange(C);n.focus();T.removeAllRanges();T.addRange(C)},e.isTextField=E,e.isNumberInput=C,e.documentHasTextSelection=T,e.documentHasUncollapsedSelection=function(t){return T(t)||y(t.activeElement)},e.documentHasSelection=function(t){return E(t.activeElement)||C(t.activeElement)||T(t)},e.isEntirelySelected=function(t){if((0,o.includes)(['INPUT','TEXTAREA'],t.nodeName))return 0===t.selectionStart&&t.value.length===t.selectionEnd;if(!t.isContentEditable)return!0;var n=t.ownerDocument.defaultView.getSelection(),l=n.rangeCount?n.getRangeAt(0):null;if(!l)return!0;var u=l.startContainer,s=l.endContainer,c=l.startOffset,f=l.endOffset;if(u===t&&s===t&&0===c&&f===t.childNodes.length)return!0;var v=t.lastChild,h=v.nodeType===v.TEXT_NODE?v.data.length:v.childNodes.length;return u===t.firstChild&&s===t.lastChild&&0===c&&f===h},e.getScrollContainer=function t(n){if(!n)return;if(n.scrollHeight>n.clientHeight){var o=u(n),l=o.overflowY;if(/(auto|scroll)/.test(l))return n}return t(n.parentNode)},e.getOffsetParent=function(t){var n;for(;(n=t.parentNode)&&n.nodeType!==n.ELEMENT_NODE;);if(!n)return null;if('static'!==u(n).position)return n;return n.offsetParent},e.replace=function(t,n){b(n,t.parentNode),R(t)},e.remove=R,e.insertAfter=b,e.unwrap=A,e.replaceTag=function(t,n){var o=t.ownerDocument.createElement(n);for(;t.firstChild;)o.appendChild(t.firstChild);return t.parentNode.replaceChild(o,t),o},e.wrap=function(t,n){n.parentNode.insertBefore(t,n),t.appendChild(n)},e.__unstableStripHTML=function(t){return(new window.DOMParser).parseFromString(t,'text/html').body.textContent||''},e.isEmpty=w,e.removeInvalidHTML=function(t,n,o){var l=document.implementation.createHTMLDocument('');return l.body.innerHTML=t,S(l.body.childNodes,l,n,o),l.body.innerHTML};var n=t(r(d[1])),o=r(d[2]),l=r(d[3]);function u(t){return t.ownerDocument.defaultView.getComputedStyle(t)}function s(t){var o=Array.from(t.getClientRects());if(o.length){var l=Math.min.apply(Math,(0,n.default)(o.map(function(t){return t.top})));return Math.max.apply(Math,(0,n.default)(o.map(function(t){return t.bottom})))-l}}function c(t){var n=t.anchorNode,o=t.focusNode,l=t.anchorOffset,u=t.focusOffset,s=n.compareDocumentPosition(o);return!(s&n.DOCUMENT_POSITION_PRECEDING)&&(!!(s&n.DOCUMENT_POSITION_FOLLOWING)||(0!==s||l<=u))}function f(t,n,l){if((0,o.includes)(['INPUT','TEXTAREA'],t.tagName))return t.selectionStart===t.selectionEnd&&(n?0===t.selectionStart:t.value.length===t.selectionStart);if(!t.isContentEditable)return!0;var f=t.ownerDocument,h=f.defaultView.getSelection();if(!h.rangeCount)return!1;var p=h.getRangeAt(0),E=p.cloneRange(),C=c(h),T=h.isCollapsed;T||E.collapse(!C);var y=v(E),R=v(p);if(!y||!R)return!1;if(!T&&s(p)>y.height&&C===n)return!1;var b='rtl'===u(t).direction?!n:n,A=t.getBoundingClientRect(),S=N(f,b?A.left+1:A.right-1,n?A.top+1:A.bottom-1,t);if(!S)return!1;var w=v(S);if(!w)return!1;var O=n?'top':'bottom',P=b?'left':'right',M=w[O]-R[O],D=w[P]-y[P],I=Math.abs(M)<=1,L=Math.abs(D)<=1;return l?I:I&&L}function v(t){if(!t.collapsed)return t.getBoundingClientRect();var n=t.startContainer,o=n.ownerDocument;if('BR'===n.nodeName){var l=n.parentNode,u=Array.from(l.childNodes).indexOf(n);(t=o.createRange()).setStart(l,u),t.setEnd(l,u)}var s=t.getClientRects()[0];if(!s){var c=o.createTextNode("\u200b");(t=t.cloneRange()).insertNode(c),s=t.getClientRects()[0],c.parentNode.removeChild(c)}return s}function h(t,n){if(t){if((0,o.includes)(['INPUT','TEXTAREA'],t.tagName))return t.focus(),void(n?(t.selectionStart=t.value.length,t.selectionEnd=t.value.length):(t.selectionStart=0,t.selectionEnd=0));if(t.focus(),t.isContentEditable){var l=t[n?'lastChild':'firstChild'];if(l){var u=t.ownerDocument,s=u.defaultView.getSelection(),c=u.createRange();c.selectNodeContents(l),c.collapse(!n),s.removeAllRanges(),s.addRange(c)}}}}function p(t,n,o){if(t.caretRangeFromPoint)return t.caretRangeFromPoint(n,o);if(!t.caretPositionFromPoint)return null;var l=t.caretPositionFromPoint(n,o);if(!l)return null;var u=t.createRange();return u.setStart(l.offsetNode,l.offset),u.collapse(!0),u}function N(t,n,o,l){var u=l.style.zIndex,s=l.style.position;l.style.zIndex='10000',l.style.position='relative';var c=p(t,n,o);return l.style.zIndex=u,l.style.position=s,c}function E(t){var n=t.nodeName,o=t.contentEditable;return'INPUT'===n&&!['button','checkbox','hidden','file','radio','image','range','reset','submit','number'].includes(t.type)||'TEXTAREA'===n||'true'===o}function C(t){var n=t.nodeName,o=t.type,l=t.valueAsNumber;return'INPUT'===n&&'number'===o&&!!l}function T(t){var n=t.defaultView.getSelection(),o=n.rangeCount?n.getRangeAt(0):null;return o&&!o.collapsed}function y(t){if(!E(t)&&!C(t))return!1;try{var n=t.selectionStart,o=t.selectionEnd;return null!==n&&n!==o}catch(t){return!1}}function R(t){t.parentNode.removeChild(t)}function b(t,n){n.parentNode.insertBefore(t,n.nextSibling)}function A(t){for(var n=t.parentNode;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}function S(t,n,u,s){Array.from(t).forEach(function(t){var c=t.nodeName.toLowerCase();if(!u.hasOwnProperty(c)||u[c].isMatch&&!u[c].isMatch(t))S(t.childNodes,n,u,s),s&&!(0,l.isPhrasingContent)(t)&&t.nextElementSibling&&b(n.createElement('br'),t),A(t);else if(t.nodeType===t.ELEMENT_NODE){var f=u[c],v=f.attributes,h=void 0===v?[]:v,p=f.classes,N=void 0===p?[]:p,E=f.children,C=f.require,T=void 0===C?[]:C,y=f.allowEmpty;if(E&&!y&&w(t))return void R(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach(function(n){var l=n.name;'class'===l||(0,o.includes)(h,l)||t.removeAttribute(l)}),t.classList&&t.classList.length)){var O=N.map(function(t){return'string'==typeof t?function(n){return n===t}:t instanceof RegExp?function(n){return t.test(n)}:o.noop});Array.from(t.classList).forEach(function(n){O.some(function(t){return t(n)})||t.classList.remove(n)}),t.classList.length||t.removeAttribute('class')}if(t.hasChildNodes()){if('*'===E)return;if(E)T.length&&!t.querySelector(T.join(','))?(S(t.childNodes,n,u,s),A(t)):'BODY'===t.parentNode.nodeName&&(0,l.isPhrasingContent)(t)?(S(t.childNodes,n,u,s),Array.from(t.childNodes).some(function(t){return!(0,l.isPhrasingContent)(t)})&&A(t)):S(t.childNodes,n,E,s);else for(;t.firstChild;)R(t.firstChild)}}})}function w(t){return!t.hasChildNodes()||Array.from(t.childNodes).every(function(t){return t.nodeType===t.TEXT_NODE?!t.nodeValue.trim():t.nodeType!==t.ELEMENT_NODE||('BR'===t.nodeName||!t.hasAttributes()&&w(t))})}},1649,[5,14,1068,1650]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getPhrasingContentSchema=p,e.isPhrasingContent=function(t){var n=t.nodeName.toLowerCase();return p().hasOwnProperty(n)||'span'===n},e.isTextContent=function(t){var n=t.nodeName.toLowerCase();return b.hasOwnProperty(n)||'span'===n};var n=t(r(d[1])),o=r(d[2]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function u(t){for(var o=1;o2&&void 0!==arguments[2]?arguments[2]:{},s=(0,O.normalizeBlockType)(t),c=(0,l.mapValues)(s.attributes,function(t,s){return x(s,t,n,o)});return(0,v.applyFilters)('blocks.getBlockAttributes',c,s,n,o)}function _(t,s){var u=(0,b.getBlockType)(t.name),f=u.deprecated;if(!f||!f.length)return t;for(var v=t,p=v.originalContent,y=v.innerBlocks,h=0;h0&&(T.isValid?console.info('Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s',w.name,w,(0,h.getSaveContent)(w,T.attributes),T.originalContent):T.validationIssues.forEach(function(t){var n=t.log,s=t.args;return n.apply(void 0,(0,o.default)(s))})),T}}function q(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.isCommentDelimited,s=void 0===o||o,c=t.blockName,u=t.attrs,l=void 0===u?{}:u,f=t.innerBlocks,v=void 0===f?[]:f,p=t.innerContent,b=0,y=(void 0===p?[]:p).map(function(t){return null!==t?t:q(v[b++],n)}).join('\n').replace(/\n+/g,'\n').trim();return s?(0,h.getCommentDelimitedContent)(c,l,y):y}e.toBooleanAttributeMatcher=V;var R,W=(R=p.parse,function(t){return R(t).reduce(function(t,n){var o=M(n);return o&&t.push(o),t},[])});e.parseWithGrammar=W;var z=W;e.default=z},1653,[5,36,14,66,24,1654,1068,1655,4,1656,1246,1230,1657,1662,1664,1644,1652]); +__d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(t){'use strict';function n(t,n){for(var u,o=n.split('.');u=o.shift();){if(!(u in t))return;t=t[u]}return t}var u,o=function(){return u||(u=document.implementation.createHTMLDocument('')),u};function f(t,n){if(n){if('string'==typeof t){var u=o();u.body.innerHTML=t,t=u.body}if('function'==typeof n)return n(t);if(Object===n.constructor)return Object.keys(n).reduce(function(u,o){return u[o]=f(t,n[o]),u},{})}}function c(t,u){return 1===arguments.length&&(u=t,t=void 0),function(o){var f=o;if(t&&(f=o.querySelector(t)),f)return n(f,u)}}t.parse=f,t.prop=c,t.attr=function(t,n){return 1===arguments.length&&(n=t,t=void 0),function(u){var o=c(t,'attributes')(u);if(o&&o.hasOwnProperty(n))return o[n].value}},t.html=function(t){return c(t,'innerHTML')},t.text=function(t){return c(t,'textContent')},t.query=function(t,n){return function(u){var o=u.querySelectorAll(t);return[].map.call(o,function(t){return f(t,n)})}},Object.defineProperty(t,'__esModule',{value:!0})},'object'==typeof e&&void 0!==m?n(e):'function'==typeof define&&define.amd?define(['exports'],n):n(t.hpq={})},1654,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.autop=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l=[];if(''===t.trim())return'';if(-1!==(t+='\n').indexOf(''),s=c.pop();t='';for(var u=0;u';l.push([b,f.substr(h)+'']),t+=f.substr(0,h)+b}else t+=f}t+=s}-1!==(t=o(t=(t=(t=(t=t.replace(/\s*/g,'\n\n')).replace(new RegExp("(<(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)[\\s/>])",'g'),'\n\n$1')).replace(new RegExp("()",'g'),'$1\n\n')).replace(/\r\n|\r/g,'\n'),{'\n':' \x3c!-- wpnl --\x3e '})).indexOf('\s*/g,''));-1!==t.indexOf('')&&(t=(t=(t=t.replace(/(]*>)\s*/g,'$1')).replace(/\s*<\/object>/g,'')).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,'$1'));-1===t.indexOf('\]]*[>\]])\s*/g,'$1')).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,'$1')).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,'$1'));-1!==t.indexOf(']*>)/,'$1')).replace(/<\/figcaption>\s*/,''));var v=(t=t.replace(/\n\n+/g,'\n\n')).split(/\n\s*\n/).filter(Boolean);t='',v.forEach(function(p){t+='

'+p.replace(/^\n*|\n*$/g,'')+'

\n'}),t=(t=(t=(t=(t=(t=(t=(t=t.replace(/

\s*<\/p>/g,'')).replace(/

([^<]+)<\/(div|address|form)>/g,'

$1

')).replace(new RegExp("

\\s*(]*>)\\s*

",'g'),'$1')).replace(/

(/g,'$1')).replace(/

]*)>/gi,'

')).replace(/<\/blockquote><\/p>/g,'

')).replace(new RegExp("

\\s*(]*>)",'g'),'$1')).replace(new RegExp("(]*>)\\s*

",'g'),'$1'),n&&(t=(t=(t=(t=t.replace(/<(script|style).*?<\/\\1>/g,function(t){return t[0].replace(/\n/g,'')})).replace(/
|/g,'
')).replace(/(
)?\s*\n/g,function(t,p){return p?t:'
\n'})).replace(//g,'\n'));t=(t=(t=t.replace(new RegExp("(]*>)\\s*
",'g'),'$1')).replace(/
(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,'$1')).replace(/\n<\/p>$/g,'

'),l.forEach(function(n){var l=(0,p.default)(n,2),o=l[0],c=l[1];t=t.replace(o,c)}),-1!==t.indexOf('\x3c!-- wpnl --\x3e')&&(t=t.replace(/\s?\s?/g,'\n'));return t},e.removep=function(t){var p=[],n=!1,l=!1;if(!t)return'';-1===t.indexOf(']*>[\s\S]*?<\/\1>/g,function(t){return p.push(t),''}));-1!==t.indexOf(']*>[\s\S]+?<\/pre>/g,function(t){return(t=(t=t.replace(/
(\r\n|\n)?/g,'')).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,'')).replace(/\r?\n/g,'')}));-1!==t.indexOf('[caption')&&(l=!0,t=t.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(t){return t.replace(/]*)>/g,'').replace(/[\r\n\t]+/,'')}));-1!==(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(new RegExp("\\s*\\s*",'g'),'\n')).replace(new RegExp("\\s*<((?:blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure|div|p)(?: [^>]*)?)>",'g'),'\n<$1>')).replace(/(

]+>[\s\S]*?)<\/p>/g,'$1')).replace(/]*)?>\s*

/gi,'\n\n')).replace(/\s*

/gi,'')).replace(/\s*<\/p>\s*/gi,'\n\n')).replace(/\n[\s\u00a0]+\n/g,'\n\n')).replace(/(\s*)
\s*/gi,function(t,p){return p&&-1!==p.indexOf('\n')?'\n\n':'\n'})).replace(/\s*

\s*/g,'
\n')).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,'\n\n[caption$1[/caption]\n\n')).replace(/caption\]\n\n+\[caption/g,'caption]\n\n[caption')).replace(new RegExp("\\s*<((?:blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure|pre)(?: [^>]*)?)\\s*>",'g'),'\n<$1>')).replace(new RegExp("\\s*\\s*",'g'),'\n')).replace(/<((li|dt|dd)[^>]*)>/g,' \t<$1>')).indexOf('/g,'\n'));-1!==t.indexOf(']*)?>\s*/g,'\n\n\n\n'));-1!==t.indexOf('/g,function(t){return t.replace(/[\r\n]+/g,'')}));t=(t=(t=(t=t.replace(/<\/p#>/g,'

\n')).replace(/\s*(

]+>[\s\S]*?<\/p>)/g,'\n$1')).replace(/^\s+/,'')).replace(/[\s\u00a0]+$/,''),n&&(t=t.replace(//g,'\n'));l&&(t=t.replace(/]*)>/g,''));p.length&&(t=t.replace(//g,function(){return p.shift()}));return t};var p=t(r(d[1])),n=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function l(t){for(var p,l=[],o=t;p=o.match(n);){var c=p.index;l.push(o.slice(0,c)),l.push(p[0]),o=o.slice(c+p[0].length)}return o.length&&l.push(o),l}function o(t,p){for(var n=l(t),o=!1,c=Object.keys(p),s=1;s)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function f(n,t,o,u,s){return{blockName:n,attrs:t,innerBlocks:o,innerHTML:u,innerContent:s}}function p(n){return f(null,{},[],n,[n])}function k(n,t,o,u,s){return{block:n,tokenStart:t,tokenLength:o,prevOffset:u||t+o,leadingHtmlStart:s}}function b(){var n=h(),c=(0,l.default)(n,5),b=c[0],v=c[1],S=c[2],_=c[3],C=c[4],M=s.length,z=_>o?o:null;switch(b){case'no-more-tokens':if(0===M)return O(),!1;if(1===M)return L(),!1;for(;02&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)(),s=t.chars,u=n.chars,c=0;c2&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)();if(t.length!==n.length)return o.warning('Expected attributes %o, instead saw %o.',n,t),!1;for(var s={},c=0;c2&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)();return t.tagName!==o.tagName&&t.tagName.toLowerCase()!==o.tagName.toLowerCase()?(s.warning('Expected tag name `%s`, instead saw `%s`.',o.tagName,t.tagName),!1):I.apply(void 0,(0,n.default)([t,o].map(V)).concat([s]))},Chars:$,Comment:$};function _(t){for(var n;n=t.shift();){if('Chars'!==n.type)return n;if(!E.test(n.chars))return n}}function H(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,y.createLogger)();try{return new f.Tokenizer(new q).tokenize(t)}catch(o){n.warning('Malformed HTML detected: %s',t)}return null}function R(t,n){return!!t.selfClosing&&!(!n||n.tagName!==t.tagName||'EndTag'!==n.type)}function F(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,y.createLogger)();if(t===n)return!0;var s,c,l=[t,n].map(function(t){return H(t,o)}),f=(0,u.default)(l,2),p=f[0],v=f[1];if(!p||!v)return!1;for(;s=_(p);){if(!(c=_(v)))return o.warning('Expected end of content, instead saw %o.',s),!1;if(s.type!==c.type)return o.warning('Expected token of type `%s` (%o), instead saw `%s` (%o).',c.type,c,s.type,s),!1;var h=W[s.type];if(h&&!h(s,c,o))return!1;R(s,v[0])?_(v):R(c,p[0])&&_(p)}return!(c=_(v))||(o.warning('Expected %o, instead saw end of content.',c),!1)}function Q(t,n,o){var s,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,y.createQueuedLogger)(),c=(0,w.normalizeBlockType)(t);try{s=(0,h.getSaveContent)(c,n)}catch(t){return u.error('Block validation failed because an error occurred while generating block content:\n\n%s',t.toString()),{isValid:!1,validationIssues:u.getItems()}}var l=F(o,s,u);return l||u.error('Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s',c.name,c,s,o),{isValid:l,validationIssues:u.getItems()}}e.isEqualTokensOfType=W},1657,[5,14,66,1658,36,7,42,1659,1068,1660,1661,1662,1644]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3]);m.exports=function(c){return n(c)||t(c)||o(c)||u()}},1658,[37,17,18,39]); +__d(function(g,r,i,a,m,e,d){var t,o;t=this,o=function(t){'use strict';var o={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:"\"",QUOT:"\"",rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"},s=/^#[xX]([A-Fa-f0-9]+)$/,n=/^#([0-9]+)$/,l=/^([A-Za-z0-9]+)$/,u=(function(){function t(t){this.named=t}return t.prototype.parse=function(t){if(t){var o=t.match(s);return o?String.fromCharCode(parseInt(o[1],16)):(o=t.match(n))?String.fromCharCode(parseInt(o[1],10)):(o=t.match(l))?this.named[o[1]]:void 0}},t})(),c=/[\t\n\f ]/,p=/[A-Za-z]/,h=/\r\n?/g;function f(t){return c.test(t)}function b(t){return p.test(t)}function q(t){return t.replace(h,'\n')}var w=(function(){function t(t,o){this.delegate=t,this.entityParser=o,this.state="beforeData",this.line=-1,this.column=-1,this.input='',this.index=-1,this.tagNameBuffer='',this.states={beforeData:function(){var t=this.peek();if('<'===t)this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if('\n'===t){var o=this.tagNameBuffer.toLowerCase();'pre'!==o&&'textarea'!==o||this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var t=this.peek();'<'===t?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):'&'===t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||'&')):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();'!'===t?this.transitionTo("markupDeclarationOpen"):'/'===t?this.transitionTo("endTagOpen"):('@'===t||':'===t||b(t))&&(this.transitionTo("tagName"),this.tagNameBuffer='',this.delegate.beginStartTag(),this.appendToTagName(t))},markupDeclarationOpen:function(){'-'===this.consume()&&'-'===this.input.charAt(this.index)&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var t=this.consume();'-'===t?this.transitionTo("commentStartDash"):'>'===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(t),this.transitionTo("comment"))},commentStartDash:function(){var t=this.consume();'-'===t?this.transitionTo("commentEnd"):'>'===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData('-'),this.transitionTo("comment"))},comment:function(){var t=this.consume();'-'===t?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();'-'===t?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData('-'+t),this.transitionTo("comment"))},commentEnd:function(){var t=this.consume();'>'===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData('--'+t),this.transitionTo("comment"))},tagName:function(){var t=this.consume();f(t)?this.transitionTo("beforeAttributeName"):'/'===t?this.transitionTo("selfClosingStartTag"):'>'===t?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();f(t)?this.consume():'/'===t?(this.transitionTo("selfClosingStartTag"),this.consume()):'>'===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'='===t?(this.delegate.reportSyntaxError('attribute name cannot start with equals sign'),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var t=this.peek();f(t)?(this.transitionTo("afterAttributeName"),this.consume()):'/'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):'='===t?(this.transitionTo("beforeAttributeValue"),this.consume()):'>'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===t||"'"===t||'<'===t?(this.delegate.reportSyntaxError(t+' is not a valid character within attribute names'),this.consume(),this.delegate.appendToAttributeName(t)):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();f(t)?this.consume():'/'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):'='===t?(this.consume(),this.transitionTo("beforeAttributeValue")):'>'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();f(t)?this.consume():'"'===t?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):'>'===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):'&'===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||'&'):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):'&'===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||'&'):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();f(t)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):'/'===t?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):'&'===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||'&')):'>'===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();f(t)?(this.consume(),this.transitionTo("beforeAttributeName")):'/'===t?(this.consume(),this.transitionTo("selfClosingStartTag")):'>'===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){'>'===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var t=this.consume();('@'===t||':'===t||b(t))&&(this.transitionTo("tagName"),this.tagNameBuffer='',this.delegate.beginEndTag(),this.appendToTagName(t))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input='',this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(t){this.state=t},t.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},t.prototype.tokenizePart=function(t){for(this.input+=q(t);this.index1?t-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},n=y.blockType,o=y.attributes;return(0,c.applyFilters)('blocks.getSaveContent.extraProps',k({},t),n,o)},e.getSaveElement=O,e.getSaveContent=B,e.getCommentAttributes=C,e.serializeAttributes=h,e.getBlockContent=j,e.getCommentDelimitedContent=P,e.serializeBlock=S,e.__unstableSerializeAndClean=function(t){1===t.length&&(0,f.isUnmodifiedDefaultBlock)(t[0])&&(t=[]);var n=w(t);1===t.length&&t[0].name===(0,p.getFreeformContentHandlerName)()&&(n=(0,s.removep)(n));return n},e.default=w;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=t(r(d[5])),s=r(d[6]),p=r(d[7]),f=r(d[8]),b=t(r(d[9]));function v(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function k(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:[],v=(0,f.normalizeBlockType)(t),O=v.save;if(O.prototype instanceof n.Component){var B=new O({attributes:o});O=B.render.bind(B)}y.blockType=v,y.attributes=o;var C=O({attributes:o,innerBlocks:s}),h=v.apiVersion>1||(0,p.hasBlockSupport)(v,'lightBlockWrapper',!1);if((0,l.isObject)(C)&&(0,c.hasFilter)('blocks.getSaveContent.extraProps')&&!h){var j=(0,c.applyFilters)('blocks.getSaveContent.extraProps',k({},C.props),v,o);(0,u.default)(j,C.props)||(C=(0,n.cloneElement)(C,j))}return C=(0,c.applyFilters)('blocks.getSaveElement',C,v,o),(0,n.createElement)(b.default,{innerBlocks:s},C)}function B(t,o,l){var c=(0,f.normalizeBlockType)(t);return(0,n.renderToString)(O(c,o,l))}function C(t,n){return(0,l.reduce)(t.attributes,function(t,o,l){var c=n[l];return void 0===c?t:void 0!==o.source?t:'default'in o&&o.default===c?t:(t[l]=c,t)},{})}function h(t){return JSON.stringify(t).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}function j(t){var n=t.originalContent;if(t.isValid||t.innerBlocks.length)try{n=B(t.name,t.attributes,t.innerBlocks)}catch(t){}return n}function P(t,n,o){var c=(0,l.isEmpty)(n)?'':h(n)+' ',u=(0,l.startsWith)(t,'core/')?t.slice(5):t;return o?"\x3c!-- wp:"+u+" "+c+"--\x3e\n"+o+"\n\x3c!-- /wp:"+u+" --\x3e":"\x3c!-- wp:"+u+" "+c+"/--\x3e"}function S(t){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isInnerBlocks,o=void 0!==n&&n,l=t.name,c=j(t);return l===(0,p.getUnregisteredTypeHandlerName)()||!o&&l===(0,p.getFreeformContentHandlerName)()?c:P(l,C((0,p.getBlockType)(l),t.attributes),c)}function w(t,n){return(0,l.castArray)(t).map(function(t){return S(t,n)}).join('\n\n')}},1662,[5,946,66,1068,4,1121,1655,1246,1644,1663]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.withBlockContentContext=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=(0,n.createContext)(function(){}),f=u.Consumer,C=u.Provider,v=(0,l.createHigherOrderComponent)(function(t){return function(l){return(0,n.createElement)(f,null,function(c){return(0,n.createElement)(t,(0,o.default)({},l,{BlockContent:c}))})}},'withBlockContentContext');e.withBlockContentContext=v;var k=function(t){var o=t.children,l=t.innerBlocks;return(0,n.createElement)(C,{value:function(){var t=(0,c.serialize)(l,{isInnerBlocks:!0});return(0,n.createElement)(n.RawHTML,null,t)}},o)};e.default=k},1663,[5,946,24,1116,1229]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.html=function(t,n){return function(u){var o=u;if(t&&(o=u.querySelector(t)),!o)return'';if(n){for(var c='',f=o.children.length,l=0;l]+>/g,'')).replace(/^\s*]*>\s*]*>(?:\s*)?/i,'')).replace(/(?:\s*)?<\/body>\s*<\/html>\s*$/i,''),'INLINE'!==z){var $=_||D;if(-1!==$.indexOf('\x3c!-- wp:'))return(0,p.parseWithGrammar)($)}String.prototype.normalize&&(_=_.normalize());!D||_&&!(0,E.isPlain)(_)||(_=(0,I.default)(D),'AUTO'===z&&-1===D.indexOf('\n')&&0!==D.indexOf('

')&&0===_.indexOf('

')&&(z='INLINE'));if('INLINE'===z)return B(_,G);var q=(0,H.default)(_),J=q.length>1;if('AUTO'===z&&!J&&(0,b.default)(_,W))return B(_,G);var K=(0,o.getPhrasingContentSchema)('paste'),Q=(0,E.getBlockContentSchema)('paste'),R=(0,l.compact)((0,l.flatMap)(q,function(t){if('string'!=typeof t)return t;var n=[S.default,y.default,T.default,P.default,L.default,h.default,O.default,v.default,w.default,M.default,j.default],l=k(k({},Q),K);return t=(0,E.deepFilterHTML)(t,n,Q),t=(0,o.removeInvalidHTML)(t,l),t=(0,s.default)(t),t=(0,E.deepFilterHTML)(t,[x.default,N.default,F.default],Q),A.log('Processed HTML piece:\n\n',t),(0,f.htmlToBlocks)(t)}));if('AUTO'===z&&1===R.length&&(0,u.hasBlockSupport)(R[0].name,'__unstablePasteTextInline',!1)){var V=D.trim();if(''!==V&&-1===V.indexOf('\n'))return(0,o.removeInvalidHTML)((0,c.getBlockContent)(R[0]),K)}return R};var n=t(r(d[1])),l=r(d[2]),o=r(d[3]),f=r(d[4]),u=r(d[5]),c=r(d[6]),p=r(d[7]),s=t(r(d[8])),O=t(r(d[9])),v=t(r(d[10])),b=t(r(d[11])),h=t(r(d[12])),T=t(r(d[13])),y=t(r(d[14])),P=t(r(d[15])),L=t(r(d[16])),j=t(r(d[17])),M=t(r(d[18])),H=t(r(d[19])),I=t(r(d[20])),w=t(r(d[21])),S=t(r(d[22])),x=t(r(d[23])),N=t(r(d[24])),E=r(d[25]),F=t(r(d[26]));function _(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function k(t){for(var l=1;l1&&void 0!==arguments[1]?arguments[1]:n,o=n.ownerDocument.createElement('figure');t.parentNode.insertBefore(o,t),o.appendChild(n)}},1681,[1068,1646]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),s=r(d[4]),u=r(d[5]),f=r(d[6]),l=r(d[7]);function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function p(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:0,O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],y=(0,u.getBlockTransforms)('from'),h=(0,u.findTransform)(y,function(t){return-1===O.indexOf(t.blockName)&&'shortcode'===t.type&&(0,c.some)((0,c.castArray)(t.tag),function(t){return(0,s.regexp)(t).test(n)})});if(!h)return[n];var v,j=(0,c.castArray)(h.tag),k=(0,c.find)(j,function(t){return(0,s.regexp)(t).test(n)}),P=b;if(v=(0,s.next)(k,n,b)){b=v.index+v.content.length;var w=n.substr(0,v.index),x=n.substr(b);if(!((0,c.includes)(v.shortcode.content||'','<')||/(\n|

)\s*$/.test(w)&&/^\s*(\n|<\/p>)/.test(x)))return t(n,b);if(h.isMatch&&!h.isMatch(v.shortcode.attrs))return t(n,P,[].concat((0,o.default)(O),[h.blockName]));var B=(0,c.mapValues)((0,c.pickBy)(h.attributes,function(t){return t.shortcode}),function(t){return t.shortcode(v.shortcode.attrs,v)}),D=(0,u.createBlock)(h.blockName,(0,l.getBlockAttributes)(p(p({},(0,f.getBlockType)(h.blockName)),{},{attributes:h.attributes}),v.shortcode.content,B));return[].concat((0,o.default)(t(w)),[D],(0,o.default)(t(x)))}return[n]};e.default=O},1682,[5,66,14,1068,1683,1230,1246,1653]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.next=s,e.replace=c,e.string=o,e.regexp=u,e.fromMatch=h,e.default=e.attrs=void 0;var n=r(d[1]);function s(t,n){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=u(t);o.lastIndex=c;var f=o.exec(n);if(f){if('['===f[1]&&']'===f[7])return s(t,n,o.lastIndex);var l={index:f.index,content:f[0],shortcode:h(f)};return f[1]&&(l.content=l.content.slice(1),l.index++),f[7]&&(l.content=l.content.slice(0,-1)),l}}function c(t,n,s){return n.replace(u(t),function(t,n,c,o,u,f,l,p){if('['===n&&']'===p)return t;var v=s(h(arguments));return v||''===v?n+v+p:t})}function o(t){return new l(t).string()}function u(t){return new RegExp('\\[(\\[?)('+t+')(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)','g')}var f=(0,t(r(d[2])).default)(function(t){var n,s={},c=[],o=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g,' ');n=o.exec(t);)n[1]?s[n[1].toLowerCase()]=n[2]:n[3]?s[n[3].toLowerCase()]=n[4]:n[5]?s[n[5].toLowerCase()]=n[6]:n[7]?c.push(n[7]):n[8]?c.push(n[8]):n[9]&&c.push(n[9]);return{named:s,numeric:c}});function h(t){var n;return n=t[4]?'self-closing':t[6]?'closed':'single',new l({tag:t[2],attrs:t[3],type:n,content:t[5]})}e.attrs=f;var l=(0,n.extend)(function(t){var s=this;(0,n.extend)(this,(0,n.pick)(t||{},'tag','attrs','type','content'));var c=this.attrs;this.attrs={named:{},numeric:[]},c&&((0,n.isString)(c)?this.attrs=f(c):(0,n.isEqual)(Object.keys(c),['named','numeric'])?this.attrs=c:(0,n.forEach)(c,function(t,n){s.set(n,t)}))},{next:s,replace:c,string:o,regexp:u,attrs:f,fromMatch:h});(0,n.extend)(l.prototype,{get:function(t){return this.attrs[(0,n.isNumber)(t)?'numeric':'named'][t]},set:function(t,s){return this.attrs[(0,n.isNumber)(t)?'numeric':'named'][t]=s,this},string:function(){var t='['+this.tag;return(0,n.forEach)(this.attrs.numeric,function(n){/\s/.test(n)?t+=' "'+n+'"':t+=' '+n}),(0,n.forEach)(this.attrs.named,function(n,s){t+=' '+s+'="'+n+'"'}),'single'===this.type?t+']':'self-closing'===this.type?t+' /]':(t+=']',this.content&&(t+=this.content),t+'[/'+this.tag+']')}});var p=l;e.default=p},1683,[5,1068,1029]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return t.makeHtml(o(n))};var t=new(n(r(d[1])).default.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function o(n){return n.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,function(n,t,o,u){return t+"\n"+o+"\n"+u})}},1684,[5,1685]); +__d(function(e,r,t,a,n,s,o){(function(){function e(e){'use strict';var r={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:'Omit the default extra whiteline added to code blocks',type:'boolean'},noHeaderId:{defaultValue:!1,describe:'Turn on/off generated header id',type:'boolean'},prefixHeaderId:{defaultValue:!1,describe:'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \'section-\' prefix',type:'string'},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:'boolean'},ghCompatibleHeaderId:{defaultValue:!1,describe:'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',type:'boolean'},rawHeaderId:{defaultValue:!1,describe:'Remove only spaces, \' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',type:'boolean'},headerLevelStart:{defaultValue:!1,describe:'The header blocks level start',type:'integer'},parseImgDimensions:{defaultValue:!1,describe:'Turn on/off image dimension parsing',type:'boolean'},simplifiedAutoLink:{defaultValue:!1,describe:'Turn on/off GFM autolink style',type:'boolean'},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:'Excludes trailing punctuation from links generated with autoLinking',type:'boolean'},literalMidWordUnderscores:{defaultValue:!1,describe:'Parse midword underscores as literal underscores',type:'boolean'},literalMidWordAsterisks:{defaultValue:!1,describe:'Parse midword asterisks as literal asterisks',type:'boolean'},strikethrough:{defaultValue:!1,describe:'Turn on/off strikethrough support',type:'boolean'},tables:{defaultValue:!1,describe:'Turn on/off tables support',type:'boolean'},tablesHeaderId:{defaultValue:!1,describe:'Add an id to table headers',type:'boolean'},ghCodeBlocks:{defaultValue:!0,describe:'Turn on/off GFM fenced code blocks support',type:'boolean'},tasklists:{defaultValue:!1,describe:'Turn on/off GFM tasklist support',type:'boolean'},smoothLivePreview:{defaultValue:!1,describe:'Prevents weird effects in live previews due to incomplete input',type:'boolean'},smartIndentationFix:{defaultValue:!1,description:'Tries to smartly fix indentation in es6 strings',type:'boolean'},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:'Disables the requirement of indenting nested sublists by 4 spaces',type:'boolean'},simpleLineBreaks:{defaultValue:!1,description:'Parses simple line breaks as
(GFM Style)',type:'boolean'},requireSpaceBeforeHeadingText:{defaultValue:!1,description:'Makes adding a space between `#` and the header text mandatory (GFM Style)',type:'boolean'},ghMentions:{defaultValue:!1,description:'Enables github @mentions',type:'boolean'},ghMentionsLink:{defaultValue:'https://github.com/{u}',description:'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',type:'string'},encodeEmails:{defaultValue:!0,description:'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',type:'boolean'},openLinksInNewWindow:{defaultValue:!1,description:'Open all links in new windows',type:'boolean'},backslashEscapesHTMLTags:{defaultValue:!1,description:'Support for HTML Tag escaping. ex:

foo
',type:'boolean'},emoji:{defaultValue:!1,description:'Enable emoji support. Ex: `this is a :smile: emoji`',type:'boolean'},underline:{defaultValue:!1,description:'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',type:'boolean'},completeHTMLDocument:{defaultValue:!1,description:'Outputs a complete html document, including ``, `` and `` tags',type:'boolean'},metadata:{defaultValue:!1,description:'Enable support for document metadata (defined at the top of the document between `\xab\xab\xab` and `\xbb\xbb\xbb` or between `---` and `---`).',type:'boolean'},splitAdjacentBlockquotes:{defaultValue:!1,description:'Split adjacent blockquote blocks',type:'boolean'}};if(!1===e)return JSON.parse(JSON.stringify(r));var t={};for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a].defaultValue);return t}var r={},t={},a={},s=e(!0),o='vanilla',i={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:(function(){'use strict';var r=e(!0),t={};for(var a in r)r.hasOwnProperty(a)&&(t[a]=!0);return t})()};function l(e,t){'use strict';var a=t?'Error in '+t+' extension->':'Error in unnamed extension',n={valid:!0,error:''};r.helper.isArray(e)||(e=[e]);for(var s=0;s').replace(/&/g,'&')};var u=function(e,r,t,a){'use strict';var n,s,o,i,l,c=a||'',u=c.indexOf('g')>-1,d=new RegExp(r+'|'+t,'g'+c.replace(/g/g,'')),p=new RegExp(r,c.replace(/g/g,'')),h=[];do{for(n=0;o=d.exec(e);)if(p.test(o[0]))n++||(i=(s=d.lastIndex)-o[0].length);else if(n&&!--n){l=o.index+o[0].length;var _={left:{start:i,end:s},match:{start:s,end:o.index},right:{start:o.index,end:l},wholeMatch:{start:i,end:l}};if(h.push(_),!u)return h}}while(n&&(d.lastIndex=s));return h};r.helper.matchRecursiveRegExp=function(e,r,t,a){'use strict';for(var n=u(e,r,t,a),s=[],o=0;o0){var d=[];0!==i[0].wholeMatch.start&&d.push(e.slice(0,i[0].wholeMatch.start));for(var p=0;p=0?n+(a||0):n},r.helper.splitAtIndex=function(e,t){'use strict';if(!r.helper.isString(e))throw'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';return[e.substring(0,t),e.substring(t)]},r.helper.encodeEmailAddress=function(e){'use strict';var r=[function(e){return'&#'+e.charCodeAt(0)+';'},function(e){return'&#x'+e.charCodeAt(0).toString(16)+';'},function(e){return e}];return e=e.replace(/./g,function(e){if('@'===e)e=r[Math.floor(2*Math.random())](e);else{var t=Math.random();e=t>.9?r[2](e):t>.45?r[1](e):r[0](e)}return e})},r.helper.padEnd=function(e,r,t){'use strict';return r>>=0,t=String(t||' '),e.length>r?String(e):((r-=e.length)>t.length&&(t+=t.repeat(r/t.length)),String(e)+t.slice(0,r))},'undefined'==typeof console&&(console={warn:function(e){'use strict';alert(e)},log:function(e){'use strict';alert(e)},error:function(e){'use strict';throw e}}),r.helper.regexes={asteriskDashAndColon:/([*_:~])/g},r.helper.emojis={'+1':"\ud83d\udc4d",'-1':"\ud83d\udc4e",100:"\ud83d\udcaf",1234:"\ud83d\udd22",'1st_place_medal':"\ud83e\udd47",'2nd_place_medal':"\ud83e\udd48",'3rd_place_medal':"\ud83e\udd49",'8ball':"\ud83c\udfb1",a:"\ud83c\udd70\ufe0f",ab:"\ud83c\udd8e",abc:"\ud83d\udd24",abcd:"\ud83d\udd21",accept:"\ud83c\ude51",aerial_tramway:"\ud83d\udea1",airplane:"\u2708\ufe0f",alarm_clock:"\u23f0",alembic:"\u2697\ufe0f",alien:"\ud83d\udc7d",ambulance:"\ud83d\ude91",amphora:"\ud83c\udffa",anchor:"\u2693\ufe0f",angel:"\ud83d\udc7c",anger:"\ud83d\udca2",angry:"\ud83d\ude20",anguished:"\ud83d\ude27",ant:"\ud83d\udc1c",apple:"\ud83c\udf4e",aquarius:"\u2652\ufe0f",aries:"\u2648\ufe0f",arrow_backward:"\u25c0\ufe0f",arrow_double_down:"\u23ec",arrow_double_up:"\u23eb",arrow_down:"\u2b07\ufe0f",arrow_down_small:"\ud83d\udd3d",arrow_forward:"\u25b6\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_heading_up:"\u2934\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_lower_left:"\u2199\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_right:"\u27a1\ufe0f",arrow_right_hook:"\u21aa\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_up_small:"\ud83d\udd3c",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrows_clockwise:"\ud83d\udd03",arrows_counterclockwise:"\ud83d\udd04",art:"\ud83c\udfa8",articulated_lorry:"\ud83d\ude9b",artificial_satellite:"\ud83d\udef0",astonished:"\ud83d\ude32",athletic_shoe:"\ud83d\udc5f",atm:"\ud83c\udfe7",atom_symbol:"\u269b\ufe0f",avocado:"\ud83e\udd51",b:"\ud83c\udd71\ufe0f",baby:"\ud83d\udc76",baby_bottle:"\ud83c\udf7c",baby_chick:"\ud83d\udc24",baby_symbol:"\ud83d\udebc",back:"\ud83d\udd19",bacon:"\ud83e\udd53",badminton:"\ud83c\udff8",baggage_claim:"\ud83d\udec4",baguette_bread:"\ud83e\udd56",balance_scale:"\u2696\ufe0f",balloon:"\ud83c\udf88",ballot_box:"\ud83d\uddf3",ballot_box_with_check:"\u2611\ufe0f",bamboo:"\ud83c\udf8d",banana:"\ud83c\udf4c",bangbang:"\u203c\ufe0f",bank:"\ud83c\udfe6",bar_chart:"\ud83d\udcca",barber:"\ud83d\udc88",baseball:"\u26be\ufe0f",basketball:"\ud83c\udfc0",basketball_man:"\u26f9\ufe0f",basketball_woman:"\u26f9\ufe0f‍\u2640\ufe0f",bat:"\ud83e\udd87",bath:"\ud83d\udec0",bathtub:"\ud83d\udec1",battery:"\ud83d\udd0b",beach_umbrella:"\ud83c\udfd6",bear:"\ud83d\udc3b",bed:"\ud83d\udecf",bee:"\ud83d\udc1d",beer:"\ud83c\udf7a",beers:"\ud83c\udf7b",beetle:"\ud83d\udc1e",beginner:"\ud83d\udd30",bell:"\ud83d\udd14",bellhop_bell:"\ud83d\udece",bento:"\ud83c\udf71",biking_man:"\ud83d\udeb4",bike:"\ud83d\udeb2",biking_woman:"\ud83d\udeb4‍\u2640\ufe0f",bikini:"\ud83d\udc59",biohazard:"\u2623\ufe0f",bird:"\ud83d\udc26",birthday:"\ud83c\udf82",black_circle:"\u26ab\ufe0f",black_flag:"\ud83c\udff4",black_heart:"\ud83d\udda4",black_joker:"\ud83c\udccf",black_large_square:"\u2b1b\ufe0f",black_medium_small_square:"\u25fe\ufe0f",black_medium_square:"\u25fc\ufe0f",black_nib:"\u2712\ufe0f",black_small_square:"\u25aa\ufe0f",black_square_button:"\ud83d\udd32",blonde_man:"\ud83d\udc71",blonde_woman:"\ud83d\udc71‍\u2640\ufe0f",blossom:"\ud83c\udf3c",blowfish:"\ud83d\udc21",blue_book:"\ud83d\udcd8",blue_car:"\ud83d\ude99",blue_heart:"\ud83d\udc99",blush:"\ud83d\ude0a",boar:"\ud83d\udc17",boat:"\u26f5\ufe0f",bomb:"\ud83d\udca3",book:"\ud83d\udcd6",bookmark:"\ud83d\udd16",bookmark_tabs:"\ud83d\udcd1",books:"\ud83d\udcda",boom:"\ud83d\udca5",boot:"\ud83d\udc62",bouquet:"\ud83d\udc90",bowing_man:"\ud83d\ude47",bow_and_arrow:"\ud83c\udff9",bowing_woman:"\ud83d\ude47‍\u2640\ufe0f",bowling:"\ud83c\udfb3",boxing_glove:"\ud83e\udd4a",boy:"\ud83d\udc66",bread:"\ud83c\udf5e",bride_with_veil:"\ud83d\udc70",bridge_at_night:"\ud83c\udf09",briefcase:"\ud83d\udcbc",broken_heart:"\ud83d\udc94",bug:"\ud83d\udc1b",building_construction:"\ud83c\udfd7",bulb:"\ud83d\udca1",bullettrain_front:"\ud83d\ude85",bullettrain_side:"\ud83d\ude84",burrito:"\ud83c\udf2f",bus:"\ud83d\ude8c",business_suit_levitating:"\ud83d\udd74",busstop:"\ud83d\ude8f",bust_in_silhouette:"\ud83d\udc64",busts_in_silhouette:"\ud83d\udc65",butterfly:"\ud83e\udd8b",cactus:"\ud83c\udf35",cake:"\ud83c\udf70",calendar:"\ud83d\udcc6",call_me_hand:"\ud83e\udd19",calling:"\ud83d\udcf2",camel:"\ud83d\udc2b",camera:"\ud83d\udcf7",camera_flash:"\ud83d\udcf8",camping:"\ud83c\udfd5",cancer:"\u264b\ufe0f",candle:"\ud83d\udd6f",candy:"\ud83c\udf6c",canoe:"\ud83d\udef6",capital_abcd:"\ud83d\udd20",capricorn:"\u2651\ufe0f",car:"\ud83d\ude97",card_file_box:"\ud83d\uddc3",card_index:"\ud83d\udcc7",card_index_dividers:"\ud83d\uddc2",carousel_horse:"\ud83c\udfa0",carrot:"\ud83e\udd55",cat:"\ud83d\udc31",cat2:"\ud83d\udc08",cd:"\ud83d\udcbf",chains:"\u26d3",champagne:"\ud83c\udf7e",chart:"\ud83d\udcb9",chart_with_downwards_trend:"\ud83d\udcc9",chart_with_upwards_trend:"\ud83d\udcc8",checkered_flag:"\ud83c\udfc1",cheese:"\ud83e\uddc0",cherries:"\ud83c\udf52",cherry_blossom:"\ud83c\udf38",chestnut:"\ud83c\udf30",chicken:"\ud83d\udc14",children_crossing:"\ud83d\udeb8",chipmunk:"\ud83d\udc3f",chocolate_bar:"\ud83c\udf6b",christmas_tree:"\ud83c\udf84",church:"\u26ea\ufe0f",cinema:"\ud83c\udfa6",circus_tent:"\ud83c\udfaa",city_sunrise:"\ud83c\udf07",city_sunset:"\ud83c\udf06",cityscape:"\ud83c\udfd9",cl:"\ud83c\udd91",clamp:"\ud83d\udddc",clap:"\ud83d\udc4f",clapper:"\ud83c\udfac",classical_building:"\ud83c\udfdb",clinking_glasses:"\ud83e\udd42",clipboard:"\ud83d\udccb",clock1:"\ud83d\udd50",clock10:"\ud83d\udd59",clock1030:"\ud83d\udd65",clock11:"\ud83d\udd5a",clock1130:"\ud83d\udd66",clock12:"\ud83d\udd5b",clock1230:"\ud83d\udd67",clock130:"\ud83d\udd5c",clock2:"\ud83d\udd51",clock230:"\ud83d\udd5d",clock3:"\ud83d\udd52",clock330:"\ud83d\udd5e",clock4:"\ud83d\udd53",clock430:"\ud83d\udd5f",clock5:"\ud83d\udd54",clock530:"\ud83d\udd60",clock6:"\ud83d\udd55",clock630:"\ud83d\udd61",clock7:"\ud83d\udd56",clock730:"\ud83d\udd62",clock8:"\ud83d\udd57",clock830:"\ud83d\udd63",clock9:"\ud83d\udd58",clock930:"\ud83d\udd64",closed_book:"\ud83d\udcd5",closed_lock_with_key:"\ud83d\udd10",closed_umbrella:"\ud83c\udf02",cloud:"\u2601\ufe0f",cloud_with_lightning:"\ud83c\udf29",cloud_with_lightning_and_rain:"\u26c8",cloud_with_rain:"\ud83c\udf27",cloud_with_snow:"\ud83c\udf28",clown_face:"\ud83e\udd21",clubs:"\u2663\ufe0f",cocktail:"\ud83c\udf78",coffee:"\u2615\ufe0f",coffin:"\u26b0\ufe0f",cold_sweat:"\ud83d\ude30",comet:"\u2604\ufe0f",computer:"\ud83d\udcbb",computer_mouse:"\ud83d\uddb1",confetti_ball:"\ud83c\udf8a",confounded:"\ud83d\ude16",confused:"\ud83d\ude15",congratulations:"\u3297\ufe0f",construction:"\ud83d\udea7",construction_worker_man:"\ud83d\udc77",construction_worker_woman:"\ud83d\udc77‍\u2640\ufe0f",control_knobs:"\ud83c\udf9b",convenience_store:"\ud83c\udfea",cookie:"\ud83c\udf6a",cool:"\ud83c\udd92",policeman:"\ud83d\udc6e",copyright:"\xa9\ufe0f",corn:"\ud83c\udf3d",couch_and_lamp:"\ud83d\udecb",couple:"\ud83d\udc6b",couple_with_heart_woman_man:"\ud83d\udc91",couple_with_heart_man_man:"\ud83d\udc68‍\u2764\ufe0f‍\ud83d\udc68",couple_with_heart_woman_woman:"\ud83d\udc69‍\u2764\ufe0f‍\ud83d\udc69",couplekiss_man_man:"\ud83d\udc68‍\u2764\ufe0f‍\ud83d\udc8b‍\ud83d\udc68",couplekiss_man_woman:"\ud83d\udc8f",couplekiss_woman_woman:"\ud83d\udc69‍\u2764\ufe0f‍\ud83d\udc8b‍\ud83d\udc69",cow:"\ud83d\udc2e",cow2:"\ud83d\udc04",cowboy_hat_face:"\ud83e\udd20",crab:"\ud83e\udd80",crayon:"\ud83d\udd8d",credit_card:"\ud83d\udcb3",crescent_moon:"\ud83c\udf19",cricket:"\ud83c\udfcf",crocodile:"\ud83d\udc0a",croissant:"\ud83e\udd50",crossed_fingers:"\ud83e\udd1e",crossed_flags:"\ud83c\udf8c",crossed_swords:"\u2694\ufe0f",crown:"\ud83d\udc51",cry:"\ud83d\ude22",crying_cat_face:"\ud83d\ude3f",crystal_ball:"\ud83d\udd2e",cucumber:"\ud83e\udd52",cupid:"\ud83d\udc98",curly_loop:"\u27b0",currency_exchange:"\ud83d\udcb1",curry:"\ud83c\udf5b",custard:"\ud83c\udf6e",customs:"\ud83d\udec3",cyclone:"\ud83c\udf00",dagger:"\ud83d\udde1",dancer:"\ud83d\udc83",dancing_women:"\ud83d\udc6f",dancing_men:"\ud83d\udc6f‍\u2642\ufe0f",dango:"\ud83c\udf61",dark_sunglasses:"\ud83d\udd76",dart:"\ud83c\udfaf",dash:"\ud83d\udca8",date:"\ud83d\udcc5",deciduous_tree:"\ud83c\udf33",deer:"\ud83e\udd8c",department_store:"\ud83c\udfec",derelict_house:"\ud83c\udfda",desert:"\ud83c\udfdc",desert_island:"\ud83c\udfdd",desktop_computer:"\ud83d\udda5",male_detective:"\ud83d\udd75\ufe0f",diamond_shape_with_a_dot_inside:"\ud83d\udca0",diamonds:"\u2666\ufe0f",disappointed:"\ud83d\ude1e",disappointed_relieved:"\ud83d\ude25",dizzy:"\ud83d\udcab",dizzy_face:"\ud83d\ude35",do_not_litter:"\ud83d\udeaf",dog:"\ud83d\udc36",dog2:"\ud83d\udc15",dollar:"\ud83d\udcb5",dolls:"\ud83c\udf8e",dolphin:"\ud83d\udc2c",door:"\ud83d\udeaa",doughnut:"\ud83c\udf69",dove:"\ud83d\udd4a",dragon:"\ud83d\udc09",dragon_face:"\ud83d\udc32",dress:"\ud83d\udc57",dromedary_camel:"\ud83d\udc2a",drooling_face:"\ud83e\udd24",droplet:"\ud83d\udca7",drum:"\ud83e\udd41",duck:"\ud83e\udd86",dvd:"\ud83d\udcc0",'e-mail':"\ud83d\udce7",eagle:"\ud83e\udd85",ear:"\ud83d\udc42",ear_of_rice:"\ud83c\udf3e",earth_africa:"\ud83c\udf0d",earth_americas:"\ud83c\udf0e",earth_asia:"\ud83c\udf0f",egg:"\ud83e\udd5a",eggplant:"\ud83c\udf46",eight_pointed_black_star:"\u2734\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",electric_plug:"\ud83d\udd0c",elephant:"\ud83d\udc18",email:"\u2709\ufe0f",end:"\ud83d\udd1a",envelope_with_arrow:"\ud83d\udce9",euro:"\ud83d\udcb6",european_castle:"\ud83c\udff0",european_post_office:"\ud83c\udfe4",evergreen_tree:"\ud83c\udf32",exclamation:"\u2757\ufe0f",expressionless:"\ud83d\ude11",eye:"\ud83d\udc41",eye_speech_bubble:"\ud83d\udc41‍\ud83d\udde8",eyeglasses:"\ud83d\udc53",eyes:"\ud83d\udc40",face_with_head_bandage:"\ud83e\udd15",face_with_thermometer:"\ud83e\udd12",fist_oncoming:"\ud83d\udc4a",factory:"\ud83c\udfed",fallen_leaf:"\ud83c\udf42",family_man_woman_boy:"\ud83d\udc6a",family_man_boy:"\ud83d\udc68‍\ud83d\udc66",family_man_boy_boy:"\ud83d\udc68‍\ud83d\udc66‍\ud83d\udc66",family_man_girl:"\ud83d\udc68‍\ud83d\udc67",family_man_girl_boy:"\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc66",family_man_girl_girl:"\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc67",family_man_man_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc66",family_man_man_boy_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc66‍\ud83d\udc66",family_man_man_girl:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67",family_man_man_girl_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc66",family_man_man_girl_girl:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc67",family_man_woman_boy_boy:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_man_woman_girl:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67",family_man_woman_girl_boy:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_man_woman_girl_girl:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",family_woman_boy:"\ud83d\udc69‍\ud83d\udc66",family_woman_boy_boy:"\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_woman_girl:"\ud83d\udc69‍\ud83d\udc67",family_woman_girl_boy:"\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_woman_girl_girl:"\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",family_woman_woman_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc66",family_woman_woman_boy_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_woman_woman_girl:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67",family_woman_woman_girl_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_woman_woman_girl_girl:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",fast_forward:"\u23e9",fax:"\ud83d\udce0",fearful:"\ud83d\ude28",feet:"\ud83d\udc3e",female_detective:"\ud83d\udd75\ufe0f‍\u2640\ufe0f",ferris_wheel:"\ud83c\udfa1",ferry:"\u26f4",field_hockey:"\ud83c\udfd1",file_cabinet:"\ud83d\uddc4",file_folder:"\ud83d\udcc1",film_projector:"\ud83d\udcfd",film_strip:"\ud83c\udf9e",fire:"\ud83d\udd25",fire_engine:"\ud83d\ude92",fireworks:"\ud83c\udf86",first_quarter_moon:"\ud83c\udf13",first_quarter_moon_with_face:"\ud83c\udf1b",fish:"\ud83d\udc1f",fish_cake:"\ud83c\udf65",fishing_pole_and_fish:"\ud83c\udfa3",fist_raised:"\u270a",fist_left:"\ud83e\udd1b",fist_right:"\ud83e\udd1c",flags:"\ud83c\udf8f",flashlight:"\ud83d\udd26",fleur_de_lis:"\u269c\ufe0f",flight_arrival:"\ud83d\udeec",flight_departure:"\ud83d\udeeb",floppy_disk:"\ud83d\udcbe",flower_playing_cards:"\ud83c\udfb4",flushed:"\ud83d\ude33",fog:"\ud83c\udf2b",foggy:"\ud83c\udf01",football:"\ud83c\udfc8",footprints:"\ud83d\udc63",fork_and_knife:"\ud83c\udf74",fountain:"\u26f2\ufe0f",fountain_pen:"\ud83d\udd8b",four_leaf_clover:"\ud83c\udf40",fox_face:"\ud83e\udd8a",framed_picture:"\ud83d\uddbc",free:"\ud83c\udd93",fried_egg:"\ud83c\udf73",fried_shrimp:"\ud83c\udf64",fries:"\ud83c\udf5f",frog:"\ud83d\udc38",frowning:"\ud83d\ude26",frowning_face:"\u2639\ufe0f",frowning_man:"\ud83d\ude4d‍\u2642\ufe0f",frowning_woman:"\ud83d\ude4d",middle_finger:"\ud83d\udd95",fuelpump:"\u26fd\ufe0f",full_moon:"\ud83c\udf15",full_moon_with_face:"\ud83c\udf1d",funeral_urn:"\u26b1\ufe0f",game_die:"\ud83c\udfb2",gear:"\u2699\ufe0f",gem:"\ud83d\udc8e",gemini:"\u264a\ufe0f",ghost:"\ud83d\udc7b",gift:"\ud83c\udf81",gift_heart:"\ud83d\udc9d",girl:"\ud83d\udc67",globe_with_meridians:"\ud83c\udf10",goal_net:"\ud83e\udd45",goat:"\ud83d\udc10",golf:"\u26f3\ufe0f",golfing_man:"\ud83c\udfcc\ufe0f",golfing_woman:"\ud83c\udfcc\ufe0f‍\u2640\ufe0f",gorilla:"\ud83e\udd8d",grapes:"\ud83c\udf47",green_apple:"\ud83c\udf4f",green_book:"\ud83d\udcd7",green_heart:"\ud83d\udc9a",green_salad:"\ud83e\udd57",grey_exclamation:"\u2755",grey_question:"\u2754",grimacing:"\ud83d\ude2c",grin:"\ud83d\ude01",grinning:"\ud83d\ude00",guardsman:"\ud83d\udc82",guardswoman:"\ud83d\udc82‍\u2640\ufe0f",guitar:"\ud83c\udfb8",gun:"\ud83d\udd2b",haircut_woman:"\ud83d\udc87",haircut_man:"\ud83d\udc87‍\u2642\ufe0f",hamburger:"\ud83c\udf54",hammer:"\ud83d\udd28",hammer_and_pick:"\u2692",hammer_and_wrench:"\ud83d\udee0",hamster:"\ud83d\udc39",hand:"\u270b",handbag:"\ud83d\udc5c",handshake:"\ud83e\udd1d",hankey:"\ud83d\udca9",hatched_chick:"\ud83d\udc25",hatching_chick:"\ud83d\udc23",headphones:"\ud83c\udfa7",hear_no_evil:"\ud83d\ude49",heart:"\u2764\ufe0f",heart_decoration:"\ud83d\udc9f",heart_eyes:"\ud83d\ude0d",heart_eyes_cat:"\ud83d\ude3b",heartbeat:"\ud83d\udc93",heartpulse:"\ud83d\udc97",hearts:"\u2665\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_division_sign:"\u2797",heavy_dollar_sign:"\ud83d\udcb2",heavy_heart_exclamation:"\u2763\ufe0f",heavy_minus_sign:"\u2796",heavy_multiplication_x:"\u2716\ufe0f",heavy_plus_sign:"\u2795",helicopter:"\ud83d\ude81",herb:"\ud83c\udf3f",hibiscus:"\ud83c\udf3a",high_brightness:"\ud83d\udd06",high_heel:"\ud83d\udc60",hocho:"\ud83d\udd2a",hole:"\ud83d\udd73",honey_pot:"\ud83c\udf6f",horse:"\ud83d\udc34",horse_racing:"\ud83c\udfc7",hospital:"\ud83c\udfe5",hot_pepper:"\ud83c\udf36",hotdog:"\ud83c\udf2d",hotel:"\ud83c\udfe8",hotsprings:"\u2668\ufe0f",hourglass:"\u231b\ufe0f",hourglass_flowing_sand:"\u23f3",house:"\ud83c\udfe0",house_with_garden:"\ud83c\udfe1",houses:"\ud83c\udfd8",hugs:"\ud83e\udd17",hushed:"\ud83d\ude2f",ice_cream:"\ud83c\udf68",ice_hockey:"\ud83c\udfd2",ice_skate:"\u26f8",icecream:"\ud83c\udf66",id:"\ud83c\udd94",ideograph_advantage:"\ud83c\ude50",imp:"\ud83d\udc7f",inbox_tray:"\ud83d\udce5",incoming_envelope:"\ud83d\udce8",tipping_hand_woman:"\ud83d\udc81",information_source:"\u2139\ufe0f",innocent:"\ud83d\ude07",interrobang:"\u2049\ufe0f",iphone:"\ud83d\udcf1",izakaya_lantern:"\ud83c\udfee",jack_o_lantern:"\ud83c\udf83",japan:"\ud83d\uddfe",japanese_castle:"\ud83c\udfef",japanese_goblin:"\ud83d\udc7a",japanese_ogre:"\ud83d\udc79",jeans:"\ud83d\udc56",joy:"\ud83d\ude02",joy_cat:"\ud83d\ude39",joystick:"\ud83d\udd79",kaaba:"\ud83d\udd4b",key:"\ud83d\udd11",keyboard:"\u2328\ufe0f",keycap_ten:"\ud83d\udd1f",kick_scooter:"\ud83d\udef4",kimono:"\ud83d\udc58",kiss:"\ud83d\udc8b",kissing:"\ud83d\ude17",kissing_cat:"\ud83d\ude3d",kissing_closed_eyes:"\ud83d\ude1a",kissing_heart:"\ud83d\ude18",kissing_smiling_eyes:"\ud83d\ude19",kiwi_fruit:"\ud83e\udd5d",koala:"\ud83d\udc28",koko:"\ud83c\ude01",label:"\ud83c\udff7",large_blue_circle:"\ud83d\udd35",large_blue_diamond:"\ud83d\udd37",large_orange_diamond:"\ud83d\udd36",last_quarter_moon:"\ud83c\udf17",last_quarter_moon_with_face:"\ud83c\udf1c",latin_cross:"\u271d\ufe0f",laughing:"\ud83d\ude06",leaves:"\ud83c\udf43",ledger:"\ud83d\udcd2",left_luggage:"\ud83d\udec5",left_right_arrow:"\u2194\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",lemon:"\ud83c\udf4b",leo:"\u264c\ufe0f",leopard:"\ud83d\udc06",level_slider:"\ud83c\udf9a",libra:"\u264e\ufe0f",light_rail:"\ud83d\ude88",link:"\ud83d\udd17",lion:"\ud83e\udd81",lips:"\ud83d\udc44",lipstick:"\ud83d\udc84",lizard:"\ud83e\udd8e",lock:"\ud83d\udd12",lock_with_ink_pen:"\ud83d\udd0f",lollipop:"\ud83c\udf6d",loop:"\u27bf",loud_sound:"\ud83d\udd0a",loudspeaker:"\ud83d\udce2",love_hotel:"\ud83c\udfe9",love_letter:"\ud83d\udc8c",low_brightness:"\ud83d\udd05",lying_face:"\ud83e\udd25",m:"\u24c2\ufe0f",mag:"\ud83d\udd0d",mag_right:"\ud83d\udd0e",mahjong:"\ud83c\udc04\ufe0f",mailbox:"\ud83d\udceb",mailbox_closed:"\ud83d\udcea",mailbox_with_mail:"\ud83d\udcec",mailbox_with_no_mail:"\ud83d\udced",man:"\ud83d\udc68",man_artist:"\ud83d\udc68‍\ud83c\udfa8",man_astronaut:"\ud83d\udc68‍\ud83d\ude80",man_cartwheeling:"\ud83e\udd38‍\u2642\ufe0f",man_cook:"\ud83d\udc68‍\ud83c\udf73",man_dancing:"\ud83d\udd7a",man_facepalming:"\ud83e\udd26‍\u2642\ufe0f",man_factory_worker:"\ud83d\udc68‍\ud83c\udfed",man_farmer:"\ud83d\udc68‍\ud83c\udf3e",man_firefighter:"\ud83d\udc68‍\ud83d\ude92",man_health_worker:"\ud83d\udc68‍\u2695\ufe0f",man_in_tuxedo:"\ud83e\udd35",man_judge:"\ud83d\udc68‍\u2696\ufe0f",man_juggling:"\ud83e\udd39‍\u2642\ufe0f",man_mechanic:"\ud83d\udc68‍\ud83d\udd27",man_office_worker:"\ud83d\udc68‍\ud83d\udcbc",man_pilot:"\ud83d\udc68‍\u2708\ufe0f",man_playing_handball:"\ud83e\udd3e‍\u2642\ufe0f",man_playing_water_polo:"\ud83e\udd3d‍\u2642\ufe0f",man_scientist:"\ud83d\udc68‍\ud83d\udd2c",man_shrugging:"\ud83e\udd37‍\u2642\ufe0f",man_singer:"\ud83d\udc68‍\ud83c\udfa4",man_student:"\ud83d\udc68‍\ud83c\udf93",man_teacher:"\ud83d\udc68‍\ud83c\udfeb",man_technologist:"\ud83d\udc68‍\ud83d\udcbb",man_with_gua_pi_mao:"\ud83d\udc72",man_with_turban:"\ud83d\udc73",tangerine:"\ud83c\udf4a",mans_shoe:"\ud83d\udc5e",mantelpiece_clock:"\ud83d\udd70",maple_leaf:"\ud83c\udf41",martial_arts_uniform:"\ud83e\udd4b",mask:"\ud83d\ude37",massage_woman:"\ud83d\udc86",massage_man:"\ud83d\udc86‍\u2642\ufe0f",meat_on_bone:"\ud83c\udf56",medal_military:"\ud83c\udf96",medal_sports:"\ud83c\udfc5",mega:"\ud83d\udce3",melon:"\ud83c\udf48",memo:"\ud83d\udcdd",men_wrestling:"\ud83e\udd3c‍\u2642\ufe0f",menorah:"\ud83d\udd4e",mens:"\ud83d\udeb9",metal:"\ud83e\udd18",metro:"\ud83d\ude87",microphone:"\ud83c\udfa4",microscope:"\ud83d\udd2c",milk_glass:"\ud83e\udd5b",milky_way:"\ud83c\udf0c",minibus:"\ud83d\ude90",minidisc:"\ud83d\udcbd",mobile_phone_off:"\ud83d\udcf4",money_mouth_face:"\ud83e\udd11",money_with_wings:"\ud83d\udcb8",moneybag:"\ud83d\udcb0",monkey:"\ud83d\udc12",monkey_face:"\ud83d\udc35",monorail:"\ud83d\ude9d",moon:"\ud83c\udf14",mortar_board:"\ud83c\udf93",mosque:"\ud83d\udd4c",motor_boat:"\ud83d\udee5",motor_scooter:"\ud83d\udef5",motorcycle:"\ud83c\udfcd",motorway:"\ud83d\udee3",mount_fuji:"\ud83d\uddfb",mountain:"\u26f0",mountain_biking_man:"\ud83d\udeb5",mountain_biking_woman:"\ud83d\udeb5‍\u2640\ufe0f",mountain_cableway:"\ud83d\udea0",mountain_railway:"\ud83d\ude9e",mountain_snow:"\ud83c\udfd4",mouse:"\ud83d\udc2d",mouse2:"\ud83d\udc01",movie_camera:"\ud83c\udfa5",moyai:"\ud83d\uddff",mrs_claus:"\ud83e\udd36",muscle:"\ud83d\udcaa",mushroom:"\ud83c\udf44",musical_keyboard:"\ud83c\udfb9",musical_note:"\ud83c\udfb5",musical_score:"\ud83c\udfbc",mute:"\ud83d\udd07",nail_care:"\ud83d\udc85",name_badge:"\ud83d\udcdb",national_park:"\ud83c\udfde",nauseated_face:"\ud83e\udd22",necktie:"\ud83d\udc54",negative_squared_cross_mark:"\u274e",nerd_face:"\ud83e\udd13",neutral_face:"\ud83d\ude10",new:"\ud83c\udd95",new_moon:"\ud83c\udf11",new_moon_with_face:"\ud83c\udf1a",newspaper:"\ud83d\udcf0",newspaper_roll:"\ud83d\uddde",next_track_button:"\u23ed",ng:"\ud83c\udd96",no_good_man:"\ud83d\ude45‍\u2642\ufe0f",no_good_woman:"\ud83d\ude45",night_with_stars:"\ud83c\udf03",no_bell:"\ud83d\udd15",no_bicycles:"\ud83d\udeb3",no_entry:"\u26d4\ufe0f",no_entry_sign:"\ud83d\udeab",no_mobile_phones:"\ud83d\udcf5",no_mouth:"\ud83d\ude36",no_pedestrians:"\ud83d\udeb7",no_smoking:"\ud83d\udead",'non-potable_water':"\ud83d\udeb1",nose:"\ud83d\udc43",notebook:"\ud83d\udcd3",notebook_with_decorative_cover:"\ud83d\udcd4",notes:"\ud83c\udfb6",nut_and_bolt:"\ud83d\udd29",o:"\u2b55\ufe0f",o2:"\ud83c\udd7e\ufe0f",ocean:"\ud83c\udf0a",octopus:"\ud83d\udc19",oden:"\ud83c\udf62",office:"\ud83c\udfe2",oil_drum:"\ud83d\udee2",ok:"\ud83c\udd97",ok_hand:"\ud83d\udc4c",ok_man:"\ud83d\ude46‍\u2642\ufe0f",ok_woman:"\ud83d\ude46",old_key:"\ud83d\udddd",older_man:"\ud83d\udc74",older_woman:"\ud83d\udc75",om:"\ud83d\udd49",on:"\ud83d\udd1b",oncoming_automobile:"\ud83d\ude98",oncoming_bus:"\ud83d\ude8d",oncoming_police_car:"\ud83d\ude94",oncoming_taxi:"\ud83d\ude96",open_file_folder:"\ud83d\udcc2",open_hands:"\ud83d\udc50",open_mouth:"\ud83d\ude2e",open_umbrella:"\u2602\ufe0f",ophiuchus:"\u26ce",orange_book:"\ud83d\udcd9",orthodox_cross:"\u2626\ufe0f",outbox_tray:"\ud83d\udce4",owl:"\ud83e\udd89",ox:"\ud83d\udc02",package:"\ud83d\udce6",page_facing_up:"\ud83d\udcc4",page_with_curl:"\ud83d\udcc3",pager:"\ud83d\udcdf",paintbrush:"\ud83d\udd8c",palm_tree:"\ud83c\udf34",pancakes:"\ud83e\udd5e",panda_face:"\ud83d\udc3c",paperclip:"\ud83d\udcce",paperclips:"\ud83d\udd87",parasol_on_ground:"\u26f1",parking:"\ud83c\udd7f\ufe0f",part_alternation_mark:"\u303d\ufe0f",partly_sunny:"\u26c5\ufe0f",passenger_ship:"\ud83d\udef3",passport_control:"\ud83d\udec2",pause_button:"\u23f8",peace_symbol:"\u262e\ufe0f",peach:"\ud83c\udf51",peanuts:"\ud83e\udd5c",pear:"\ud83c\udf50",pen:"\ud83d\udd8a",pencil2:"\u270f\ufe0f",penguin:"\ud83d\udc27",pensive:"\ud83d\ude14",performing_arts:"\ud83c\udfad",persevere:"\ud83d\ude23",person_fencing:"\ud83e\udd3a",pouting_woman:"\ud83d\ude4e",phone:"\u260e\ufe0f",pick:"\u26cf",pig:"\ud83d\udc37",pig2:"\ud83d\udc16",pig_nose:"\ud83d\udc3d",pill:"\ud83d\udc8a",pineapple:"\ud83c\udf4d",ping_pong:"\ud83c\udfd3",pisces:"\u2653\ufe0f",pizza:"\ud83c\udf55",place_of_worship:"\ud83d\uded0",plate_with_cutlery:"\ud83c\udf7d",play_or_pause_button:"\u23ef",point_down:"\ud83d\udc47",point_left:"\ud83d\udc48",point_right:"\ud83d\udc49",point_up:"\u261d\ufe0f",point_up_2:"\ud83d\udc46",police_car:"\ud83d\ude93",policewoman:"\ud83d\udc6e‍\u2640\ufe0f",poodle:"\ud83d\udc29",popcorn:"\ud83c\udf7f",post_office:"\ud83c\udfe3",postal_horn:"\ud83d\udcef",postbox:"\ud83d\udcee",potable_water:"\ud83d\udeb0",potato:"\ud83e\udd54",pouch:"\ud83d\udc5d",poultry_leg:"\ud83c\udf57",pound:"\ud83d\udcb7",rage:"\ud83d\ude21",pouting_cat:"\ud83d\ude3e",pouting_man:"\ud83d\ude4e‍\u2642\ufe0f",pray:"\ud83d\ude4f",prayer_beads:"\ud83d\udcff",pregnant_woman:"\ud83e\udd30",previous_track_button:"\u23ee",prince:"\ud83e\udd34",princess:"\ud83d\udc78",printer:"\ud83d\udda8",purple_heart:"\ud83d\udc9c",purse:"\ud83d\udc5b",pushpin:"\ud83d\udccc",put_litter_in_its_place:"\ud83d\udeae",question:"\u2753",rabbit:"\ud83d\udc30",rabbit2:"\ud83d\udc07",racehorse:"\ud83d\udc0e",racing_car:"\ud83c\udfce",radio:"\ud83d\udcfb",radio_button:"\ud83d\udd18",radioactive:"\u2622\ufe0f",railway_car:"\ud83d\ude83",railway_track:"\ud83d\udee4",rainbow:"\ud83c\udf08",rainbow_flag:"\ud83c\udff3\ufe0f‍\ud83c\udf08",raised_back_of_hand:"\ud83e\udd1a",raised_hand_with_fingers_splayed:"\ud83d\udd90",raised_hands:"\ud83d\ude4c",raising_hand_woman:"\ud83d\ude4b",raising_hand_man:"\ud83d\ude4b‍\u2642\ufe0f",ram:"\ud83d\udc0f",ramen:"\ud83c\udf5c",rat:"\ud83d\udc00",record_button:"\u23fa",recycle:"\u267b\ufe0f",red_circle:"\ud83d\udd34",registered:"\xae\ufe0f",relaxed:"\u263a\ufe0f",relieved:"\ud83d\ude0c",reminder_ribbon:"\ud83c\udf97",repeat:"\ud83d\udd01",repeat_one:"\ud83d\udd02",rescue_worker_helmet:"\u26d1",restroom:"\ud83d\udebb",revolving_hearts:"\ud83d\udc9e",rewind:"\u23ea",rhinoceros:"\ud83e\udd8f",ribbon:"\ud83c\udf80",rice:"\ud83c\udf5a",rice_ball:"\ud83c\udf59",rice_cracker:"\ud83c\udf58",rice_scene:"\ud83c\udf91",right_anger_bubble:"\ud83d\uddef",ring:"\ud83d\udc8d",robot:"\ud83e\udd16",rocket:"\ud83d\ude80",rofl:"\ud83e\udd23",roll_eyes:"\ud83d\ude44",roller_coaster:"\ud83c\udfa2",rooster:"\ud83d\udc13",rose:"\ud83c\udf39",rosette:"\ud83c\udff5",rotating_light:"\ud83d\udea8",round_pushpin:"\ud83d\udccd",rowing_man:"\ud83d\udea3",rowing_woman:"\ud83d\udea3‍\u2640\ufe0f",rugby_football:"\ud83c\udfc9",running_man:"\ud83c\udfc3",running_shirt_with_sash:"\ud83c\udfbd",running_woman:"\ud83c\udfc3‍\u2640\ufe0f",sa:"\ud83c\ude02\ufe0f",sagittarius:"\u2650\ufe0f",sake:"\ud83c\udf76",sandal:"\ud83d\udc61",santa:"\ud83c\udf85",satellite:"\ud83d\udce1",saxophone:"\ud83c\udfb7",school:"\ud83c\udfeb",school_satchel:"\ud83c\udf92",scissors:"\u2702\ufe0f",scorpion:"\ud83e\udd82",scorpius:"\u264f\ufe0f",scream:"\ud83d\ude31",scream_cat:"\ud83d\ude40",scroll:"\ud83d\udcdc",seat:"\ud83d\udcba",secret:"\u3299\ufe0f",see_no_evil:"\ud83d\ude48",seedling:"\ud83c\udf31",selfie:"\ud83e\udd33",shallow_pan_of_food:"\ud83e\udd58",shamrock:"\u2618\ufe0f",shark:"\ud83e\udd88",shaved_ice:"\ud83c\udf67",sheep:"\ud83d\udc11",shell:"\ud83d\udc1a",shield:"\ud83d\udee1",shinto_shrine:"\u26e9",ship:"\ud83d\udea2",shirt:"\ud83d\udc55",shopping:"\ud83d\udecd",shopping_cart:"\ud83d\uded2",shower:"\ud83d\udebf",shrimp:"\ud83e\udd90",signal_strength:"\ud83d\udcf6",six_pointed_star:"\ud83d\udd2f",ski:"\ud83c\udfbf",skier:"\u26f7",skull:"\ud83d\udc80",skull_and_crossbones:"\u2620\ufe0f",sleeping:"\ud83d\ude34",sleeping_bed:"\ud83d\udecc",sleepy:"\ud83d\ude2a",slightly_frowning_face:"\ud83d\ude41",slightly_smiling_face:"\ud83d\ude42",slot_machine:"\ud83c\udfb0",small_airplane:"\ud83d\udee9",small_blue_diamond:"\ud83d\udd39",small_orange_diamond:"\ud83d\udd38",small_red_triangle:"\ud83d\udd3a",small_red_triangle_down:"\ud83d\udd3b",smile:"\ud83d\ude04",smile_cat:"\ud83d\ude38",smiley:"\ud83d\ude03",smiley_cat:"\ud83d\ude3a",smiling_imp:"\ud83d\ude08",smirk:"\ud83d\ude0f",smirk_cat:"\ud83d\ude3c",smoking:"\ud83d\udeac",snail:"\ud83d\udc0c",snake:"\ud83d\udc0d",sneezing_face:"\ud83e\udd27",snowboarder:"\ud83c\udfc2",snowflake:"\u2744\ufe0f",snowman:"\u26c4\ufe0f",snowman_with_snow:"\u2603\ufe0f",sob:"\ud83d\ude2d",soccer:"\u26bd\ufe0f",soon:"\ud83d\udd1c",sos:"\ud83c\udd98",sound:"\ud83d\udd09",space_invader:"\ud83d\udc7e",spades:"\u2660\ufe0f",spaghetti:"\ud83c\udf5d",sparkle:"\u2747\ufe0f",sparkler:"\ud83c\udf87",sparkles:"\u2728",sparkling_heart:"\ud83d\udc96",speak_no_evil:"\ud83d\ude4a",speaker:"\ud83d\udd08",speaking_head:"\ud83d\udde3",speech_balloon:"\ud83d\udcac",speedboat:"\ud83d\udea4",spider:"\ud83d\udd77",spider_web:"\ud83d\udd78",spiral_calendar:"\ud83d\uddd3",spiral_notepad:"\ud83d\uddd2",spoon:"\ud83e\udd44",squid:"\ud83e\udd91",stadium:"\ud83c\udfdf",star:"\u2b50\ufe0f",star2:"\ud83c\udf1f",star_and_crescent:"\u262a\ufe0f",star_of_david:"\u2721\ufe0f",stars:"\ud83c\udf20",station:"\ud83d\ude89",statue_of_liberty:"\ud83d\uddfd",steam_locomotive:"\ud83d\ude82",stew:"\ud83c\udf72",stop_button:"\u23f9",stop_sign:"\ud83d\uded1",stopwatch:"\u23f1",straight_ruler:"\ud83d\udccf",strawberry:"\ud83c\udf53",stuck_out_tongue:"\ud83d\ude1b",stuck_out_tongue_closed_eyes:"\ud83d\ude1d",stuck_out_tongue_winking_eye:"\ud83d\ude1c",studio_microphone:"\ud83c\udf99",stuffed_flatbread:"\ud83e\udd59",sun_behind_large_cloud:"\ud83c\udf25",sun_behind_rain_cloud:"\ud83c\udf26",sun_behind_small_cloud:"\ud83c\udf24",sun_with_face:"\ud83c\udf1e",sunflower:"\ud83c\udf3b",sunglasses:"\ud83d\ude0e",sunny:"\u2600\ufe0f",sunrise:"\ud83c\udf05",sunrise_over_mountains:"\ud83c\udf04",surfing_man:"\ud83c\udfc4",surfing_woman:"\ud83c\udfc4‍\u2640\ufe0f",sushi:"\ud83c\udf63",suspension_railway:"\ud83d\ude9f",sweat:"\ud83d\ude13",sweat_drops:"\ud83d\udca6",sweat_smile:"\ud83d\ude05",sweet_potato:"\ud83c\udf60",swimming_man:"\ud83c\udfca",swimming_woman:"\ud83c\udfca‍\u2640\ufe0f",symbols:"\ud83d\udd23",synagogue:"\ud83d\udd4d",syringe:"\ud83d\udc89",taco:"\ud83c\udf2e",tada:"\ud83c\udf89",tanabata_tree:"\ud83c\udf8b",taurus:"\u2649\ufe0f",taxi:"\ud83d\ude95",tea:"\ud83c\udf75",telephone_receiver:"\ud83d\udcde",telescope:"\ud83d\udd2d",tennis:"\ud83c\udfbe",tent:"\u26fa\ufe0f",thermometer:"\ud83c\udf21",thinking:"\ud83e\udd14",thought_balloon:"\ud83d\udcad",ticket:"\ud83c\udfab",tickets:"\ud83c\udf9f",tiger:"\ud83d\udc2f",tiger2:"\ud83d\udc05",timer_clock:"\u23f2",tipping_hand_man:"\ud83d\udc81‍\u2642\ufe0f",tired_face:"\ud83d\ude2b",tm:"\u2122\ufe0f",toilet:"\ud83d\udebd",tokyo_tower:"\ud83d\uddfc",tomato:"\ud83c\udf45",tongue:"\ud83d\udc45",top:"\ud83d\udd1d",tophat:"\ud83c\udfa9",tornado:"\ud83c\udf2a",trackball:"\ud83d\uddb2",tractor:"\ud83d\ude9c",traffic_light:"\ud83d\udea5",train:"\ud83d\ude8b",train2:"\ud83d\ude86",tram:"\ud83d\ude8a",triangular_flag_on_post:"\ud83d\udea9",triangular_ruler:"\ud83d\udcd0",trident:"\ud83d\udd31",triumph:"\ud83d\ude24",trolleybus:"\ud83d\ude8e",trophy:"\ud83c\udfc6",tropical_drink:"\ud83c\udf79",tropical_fish:"\ud83d\udc20",truck:"\ud83d\ude9a",trumpet:"\ud83c\udfba",tulip:"\ud83c\udf37",tumbler_glass:"\ud83e\udd43",turkey:"\ud83e\udd83",turtle:"\ud83d\udc22",tv:"\ud83d\udcfa",twisted_rightwards_arrows:"\ud83d\udd00",two_hearts:"\ud83d\udc95",two_men_holding_hands:"\ud83d\udc6c",two_women_holding_hands:"\ud83d\udc6d",u5272:"\ud83c\ude39",u5408:"\ud83c\ude34",u55b6:"\ud83c\ude3a",u6307:"\ud83c\ude2f\ufe0f",u6708:"\ud83c\ude37\ufe0f",u6709:"\ud83c\ude36",u6e80:"\ud83c\ude35",u7121:"\ud83c\ude1a\ufe0f",u7533:"\ud83c\ude38",u7981:"\ud83c\ude32",u7a7a:"\ud83c\ude33",umbrella:"\u2614\ufe0f",unamused:"\ud83d\ude12",underage:"\ud83d\udd1e",unicorn:"\ud83e\udd84",unlock:"\ud83d\udd13",up:"\ud83c\udd99",upside_down_face:"\ud83d\ude43",v:"\u270c\ufe0f",vertical_traffic_light:"\ud83d\udea6",vhs:"\ud83d\udcfc",vibration_mode:"\ud83d\udcf3",video_camera:"\ud83d\udcf9",video_game:"\ud83c\udfae",violin:"\ud83c\udfbb",virgo:"\u264d\ufe0f",volcano:"\ud83c\udf0b",volleyball:"\ud83c\udfd0",vs:"\ud83c\udd9a",vulcan_salute:"\ud83d\udd96",walking_man:"\ud83d\udeb6",walking_woman:"\ud83d\udeb6‍\u2640\ufe0f",waning_crescent_moon:"\ud83c\udf18",waning_gibbous_moon:"\ud83c\udf16",warning:"\u26a0\ufe0f",wastebasket:"\ud83d\uddd1",watch:"\u231a\ufe0f",water_buffalo:"\ud83d\udc03",watermelon:"\ud83c\udf49",wave:"\ud83d\udc4b",wavy_dash:"\u3030\ufe0f",waxing_crescent_moon:"\ud83c\udf12",wc:"\ud83d\udebe",weary:"\ud83d\ude29",wedding:"\ud83d\udc92",weight_lifting_man:"\ud83c\udfcb\ufe0f",weight_lifting_woman:"\ud83c\udfcb\ufe0f‍\u2640\ufe0f",whale:"\ud83d\udc33",whale2:"\ud83d\udc0b",wheel_of_dharma:"\u2638\ufe0f",wheelchair:"\u267f\ufe0f",white_check_mark:"\u2705",white_circle:"\u26aa\ufe0f",white_flag:"\ud83c\udff3\ufe0f",white_flower:"\ud83d\udcae",white_large_square:"\u2b1c\ufe0f",white_medium_small_square:"\u25fd\ufe0f",white_medium_square:"\u25fb\ufe0f",white_small_square:"\u25ab\ufe0f",white_square_button:"\ud83d\udd33",wilted_flower:"\ud83e\udd40",wind_chime:"\ud83c\udf90",wind_face:"\ud83c\udf2c",wine_glass:"\ud83c\udf77",wink:"\ud83d\ude09",wolf:"\ud83d\udc3a",woman:"\ud83d\udc69",woman_artist:"\ud83d\udc69‍\ud83c\udfa8",woman_astronaut:"\ud83d\udc69‍\ud83d\ude80",woman_cartwheeling:"\ud83e\udd38‍\u2640\ufe0f",woman_cook:"\ud83d\udc69‍\ud83c\udf73",woman_facepalming:"\ud83e\udd26‍\u2640\ufe0f",woman_factory_worker:"\ud83d\udc69‍\ud83c\udfed",woman_farmer:"\ud83d\udc69‍\ud83c\udf3e",woman_firefighter:"\ud83d\udc69‍\ud83d\ude92",woman_health_worker:"\ud83d\udc69‍\u2695\ufe0f",woman_judge:"\ud83d\udc69‍\u2696\ufe0f",woman_juggling:"\ud83e\udd39‍\u2640\ufe0f",woman_mechanic:"\ud83d\udc69‍\ud83d\udd27",woman_office_worker:"\ud83d\udc69‍\ud83d\udcbc",woman_pilot:"\ud83d\udc69‍\u2708\ufe0f",woman_playing_handball:"\ud83e\udd3e‍\u2640\ufe0f",woman_playing_water_polo:"\ud83e\udd3d‍\u2640\ufe0f",woman_scientist:"\ud83d\udc69‍\ud83d\udd2c",woman_shrugging:"\ud83e\udd37‍\u2640\ufe0f",woman_singer:"\ud83d\udc69‍\ud83c\udfa4",woman_student:"\ud83d\udc69‍\ud83c\udf93",woman_teacher:"\ud83d\udc69‍\ud83c\udfeb",woman_technologist:"\ud83d\udc69‍\ud83d\udcbb",woman_with_turban:"\ud83d\udc73‍\u2640\ufe0f",womans_clothes:"\ud83d\udc5a",womans_hat:"\ud83d\udc52",women_wrestling:"\ud83e\udd3c‍\u2640\ufe0f",womens:"\ud83d\udeba",world_map:"\ud83d\uddfa",worried:"\ud83d\ude1f",wrench:"\ud83d\udd27",writing_hand:"\u270d\ufe0f",x:"\u274c",yellow_heart:"\ud83d\udc9b",yen:"\ud83d\udcb4",yin_yang:"\u262f\ufe0f",yum:"\ud83d\ude0b",zap:"\u26a1\ufe0f",zipper_mouth_face:"\ud83e\udd10",zzz:"\ud83d\udca4",octocat:':octocat:',showdown:'S'},r.Converter=function(e){'use strict';var t={},n=[],c=[],u={},d=o,p={parsed:{},raw:'',format:''};function h(e,t){if(t=t||null,r.helper.isString(e)){if(t=e=r.helper.stdExtName(e),r.extensions[e])return console.warn('DEPRECATION WARNING: '+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void _(r.extensions[e],e);if(r.helper.isUndefined(a[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=a[e]}'function'==typeof e&&(e=e()),r.helper.isArray(e)||(e=[e]);var s=l(e,t);if(!s.valid)throw Error(s.error);for(var o=0;o[ \t]+\xa8NBSP;<'),!t){if(!window||!window.document)throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');t=window.document}var a=t.createElement('div');a.innerHTML=e;var n={preList:(function(e){for(var t=e.querySelectorAll('pre'),a=[],n=0;n'}else a.push(t[n].innerHTML),t[n].innerHTML='',t[n].setAttribute('prenum',n.toString());return a})(a)};!(function e(r){for(var t=0;t? ?(['"].*['"])?\)$/m)>-1)o='';else if(!o){if(s||(s=n.toLowerCase().replace(/ ?\n/g,' ')),o='#'+s,r.helper.isUndefined(a.gUrls[s]))return e;o=a.gUrls[s],r.helper.isUndefined(a.gTitles[s])||(c=a.gTitles[s])}var u=''};return e=(e=(e=(e=(e=a.converter._dispatch('anchors.before',e,t,a)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,a,n,s,o){if('\\'===n)return a+s;if(!r.helper.isString(t.ghMentionsLink))throw new Error('ghMentionsLink option must be a string');var i=t.ghMentionsLink.replace(/\{u}/g,o),l='';return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="\xa8E95Eblank"'),a+''+s+''})),e=a.converter._dispatch('anchors.after',e,t,a)});var d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,h=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,_=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,m=function(e){'use strict';return function(t,a,n,s,o,i,l){var c=n=n.replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback),u='',d='',p=a||'',h=l||'';return/^www\./i.test(n)&&(n=n.replace(/^www\./i,'http://www.')),e.excludeTrailingPunctuationFromURLs&&i&&(u=i),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="\xa8E95Eblank"'),p+''+c+''+u+h}},f=function(e,t){'use strict';return function(a,n,s){var o='mailto:';return n=n||'',s=r.subParser('unescapeSpecialChars')(s,e,t),e.encodeEmails?(o=r.helper.encodeEmailAddress(o+s),s=r.helper.encodeEmailAddress(s)):o+=s,n+''+s+''}};r.subParser('autoLinks',function(e,r,t){'use strict';return e=(e=(e=t.converter._dispatch('autoLinks.before',e,r,t)).replace(h,m(r))).replace(g,f(r,t)),e=t.converter._dispatch('autoLinks.after',e,r,t)}),r.subParser('simplifiedAutoLinks',function(e,r,t){'use strict';return r.simplifiedAutoLink?(e=t.converter._dispatch('simplifiedAutoLinks.before',e,r,t),e=(e=r.excludeTrailingPunctuationFromURLs?e.replace(p,m(r)):e.replace(d,m(r))).replace(_,f(r,t)),e=t.converter._dispatch('simplifiedAutoLinks.after',e,r,t)):e}),r.subParser('blockGamut',function(e,t,a){'use strict';return e=a.converter._dispatch('blockGamut.before',e,t,a),e=r.subParser('blockQuotes')(e,t,a),e=r.subParser('headers')(e,t,a),e=r.subParser('horizontalRule')(e,t,a),e=r.subParser('lists')(e,t,a),e=r.subParser('codeBlocks')(e,t,a),e=r.subParser('tables')(e,t,a),e=r.subParser('hashHTMLBlocks')(e,t,a),e=r.subParser('paragraphs')(e,t,a),e=a.converter._dispatch('blockGamut.after',e,t,a)}),r.subParser('blockQuotes',function(e,t,a){'use strict';e=a.converter._dispatch('blockQuotes.before',e,t,a),e+='\n\n';var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,'')).replace(/\xa80/g,'')).replace(/^[ \t]+$/gm,''),e=r.subParser('githubCodeBlocks')(e,t,a),e=(e=(e=r.subParser('blockGamut')(e,t,a)).replace(/(^|\n)/g,'$1 ')).replace(/(\s*
[^\r]+?<\/pre>)/gm,function(e,r){var t=r;return t=(t=t.replace(/^  /gm,'\xa80')).replace(/\xa80/g,'')}),r.subParser('hashBlock')('
\n'+e+'\n
',t,a)}),e=a.converter._dispatch('blockQuotes.after',e,t,a)}),r.subParser('codeBlocks',function(e,t,a){'use strict';e=a.converter._dispatch('codeBlocks.before',e,t,a);return e=(e=(e+='\xa80').replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=\xa80))/g,function(e,n,s){var o=n,i=s,l='\n';return o=r.subParser('outdent')(o,t,a),o=r.subParser('encodeCode')(o,t,a),o=(o=(o=r.subParser('detab')(o,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,''),t.omitExtraWLInCodeBlocks&&(l=''),o='
'+o+l+'
',r.subParser('hashBlock')(o,t,a)+i})).replace(/\xa80/,''),e=a.converter._dispatch('codeBlocks.after',e,t,a)}),r.subParser('codeSpans',function(e,t,a){'use strict';return void 0===(e=a.converter._dispatch('codeSpans.before',e,t,a))&&(e=''),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,n,s,o){var i=o;return i=(i=i.replace(/^([ \t]*)/g,'')).replace(/[ \t]*$/g,''),i=n+''+(i=r.subParser('encodeCode')(i,t,a))+'',i=r.subParser('hashHTMLSpans')(i,t,a)}),e=a.converter._dispatch('codeSpans.after',e,t,a)}),r.subParser('completeHTMLDocument',function(e,r,t){'use strict';if(!r.completeHTMLDocument)return e;e=t.converter._dispatch('completeHTMLDocument.before',e,r,t);var a='html',n='\n',s='',o='\n',i='',l='';for(var c in void 0!==t.metadata.parsed.doctype&&(n='\n','html'!==(a=t.metadata.parsed.doctype.toString().toLowerCase())&&'html5'!==a||(o='')),t.metadata.parsed)if(t.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case'doctype':break;case'title':s=''+t.metadata.parsed.title+'\n';break;case'charset':o='html'===a||'html5'===a?'\n':'\n';break;case'language':case'lang':i=' lang="'+t.metadata.parsed[c]+'"',l+='\n';break;default:l+='\n'}return e=n+'\n\n'+s+o+l+'\n\n'+e.trim()+'\n\n',e=t.converter._dispatch('completeHTMLDocument.after',e,r,t)}),r.subParser('detab',function(e,r,t){'use strict';return e=(e=(e=(e=(e=(e=t.converter._dispatch('detab.before',e,r,t)).replace(/\t(?=\t)/g,' ')).replace(/\t/g,'\xa8A\xa8B')).replace(/\xa8B(.+?)\xa8A/g,function(e,r){for(var t=r,a=4-t.length%4,n=0;n/g,'>'),e=t.converter._dispatch('encodeAmpsAndAngles.after',e,r,t)}),r.subParser('encodeBackslashEscapes',function(e,t,a){'use strict';return e=(e=(e=a.converter._dispatch('encodeBackslashEscapes.before',e,t,a)).replace(/\\(\\)/g,r.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('encodeBackslashEscapes.after',e,t,a)}),r.subParser('encodeCode',function(e,t,a){'use strict';return e=(e=a.converter._dispatch('encodeCode.before',e,t,a)).replace(/&/g,'&').replace(//g,'>').replace(/([*_{}\[\]\\=~-])/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('encodeCode.after',e,t,a)}),r.subParser('escapeSpecialCharsWithinTagAttributes',function(e,t,a){'use strict';return e=(e=(e=a.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before',e,t,a)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,'$1`').replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)}),e=a.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after',e,t,a)}),r.subParser('githubCodeBlocks',function(e,t,a){'use strict';return t.ghCodeBlocks?(e=a.converter._dispatch('githubCodeBlocks.before',e,t,a),e=(e=(e+='\xa80').replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,n,s,o){var i=t.omitExtraWLInCodeBlocks?'':'\n';return o=r.subParser('encodeCode')(o,t,a),o=(o=(o=r.subParser('detab')(o,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,''),o='
'+o+i+'
',o=r.subParser('hashBlock')(o,t,a),'\n\n\xa8G'+(a.ghCodeBlocks.push({text:e,codeblock:o})-1)+'G\n\n'})).replace(/\xa80/,''),a.converter._dispatch('githubCodeBlocks.after',e,t,a)):e}),r.subParser('hashBlock',function(e,r,t){'use strict';return e=(e=t.converter._dispatch('hashBlock.before',e,r,t)).replace(/(^\n+|\n+$)/g,''),e='\n\n\xa8K'+(t.gHtmlBlocks.push(e)-1)+'K\n\n',e=t.converter._dispatch('hashBlock.after',e,r,t)}),r.subParser('hashCodeTags',function(e,t,a){'use strict';e=a.converter._dispatch('hashCodeTags.before',e,t,a);return e=r.helper.replaceRecursiveRegExp(e,function(e,n,s,o){var i=s+r.subParser('encodeCode')(n,t,a)+o;return'\xa8C'+(a.gHtmlSpans.push(i)-1)+'C'},']*>','','gim'),e=a.converter._dispatch('hashCodeTags.after',e,t,a)}),r.subParser('hashElement',function(e,r,t){'use strict';return function(e,r){var a=r;return a=(a=(a=a.replace(/\n\n/g,'\n')).replace(/^\n/,'')).replace(/\n+$/g,''),a='\n\n\xa8K'+(t.gHtmlBlocks.push(a)-1)+'K\n\n'}}),r.subParser('hashHTMLBlocks',function(e,t,a){'use strict';e=a.converter._dispatch('hashHTMLBlocks.before',e,t,a);var n=['pre','div','h1','h2','h3','h4','h5','h6','blockquote','table','dl','ol','ul','script','noscript','form','fieldset','iframe','math','style','section','header','footer','nav','article','aside','address','audio','canvas','figure','hgroup','output','video','p'],s=function(e,r,t,n){var s=e;return-1!==t.search(/\bmarkdown\b/)&&(s=t+a.converter.makeHtml(r)+n),'\n\n\xa8K'+(a.gHtmlBlocks.push(s)-1)+'K\n\n'};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,r){return'<'+r+'>'}));for(var o=0;o]*>)','im'),c='<'+n[o]+'\\b[^>]*>',u='';-1!==(i=r.helper.regexIndexOf(e,l));){var d=r.helper.splitAtIndex(e,i),p=r.helper.replaceRecursiveRegExp(d[1],s,c,u,'im');if(p===d[1])break;e=d[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,r.subParser('hashElement')(e,t,a)),e=(e=r.helper.replaceRecursiveRegExp(e,function(e){return'\n\n\xa8K'+(a.gHtmlBlocks.push(e)-1)+'K\n\n'},'^ {0,3}\x3c!--','--\x3e','gm')).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,r.subParser('hashElement')(e,t,a)),e=a.converter._dispatch('hashHTMLBlocks.after',e,t,a)}),r.subParser('hashHTMLSpans',function(e,r,t){'use strict';function a(e){return'\xa8C'+(t.gHtmlSpans.push(e)-1)+'C'}return e=(e=(e=(e=(e=t.converter._dispatch('hashHTMLSpans.before',e,r,t)).replace(/<[^>]+?\/>/gi,function(e){return a(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return a(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return a(e)})).replace(/<[^>]+?>/gi,function(e){return a(e)}),e=t.converter._dispatch('hashHTMLSpans.after',e,r,t)}),r.subParser('unhashHTMLSpans',function(e,r,t){'use strict';e=t.converter._dispatch('unhashHTMLSpans.before',e,r,t);for(var a=0;a]*>\\s*]*>','^ {0,3}\\s*
','gim'),e=a.converter._dispatch('hashPreCodeTags.after',e,t,a)}),r.subParser('headers',function(e,t,a){'use strict';e=a.converter._dispatch('headers.before',e,t,a);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),s=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(s,function(e,s){var o=r.subParser('spanGamut')(s,t,a),i=t.noHeaderId?'':' id="'+l(s)+'"',c=''+o+'';return r.subParser('hashBlock')(c,t,a)})).replace(o,function(e,s){var o=r.subParser('spanGamut')(s,t,a),i=t.noHeaderId?'':' id="'+l(s)+'"',c=n+1,u=''+o+'';return r.subParser('hashBlock')(u,t,a)});var i=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function l(e){var n,s;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,s=r.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?'section-':'',t.rawPrefixHeaderId||(n=s+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,'-').replace(/&/g,'').replace(/\xa8T/g,'').replace(/\xa8D/g,'').replace(/[&+$,\/:;=?@"#{}|^\xa8~\[\]`\\*)(%.!'<>]/g,'').toLowerCase():t.rawHeaderId?n.replace(/ /g,'-').replace(/&/g,'&').replace(/\xa8T/g,'\xa8').replace(/\xa8D/g,'$').replace(/["']/g,'-').toLowerCase():n.replace(/[^\w]/g,'').toLowerCase(),t.rawPrefixHeaderId&&(n=s+n),a.hashLinkCounts[n]?n=n+'-'+a.hashLinkCounts[n]++:a.hashLinkCounts[n]=1,n}return e=e.replace(i,function(e,s,o){var i=o;t.customizedHeaderId&&(i=o.replace(/\s?\{([^{]+?)}\s*$/,''));var c=r.subParser('spanGamut')(i,t,a),u=t.noHeaderId?'':' id="'+l(o)+'"',d=n-1+s.length,p=''+c+'';return r.subParser('hashBlock')(p,t,a)}),e=a.converter._dispatch('headers.after',e,t,a)}),r.subParser('horizontalRule',function(e,t,a){'use strict';e=a.converter._dispatch('horizontalRule.before',e,t,a);var n=r.subParser('hashBlock')('
',t,a);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=a.converter._dispatch('horizontalRule.after',e,t,a)}),r.subParser('images',function(e,t,a){'use strict';function n(e,t,n,s,o,i,l,c){var u=a.gUrls,d=a.gTitles,p=a.gDimensions;if(n=n.toLowerCase(),c||(c=''),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)s='';else if(''===s||null===s){if(''!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g,' ')),s='#'+n,r.helper.isUndefined(u[n]))return e;s=u[n],r.helper.isUndefined(d[n])||(c=d[n]),r.helper.isUndefined(p[n])||(o=p[n].width,i=p[n].height)}t=t.replace(/"/g,'"').replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback);var h=''+t+''}return e=(e=(e=(e=(e=(e=a.converter._dispatch('images.before',e,t,a)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function(e,r,t,a,s,o,i,l){return n(e,r,t,a=a.replace(/\s/g,''),s,o,0,l)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=a.converter._dispatch('images.after',e,t,a)}),r.subParser('italicsAndBold',function(e,r,t){'use strict';function a(e,r,t){return r+e+t}return e=t.converter._dispatch('italicsAndBold.before',e,r,t),e=r.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,r){return a(r,'','')})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return a(r,'','')})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,r){return a(r,'','')}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e}),e=r.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e}),e=t.converter._dispatch('italicsAndBold.after',e,r,t)}),r.subParser('lists',function(e,t,a){'use strict';function n(e,n){a.gListLevel++,e=e.replace(/\n{2,}$/,'\n');var s=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!\xa80)/.test(e+='\xa80');return t.disableForced4SpacesIndentedSublists&&(s=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(s,function(e,n,s,i,l,c,u){u=u&&''!==u.trim();var d=r.subParser('outdent')(l,t,a),p='';return c&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='-1?(d=r.subParser('githubCodeBlocks')(d,t,a),d=r.subParser('blockGamut')(d,t,a)):(d=(d=r.subParser('lists')(d,t,a)).replace(/\n$/,''),d=(d=r.subParser('hashHTMLBlocks')(d,t,a)).replace(/\n\n+/g,'\n\n'),d=o?r.subParser('paragraphs')(d,t,a):r.subParser('spanGamut')(d,t,a)),d=''+(d=d.replace('\xa8A',''))+'\n'})).replace(/\xa80/g,''),a.gListLevel--,n&&(e=e.replace(/\s+$/,'')),e}function s(e,r){if('ol'===r){var t=e.match(/^ *(\d+)\./);if(t&&'1'!==t[1])return' start="'+t[1]+'"'}return''}function o(e,r,a){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,i=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l='ul'===r?o:i,c='';if(-1!==e.search(l))!(function t(u){var d=u.search(l),p=s(e,r);-1!==d?(c+='\n\n<'+r+p+'>\n'+n(u.slice(0,d),!!a)+'\n',l='ul'===(r='ul'===r?'ol':'ul')?o:i,t(u.slice(d))):c+='\n\n<'+r+p+'>\n'+n(u,!!a)+'\n'})(e);else{var u=s(e,r);c='\n\n<'+r+u+'>\n'+n(e,!!a)+'\n'}return c}return e=a.converter._dispatch('lists.before',e,t,a),e+='\xa80',e=(e=a.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t){return o(r,t.search(/[*+-]/g)>-1?'ul':'ol',!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t,a){return o(t,a.search(/[*+-]/g)>-1?'ul':'ol',!1)})).replace(/\xa80/,''),e=a.converter._dispatch('lists.after',e,t,a)}),r.subParser('metadata',function(e,r,t){'use strict';if(!r.metadata)return e;function a(e){t.metadata.raw=e,(e=(e=e.replace(/&/g,'&').replace(/"/g,'"')).replace(/\n {4}/g,' ')).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,r,a){return t.metadata.parsed[r]=a,''})}return e=(e=(e=(e=t.converter._dispatch('metadata.before',e,r,t)).replace(/^\s*\xab\xab\xab+(\S*?)\n([\s\S]+?)\n\xbb\xbb\xbb+\n/,function(e,r,t){return a(t),'\xa8M'})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,r,n){return r&&(t.metadata.format=r),a(n),'\xa8M'})).replace(/\xa8M/g,''),e=t.converter._dispatch('metadata.after',e,r,t)}),r.subParser('outdent',function(e,r,t){'use strict';return e=(e=(e=t.converter._dispatch('outdent.before',e,r,t)).replace(/^(\t|[ ]{1,4})/gm,'\xa80')).replace(/\xa80/g,''),e=t.converter._dispatch('outdent.after',e,r,t)}),r.subParser('paragraphs',function(e,t,a){'use strict';for(var n=(e=(e=(e=a.converter._dispatch('paragraphs.before',e,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,'')).split(/\n{2,}/g),s=[],o=n.length,i=0;i=0?s.push(l):l.search(/\S/)>=0&&(l=(l=r.subParser('spanGamut')(l,t,a)).replace(/^([ \t]*)/g,'

'),l+='

',s.push(l))}for(o=s.length,i=0;i]*>\s*]*>/.test(u)&&(d=!0)}s[i]=u}return e=(e=(e=s.join('\n')).replace(/^\n+/g,'')).replace(/\n+$/g,''),a.converter._dispatch('paragraphs.after',e,t,a)}),r.subParser('runExtension',function(e,r,t,a){'use strict';if(e.filter)r=e.filter(r,a.converter,t);else if(e.regex){var n=e.regex;n instanceof RegExp||(n=new RegExp(n,'g')),r=r.replace(n,e.replace)}return r}),r.subParser('spanGamut',function(e,t,a){'use strict';return e=a.converter._dispatch('spanGamut.before',e,t,a),e=r.subParser('codeSpans')(e,t,a),e=r.subParser('escapeSpecialCharsWithinTagAttributes')(e,t,a),e=r.subParser('encodeBackslashEscapes')(e,t,a),e=r.subParser('images')(e,t,a),e=r.subParser('anchors')(e,t,a),e=r.subParser('autoLinks')(e,t,a),e=r.subParser('simplifiedAutoLinks')(e,t,a),e=r.subParser('emoji')(e,t,a),e=r.subParser('underline')(e,t,a),e=r.subParser('italicsAndBold')(e,t,a),e=r.subParser('strikethrough')(e,t,a),e=r.subParser('ellipsis')(e,t,a),e=r.subParser('hashHTMLSpans')(e,t,a),e=r.subParser('encodeAmpsAndAngles')(e,t,a),t.simpleLineBreaks?/\n\n\xa8K/.test(e)||(e=e.replace(/\n+/g,'
\n')):e=e.replace(/ +\n/g,'
\n'),e=a.converter._dispatch('spanGamut.after',e,t,a)}),r.subParser('strikethrough',function(e,t,a){'use strict';function n(e){return t.simplifiedAutoLink&&(e=r.subParser('simplifiedAutoLinks')(e,t,a)),''+e+''}return t.strikethrough&&(e=(e=a.converter._dispatch('strikethrough.before',e,t,a)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,r){return n(r)}),e=a.converter._dispatch('strikethrough.after',e,t,a)),e}),r.subParser('stripLinkDefinitions',function(e,t,a){'use strict';var n=function(e,n,s,o,i,l,c){return n=n.toLowerCase(),s.match(/^data:.+?\/.+?;base64,/)?a.gUrls[n]=s.replace(/\s/g,''):a.gUrls[n]=r.subParser('encodeAmpsAndAngles')(s,t,a),l?l+c:(c&&(a.gTitles[n]=c.replace(/"|'/g,'"')),t.parseImgDimensions&&o&&i&&(a.gDimensions[n]={width:o,height:i}),'')};return e=(e=(e=(e+='\xa80').replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=\xa80)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=\xa80))/gm,n)).replace(/\xa80/,'')}),r.subParser('tables',function(e,t,a){'use strict';if(!t.tables)return e;function n(e,n){return''+r.subParser('spanGamut')(e,t,a)+'\n'}function s(e,r){for(var t='\n\n\n',a=e.length,n=0;n\n\n\n',n=0;n\n';for(var s=0;s\n'}return t+='\n
\n'}function o(e){var o,i=e.split('\n');for(o=0;o'+(c=r.subParser('spanGamut')(c,t,a))+'\n'));for(o=0;o<_.length;++o){for(var b=[],w=0;w'+r+''})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return''+r+''}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?''+r+'':e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?''+r+'':e})).replace(/(_)/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('underline.after',e,t,a)):e}),r.subParser('unescapeSpecialChars',function(e,r,t){'use strict';return e=(e=t.converter._dispatch('unescapeSpecialChars.before',e,r,t)).replace(/\xa8E(\d+)E/g,function(e,r){var t=parseInt(r);return String.fromCharCode(t)}),e=t.converter._dispatch('unescapeSpecialChars.after',e,r,t)}),r.subParser('makeMarkdown.blockquote',function(e,t){'use strict';var a='';if(e.hasChildNodes())for(var n=e.childNodes,s=n.length,o=0;o ')}),r.subParser('makeMarkdown.codeBlock',function(e,r){'use strict';var t=e.getAttribute('language'),a=e.getAttribute('precodenum');return'```'+t+'\n'+r.preList[a]+'\n```'}),r.subParser('makeMarkdown.codeSpan',function(e){'use strict';return'`'+e.innerHTML+'`'}),r.subParser('makeMarkdown.emphasis',function(e,t){'use strict';var a='';if(e.hasChildNodes()){a+='*';for(var n=e.childNodes,s=n.length,o=0;o',e.hasAttribute('width')&&e.hasAttribute('height')&&(r+=' ='+e.getAttribute('width')+'x'+e.getAttribute('height')),e.hasAttribute('title')&&(r+=' "'+e.getAttribute('title')+'"'),r+=')'),r}),r.subParser('makeMarkdown.links',function(e,t){'use strict';var a='';if(e.hasChildNodes()&&e.hasAttribute('href')){var n=e.childNodes,s=n.length;a='[';for(var o=0;o',e.hasAttribute('title')&&(a+=' "'+e.getAttribute('title')+'"'),a+=')'}return a}),r.subParser('makeMarkdown.list',function(e,t,a){'use strict';var n='';if(!e.hasChildNodes())return'';for(var s=e.childNodes,o=s.length,i=e.getAttribute('start')||1,l=0;l'+r.preList[t]+''}),r.subParser('makeMarkdown.strikethrough',function(e,t){'use strict';var a='';if(e.hasChildNodes()){a+='~~';for(var n=e.childNodes,s=n.length,o=0;otr>th'),l=e.querySelectorAll('tbody>tr');for(a=0;a_&&(_=g)}for(a=0;a/g,'\\$1>')).replace(/^#/gm,'\\#')).replace(/^(\s*)([-=]{3,})(\s*)$/,'$1\\$2$3')).replace(/^( {0,3}\d+)\./gm,'$1\\.')).replace(/^( {0,3})([+-])/gm,'$1\\$2')).replace(/]([\s]*)\(/g,'\\]$1\\(')).replace(/^ {0,3}\[([\S \t]*?)]:/gm,'\\[$1]:')});'function'==typeof define&&define.amd?define(function(){'use strict';return r}):void 0!==n&&n.exports?n.exports=r:this.showdown=r}).call(this)},1685,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){if('IFRAME'===n.nodeName){var o=n.ownerDocument.createTextNode(n.src);n.parentNode.replaceChild(o,n)}}},1686,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){if(!u.id||0!==u.id.indexOf('docs-internal-guid-'))return;(0,n.unwrap)(u)};var n=r(d[0])},1687,[1646]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(t.nodeType!==t.TEXT_NODE)return;var o=t;for(;o=o.parentNode;)if(o.nodeType===o.ELEMENT_NODE&&'PRE'===o.nodeName)return;var l=t.data.replace(/[ \r\n\t]+/g,' ');if(' '===l[0]){var f=(0,n.getSibling)(t,'previous');f&&'BR'!==f.nodeName&&' '!==f.textContent.slice(-1)||(l=l.slice(1))}if(' '===l[l.length-1]){var v=(0,n.getSibling)(t,'next');(!v||'BR'===v.nodeName||v.nodeType===v.TEXT_NODE&&(' '===(E=v.textContent[0])||'\r'===E||'\n'===E||'\t'===E))&&(l=l.slice(0,-1))}var E;l?t.data=l:t.parentNode.removeChild(t)};var n=r(d[0])},1688,[1689]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockContentSchemaFromTransforms=h,e.getBlockContentSchema=function(t){return h((0,f.getRawTransforms)(),t)},e.isPlain=function(t){return!/<(?!br[ />])/i.test(t)},e.deepFilterNodeList=b,e.deepFilterHTML=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0,c=document.implementation.createHTMLDocument('');return c.body.innerHTML=t,b(c.body.childNodes,n,c,o),c.body.innerHTML},e.getSibling=function t(n,o){var c=n[o+"Sibling"];if(c&&(0,u.isPhrasingContent)(c))return c;var s=n.parentNode;if(!s||!(0,u.isPhrasingContent)(s))return;return t(s,o)};var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),u=r(d[4]),s=r(d[5]),f=r(d[6]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function p(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:[];var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.length===u.length&&(0,c.every)(u,function(c,u){var l=(0,o.default)(c,3),f=l[0],s=l[2],p=n[u];return f===p.name&&t(p.innerBlocks,s)})},e.synchronizeBlocksWithTemplate=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];var p=arguments.length>1?arguments[1]:void 0;if(!p)return n;return(0,c.map)(p,function(p,y){var O=(0,o.default)(p,3),b=O[0],h=O[1],j=O[2],k=n[y];if(k&&k.name===b){var P=t(k.innerBlocks,j);return v(v({},k),{},{innerBlocks:P})}var B=(0,s.getBlockType)(b),w=function(t){return'html'===(0,c.get)(t,['source'])},D=function(t){return'query'===(0,c.get)(t,['source'])},T=function(t,n){return(0,c.mapValues)(n,function(n,o){return _(t[o],n)})},_=function(t,n){return w(t)&&(0,c.isArray)(n)?(0,u.renderToString)(n):D(t)&&n?n.map(function(n){return T(t.query,n)}):n},S=T((0,c.get)(B,['attributes'],{}),h),q=(0,l.convertLegacyBlocks)(b,S),E=q.name,M=q.attributes;return(0,f.createBlock)(E,M,t([],j))})};var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),u=r(d[4]),l=r(d[5]),f=r(d[6]),s=r(d[7]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function v(t){for(var o=1;o1;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(t.ToolbarGroup,null,(0,n.createElement)(t.ToolbarButton,{title:f.title,icon:(0,n.createElement)(o.Icon,{icon:f.icon}),onClick:f.onClick,onLongPress:v?function(){u.current&&u.current.presentPicker()}:void 0})),v&&(0,n.createElement)(t.Picker,{ref:u,options:c,onChange:function(n){var t=c.find(function(t){return t.value===n});t&&t.onClick()},hideCancelButton:!0}))};e.default=l},1698,[946,1699,1247]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0});var o={SVG:!0,Path:!0,Circle:!0,Polygon:!0,Rect:!0,G:!0,HorizontalRule:!0,BlockQuotation:!0,ColorIndicator:!0,ColorPalette:!0,ColorPicker:!0,Dashicon:!0,Dropdown:!0,DropdownMenu:!0,Toolbar:!0,ToolbarButton:!0,__experimentalToolbarContext:!0,ToolbarGroup:!0,ToolbarItem:!0,Icon:!0,Spinner:!0,createSlotFill:!0,Slot:!0,Fill:!0,SlotFillProvider:!0,BaseControl:!0,TextareaControl:!0,PanelBody:!0,PanelActions:!0,Button:!0,__experimentalText:!0,ExternalLink:!0,TextControl:!0,ToggleControl:!0,SelectControl:!0,RangeControl:!0,ResizableBox:!0,FooterMessageControl:!0,ColorControl:!0,QueryControls:!0,Notice:!0,NoticeList:!0,RadioControl:!0,UnitControl:!0,Disabled:!0,withConstrainedTabbing:!0,withFallbackStyles:!0,withFilters:!0,withFocusOutside:!0,withFocusReturn:!0,withNotices:!0,withSpokenMessages:!0,BottomSheet:!0,BottomSheetConsumer:!0,BottomSheetProvider:!0,BottomSheetContext:!0,HTMLTextInput:!0,KeyboardAvoidingView:!0,KeyboardAwareFlatList:!0,Picker:!0,ReadableContentView:!0,CycleSelectControl:!0,Gradient:!0,ColorSettings:!0,LinkPicker:!0,LinkPickerScreen:!0,LinkSettings:!0,LinkSettingsScreen:!0,LinkSettingsNavigation:!0,Image:!0,IMAGE_DEFAULT_FOCAL_POINT:!0,ImageEditingButton:!0,InserterButton:!0,setClipboard:!0,getClipboard:!0,Preview:!0,AudioPlayer:!0,colorsUtils:!0,WIDE_ALIGNMENTS:!0,ALIGNMENT_BREAKPOINTS:!0,alignmentHelpers:!0,convertUnitToMobile:!0,useConvertUnitToMobile:!0,getValueAndUnit:!0,GlobalStylesContext:!0,useGlobalStyles:!0,withGlobalStyles:!0,getMergedGlobalStyles:!0};Object.defineProperty(e,"SVG",{enumerable:!0,get:function(){return u.SVG}}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return u.Path}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return u.Circle}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return u.Polygon}}),Object.defineProperty(e,"Rect",{enumerable:!0,get:function(){return u.Rect}}),Object.defineProperty(e,"G",{enumerable:!0,get:function(){return u.G}}),Object.defineProperty(e,"HorizontalRule",{enumerable:!0,get:function(){return u.HorizontalRule}}),Object.defineProperty(e,"BlockQuotation",{enumerable:!0,get:function(){return u.BlockQuotation}}),Object.defineProperty(e,"ColorIndicator",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"ColorPalette",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"ColorPicker",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Dashicon",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Dropdown",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"DropdownMenu",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"Toolbar",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"ToolbarButton",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"__experimentalToolbarContext",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"ToolbarGroup",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"ToolbarItem",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"Icon",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"Spinner",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"createSlotFill",{enumerable:!0,get:function(){return h.createSlotFill}}),Object.defineProperty(e,"Slot",{enumerable:!0,get:function(){return h.Slot}}),Object.defineProperty(e,"Fill",{enumerable:!0,get:function(){return h.Fill}}),Object.defineProperty(e,"SlotFillProvider",{enumerable:!0,get:function(){return h.Provider}}),Object.defineProperty(e,"BaseControl",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"TextareaControl",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"PanelBody",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"PanelActions",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"__experimentalText",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"ExternalLink",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"TextControl",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"ToggleControl",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"SelectControl",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"RangeControl",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"ResizableBox",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"FooterMessageControl",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"ColorControl",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"QueryControls",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"Notice",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"NoticeList",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"RadioControl",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"UnitControl",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"Disabled",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"withConstrainedTabbing",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"withFallbackStyles",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"withFilters",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"withFocusOutside",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"withFocusReturn",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"withNotices",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"withSpokenMessages",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"BottomSheet",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"BottomSheetConsumer",{enumerable:!0,get:function(){return $.BottomSheetConsumer}}),Object.defineProperty(e,"BottomSheetProvider",{enumerable:!0,get:function(){return $.BottomSheetProvider}}),Object.defineProperty(e,"BottomSheetContext",{enumerable:!0,get:function(){return $.BottomSheetContext}}),Object.defineProperty(e,"HTMLTextInput",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"KeyboardAvoidingView",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"KeyboardAwareFlatList",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"Picker",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"ReadableContentView",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"CycleSelectControl",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"Gradient",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"ColorSettings",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"LinkPicker",{enumerable:!0,get:function(){return ae.LinkPicker}}),Object.defineProperty(e,"LinkPickerScreen",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"LinkSettings",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"LinkSettingsScreen",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(e,"LinkSettingsNavigation",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"IMAGE_DEFAULT_FOCAL_POINT",{enumerable:!0,get:function(){return ge.IMAGE_DEFAULT_FOCAL_POINT}}),Object.defineProperty(e,"ImageEditingButton",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"InserterButton",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"setClipboard",{enumerable:!0,get:function(){return pe.setClipboard}}),Object.defineProperty(e,"getClipboard",{enumerable:!0,get:function(){return pe.getClipboard}}),Object.defineProperty(e,"Preview",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(e,"AudioPlayer",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"colorsUtils",{enumerable:!0,get:function(){return je.colorsUtils}}),Object.defineProperty(e,"WIDE_ALIGNMENTS",{enumerable:!0,get:function(){return se.WIDE_ALIGNMENTS}}),Object.defineProperty(e,"ALIGNMENT_BREAKPOINTS",{enumerable:!0,get:function(){return se.ALIGNMENT_BREAKPOINTS}}),Object.defineProperty(e,"alignmentHelpers",{enumerable:!0,get:function(){return se.alignmentHelpers}}),Object.defineProperty(e,"convertUnitToMobile",{enumerable:!0,get:function(){return Ce.convertUnitToMobile}}),Object.defineProperty(e,"useConvertUnitToMobile",{enumerable:!0,get:function(){return Ce.useConvertUnitToMobile}}),Object.defineProperty(e,"getValueAndUnit",{enumerable:!0,get:function(){return Ce.getValueAndUnit}}),Object.defineProperty(e,"GlobalStylesContext",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"useGlobalStyles",{enumerable:!0,get:function(){return Se.useGlobalStyles}}),Object.defineProperty(e,"withGlobalStyles",{enumerable:!0,get:function(){return Se.withGlobalStyles}}),Object.defineProperty(e,"getMergedGlobalStyles",{enumerable:!0,get:function(){return Se.getMergedGlobalStyles}});var u=r(d[2]),l=n(r(d[3])),c=n(r(d[4])),f=n(r(d[5])),b=n(r(d[6])),P=n(r(d[7])),y=n(r(d[8])),p=n(r(d[9])),O=n(r(d[10])),j=n(r(d[11])),s=n(r(d[12])),C=n(r(d[13])),S=n(r(d[14])),T=n(r(d[15])),h=r(d[16]),I=n(r(d[17])),B=n(r(d[18])),L=n(r(d[19])),k=n(r(d[20])),w=n(r(d[21])),G=t(r(d[22]));Object.keys(G).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return G[t]}}))});var A=n(r(d[23])),_=n(r(d[24])),M=n(r(d[25])),F=n(r(d[26])),N=n(r(d[27])),v=n(r(d[28])),x=n(r(d[29])),E=n(r(d[30])),R=n(r(d[31])),U=n(r(d[32])),D=n(r(d[33])),V=n(r(d[34])),H=n(r(d[35])),K=n(r(d[36])),z=n(r(d[37])),Q=n(r(d[38])),W=n(r(d[39])),q=n(r(d[40])),J=n(r(d[41])),X=n(r(d[42])),Y=n(r(d[43])),Z=n(r(d[44])),$=r(d[45]),ee=n(r(d[46])),te=n(r(d[47])),ne=n(r(d[48])),re=n(r(d[49])),oe=n(r(d[50])),ue=n(r(d[51])),ie=n(r(d[52])),le=n(r(d[53])),ae=r(d[54]),ce=n(r(d[55])),fe=n(r(d[56])),be=n(r(d[57])),de=n(r(d[58])),ge=t(r(d[59])),Pe=n(r(d[60])),ye=n(r(d[61])),pe=r(d[62]),me=n(r(d[63])),Oe=n(r(d[64])),je=r(d[65]),se=r(d[66]),Ce=r(d[67]),Se=t(r(d[68]))},1699,[32,5,1250,1700,1703,1705,1716,1717,1718,1723,1725,1728,1724,1726,1722,1734,1736,1745,1746,1747,1751,1720,1753,1784,1785,1792,1794,1797,1809,1811,1813,1815,1819,1824,1825,1827,1830,1831,1832,1833,1834,1835,1836,1837,1840,2047,2048,2050,2054,1796,2060,2062,2063,2066,2079,2082,2083,2086,2087,2088,2092,2095,2097,2098,2100,1702,2106,2107,2108]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),c=r(d[2]),n=r(d[3]),o=r(d[4]),u=r(d[5]),s=t(r(d[6])),f=r(d[7]);function y(t){var o=t.opacity;return(0,l.createElement)(c.Animated.View,{style:[s.default.selected,{opacity:o}]},(0,l.createElement)(c.View,{style:[s.default.outline,s.default.selectedOutline]}),(0,l.createElement)(n.Icon,{icon:n.check,style:s.default.icon,size:24}))}var E=function(t){var n=t.color,E=t.isSelected,p=t.withCustomPicker,V=t.style,w=t.opacity,v=f.colorsUtils.isGradient,O=(0,u.usePreferredColorSchemeStyle)(s.default.outline,s.default.outlineDark);return v(n)?(0,l.createElement)(o.Gradient,{style:[s.default.circleOption,V],gradientValue:n},(0,l.createElement)(c.View,{style:O}),E&&(0,l.createElement)(y,{opacity:w})):p?(0,l.createElement)(c.View,{style:[s.default.circleOption,V]},(0,l.createElement)(c.View,{style:O}),n.map(function(t){return(0,l.createElement)(o.Gradient,{gradientValue:t,style:[s.default.circleOption,s.default.absolute,V],key:t})}),E&&(0,l.createElement)(y,null)):(0,l.createElement)(c.View,{style:[s.default.circleOption,V,{backgroundColor:n}]},(0,l.createElement)(c.View,{style:O}),E&&(0,l.createElement)(y,{opacity:w}))};e.default=E},1700,[5,946,25,1247,1699,1116,1701,1702]); +__d(function(g,r,i,a,m,e,d){m.exports={selected:{height:28,width:28,borderRadius:14,backgroundColor:"#fff",justifyContent:"center",alignItems:"center"},circleOption:{height:48,width:48,borderRadius:24,marginRight:8,justifyContent:"center",alignItems:"center"},absolute:{position:"absolute",marginRight:0,borderWidth:0},icon:{color:"#2e4453"},outline:{borderColor:"#0000001e",top:0,bottom:0,left:0,right:0,borderRadius:24,borderWidth:1,position:"absolute",zIndex:2},outlineDark:{borderColor:"#ffffff14"},selectedOutline:{top:-1,bottom:-1,left:-1,right:-1,borderRadius:14}}},1701,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.colorsUtils=void 0;var l={linear:'linear-gradient',radial:'radial-gradient'},n=function(n){return(null==n?void 0:n.includes(l.radial))?l.radial:!(null==n||!n.includes(l.linear))&&l.linear},t={screens:{gradientPicker:'GradientPicker',picker:'Picker',palette:'Palette'},segments:['Solid','Gradient'],gradients:l,gradientOptions:[{label:'Linear',value:l.linear},{label:'Radial',value:l.radial}],getGradientType:n,isGradient:function(l){return!!n(l)}};e.colorsUtils=t},1702,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=r(d[2]),l=r(d[3]),c=r(d[4]),u=r(d[5]),s=t(r(d[6])),f=t(r(d[7])),S=r(d[8]),v=200,y=0,b=0,h=0;var p=function(t){var p=t.setColor,E=t.activeColor,w=t.isGradientColor,C=t.defaultSettings,V=t.currentSegment,T=t.onCustomPress,P=t.shouldEnableBottomSheetScroll,_=t.shouldShowCustomIndicatorOption,k=void 0===_||_,R=t.shouldShowCustomLabel,x=void 0===R||R,I=t.shouldShowCustomVerticalSeparator,A=void 0===I||I,D=t.customColorIndicatorStyles,z=t.customIndicatorWrapperStyles,O=(0,n.useRef)(),W='ios'===o.Platform.OS,H=V===S.colorsUtils.segments[1],N=(0,n.useRef)(new o.Animated.Value(1)).current,q=(0,n.useRef)(new o.Animated.Value(1)).current,B=(0,l.uniq)((0,l.map)(C.colors,'color')),F=(0,l.uniq)((0,l.map)(C.gradients,'gradient')),L=H?F:B,U=H?E:['linear-gradient(120deg, rgba(255,0,0,.8) 0%, rgba(255,255,255,1) 70.71%)','linear-gradient(240deg, rgba(0,255,0,.8) 0%, rgba(0,255,0,0) 70.71%)','linear-gradient(360deg, rgba(0,0,255,.8) 0%, rgba(0,0,255,0) 70.71%)'],j=w&&K(),G=k&&(!H||j),M=H?(0,c.__)('Navigates to customize the gradient'):(0,c.__)('Navigates to custom color picker'),J=(0,c.__)('Custom');function K(){var t=E&&L.includes(E);return!!E&&(H?w&&!t:!w&&!t)}function Q(t){return!K()&&E===t}function X(t,n){return o.Animated.timing(t,{toValue:n,duration:v,easing:o.Easing.ease,useNativeDriver:!0})}function Y(t){Q(t)||q.setValue(0),o.Animated.parallel([X(N,2),X(q,1)]).start(function(){q.setValue(1),N.setValue(1)})}(0,n.useEffect)(function(){O.current&&(K()?O.current.scrollToEnd():O.current.scrollTo({x:0,y:0}))},[V]);var Z=N.interpolate({inputRange:[1,1.5,2],outputRange:[1,.7,1]});function $(t){var n;n=o.Dimensions.get('window').width,j&&(W||j&&y-b-h0?(o-s)/2:0;return[E.container,l,{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:c}]}},{key:"getCurrentColor",value:function(){var t=this.props.hue,n=void 0===t?0:t;return(0,y.default)("hue "+n+" 1.0 0.5").toHexString()}},{key:"computeHueValueDrag",value:function(t){var n=t.dx,o=this.props.barWidth,u=void 0===o?200:o,s=this.dragStartValue,f=n/u;return 360*(0,S.default)(s/360+f)}},{key:"computeHueValuePress",value:function(t){var n=t.nativeEvent.locationX,o=this.props.barWidth,u=void 0===o?200:o;return 360*(0,S.default)(n/u)}},{key:"fireDragEvent",value:function(t,n){var o=this.props[t];o&&o({hue:this.computeHueValueDrag(n),gestureState:n})}},{key:"firePressEvent",value:function(t){var n=this.props.onPress;n&&n({hue:this.computeHueValuePress(t),nativeEvent:t.nativeEvent})}},{key:"render",value:function(){var t=this.hueColors,n=this.props,u=n.sliderSize,s=void 0===u?24:u,f=n.barWidth,l=void 0===f?200:f,c=n.barHeight,y=void 0===c?12:c,S=n.borderRadius,R=void 0===S?0:S,P=s/10;return h.default.createElement(v.View,(0,o.default)({style:this.getContainerStyle()},this.panResponder.panHandlers,{hitSlop:{top:10,bottom:10,left:0,right:0}}),h.default.createElement(p.default,{colors:t,style:{borderRadius:R},start:{x:0,y:0},end:{x:1,y:0}},h.default.createElement(v.View,{style:{width:l,height:y}})),h.default.createElement(v.Animated.View,{pointerEvents:"none",style:[E.slider,{width:s,height:s,left:(s-P)/2,borderRadius:s/2,transform:[{translateX:this.sliderX}]}]}))}}]),D})(h.Component);e.default=P;var E=v.StyleSheet.create({container:{justifyContent:'center',alignItems:'center'},slider:{position:'absolute',backgroundColor:'#fff',shadowColor:'#000',shadowOffset:{width:0,height:7},shadowOpacity:.43,shadowRadius:10,elevation:5}})},1708,[32,5,24,7,42,57,59,56,71,25,1709,1645,1713]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=r(d[1]),l=t(r(d[2])),u=t(r(d[3])),o="ios"===f.Platform.OS?l.default:u.default;e.default=o},1709,[5,25,1710,1712]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),y=t(r(d[9])),h=r(d[10]),v=n(r(d[11]));function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=function(t,n){return Array.isArray(n)?(console.warn("LinearGradient '"+t+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),{x:n[0],y:n[1]}):n},A=(function(t){(0,c.default)(x,t);var n,A,C=(n=x,A=P(),function(){var t,o=(0,p.default)(n);if(A){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,f.default)(this,t)});function x(){return(0,s.default)(this,x),C.apply(this,arguments)}return(0,u.default)(x,[{key:"setNativeProps",value:function(t){this.gradientRef.setNativeProps(t)}},{key:"render",value:function(){var t=this,n=this.props,s=n.start,u=n.end,c=n.colors,f=n.locations,p=n.useAngle,P=n.angleCenter,A=n.angle,C=(0,l.default)(n,["start","end","colors","locations","useAngle","angleCenter","angle"]);return c&&f&&c.length!==f.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length'),y.default.createElement(v.default,(0,o.default)({ref:function(n){t.gradientRef=n}},C,{startPoint:R('start',s),endPoint:R('end',u),colors:c.map(h.processColor),locations:f?f.slice(0,c.length):null,useAngle:p,angleCenter:R('angleCenter',P),angle:A}))}}]),x})(y.Component);e.default=A,A.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1710,[32,5,24,67,7,42,57,59,56,71,25,1711]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0]).requireNativeComponent)('BVLinearGradient');e.default=t},1711,[25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),f=n(r(d[6])),c=n(r(d[7])),p=n(r(d[8])),y=t(r(d[9])),h=r(d[10]),R=n(r(d[11]));function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=function(t,n){return Array.isArray(n)&&console.warn("LinearGradient '"+t+"' property should be an object with fields 'x' and 'y', Array type is deprecated."),null!==n&&'object'==typeof n?[n.x,n.y]:n},P=(function(t){(0,f.default)(C,t);var n,P,A=(n=C,P=b(),function(){var t,o=(0,p.default)(n);if(P){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,c.default)(this,t)});function C(){return(0,s.default)(this,C),A.apply(this,arguments)}return(0,u.default)(C,[{key:"setNativeProps",value:function(t){this.gradientRef.setNativeProps(t)}},{key:"render",value:function(){var t=this,n=this.props,s=n.children,u=n.colors,f=n.end,c=n.locations,p=n.useAngle,b=n.angleCenter,P=n.angle,A=n.start,C=n.style,L=(0,l.default)(n,["children","colors","end","locations","useAngle","angleCenter","angle","start","style"]);u&&c&&u.length!==c.length&&console.warn('LinearGradient colors and locations props should be arrays of the same length');var x,w=h.StyleSheet.flatten(C)||{},B=w.borderRadius||0,T=(x=B,function(t){return'number'==typeof t?t:x}),_=[T(w.borderTopLeftRadius),T(w.borderTopLeftRadius),T(w.borderTopRightRadius),T(w.borderTopRightRadius),T(w.borderBottomRightRadius),T(w.borderBottomRightRadius),T(w.borderBottomLeftRadius),T(w.borderBottomLeftRadius)];return y.default.createElement(h.View,(0,o.default)({ref:function(n){t.gradientRef=n}},L,{style:C}),y.default.createElement(R.default,{style:{position:'absolute',top:0,left:0,bottom:0,right:0},colors:u.map(h.processColor),startPoint:v('start',A),endPoint:v('end',f),locations:c?c.slice(0,u.length):null,useAngle:p,angleCenter:v('angleCenter',b),angle:P,borderRadii:_}),s)}}]),C})(y.Component);e.default=P,P.defaultProps={start:{x:.5,y:0},end:{x:.5,y:1}}},1712,[32,5,24,67,7,42,57,59,56,71,25,1711]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t){return t<0?0:t>1?1:t};e.default=t},1713,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),s=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),v=t(r(d[9])),h=r(d[10]),y=n(r(d[11])),S=n(r(d[12])),P=n(r(d[13]));function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function R(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=j(j({},n),t);return t.className&&n.className&&(o.className=(0,c.default)(t.className,n.className)),o}var D=(0,v.withPreferredColorScheme)(function(n){var p,v=n.children,w=n.className,j=n.controls,D=n.icon,N=void 0===D?O.menu:D,E=n.label,k=n.popoverProps,_=n.toggleProps,S=n.menuLabel,A=n.position;if(S&&(0,b.default)('`menuLabel` prop in `DropdownComponent`',{alternative:'`menuProps` object and its `aria-label` property',plugin:'Gutenberg'}),A&&(0,b.default)('`position` prop in `DropdownComponent`',{alternative:'`popoverProps` object and its `position` property',plugin:'Gutenberg'}),(0,s.isEmpty)(j)&&!(0,s.isFunction)(v))return null;(0,s.isEmpty)(j)||(p=j,Array.isArray(p[0])||(p=[p]));var T=C({className:'components-dropdown-menu__popover',position:A},k);return(0,t.createElement)(h.default,{className:(0,c.default)('components-dropdown-menu',w),popoverProps:T,renderToggle:function(n){var o=n.isOpen,p=n.onToggle,s=function(n){o||n.keyCode!==f.DOWN||(n.preventDefault(),n.stopPropagation(),p())},u=C({className:(0,c.default)('components-dropdown-menu__toggle',{'is-opened':o})},_);return(0,t.createElement)(P.default,(0,l.default)({},u,{icon:N,onClick:function(n){p(n),u.onClick&&u.onClick(n)},onKeyDown:function(n){s(n),u.onKeyDown&&u.onKeyDown(n)},"aria-haspopup":"true","aria-expanded":o,label:E,showTooltip:!0}),u.children)},renderContent:function(n){var l=n.isOpen,c=n.onClose,f=(0,o.default)(n,["isOpen","onClose"]);return(0,t.createElement)(y.BottomSheet,{hideHeader:!0,isVisible:l,onClose:c},(0,s.isFunction)(v)?v(f):null,(0,t.createElement)(y.PanelBody,{title:E,style:{paddingLeft:0,paddingRight:0}},(0,s.flatMap)(p,function(n,o){return n.map(function(n,l){return(0,t.createElement)(y.BottomSheet.Cell,{key:[o,l].join(),label:n.title,onPress:function(){c(),n.onClick&&n.onClick()},editable:!1,icon:n.icon,leftAlign:!0,isSelected:n.isActive,separatorType:'android'===u.Platform.OS?'none':'leftMargin'})})})))}})});e.default=D},1718,[5,946,67,24,66,1719,1068,25,1221,1111,1699,1116,1247,1720,1717]); +__d(function(g,r,i,a,m,e,d){!(function(){'use strict';var n={}.hasOwnProperty;function t(){for(var f=[],o=0;o0&&0===u?'has-left-divider':null},l))})}),b)};e.default=h},1724,[5,946,24,67,1719,1068,1725,1730,1732,1728]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),s=t(r(d[2])),o=t(r(d[3])),n=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),b=t(r(d[8]));var p=(0,l.forwardRef)(function(t,p){var v=t.containerClassName,N=t.className,C=t.extraProps,P=t.children,_=t.title,h=t.isActive,E=t.isDisabled,k=(0,o.default)(t,["containerClassName","className","extraProps","children","title","isActive","isDisabled"]);return(0,l.useContext)(f.default)?(0,l.createElement)(u.default,(0,s.default)({className:(0,n.default)('components-toolbar-button',N)},C,k,{ref:p}),function(t){return(0,l.createElement)(c.default,(0,s.default)({label:_,isPressed:h,disabled:E},t),P)}):(0,l.createElement)(b.default,{className:v},(0,l.createElement)(c.default,(0,s.default)({ref:p,icon:k.icon,label:_,shortcut:k.shortcut,"data-subscript":k.subscript,onClick:function(t){t.stopPropagation(),k.onClick&&k.onClick(t)},className:(0,n.default)('components-toolbar__control',N),isPressed:h,disabled:E,"data-toolbar-item":!0},C,k),P))});e.default=p},1725,[5,946,24,67,1719,1720,1726,1728,1729]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),f=t(r(d[4]));function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var o=1;o1,textAlignVertical:"top"}))};e.default=u},1746,[5,946,25,1745]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.PanelBody=c,e.default=void 0;var l=r(d[1]),n=r(d[2]),u=t(r(d[3])),o=t(r(d[4]));function c(t){var c=t.children,f=t.title,v=t.style,s=void 0===v?{}:v;return(0,l.createElement)(n.View,{style:[u.default.panelContainer,s]},f&&(0,l.createElement)(n.Text,{style:u.default.sectionHeaderText},f),c,(0,l.createElement)(o.default,null))}var f=c;e.default=f},1747,[5,946,25,1748,1749]); +__d(function(g,r,i,a,m,e,d){m.exports={panelContainer:{paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16},sectionHeaderText:{color:"#87a6bc",paddingTop:24,paddingBottom:8,fontSize:14,fontWeight:"500"}}},1748,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=r(d[2]),u=r(d[3]),c=t(r(d[4]));var f=(0,u.withPreferredColorScheme)(function(t){var u=t.getStylesFromColorScheme;return(0,o.createElement)(l.View,{style:u(c.default.coverSeparator,c.default.coverSeparatorDark)})});e.default=f},1749,[5,946,25,1116,1750]); +__d(function(g,r,i,a,m,e,d){m.exports={coverSeparator:{height:2,marginTop:-2,backgroundColor:"#fff"},coverSeparatorDark:{backgroundColor:"#2e2e2e"}}},1750,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),u=r(d[4]),c=t(r(d[5])),f=t(r(d[6]));var s=(0,u.withPreferredColorScheme)(function(t){var u=t.actions,s=t.getStylesFromColorScheme;return(0,l.createElement)(n.View,{style:s(c.default.panelActionsContainer,c.default.panelActionsContainerDark)},u.map(function(t){var n=t.label,u=t.onPress;return(0,l.createElement)(o.TextControl,{label:n,onPress:u,labelStyle:c.default.defaultLabelStyle,key:n})}),(0,l.createElement)(f.default,null))});e.default=s},1751,[5,946,25,1699,1116,1752,1749]); +__d(function(g,r,i,a,m,e,d){m.exports={panelActionsContainer:{borderTopColor:"#e8eaeb",borderTopWidth:1},panelActionsContainerDark:{borderTopColor:"#3c434a"},defaultLabelStyle:{color:"#d94f4f"}}},1752,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=r(d[2]),l=u.default.Text(f.text);e.default=l},1753,[5,1754,1778]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]),o=r(d[1]),c=o.createStyled(t.StyleSheet),n=o.createCss(t.StyleSheet),S=['ActivityIndicator','ActivityIndicatorIOS','ART','Button','DatePickerIOS','DrawerLayoutAndroid','Image','ImageBackground','ImageEditor','ImageStore','KeyboardAvoidingView','ListView','MapView','Modal','NavigatorIOS','Picker','PickerIOS','ProgressBarAndroid','ProgressViewIOS','ScrollView','SegmentedControlIOS','Slider','SliderIOS','SnapshotViewIOS','Switch','RecyclerViewBackedScrollView','RefreshControl','SafeAreaView','StatusBar','SwipeableListView','SwitchAndroid','SwitchIOS','TabBarIOS','Text','TextInput','ToastAndroid','ToolbarAndroid','Touchable','TouchableHighlight','TouchableNativeFeedback','TouchableOpacity','TouchableWithoutFeedback','View','ViewPagerAndroid','WebView','FlatList','SectionList','VirtualizedList'].reduce(function(o,n){return Object.defineProperty(o,n,{enumerable:!0,configurable:!1,get:function(){return c(t[n])}})},c);e.css=n,e.default=S},1754,[25,1755]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t,n,o,u,l=(t=r(d[0]))&&'object'==typeof t&&'default'in t?t.default:t,s=r(d[1]),f=r(d[2]),c=function(){return!0},v=function(t,n){for(var o=2,u=arguments.length;o':null}},T=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String;return function(o){if('word'!==o.type)return null;var u=o.value.match(t);return null===u?null:n(u[1])}},N={SPACE:E(function(t){return'space'===t.type}),SLASH:E(function(t){return'div'===t.type&&'/'===t.value}),COMMA:E(function(t){return'div'===t.type&&','===t.value}),WORD:(f='word',function(t){return t.type===f?t.value:null}),NONE:T(/^(none)$/i),AUTO:T(/^(auto)$/i),NUMBER:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)$/,Number),LENGTH:T(/^(0$|(?:[+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)(?=px$))/,Number),UNSUPPORTED_LENGTH_UNIT:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?(ch|em|ex|rem|vh|vw|vmin|vmax|cm|mm|in|pc|pt))$/),ANGLE:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?(?:deg|rad))$/),PERCENT:T(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?%)$/),IDENT:T(/(^-?[_a-z][_a-z0-9-]*$)/i),STRING:function(t){return'string'!==t.type?null:t.value.replace(/\\([0-9a-f]{1,6})(?:\s|$)/gi,function(t,n){return String.fromCharCode(parseInt(n,16))}).replace(/\\/g,'')},COLOR:function(t){return'word'===t.type&&(y.test(t.value)||t.value in p||'transparent'===t.value)?t.value:'function'===t.type&&w.test(t.value)?h.stringify(t):null},LINE:T(/^(none|underline|line-through)$/i)},b=N.NONE,S=N.COLOR,k=N.LENGTH,O=N.UNSUPPORTED_LENGTH_UNIT,C=N.SPACE,L=T(/^(solid|dashed|dotted)$/),R=N.LENGTH,P=N.UNSUPPORTED_LENGTH_UNIT,A=N.PERCENT,V=N.COLOR,U=N.SPACE,$=N.NONE,G=function(t){var n=t.types,o=void 0===n?[R,P,A]:n,u=t.directions,c=void 0===u?['Top','Right','Bottom','Left']:u,f=t.prefix,h=void 0===f?'':f,v=t.suffix,p=void 0===v?'':v;return function(t){var n,u=[];for(u.push(t.expect.apply(t,l(o)));u.length<4&&t.hasTokens();)t.expect(U),u.push(t.expect.apply(t,l(o)));t.expectEmpty();var f=u[0],v=u[1],x=void 0===v?f:v,y=u[2],w=void 0===y?f:y,E=u[3],T=void 0===E?x:E,N=function(t){return''+h+c[t]+p};return s(n={},N(0),f),s(n,N(1),x),s(n,N(2),w),s(n,N(3),T),n}},I=function(t){var n=t.expect(R),o=t.matches(U)?t.expect(R):n;return t.expectEmpty(),{width:n,height:o}},_=function(t){var n=void 0,o=void 0,u=void 0,s=void 0;if(t.matches($))return t.expectEmpty(),{offset:{width:0,height:0},radius:0,color:'black'};for(var l=!1;t.hasTokens();)l&&t.expect(U),void 0===n&&t.matches(R,P)?(n=t.lastValue,t.expect(U),o=t.expect(R,P),t.saveRewindPoint(),t.matches(U)&&t.matches(R,P)?u=t.lastValue:t.rewind()):void 0===s&&t.matches(V)?s=t.lastValue:t.throw(),l=!0;return void 0===n&&t.throw(),{offset:{width:n,height:o},radius:void 0!==u?u:0,color:void 0!==s?s:'black'}},H=N.NONE,D=N.AUTO,M=N.NUMBER,B=N.LENGTH,F=N.SPACE,W=N.SPACE,Y=T(/(nowrap|wrap|wrap-reverse)/),j=T(/(row|row-reverse|column|column-reverse)/),X=N.SPACE,z=N.IDENT,Z=N.STRING,q=function(t){var n=void 0;if(t.matches(Z))n=t.lastValue;else for(n=t.expect(z);t.hasTokens();){t.expect(X),n+=' '+t.expect(z)}return t.expectEmpty(),{fontFamily:n}},J=N.SPACE,K=N.LENGTH,Q=N.UNSUPPORTED_LENGTH_UNIT,ee=N.NUMBER,te=N.SLASH,ne=T(/^(normal)$/),re=T(/^(italic)$/),oe=T(/^([1-9]00|bold)$/),ie=T(/^(small-caps)$/),ae=[],ue=N.SPACE,se=N.LINE,le=N.COLOR,ce=T(/^(solid|double|dotted|dashed)$/),de=N.SPACE,fe=N.LINE,he=N.SPACE,ve=N.COMMA,pe=N.LENGTH,me=N.NUMBER,xe=N.ANGLE,ye=function(t){return function(n){var o=n.expect(t);return n.expectEmpty(),o}},we=ye(me),Ee=ye(pe),Te=ye(xe),Ne=function(t){return function(n,o){return function(u){var l=u.expect(t),c=void 0;if(u.hasTokens())u.expect(ve),c=u.expect(t);else{if(void 0===o)return l;c=o}return u.expectEmpty(),[s({},n+'Y',c),s({},n+'X',l)]}}},be=Ne(me),Se=Ne(pe),ke=Ne(xe),ge={perspective:we,scale:be('scale'),scaleX:we,scaleY:we,translate:Se('translate',0),translateX:Ee,translateY:Ee,rotate:Te,rotateX:Te,rotateY:Te,rotateZ:Te,skewX:Te,skewY:Te,skew:ke('skew','0deg')},Oe=N.IDENT,Ce=N.WORD,Le=N.COLOR,Re=N.LENGTH,Pe=N.UNSUPPORTED_LENGTH_UNIT,Ae=N.PERCENT,Ve=N.AUTO,Ue=G({types:[Le],prefix:'border',suffix:'Color'}),$e=G({directions:['TopLeft','TopRight','BottomRight','BottomLeft'],prefix:'border',suffix:'Radius'}),Ge=G({prefix:'border',suffix:'Width'}),Ie=G({types:[Re,Pe,Ae,Ve],prefix:'margin'}),_e=G({prefix:'padding'}),He={background:function(t){return{backgroundColor:t.expect(Le)}},border:function(t){var n=void 0,o=void 0,u=void 0;if(t.matches(b))return t.expectEmpty(),{borderWidth:0,borderColor:'black',borderStyle:'solid'};for(var s=0;s<3&&t.hasTokens();)0!==s&&t.expect(C),void 0===n&&t.matches(k)||t.matches(O)?n=t.lastValue:void 0===o&&t.matches(S)?o=t.lastValue:void 0===u&&t.matches(L)?u=t.lastValue:t.throw(),s+=1;return t.expectEmpty(),void 0===n&&(n=1),void 0===o&&(o="black"),void 0===u&&(u="solid"),{borderWidth:n,borderColor:o,borderStyle:u}},borderColor:Ue,borderRadius:$e,borderWidth:Ge,boxShadow:function(t){var n=_(t);return{shadowOffset:n.offset,shadowRadius:n.radius,shadowColor:n.color,shadowOpacity:1}},flex:function(t){var n=void 0,o=void 0,u=void 0;if(t.matches(H))return t.expectEmpty(),{flexGrow:0,flexShrink:0,flexBasis:'auto'};if(t.saveRewindPoint(),t.matches(D)&&!t.hasTokens())return{flexGrow:1,flexShrink:1,flexBasis:'auto'};t.rewind();for(var s=0;s<2&&t.hasTokens();)0!==s&&t.expect(F),void 0===n&&t.matches(M)?(n=t.lastValue,t.saveRewindPoint(),t.matches(F)&&t.matches(M)?o=t.lastValue:t.rewind()):void 0===u&&t.matches(B)?u=t.lastValue:void 0===u&&t.matches(D)?u='auto':t.throw(),s+=1;return t.expectEmpty(),void 0===n&&(n=1),void 0===o&&(o=1),void 0===u&&(u=0),{flexGrow:n,flexShrink:o,flexBasis:u}},flexFlow:function(t){for(var n=void 0,o=void 0,u=0;u<2&&t.hasTokens();)0!==u&&t.expect(W),void 0===n&&t.matches(Y)?n=t.lastValue:void 0===o&&t.matches(j)?o=t.lastValue:t.throw(),u+=1;return t.expectEmpty(),void 0===n&&(n="nowrap"),void 0===o&&(o="row"),{flexWrap:n,flexDirection:o}},font:function(t){for(var n=void 0,o=void 0,u=void 0,s=void 0,l=0;l<3&&t.hasTokens();){if(t.matches(ne));else if(void 0===n&&t.matches(re))n=t.lastValue;else if(void 0===o&&t.matches(oe))o=t.lastValue;else{if(void 0!==u||!t.matches(ie))break;u=[t.lastValue]}t.expect(J),l+=1}var c=t.expect(K,Q);t.matches(te)&&(s=t.matches(ee)?c*t.lastValue:t.expect(K,Q)),t.expect(J);var f=q(t).fontFamily;void 0===n&&(n="normal"),void 0===o&&(o="normal"),void 0===u&&(u=ae);var h={fontStyle:n,fontWeight:o,fontVariant:u,fontSize:c,fontFamily:f};return void 0!==s&&(h.lineHeight=s),h},fontFamily:q,fontVariant:function(t){return{fontVariant:[t.expect(Oe)]}},fontWeight:function(t){return{fontWeight:t.expect(Ce)}},margin:Ie,padding:_e,shadowOffset:function(t){return{shadowOffset:I(t)}},textShadow:function(t){var n=_(t);return{textShadowOffset:n.offset,textShadowRadius:n.radius,textShadowColor:n.color}},textShadowOffset:function(t){return{textShadowOffset:I(t)}},textDecoration:function(t){for(var n=void 0,o=void 0,u=void 0,s=!1;t.hasTokens();){if(s&&t.expect(ue),void 0===n&&t.matches(se)){var l=[t.lastValue.toLowerCase()];t.saveRewindPoint(),'none'!==l[0]&&t.matches(ue)&&t.matches(se)?(l.push(t.lastValue.toLowerCase()),l.sort().reverse()):t.rewind(),n=l.join(' ')}else void 0===o&&t.matches(ce)?o=t.lastValue:void 0===u&&t.matches(le)?u=t.lastValue:t.throw();s=!0}return{textDecorationLine:void 0!==n?n:"none",textDecorationColor:void 0!==u?u:"black",textDecorationStyle:void 0!==o?o:"solid"}},textDecorationLine:function(t){for(var n=[],o=!1;t.hasTokens();)o&&t.expect(de),n.push(t.expect(fe).toLowerCase()),o=!0;return n.sort().reverse(),{textDecorationLine:n.join(' ')}},transform:function(t){for(var n=[],o=!1;t.hasTokens();){o&&t.expect(he);var u=t.expectFunction(),l=u.functionName,c=ge[l](u);Array.isArray(c)||(c=[s({},l,c)]),n=c.concat(n),o=!0}return{transform:n}}},De=(function(){function t(n,o){u(this,t),this.index=0,this.nodes=n,this.functionName=null!=o?o.value:null,this.lastValue=null,this.rewindIndex=-1}return n(t,[{key:'hasTokens',value:function(){return this.index<=this.nodes.length-1}},{key:"SYMBOL_MATCH",value:function(){if(!this.hasTokens())return null;for(var t=this.nodes[this.index],n=0;n1&&void 0!==arguments[1]?arguments[1]:[];return n.reduce(function(n,u){var s=ze(u[0]),l=u[1],c=-1===o.indexOf(s);return t(n,Xe(s,l,c))},{})}},1756,[24,1757,1762,1764]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]);function s(n){return this instanceof s?(this.nodes=t(n),this):new s(n)}s.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):''},s.prototype.walk=function(t,o){return n(this.nodes,t,o),this},s.unit=r(d[3]),s.walk=n,s.stringify=o,m.exports=s},1757,[1758,1759,1760,1761]); +__d(function(g,r,i,a,m,e,d){var o='('.charCodeAt(0),t=')'.charCodeAt(0),c='\''.charCodeAt(0),s='"'.charCodeAt(0),h='\\'.charCodeAt(0),l='/'.charCodeAt(0),n=','.charCodeAt(0),u=':'.charCodeAt(0),f='*'.charCodeAt(0);m.exports=function(p){for(var A,C,v,x,y,w,I,O,b=[],_=p,q=0,j=_.charCodeAt(q),k=_.length,z=[{nodes:b}],B=0,D='',E='',F='';q=48&&c<=57)s+=o[h],l=!0;else if(c===n){if(b)break;b=!0,s+=o[h]}else{if(c!==f&&c!==t)break;if(0!==h)break;s+=o[h]}h+=1}return!!l&&{number:s,unit:o.slice(h)}}},1761,[]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},1762,[1763]); +__d(function(e,f,a,d,r,l,i){r.exports={black:"#000000",silver:"#c0c0c0",gray:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32",rebeccapurple:"#663399"}},1763,[]); +__d(function(g,r,i,a,m,e,d){function t(p){return p&&'object'==typeof p?u(p)||c(p)?p:o(p)?l(p,t):y(f(p),function(o,u){return o[n(u)]=t(p[u]),o},{}):p}function n(t){return t.replace(/[_.-](\w|$)/g,function(t,n){return n.toUpperCase()})}m.exports=function(o){return'string'==typeof o?n(o):t(o)};var o=Array.isArray||function(t){return'[object Array]'===Object.prototype.toString.call(t)},u=function(t){return'[object Date]'===Object.prototype.toString.call(t)},c=function(t){return'[object RegExp]'===Object.prototype.toString.call(t)},p=Object.prototype.hasOwnProperty,f=Object.keys||function(t){var n=[];for(var o in t)p.call(t,o)&&n.push(o);return n};function l(t,n){if(t.map)return t.map(n);for(var o=[],u=0;uA)&&(R=(V=V.replace(' ',':')).length),0n&&(n=(c=c.trim()).charCodeAt(0)),n){case 38:return c.replace(x,'$1'+t.trim());case 58:return t.trim()+c.replace(x,'$1'+t.trim());default:if(0<1*s&&0h.charCodeAt(8))break;case 115:o=o.replace(h,'-webkit-'+h)+';'+o;break;case 207:case 102:o=o.replace(h,'-webkit-'+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],0=4;)c=1540483477*(65535&(c=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))+((1540483477*(c>>>16)&65535)<<16),h=1540483477*(65535&h)+((1540483477*(h>>>16)&65535)<<16)^(c=1540483477*(65535&(c^=c>>>24))+((1540483477*(c>>>16)&65535)<<16)),o-=4,++n;switch(o){case 3:h^=(255&t.charCodeAt(n+2))<<16;case 2:h^=(255&t.charCodeAt(n+1))<<8;case 1:h=1540483477*(65535&(h^=255&t.charCodeAt(n)))+((1540483477*(h>>>16)&65535)<<16)}return h=1540483477*(65535&(h^=h>>>13))+((1540483477*(h>>>16)&65535)<<16),((h^=h>>>15)>>>0).toString(36)}},1774,[]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});e.default={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},1775,[]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),e.default=function(t){var n={};return function(u){return void 0===n[u]&&(n[u]=t(u)),n[u]}}},1776,[]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]);e.default=function(){for(var n=arguments.length,u=new Array(n),l=0;l0&&void 0!==arguments[0]?arguments[0]:'body'){case'title.large':return(0,f.default)(z(),b,"\n\tfont-size: 32px;\n\tline-height: 40px;\n");case'title.medium':return(0,f.default)(v(),b,"\n\tfont-size: 24px;\n\tline-height: 32px;\n");case'title.small':return(0,f.default)(x(),b,"\n\tfont-size: 20px;\n\tline-height: 28px;\n");case'subtitle':return(0,f.default)(p(),w,"\n\tfont-size: 16px;\n\tline-height: 24px;\n");case'subtitle.small':return(0,f.default)(s(),w,"\n\tfont-size: 14px;\n\tline-height: 20px;\n");case'body':return(0,f.default)(h(),y);case'body.large':return(0,f.default)(c(),y,"\n\tfont-size: 16px;\n\tline-height: 24px;\n");case'body.small':return(0,f.default)(l(),y,"\n\tfont-size: 14px;\n\tline-height: 20px;\n");case'button':return"\n font-weight: 600;\n font-size: 14px;\n line-height: 20px;\n";case'caption':return"\n\tfont-weight: 400;\n\tfont-size: 12px;\n\tline-height: 16px;\n";case'label':return"\n\tfont-weight: 600;\n\tfont-size: 12px;\n\tline-height: 16px;\n";case'sectionheading':return _}};e.text=function(t){return(0,f.default)(o(),u.fontFamily,j(t.variant))}},1778,[5,1779,1780,1781,1782]); +__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){return t||(t=n.slice(0)),n.raw=t,n}},1779,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.fontFamily=void 0;e.fontFamily=''},1780,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).css;e.default=t},1781,[1754]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.COLORS=e.UI=e.ADMIN=e.ALERT=e.BLUE=e.LIGHT_OPACITY_LIGHT=e.LIGHT_GRAY=e.DARK_OPACITY_LIGHT=e.DARK_OPACITY=e.DARK_GRAY=e.G2=e.BASE=void 0;var b=t(r(d[1])),c=r(d[2]),o=r(d[3]);function f(t,b){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);b&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(t,b).enumerable})),c.push.apply(c,o)}return c}function l(t){for(var c=1;c0&&void 0!==arguments[0]?arguments[0]:'',n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,u=(0,o.default)(t).toRgb(),l=u.r,v=u.g,b=u.b;return"rgba("+l+", "+v+", "+b+", "+n+")"},e.color=function(t){return(0,n.get)(u.COLORS,t,'#000')};var n=r(d[1]),o=t(r(d[2])),u=r(d[3])},1783,[5,1068,1645,1782]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ExternalLink=o,e.default=void 0;var n=r(d[0]),t=r(d[1]),l=r(d[2]),c=r(d[3]);function o(o){var u=o.href,f=o.children;return(0,n.createElement)(t.TouchableOpacity,{onPress:function(){return t.Linking.openURL(u)},accessibilityLabel:(0,l.__)('Open link in a browser')},(0,n.createElement)(t.Text,null,f),(0,n.createElement)(c.Icon,{icon:c.external}))}var u=o;e.default=u},1784,[946,25,1027,1247]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=l(r(d[2])),o=l(r(d[3])),s=l(r(d[4]));var u=(0,t.memo)(function(l){var u=l.label,c=l.hideLabelFromVision,v=l.value,h=l.help,b=l.className,p=l.instanceId,f=l.onChange,_=l.type,y=void 0===_?'text':_,V=(0,o.default)(l,["label","hideLabelFromVision","value","help","className","instanceId","onChange","type"]),C="inspector-text-control-"+p;return(0,t.createElement)(s.default,(0,n.default)({label:u,hideLabelFromVision:c,id:C,help:h,className:b,type:y,value:v,onChangeValue:f,"aria-describedby":h?C+'__help':void 0},V))});e.default=u},1785,[5,946,24,67,1786]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),s=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),y=t(r(d[8])),p=t(r(d[9])),b=t(r(d[10])),v=r(d[11]),h=r(d[12]),S=r(d[13]),E=r(d[14]),R=r(d[15]),T=r(d[16]),O=t(r(d[17])),C=t(r(d[18]));function w(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);l&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function V(t){for(var l=1;l=21,k=b||!f,F=y(u.default.ripple,u.default.rippleDark).backgroundColor;if(S){var C='android'===c.Platform.OS&&c.Platform.Version>=28&&h;return(0,t.createElement)(c.TouchableNativeFeedback,(0,o.default)({},O,{onPress:f,disabled:k,useForeground:C,background:c.TouchableNativeFeedback.Ripple(F,h)}),(0,t.createElement)(c.View,{style:[h&&u.default.overflow,n]},v))}return(0,t.createElement)(c.TouchableOpacity,(0,o.default)({},O,{onPress:f,disabled:k,activeOpacity:p,style:n}),v)});e.default=f},1788,[5,946,24,67,25,1116,1789]); +__d(function(g,r,i,a,m,e,d){m.exports={ripple:{backgroundColor:"rgba(0, 0, 0, 0.2)"},rippleDark:{backgroundColor:"rgba(255, 255, 255, 0.2)"},overflow:{overflow:"hidden"}}},1789,[]); +__d(function(g,r,i,a,m,e,d){m.exports={labelIconSeparator:{width:12},separatorMarginLeft:{marginLeft:36},isSelected:{color:"#0087be"},activeOpacity:{opacity:1}}},1790,[]); +__d(function(g,r,i,a,m,e,d){m.exports={labelIconSeparator:{width:32},separatorMarginLeft:{marginLeft:56},isSelected:{color:"#0087be"}}},1791,[]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),t=l(r(d[2])),c=l(r(d[3])),o=l(r(d[4])),u=(0,n.memo)(function(l){var u=l.label,s=l.checked,h=l.help,f=l.instanceId,v=l.className,b=l.onChange,p=(0,c.default)(l,["label","checked","help","instanceId","className","onChange"]),_="inspector-toggle-control-"+f;return(0,n.createElement)(o.default,(0,t.default)({label:u,id:_,help:h,className:v,value:s,onValueChange:b,"aria-describedby":h?_+'__help':void 0},p))});e.default=u},1792,[5,946,24,67,1793]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=t.value,b=t.onValueChange,v=(0,o.default)(t,["value","onValueChange"]),_=f?(0,c.sprintf)((0,c._x)('%s. On','switch control'),v.label):(0,c.sprintf)((0,c._x)('%s. Off','switch control'),v.label);return(0,l.createElement)(s.default,(0,n.default)({},v,{accessibilityLabel:_,accessibilityRole:'none',accessibilityHint:(0,c.__)('Double tap to toggle setting'),onPress:function(){b(!f)},editable:!1,value:''}),(0,l.createElement)(u.Switch,{value:f,onValueChange:b}))};var l=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=t(r(d[6]))},1793,[5,946,24,67,25,1027,1786]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=l(r(d[2])),t=l(r(d[3])),s=l(r(d[4])),u=(0,o.memo)(function(l){var u=l.help,c=l.instanceId,p=l.label,h=l.multiple,b=void 0!==h&&h,f=l.onChange,v=l.options,_=void 0===v?[]:v,V=l.className,C=l.hideLabelFromVision,F=(0,t.default)(l,["help","instanceId","label","multiple","onChange","options","className","hideLabelFromVision"]),L="inspector-select-control-"+c;return(0,o.createElement)(s.default,(0,n.default)({label:p,hideLabelFromVision:C,id:L,help:u,className:V,onChangeValue:f,"aria-describedby":u?L+"__help":void 0,multiple:b,options:_},F))});e.default=u},1794,[5,946,24,67,1795]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var v,s=n.options,h=n.hideCancelButton,C=n.onChangeValue,p=n.value,_=(0,u.default)(n,["options","hideCancelButton","onChangeValue","value"]),b=(0,o.find)(s,{value:p}),B=b?b.label:p;return(0,t.createElement)(f.default,(0,l.default)({onPress:function(){v.presentPicker()},editable:!1,value:B},_),(0,t.createElement)(c.default,{leftAlign:!0,hideCancelButton:h,ref:function(n){return v=n},options:s,onChange:function(n){C(n)}}))};var t=r(d[1]),l=n(r(d[2])),u=n(r(d[3])),o=r(d[4]),f=n(r(d[5])),c=n(r(d[6]))},1795,[5,946,24,67,1068,1786,1796]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),f=t(r(d[5])),l=r(d[6]),s=r(d[7]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var h=(function(t){(0,o.default)(I,t);var h,v,y=(h=I,v=p(),function(){var t,n=(0,f.default)(h);if(v){var u=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function I(){return(0,n.default)(this,I),y.apply(this,arguments)}return(0,u.default)(I,[{key:"presentPicker",value:function(){var t=this.props,n=t.options,u=t.onChange,o=t.title,c=t.destructiveButtonIndex,f=t.disabledButtonIndices,p=t.getAnchor,h=n.map(function(t){return t.label}),v=[(0,s.__)('Cancel')].concat(h);l.ActionSheetIOS.showActionSheetWithOptions({title:o,options:v,cancelButtonIndex:0,destructiveButtonIndex:c,disabledButtonIndices:f,anchor:p&&p()},function(t){if(0!==t){var o=n[t-1];u(o.value)}})}},{key:"render",value:function(){return null}}]),I})(r(d[8]).Component);e.default=h},1796,[5,7,42,57,59,56,25,1027,946]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),t=l(r(d[2])),o=l(r(d[3])),u=l(r(d[4])),s=l(r(d[5])),c=(0,n.memo)(function(l){var c=l.className,p=l.currentInput,f=l.label,v=l.value,b=l.instanceId,I=l.onChange,h=l.beforeIcon,y=l.afterIcon,_=l.help,x=l.allowReset,C=l.initialPosition,T=l.min,w=l.max,N=l.type,P=l.separatorType,R=(0,o.default)(l,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","type","separatorType"]);if('stepper'===N)return(0,n.createElement)(s.default,{label:f,max:w,min:T,onChange:I,separatorType:P,value:v});var V="inspector-range-control-"+b,E=null===p?v:p,j=isFinite(E)?E:C;return(0,n.createElement)(u.default,(0,t.default)({label:f,id:V,help:_,className:c,onChange:I,"aria-describedby":_?V+"__help":void 0,minimumValue:T,maximumValue:w,value:v,beforeIcon:h,afterIcon:y,allowReset:x,defaultValue:j,separatorType:P},R))});e.default=c},1797,[5,946,24,67,1798,1806]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),h=t(r(d[8])),C=t(r(d[9])),v=r(d[10]),p=t(r(d[11])),b=r(d[12]),y=r(d[13]),V=t(r(d[14])),S=t(r(d[15])),T=t(r(d[16])),k=r(d[17]);function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R='ios'===v.Platform.OS,P=(function(t){(0,f.default)(A,t);var y,P,_=(y=A,P=x(),function(){var t,l=(0,C.default)(y);if(P){var n=(0,C.default)(this).constructor;t=Reflect.construct(l,arguments,n)}else t=l.apply(this,arguments);return(0,h.default)(this,t)});function A(t){var l;(0,o.default)(this,A),(l=_.call(this,t)).onChangeValue=l.onChangeValue.bind((0,c.default)(l)),l.onChange=l.onChange.bind((0,c.default)(l)),l.onCellPress=l.onCellPress.bind((0,c.default)(l));var n=t.value,u=t.defaultValue,s=t.minimumValue,f=Number(n||u||s);return l.state={accessible:!0,inputValue:f,sliderValue:f},l}return(0,s.default)(A,[{key:"onChangeValue",value:function(t){var l=this.props,n=l.decimalNum,u=l.onChange;t=(0,k.toFixed)(t,n),this.setState({inputValue:t}),this.announceCurrentValue(""+t),u(t)}},{key:"onCellPress",value:function(){if(this.setState({accessible:!1}),this.sliderRef){var t=(0,v.findNodeHandle)(this.sliderRef);v.AccessibilityInfo.setAccessibilityFocus(t)}}},{key:"announceCurrentValue",value:function(t){var l=(0,b.sprintf)((0,b.__)('Current value is %s'),t);v.AccessibilityInfo.announceForAccessibility(l)}},{key:"onChange",value:function(t){var l=this.props,n=l.onChange,u=l.onComplete;this.setState({sliderValue:t}),n(t),u&&u(t)}},{key:"render",value:function(){var t=this,o=this.props,s=o.value,c=o.defaultValue,f=o.minimumValue,h=void 0===f?0:f,C=o.maximumValue,y=void 0===C?10:C,k=o.disabled,x=o.step,P=void 0===x?1:x,_=o.preferredColorScheme,A=o.minimumTrackTintColor,I=void 0===A?'light'===_?'#00669b':'#5198d9':A,N=o.maximumTrackTintColor,w=void 0===N?R?'#e9eff3':'#909090':N,D=o.thumbTintColor,O=void 0===D?!R&&'#00669b':D,E=o.preview,F=o.cellContainerStyle,j=o.onComplete,H=o.shouldDisplayTextInput,$=void 0===H||H,L=o.children,M=o.decimalNum,q=(0,u.default)(o,["value","defaultValue","minimumValue","maximumValue","disabled","step","preferredColorScheme","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","preview","cellContainerStyle","onComplete","shouldDisplayTextInput","children","decimalNum"]),z=this.state,B=z.accessible,G=z.inputValue,J=z.sliderValue,K=(0,b.sprintf)((0,b._x)('%1$s. Current value is %2$s','Slider for picking a number inside a range'),q.label,s),Q=[S.default.container,R?S.default.containerIOS:S.default.containerAndroid];return(0,l.createElement)(V.default,(0,n.default)({},q,{cellContainerStyle:[S.default.cellContainerStyles,F],cellRowContainerStyle:Q,accessibilityRole:'none',value:'',editable:!1,activeOpacity:1,accessible:B,onPress:this.onCellPress,valueStyle:S.default.valueStyle,accessibilityLabel:K,accessibilityHint:(0,b.__)('Double tap to change the value using slider')}),(0,l.createElement)(v.View,{style:Q},E,(0,l.createElement)(p.default,{value:J,defaultValue:c,disabled:k,step:P,minimumValue:h,maximumValue:y,minimumTrackTintColor:I,maximumTrackTintColor:w,thumbTintColor:O,onValueChange:this.onChangeValue,onSlidingComplete:j,ref:function(l){t.sliderRef=l},style:R?S.default.sliderIOS:S.default.sliderAndroid,accessibilityRole:'adjustable'}),$&&(0,l.createElement)(T.default,{label:q.label,onChange:this.onChange,defaultValue:""+G,value:G,min:h,max:y,step:P,decimalNum:M},L)))}}]),A})(l.Component),_=(0,y.withPreferredColorScheme)(P);e.default=_},1798,[5,946,24,67,7,42,60,57,59,56,25,1799,1027,1116,1786,1801,1802,1803]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,l=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),S=r(d[4]),f=t(r(d[5])),v=u.default.forwardRef(function(t,v){var s=S.StyleSheet.compose(n.slider,t.style),c=t.onValueChange,h=t.onSlidingStart,C=t.onSlidingComplete,p=(0,o.default)(t,["onValueChange","onSlidingStart","onSlidingComplete"]),b=c?function(t){var n=!0;'android'===S.Platform.OS&&(n=null!=t.nativeEvent.fromUser&&t.nativeEvent.fromUser),n&&c(t.nativeEvent.value)}:null,R=b,y=h?function(t){h(t.nativeEvent.value)}:null,E=C?function(t){C(t.nativeEvent.value)}:null;return u.default.createElement(f.default,(0,l.default)({},p,{thumbImage:'web'===S.Platform.OS?t.thumbImage:S.Image.resolveAssetSource(t.thumbImage),ref:v,style:s,onChange:R,onRNCSliderSlidingStart:y,onRNCSliderSlidingComplete:E,onRNCSliderValueChange:b,enabled:!t.disabled,onStartShouldSetResponder:function(){return!0},onResponderTerminationRequest:function(){return!1}}))});v.defaultProps={disabled:!1,value:0,minimumValue:0,maximumValue:1,step:0,inverted:!1,touchToSeek:'android'===S.Platform.OS},n='ios'===S.Platform.OS?S.StyleSheet.create({slider:{height:40}}):S.StyleSheet.create({slider:{}});var s=v;e.default=s},1799,[5,24,67,71,25,1800]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0]).requireNativeComponent)('RNCSlider');e.default=t},1800,[25]); +__d(function(g,r,i,a,m,e,d){m.exports={sliderIOS:{flexGrow:1,minHeight:48},sliderAndroid:{flexGrow:1,minHeight:48,marginLeft:-6},isSelected:{borderWidth:2,borderColor:"#0087be"},container:{flexDirection:"row",alignItems:"center"},cellContainerStyles:{marginTop:13,flexDirection:"column",alignItems:"flex-start"},containerIOS:{paddingTop:6,paddingBottom:6},containerAndroid:{paddingTop:8,paddingBottom:8},valueStyle:{height:0}}},1801,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),f=r(d[8]),p=r(d[9]),v=r(d[10]),y=r(d[11]),S=t(r(d[12]));function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var b="ios"===f.Platform.OS?r(d[13]):r(d[14]),F='ios'===f.Platform.OS,C=(function(t){(0,s.default)(I,t);var p,C,V=(p=I,C=x(),function(){var t,n=(0,h.default)(p);if(C){var u=(0,h.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function I(t){var n;(0,u.default)(this,I),(n=V.call(this,t)).announceCurrentValue=n.announceCurrentValue.bind((0,l.default)(n)),n.onInputFocus=n.onInputFocus.bind((0,l.default)(n)),n.onInputBlur=n.onInputBlur.bind((0,l.default)(n)),n.handleChangePixelRatio=n.handleChangePixelRatio.bind((0,l.default)(n)),n.onSubmitEditing=n.onSubmitEditing.bind((0,l.default)(n)),n.onChangeText=n.onChangeText.bind((0,l.default)(n));var o=t.value,s=t.defaultValue,c=t.min,h=t.decimalNum,f=(0,y.toFixed)(o||s||c,h),p=n.getFontScale();return n.state={fontScale:p,inputValue:f,controlValue:f,hasFocus:!1},n}return(0,o.default)(I,[{key:"componentDidMount",value:function(){f.AppState.addEventListener('change',this.handleChangePixelRatio)}},{key:"componentWillUnmount",value:function(){f.AppState.removeEventListener('change',this.handleChangePixelRatio),clearTimeout(this.timeoutAnnounceValue)}},{key:"componentDidUpdate",value:function(t,n){var u=this.props.value,o=this.state,l=o.hasFocus,s=o.inputValue;if(t.value!==u&&this.setState({inputValue:u}),n.hasFocus!==l){var c=this.validateInput(s);this.setState({inputValue:c})}!n.hasFocus&&l&&this._valueTextInput.focus()}},{key:"getFontScale",value:function(){return f.PixelRatio.getFontScale()<1?1:f.PixelRatio.getFontScale()}},{key:"handleChangePixelRatio",value:function(t){'active'===t&&this.setState({fontScale:this.getFontScale()})}},{key:"onInputFocus",value:function(){this.setState({hasFocus:!0})}},{key:"onInputBlur",value:function(){var t=this.state.inputValue;this.onChangeText(""+t),this.setState({hasFocus:!1})}},{key:"validateInput",value:function(t){var n=this.props,u=n.min,o=n.max,l=n.decimalNum,s=u;return t?'number'==typeof t?(s=Math.max(t,u),o?Math.min(s,o):s):(s=Math.max((0,y.removeNonDigit)(t,l),u),o?Math.min(s,o):s):u}},{key:"updateValue",value:function(t){var n=this.props.onChange,u=this.validateInput(t);this.announceCurrentValue(""+u),n(u)}},{key:"onChangeText",value:function(t){var n=this.props.decimalNum,u=(0,y.removeNonDigit)(t,n);t=u.replace(',','.'),t=(0,y.toFixed)(t,n);var o=this.validateInput(t);this.setState({inputValue:u,controlValue:o}),this.updateValue(o)}},{key:"onSubmitEditing",value:function(t){var n=t.nativeEvent.text,u=this.props.decimalNum,o=this.state.inputValue;if(!isNaN(Number(n))){n=(0,y.toFixed)(n.replace(',','.'),u);var l=this.validateInput(n);o!==l&&(this.setState({inputValue:l}),this.announceCurrentValue(""+l),this.props.onChange(l))}}},{key:"announceCurrentValue",value:function(t){var n=(0,v.sprintf)((0,v.__)('Current value is %s'),t);f.AccessibilityInfo.announceForAccessibility(n)}},{key:"render",value:function(){var t=this,u=this.props,o=u.getStylesFromColorScheme,l=u.children,s=this.state,c=s.fontScale,h=s.inputValue,p=s.hasFocus,v=o(S.default.textInput,S.default.textInputDark),y=o(S.default.verticalBorder,S.default.verticalBorderDark),x=[v,b.borderStyle,p&&b.isSelected],C=[F?y:x,{width:50*c}];return(0,n.createElement)(f.TouchableWithoutFeedback,{onPress:this.onInputFocus,accessible:!1},(0,n.createElement)(f.View,{style:[S.default.textInputContainer,F&&x],accessible:!1},F||p?(0,n.createElement)(f.TextInput,{ref:function(n){return t._valueTextInput=n},style:C,onChangeText:this.onChangeText,onSubmitEditing:this.onSubmitEditing,onFocus:this.onInputFocus,onBlur:this.onInputBlur,keyboardType:"numeric",returnKeyType:"done",numberOfLines:1,defaultValue:""+h,value:h,pointerEvents:p?'auto':'none'}):(0,n.createElement)(f.Text,{style:C,numberOfLines:1,ellipsizeMode:"clip"},h),l))}}]),I})(n.Component),V=(0,p.withPreferredColorScheme)(C);e.default=V},1802,[5,946,7,42,60,57,59,56,25,1116,1027,1803,1787,1804,1805]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.removeNonDigit=function(t,o){var n=o>0?/^(\d+\.?\,?(\d+)?)/:/([\d]+)/,u=t.match(n);return u?u[0]:''},e.toFixed=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Math.pow(10,o<0?0:o);return Math.floor(t*n)/n}},1803,[]); +__d(function(g,r,i,a,m,e,d){m.exports={isSelected:{borderWidth:2,borderColor:"#0087be"},borderStyle:{borderWidth:1,borderRadius:4}}},1804,[]); +__d(function(g,r,i,a,m,e,d){m.exports={borderStyle:{borderBottomWidth:1},isSelected:{borderBottomWidth:2,borderColor:"#0087be"}}},1805,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),v=r(d[8]),h=r(d[9]),V=r(d[10]),p=t(r(d[11])),y=t(r(d[12])),I=t(r(d[13])),b=t(r(d[14])),P=r(d[15]);function D(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var C='ios'===v.Platform.OS,S=(function(t){(0,s.default)(k,t);var V,S,T=(V=k,S=D(),function(){var t,n=(0,f.default)(V);if(S){var l=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function k(t){var n;(0,l.default)(this,k),(n=T.call(this,t)).announceValue=n.announceValue.bind((0,o.default)(n)),n.onDecrementValue=n.onDecrementValue.bind((0,o.default)(n)),n.onDecrementValuePressIn=n.onDecrementValuePressIn.bind((0,o.default)(n)),n.onIncrementValue=n.onIncrementValue.bind((0,o.default)(n)),n.onIncrementValuePressIn=n.onIncrementValuePressIn.bind((0,o.default)(n)),n.onPressOut=n.onPressOut.bind((0,o.default)(n));var u=t.value,s=t.defaultValue,c=t.min,f=u||s||c;return n.state={inputValue:f,stepperValue:f},n}return(0,u.default)(k,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),clearInterval(this.interval),clearTimeout(this.timeoutAnnounceValue)}},{key:"onIncrementValue",value:function(){var t=this.props,n=t.step,l=t.max,u=t.onChange,o=t.value,s=t.decimalNum,c=(0,P.toFixed)(o+n,s);(c<=l||void 0===l)&&(u(c),this.setState({inputValue:c}),this.announceValue(c))}},{key:"onDecrementValue",value:function(){var t=this.props,n=t.step,l=t.min,u=t.onChange,o=t.value,s=t.decimalNum,c=(0,P.toFixed)(o-n,s);c>=l&&(u(c),this.setState({inputValue:c}),this.announceValue(c))}},{key:"onIncrementValuePressIn",value:function(){var t=this;this.onIncrementValue(),this.timeout=setTimeout(function(){t.startPressInterval(t.onIncrementValue)},500)}},{key:"onDecrementValuePressIn",value:function(){var t=this;this.onDecrementValue(),this.timeout=setTimeout(function(){t.startPressInterval(t.onDecrementValue)},500)}},{key:"onPressOut",value:function(){clearTimeout(this.timeout),clearInterval(this.interval)}},{key:"startPressInterval",value:function(t){var n=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,u=0;this.interval=setInterval(function(){t(),10===(u+=1)&&(clearInterval(n.interval),n.startPressInterval(t,l/2))},l)}},{key:"announceValue",value:function(t){var n=this.props.label;'ios'===v.Platform.OS&&(clearTimeout(this.timeoutAnnounceValue),this.timeoutAnnounceValue=setTimeout(function(){v.AccessibilityInfo.announceForAccessibility(t+" "+n)},300))}},{key:"render",value:function(){var t=this,l=this.props,u=l.label,o=l.icon,s=l.min,c=l.max,f=l.value,V=l.separatorType,P=l.children,D=l.shouldDisplayTextInput,S=void 0!==D&&D,T=l.preview,k=l.onChange,A=l.decimalNum,O=l.cellContainerStyle,R=this.state.inputValue,w=f===s,x=f===c,E=[I.default.cellLabel,o?{}:I.default.cellLabelNoIcon],N=(0,h.sprintf)((0,h.__)('%1$s. Current value is %2$s'),u,f),_=[I.default.rowContainer,C?I.default.containerIOS:I.default.containerAndroid];return(0,n.createElement)(v.View,{accessible:!0,accessibilityRole:"adjustable",accessibilityLabel:N,accessibilityActions:[{name:'increment'},{name:'decrement'}],onAccessibilityAction:function(n){switch(n.nativeEvent.actionName){case'increment':t.onIncrementValue();break;case'decrement':t.onDecrementValue()}}},(0,n.createElement)(p.default,{accessibilityRole:"none",accessible:!1,cellContainerStyle:[I.default.cellContainerStyle,T&&I.default.columnContainer,O],cellRowContainerStyle:T?_:I.default.cellRowStyles,disabled:!0,editable:!1,icon:o,label:u,labelStyle:E,leftAlign:!0,separatorType:V},(0,n.createElement)(v.View,{style:T&&_},T,(0,n.createElement)(y.default,{isMaxValue:x,isMinValue:w,onPressInDecrement:this.onDecrementValuePressIn,onPressInIncrement:this.onIncrementValuePressIn,onPressOut:this.onPressOut,value:f,shouldDisplayTextInput:S},S&&(0,n.createElement)(b.default,{label:u,onChange:k,defaultValue:""+R,value:R,min:s,step:1,decimalNum:A},P)))))}}]),k})(n.Component);S.defaultProps={step:1};var T=(0,V.withPreferredColorScheme)(S);e.default=T},1806,[5,946,7,42,60,57,59,56,25,1027,1116,1786,1807,1808,1802,1803]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),s=r(d[4]),u=t(r(d[5]));var c=(0,o.withPreferredColorScheme)(function(t){var o=t.getStylesFromColorScheme,c=t.isMaxValue,f=t.isMinValue,y=t.onPressInDecrement,v=t.onPressInIncrement,P=t.onPressOut,p=t.value,I=t.children,b=t.shouldDisplayTextInput,h=o(u.default.value,u.default.valueTextDark),E=o(u.default.button,u.default.buttonDark);return(0,l.createElement)(n.View,{style:u.default.container},!b&&(0,l.createElement)(n.Text,{style:h},p),I,(0,l.createElement)(n.TouchableOpacity,{disabled:f,onPressIn:y,onPressOut:P,style:[E,f?{opacity:.4}:null]},(0,l.createElement)(s.Icon,{icon:s.minus,size:24,color:E.color})),(0,l.createElement)(n.TouchableOpacity,{disabled:c,onPressIn:v,onPressOut:P,style:[E,c?{opacity:.4}:null]},(0,l.createElement)(s.Icon,{icon:s.plus,size:24,color:E.color})))});e.default=c},1807,[5,946,25,1116,1247,1808]); +__d(function(g,r,i,a,m,e,d){m.exports={container:{flexGrow:1,flexDirection:"row",alignItems:"center",minHeight:48,justifyContent:"flex-end"},rowContainer:{flexDirection:"row",alignItems:"center"},columnContainer:{marginTop:13,flexDirection:"column"},containerIOS:{paddingTop:6,paddingBottom:6},containerAndroid:{paddingTop:8,paddingBottom:8},cellContainerStyles:{flexDirection:"row",alignItems:"flex-start"},cellRowStyles:{flexShrink:1,minHeight:48,alignItems:"center",justifyContent:"space-between"},cellLabel:{flexGrow:1,flexShrink:1,flexBasis:0},cellLabelNoIcon:{marginLeft:0},button:{width:32,height:32,backgroundColor:"#f3f6f8",color:"#0087be",borderRadius:16,marginLeft:12,alignItems:"center",justifyContent:"center"},buttonNoBg:{width:32,height:32,color:"#87a6bc",alignItems:"center",justifyContent:"center"},buttonNoBgTextDark:{color:"rgba(255, 255, 255, 0.85)"},buttonDark:{backgroundColor:"rgba(255, 255, 255, 0.1)",color:"#5198d9"},value:{color:"#2e4453",fontSize:16},spacings:{marginLeft:12,marginRight:12},valueTextDark:{color:"rgba(255, 255, 255, 0.6)"}}},1808,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),c=r(d[2]),o=r(d[3]),u=t(r(d[4]));var f=(0,o.withPreferredColorScheme)(function(t){var o=t.size,f=t.showHandle,h=void 0===f||f,n=t.getStylesFromColorScheme,s=o.height,v=n(u.default.staticSpacer,u.default.staticDarkSpacer);return(0,l.createElement)(c.View,{style:[v,h&&u.default.selectedSpacer,{height:s}]})});e.default=f},1809,[5,946,25,1116,1810]); +__d(function(g,r,i,a,m,e,d){m.exports={staticSpacer:{height:20,backgroundColor:"transparent",borderWidth:1,borderColor:"#e2e4e7",borderStyle:"dashed",borderRadius:1},staticDarkSpacer:{borderWidth:1,borderColor:"rgba(226, 228, 231, 0.3)",borderStyle:"dashed"},selectedSpacer:{borderWidth:2,borderColor:"#5198d9",borderStyle:"solid"}}},1810,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),f=t(r(d[2])),l=t(r(d[3]));var n=(0,u.memo)(function(t){var n=(0,f.default)({},t);return(0,u.createElement)(l.default,n)});e.default=n},1811,[5,946,24,1812]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),n=r(d[4]),o=t(r(d[5])),c=t(r(d[6]));var v=(0,n.withPreferredColorScheme)(function(t){var n=t.textAlign,v=void 0===n?'center':n,s=(0,f.default)(t,["textAlign"]);return(0,l.createElement)(o.default,(0,u.default)({},s,{editable:!1,value:'',accessibilityRole:'text',labelStyle:[c.default.footerMessageCell,{textAlign:v}]}))});e.default=v},1812,[5,946,24,67,1116,1786,1787]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),t=o(r(d[2])),n=o(r(d[3])),c=o(r(d[4]));var u=function(o){var u=o.label,f=o.onPress,s=o.color,v=o.withColorIndicator,b=(0,n.default)(o,["label","onPress","color","withColorIndicator"]);return(0,l.createElement)(c.default,(0,t.default)({label:u,onPress:f,color:s,withColorIndicator:v},b))};e.default=u},1813,[5,946,24,67,1814]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.color,b=t.withColorIndicator,h=void 0===b||b,y=(0,c.default)(t,["color","withColorIndicator"]);return(0,o.createElement)(s.default,(0,l.default)({},y,{accessibilityRole:'button',accessibilityHint:(0,n.__)('Double tap to go to color settings'),editable:!1,value:h&&!v&&(0,n.__)('Default')}),h&&v&&(0,o.createElement)(f.ColorIndicator,{color:v,style:_.default.colorCircle}),(0,o.createElement)(u.Icon,{icon:u.chevronRight}))};var o=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),n=r(d[4]),u=r(d[5]),f=r(d[6]),s=t(r(d[7])),_=t(r(d[8]))},1814,[5,946,24,67,1027,1247,1699,1786,1787]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),s=r(d[4]),u=t(r(d[5])),_=[{label:(0,n.__)('Newest to oldest'),value:'date/desc'},{label:(0,n.__)('Oldest to newest'),value:'date/asc'},{label:(0,n.__)('A \u2192 Z'),value:'title/asc'},{label:(0,n.__)('Z \u2192 A'),value:'title/desc'}],c=(0,l.memo)(function(t){var c=t.categoriesList,b=t.selectedCategoryId,v=t.numberOfItems,C=t.order,f=t.orderBy,y=t.maxItems,O=void 0===y?100:y,h=t.minItems,I=void 0===h?1:h,p=t.onCategoryChange,A=t.onNumberOfItemsChange,E=t.onOrderChange,L=t.onOrderByChange,N=(0,l.useCallback)(function(t){var l=t.split('/'),n=(0,o.default)(l,2),s=n[0],u=n[1];u!==C&&E(u),s!==f&&L(s)},[C,f,L,E]);return[E&&L&&(0,l.createElement)(s.SelectControl,{label:(0,n.__)('Order by'),value:f+"/"+C,options:_,onChange:N}),p&&(0,l.createElement)(u.default,{categoriesList:c,label:(0,n.__)('Category'),noOptionLabel:(0,n.__)('All'),selectedCategoryId:b,onChange:p}),A&&(0,l.createElement)(s.RangeControl,{label:(0,n.__)('Number of items'),value:v,onChange:A,min:I,max:O,required:!0})]});e.default=c},1815,[5,946,36,1027,1699,1816]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var s=t.label,b=t.noOptionLabel,f=t.categoriesList,C=t.selectedCategoryId,L=t.onChange,p=(0,o.default)(t,["label","noOptionLabel","categoriesList","selectedCategoryId","onChange"]),v=(0,n.useMemo)(function(){return(0,u.buildTermsTree)(f)},[f]);return(0,n.createElement)(c.default,(0,l.default)({label:s,noOptionLabel:b,onChange:L},{tree:v,selectedId:C},p))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),u=r(d[4]),c=t(r(d[5]))},1816,[5,946,24,67,1817,1818]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.buildTermsTree=function(t){var n=t.map(function(t){return u({children:[],parent:null},t)}),o=(0,c.groupBy)(n,'parent');if(o.null&&o.null.length)return n;return(function t(n){return n.map(function(n){var c=o[n.id];return u(u({},n),{},{children:c&&c.length?t(c):[]})})})(o[0]||[])};var n=t(r(d[1])),c=r(d[2]);function o(t,n){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),c.push.apply(c,o)}return c}function u(t){for(var c=1;c1&&void 0!==arguments[1]?arguments[1]:0;return(0,c.flatMap)(n,function(n){return[{value:n.id,label:(0,c.repeat)("\xa0",3*t)+(0,c.unescape)(n.name)}].concat((0,u.default)(v(n.children||[],t+1)))})}},1818,[5,946,24,67,14,1068,1699]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),o=r(d[3]),l=r(d[4]),c=r(d[5]),s=t(r(d[6])),f=function(t){var f=t.onNoticeHidden,v=t.content,E=t.id,w=(0,n.useState)(o.Dimensions.get('window').width),h=(0,u.default)(w,2),S=h[0],y=h[1],D=(0,n.useState)(!0),b=(0,u.default)(D,2),p=b[0],P=b[1],T=(0,n.useRef)(new o.Animated.Value(0)).current,V=(0,n.useRef)(null),k='ios'===o.Platform.OS,A=function(){y(o.Dimensions.get('window').width)};(0,n.useEffect)(function(){return o.Dimensions.addEventListener('change',A),function(){o.Dimensions.removeEventListener('change',A)}},[]),(0,n.useEffect)(function(){return _(),function(){clearTimeout(null==V?void 0:V.current)}},[p,E]);var R=function(){P(!1)},_=function(){o.Animated.timing(T,{toValue:p?1:0,duration:p?300:150,useNativeDriver:!0,easing:o.Easing.out(o.Easing.quad)}).start(function(){p&&f&&(V.current=setTimeout(function(){R()},3e3)),!p&&f&&f(E)})},x=(0,c.usePreferredColorSchemeStyle)(s.default.noticeSolid,s.default.noticeSolidDark),C=(0,c.usePreferredColorSchemeStyle)(s.default.text,s.default.textDark);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.Animated.View,{style:[s.default.notice,!k&&x,{width:S,transform:[{translateY:T.interpolate({inputRange:[0,1],outputRange:[-24,0]})}]}]},(0,n.createElement)(o.TouchableWithoutFeedback,{onPress:R},(0,n.createElement)(o.View,{style:s.default.noticeContent},(0,n.createElement)(o.Text,{style:C},v))),k&&(0,n.createElement)(l.BlurView,{style:s.default.blurBackground,blurType:"prominent",blurAmount:10})))};e.default=f},1819,[5,946,36,25,1820,1116,1823]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),u=t(r(d[1])),f=t(r(d[2]));m.exports={BlurView:u.default,VibrancyView:f.default}},1820,[5,1821,1822]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=n(r(d[2])),l=n(r(d[3])),u=n(r(d[4])),c=n(r(d[5])),f=n(r(d[6])),p=n(r(d[7])),s=n(r(d[8])),h=t(r(d[9])),y=n(r(d[10])),b=r(d[11]);function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function v(t){for(var n=1;n1&&!1!==l}function o(l){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,u=String(l).trim(),o=parseFloat(u,10);o=isNaN(o)?'':o;var s=u.match(/[\d.\-\+]*\s*(.*)/)[1],U=void 0!==s?s:'';if(U=U.toLowerCase(),f(t)){var c=t.find(function(l){return l.value===U});U=null==c?void 0:c.value}else U=v.value;return[o,U]}e.DEFAULT_UNIT=v},1829,[5,36,1068]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]);var o=function(o){var u=o.children;return(0,n.createElement)(t.View,{pointerEvents:"none"},u)};e.default=o},1830,[946,25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]),o=(0,t.createHigherOrderComponent)(function(o){return function(u){var c=(0,t.useConstrainedTabbing)();return(0,n.createElement)("div",{ref:c,tabIndex:"-1"},(0,n.createElement)(o,u))}},'withConstrainedTabbing');e.default=o},1831,[946,1116]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),s=t(r(d[7])),p=t(r(d[8])),y=r(d[9]),h=r(d[10]);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}e.default=function(t){return(0,h.createHigherOrderComponent)(function(h){return(function(v){(0,c.default)(C,v);var k,R,S=(k=C,R=b(),function(){var t,n=(0,p.default)(k);if(R){var l=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function C(){var t;return(0,o.default)(this,C),(t=S.apply(this,arguments)).nodeRef=t.props.node,t.state={fallbackStyles:void 0,grabStylesCompleted:!1},t.bindRef=t.bindRef.bind((0,u.default)(t)),t}return(0,f.default)(C,[{key:"bindRef",value:function(t){t&&(this.nodeRef=t)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var n=this.state,l=n.grabStylesCompleted,o=n.fallbackStyles;if(this.nodeRef&&!l){var f=t(this.nodeRef,this.props);(0,y.isEqual)(f,o)||this.setState({fallbackStyles:f,grabStylesCompleted:!!(0,y.every)(f)})}}},{key:"render",value:function(){var t=(0,n.createElement)(h,(0,l.default)({},this.props,this.state.fallbackStyles));return this.props.node?t:(0,n.createElement)("div",{ref:this.bindRef}," ",t," ")}}]),C})(n.Component)},'withFallbackStyles')}},1832,[5,946,24,7,42,60,57,59,56,1068,1116]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,p.createHigherOrderComponent)(function(p){var k,R='core/with-filters/'+t;function A(){void 0===k&&(k=(0,h.applyFilters)(t,p))}var _=(function(t){(0,u.default)(w,t);var p,y,_=(p=w,y=v(),function(){var t,n=(0,s.default)(p);if(y){var o=(0,s.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function w(){var t;return(0,o.default)(this,w),t=_.apply(this,arguments),A(),t}return(0,c.default)(w,[{key:"componentDidMount",value:function(){w.instances.push(this),1===w.instances.length&&((0,h.addAction)('hookRemoved',R,D),(0,h.addAction)('hookAdded',R,D))}},{key:"componentWillUnmount",value:function(){w.instances=(0,l.without)(w.instances,this),0===w.instances.length&&((0,h.removeAction)('hookRemoved',R),(0,h.removeAction)('hookAdded',R))}},{key:"render",value:function(){return(0,n.createElement)(k,this.props)}}]),w})(n.Component);_.instances=[];var w=(0,l.debounce)(function(){k=(0,h.applyFilters)(t,p),_.instances.forEach(function(t){t.forceUpdate()})},y);function D(n){n===t&&w()}return _},'withFilters')};var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),s=t(r(d[6])),l=r(d[7]),h=r(d[8]),p=r(d[9]);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var y=16},1833,[5,946,7,42,57,59,56,1068,4,1116]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),l=r(d[4]),c=r(d[5]),s=(0,c.createHigherOrderComponent)(function(t){return function(s){var f=(0,u.useState)(),v=(0,o.default)(f,2),O=v[0],_=v[1],h=(0,u.useCallback)(function(t){return _(function(){return(null==t?void 0:t.handleFocusOutside)?t.handleFocusOutside.bind(t):void 0})},[]);return(0,u.createElement)(l.View,(0,c.__experimentalUseFocusOutside)(O),(0,u.createElement)(t,(0,n.default)({ref:h},s)))}},'withFocusOutside');e.default=s},1834,[5,946,24,36,25,1116]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Provider=e.default=void 0;var t=r(d[1]),o=r(d[2]),u=n(r(d[3]));var c=(0,o.createHigherOrderComponent)(function(n){var u,c=function(){var n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onFocusReturn;return function(u){return function(c){var v=(0,o.useFocusReturn)(n);return(0,t.createElement)("div",{ref:v},(0,t.createElement)(u,c))}}};if((u=n)instanceof t.Component||'function'==typeof u){var v=n;return c()(v)}return c(n)},'withFocusReturn');e.default=c;e.Provider=function(n){var t=n.children;return(0,u.default)('wp.components.FocusReturnProvider component',{hint:'This provider is not used anymore. You can just remove it from your codebase'}),t}},1835,[5,946,1116,1111]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),l=t(r(d[7])),p=t(r(d[8])),v=t(r(d[9])),h=t(r(d[10])),y=r(d[11]),N=r(d[12]),O=t(r(d[13]));function b(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function j(t){for(var o=1;o0&&(0,o.createElement)(O.default,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),E})(o.Component)});e.default=P},1836,[5,946,24,14,66,7,42,60,57,59,56,1231,1116,1824]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=n(r(d[2])),o=r(d[3]),c=r(d[4]),s=(0,o.createHigherOrderComponent)(function(n){return function(s){return(0,t.createElement)(n,(0,u.default)({},s,{speak:c.speak,debouncedSpeak:(0,o.useDebounce)(c.speak,500)}))}},'withSpokenMessages');e.default=s},1837,[5,946,24,1116,1838]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.speak=function(n,u){n=(0,t.default)(n)};var t=n(r(d[1]))},1838,[5,1839]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){t=t.replace(/<[^<>]+>/g,' '),n===t&&(t+="\xa0");return n=t,t};var n=''},1839,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),h=t(r(d[6])),c=t(r(d[7])),f=t(r(d[8])),S=t(r(d[9])),b=t(r(d[10])),y=r(d[11]),p=t(r(d[12])),v=t(r(d[13])),H=r(d[14]),B=r(d[15]),C=t(r(d[16])),k=t(r(d[17])),w=t(r(d[18])),P=t(r(d[19])),E=t(r(d[20])),D=t(r(d[21])),M=t(r(d[22])),O=t(r(d[23])),I=t(r(d[24])),x=t(r(d[25])),A=t(r(d[26])),T=t(r(d[27])),F=t(r(d[28])),R=t(r(d[29])),V=r(d[30]);function j(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function L(t){for(var o=1;oo?this.setState({maxHeight:Math.min(.9*o,c)}):this.setState({maxHeight:Math.min(o/2-s,c)})}},{key:"onDimensionsChange",value:function(){this.onSetMaxHeight(),this.setState({bounces:!1})}},{key:"isCloseToBottom",value:function(t){var o=t.layoutMeasurement,n=t.contentOffset,l=t.contentSize;return o.height+n.y>=l.height-n.y}},{key:"isCloseToTop",value:function(t){return t.contentOffset.y<10}},{key:"onScroll",value:function(t){var o=t.nativeEvent;this.isCloseToTop(o)?this.setState({bounces:!1}):this.isCloseToBottom(o)&&this.setState({bounces:!0})}},{key:"onShouldEnableScroll",value:function(t){this.setState({scrollEnabled:t})}},{key:"onShouldSetBottomSheetMaxHeight",value:function(t){this.setState({isMaxHeightSet:t})}},{key:"isScrolling",value:function(t){this.setState({isScrolling:t})}},{key:"onHandleClosingBottomSheet",value:function(t){this.setState({handleClosingBottomSheet:t})}},{key:"onHandleHardwareButtonPress",value:function(t){this.setState({handleHardwareButtonPress:t})}},{key:"onCloseBottomSheet",value:function(){var t=this.props.onClose,o=this.state.handleClosingBottomSheet;o&&o(),t&&t(),this.onShouldSetBottomSheetMaxHeight(!0)}},{key:"setIsFullScreen",value:function(t){t!==this.state.isFullScreen&&(t?this.setState({isFullScreen:t,isMaxHeightSet:!1}):this.setState({isFullScreen:t,isMaxHeightSet:!0}))}},{key:"onHardwareButtonPress",value:function(){var t=this.props.onClose,o=this.state.handleHardwareButtonPress;if(!o||!o())return t?t():void 0}},{key:"getContentStyle",value:function(){return{paddingBottom:(this.state.safeAreaBottomInset||0)+C.default.scrollableContent.paddingBottom}}},{key:"render",value:function(){var t=this.props,l=t.title,u=void 0===l?'':l,h=t.isVisible,c=t.leftButton,f=t.rightButton,S=t.hideHeader,b=t.style,v=void 0===b?{}:b,H=t.contentStyle,B=void 0===H?{}:H,k=t.getStylesFromColorScheme,w=t.onDismiss,P=t.children,E=t.withHeaderSeparator,D=void 0!==E&&E,M=t.hasNavigation,O=(0,s.default)(t,["title","isVisible","leftButton","rightButton","hideHeader","style","contentStyle","getStylesFromColorScheme","onDismiss","children","withHeaderSeparator","hasNavigation"]),I=this.state,x=I.maxHeight,A=I.bounces,T=I.safeAreaBottomInset,F=I.safeAreaTopInset,j=I.isScrolling,W=I.scrollEnabled,U=I.isMaxHeightSet,N=I.isFullScreen,_=y.PanResponder.create({onMoveShouldSetPanResponder:function(t,o){return'ios'===y.Platform.OS&&o.dy>3&&!A&&(o.dy=0,!0)}}),z=k(C.default.background,C.default.backgroundDark),G=k(C.default.bottomSheetHeaderTitle,C.default.bottomSheetHeaderTitleDark),K={};N?K={flexGrow:1}:U&&(K={maxHeight:x});var q={disableScrollViewPanResponder:!0,bounces:A,onScroll:this.onScroll,onScrollBeginDrag:this.onScrollBeginDrag,onScrollEndDrag:this.onScrollEndDrag,scrollEventThrottle:16,contentContainerStyle:[C.default.content,S&&C.default.emptyHeader,B,N&&{flexGrow:1}],style:K,safeAreaBottomInset:T,scrollEnabled:W,automaticallyAdjustContentInsets:!1},J=M?y.View:y.ScrollView;return(0,o.createElement)(p.default,(0,n.default)({isVisible:h,style:C.default.bottomModal,animationInTiming:400,animationOutTiming:300,backdropTransitionInTiming:50,backdropTransitionOutTiming:50,backdropOpacity:.2,onBackdropPress:this.onCloseBottomSheet,onBackButtonPress:this.onHardwareButtonPress,onSwipe:this.onCloseBottomSheet,onDismiss:'ios'===y.Platform.OS?w:void 0,onModalHide:'android'===y.Platform.OS?w:void 0,swipeDirection:"down",onMoveShouldSetResponder:W&&_.panHandlers.onMoveShouldSetResponder,onMoveShouldSetResponderCapture:W&&_.panHandlers.onMoveShouldSetResponderCapture,onAccessibilityEscape:this.onCloseBottomSheet},O),(0,o.createElement)(R.default,{behavior:'ios'===y.Platform.OS&&'padding',style:L(L(L({},z),{},{borderColor:'rgba(0, 0, 0, 0.1)',marginTop:'ios'===y.Platform.OS&&N?F:0,flex:N?1:void 0},'android'===y.Platform.OS&&N?C.default.backgroundFullScreen:{}),v),keyboardVerticalOffset:-T},!('android'===y.Platform.OS&&N)&&(0,o.createElement)(y.View,{style:C.default.dragIndicator}),!S&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y.View,{style:C.default.bottomSheetHeader},(0,o.createElement)(y.View,{style:C.default.flex},c),(0,o.createElement)(y.Text,{style:G,maxFontSizeMultiplier:3},u),(0,o.createElement)(y.View,{style:C.default.flex},f)),D&&(0,o.createElement)(y.View,{style:C.default.separator})),(0,o.createElement)(J,M?{style:q.style}:q,(0,o.createElement)(V.BottomSheetProvider,{value:{shouldEnableBottomSheetScroll:this.onShouldEnableScroll,shouldEnableBottomSheetMaxHeight:this.onShouldSetBottomSheetMaxHeight,isBottomSheetContentScrolling:j,onHandleClosingBottomSheet:this.onHandleClosingBottomSheet,onHandleHardwareButtonPress:this.onHandleHardwareButtonPress,listProps:q,setIsFullScreen:this.setIsFullScreen,safeAreaBottomInset:T}},M?(0,o.createElement)(o.Fragment,null,P):(0,o.createElement)(y.TouchableHighlight,{accessible:!1},(0,o.createElement)(o.Fragment,null,P))),!M&&(0,o.createElement)(y.View,{style:{height:T||C.default.scrollableContent.paddingBottom}}))))}}]),w})(o.Component);var N=(0,B.withPreferredColorScheme)(U);N.getWidth=function(){return Math.min(y.Dimensions.get('window').width,C.default.background.maxWidth)},N.Button=k.default,N.Cell=w.default,N.CyclePickerCell=P.default,N.PickerCell=E.default,N.SwitchCell=D.default,N.RangeCell=M.default,N.ColorCell=O.default,N.LinkCell=I.default,N.LinkSuggestionItemCell=x.default,N.RadioCell=A.default,N.NavigationScreen=T.default,N.NavigationContainer=F.default;var _=N;e.default=_},1840,[5,946,24,66,67,7,42,60,57,59,56,25,1841,1865,945,1116,1787,1869,1786,1870,1795,1793,1798,1814,1871,1872,1826,1875,1960,2046,2047]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.ReactNativeModal=e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),p=n(r(d[4])),l=n(r(d[5])),c=n(r(d[6])),u=n(r(d[7])),f=n(r(d[8])),b=n(r(d[9])),h=t(r(d[10])),v=r(d[11]),w=n(r(d[12])),O=r(d[13]),y=t(r(d[14])),k=n(r(d[15]));function T(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function D(t){for(var n=1;n0)},onPanResponderMove:function(o,s){var p=1-n.getAccDistancePerDirection(s)/n.state.deviceWidth;if(n.isSwipeDirectionAllowed(s))n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity*p}),t(o,s);else if(n.props.scrollTo){var l=-s.dy;l>n.props.scrollOffsetMax&&(l-=(l-n.props.scrollOffsetMax)/2),n.props.scrollTo({y:l,animated:!1})}},onPanResponderRelease:function(t,o){if(n.getAccDistancePerDirection(o)>n.props.swipeThreshold&&n.props.onSwipe)return n.inSwipeClosingState=!0,void n.props.onSwipe();n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),v.Animated.spring(n.state.pan,{toValue:{x:0,y:0},bounciness:0}).start(),n.props.scrollOffset>n.props.scrollOffsetMax&&n.props.scrollTo({y:n.props.scrollOffsetMax,animated:!0})}})},n.getAccDistancePerDirection=function(t){switch(n.props.swipeDirection){case"up":return-t.dy;case"down":return t.dy;case"right":return t.dx;case"left":return-t.dx;default:return 0}},n.isSwipeDirectionAllowed=function(t){var o=t.dy,s=t.dx,p=o>0,l=o<0,c=s<0,u=s>0;return!("up"!==n.props.swipeDirection||!l)||(!("down"!==n.props.swipeDirection||!p)||(!("right"!==n.props.swipeDirection||!u)||!("left"!==n.props.swipeDirection||!c)))},n.buildAnimations=function(t){var o=t.animationIn,s=t.animationOut;if(P(o)){var p=JSON.stringify(o);S(p,o),o=p}if(P(s)){var l=JSON.stringify(s);S(l,s),s=l}n.animationIn=o,n.animationOut=s},n.handleDimensionsUpdate=function(t){var o=v.Dimensions.get("window").width,s=v.Dimensions.get("window").height;o===n.state.deviceWidth&&s===n.state.deviceHeight||n.setState({deviceWidth:o,deviceHeight:s})},n.open=function(){n.transitionLock||(n.transitionLock=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),n.state.isSwipeable&&n.state.pan.setValue({x:0,y:0}),n.contentRef&&n.contentRef[n.animationIn](n.props.animationInTiming).then(function(){n.transitionLock=!1,n.props.isVisible?n.props.onModalShow():n._close()}))},n._close=function(){if(!n.transitionLock){n.transitionLock=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:0},n.props.backdropTransitionOutTiming);var t=n.animationOut;n.inSwipeClosingState&&(n.inSwipeClosingState=!1,"up"===n.props.swipeDirection?t="slideOutUp":"down"===n.props.swipeDirection?t="slideOutDown":"right"===n.props.swipeDirection?t="slideOutRight":"left"===n.props.swipeDirection&&(t="slideOutLeft")),n.contentRef&&n.contentRef[t](n.props.animationOutTiming).then(function(){n.transitionLock=!1,n.props.isVisible?n.open():(n.setState({showContent:!1},function(){n.setState({isVisible:!1})}),n.props.onModalHide())})}},n.buildAnimations(t),n.state.isSwipeable&&(n.state=D(D({},n.state),{},{pan:new v.Animated.ValueXY}),n.buildPanResponder()),n.props.isVisible&&(n.state=D(D({},n.state),{},{isVisible:!0,showContent:!0})),n}return(0,c.default)(y,[{key:"componentWillReceiveProps",value:function(t){!this.state.isVisible&&t.isVisible&&this.setState({isVisible:!0,showContent:!0}),this.props.animationIn===t.animationIn&&this.props.animationOut===t.animationOut||this.buildAnimations(t),this.props.backdropOpacity!==t.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:t.backdropOpacity},this.props.backdropTransitionInTiming)}},{key:"componentDidMount",value:function(){this.state.isVisible&&this.open(),v.DeviceEventEmitter.addListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentWillUnmount",value:function(){v.DeviceEventEmitter.removeListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentDidUpdate",value:function(t,n){this.props.isVisible&&!t.isVisible?this.open():!this.props.isVisible&&t.isVisible&&this._close()}},{key:"render",value:function(){var t=this,n=this.props,p=(n.animationIn,n.animationInTiming,n.animationOut,n.animationOutTiming,n.avoidKeyboard),l=n.backdropColor,c=(n.backdropOpacity,n.backdropTransitionInTiming,n.backdropTransitionOutTiming,n.children),u=(n.isVisible,n.onModalShow,n.onBackdropPress),f=n.onBackButtonPress,b=n.useNativeDriver,w=n.style,y=(0,s.default)(n,["animationIn","animationInTiming","animationOut","animationOutTiming","avoidKeyboard","backdropColor","backdropOpacity","backdropTransitionInTiming","backdropTransitionOutTiming","children","isVisible","onModalShow","onBackdropPress","onBackButtonPress","useNativeDriver","style"]),T=this.state,R=T.deviceWidth,S=T.deviceHeight,P=[{margin:.05*R,transform:[{translateY:0}]},k.default.content,w],V={},M={};this.state.isSwipeable&&(V=D({},this.panResponder.panHandlers),M=this.state.pan.getLayout());var I=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?h.default.createElement(O.View,null):c,C=h.default.createElement(O.View,(0,o.default)({},V,{ref:function(n){return t.contentRef=n},style:[M,P],pointerEvents:"box-none",useNativeDriver:b},y),I);return h.default.createElement(v.Modal,(0,o.default)({transparent:!0,animationType:"none",visible:this.state.isVisible,onRequestClose:f},y),h.default.createElement(v.TouchableWithoutFeedback,{onPress:u},h.default.createElement(O.View,{ref:function(n){return t.backdropRef=n},useNativeDriver:b,style:[k.default.backdrop,{backgroundColor:this.state.showContent?l:"transparent",width:R,height:S}]})),p&&h.default.createElement(v.KeyboardAvoidingView,{behavior:"ios"===v.Platform.OS?"padding":null,pointerEvents:"box-none",style:P.concat([{margin:0}])},C),!p&&C)}}]),y})(h.Component);e.ReactNativeModal=V,V.propTypes={animationIn:w.default.oneOfType([w.default.string,w.default.object]),animationInTiming:w.default.number,animationOut:w.default.oneOfType([w.default.string,w.default.object]),animationOutTiming:w.default.number,avoidKeyboard:w.default.bool,backdropColor:w.default.string,backdropOpacity:w.default.number,backdropTransitionInTiming:w.default.number,backdropTransitionOutTiming:w.default.number,children:w.default.node.isRequired,isVisible:w.default.bool.isRequired,hideModalContentWhileAnimating:w.default.bool,onModalShow:w.default.func,onModalHide:w.default.func,onBackButtonPress:w.default.func,onBackdropPress:w.default.func,onSwipe:w.default.func,swipeThreshold:w.default.number,swipeDirection:w.default.oneOf(["up","down","left","right"]),useNativeDriver:w.default.bool,style:w.default.any,scrollTo:w.default.func,scrollOffset:w.default.number,scrollOffsetMax:w.default.number,supportedOrientations:w.default.arrayOf(w.default.oneOf(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"]))},V.defaultProps={animationIn:"slideInUp",animationInTiming:300,animationOut:"slideOutDown",animationOutTiming:300,avoidKeyboard:!1,backdropColor:"black",backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,onModalShow:function(){return null},onModalHide:function(){return null},isVisible:!1,hideModalContentWhileAnimating:!1,onBackdropPress:function(){return null},onBackButtonPress:function(){return null},swipeThreshold:100,useNativeDriver:!1,scrollTo:null,scrollOffset:0,scrollOffsetMax:0,supportedOrientations:["portrait","landscape"]};var M=V;e.default=M},1841,[32,5,24,67,66,7,42,57,59,56,71,25,83,1842,1863,1864]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"registerAnimation",{enumerable:!0,get:function(){return f.registerAnimation}}),Object.defineProperty(e,"initializeRegistryWithDefinitions",{enumerable:!0,get:function(){return f.initializeRegistryWithDefinitions}}),Object.defineProperty(e,"createAnimation",{enumerable:!0,get:function(){return c.default}}),e.Image=e.Text=e.View=e.createAnimatableComponent=void 0;var o=r(d[2]),u=n(r(d[3])),f=r(d[4]),l=t(r(d[5])),c=n(r(d[6]));(0,f.initializeRegistryWithDefinitions)(l);var b=u.default;e.createAnimatableComponent=b;var s=(0,u.default)(o.View);e.View=s;var v=(0,u.default)(o.Text);e.Text=v;var y=(0,u.default)(o.Image);e.Image=y},1842,[32,5,25,1843,1849,1851,1848]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n,o,V=t.displayName||t.name||'Component',E=b.Animated.createAnimatedComponent(t);return o=n=(function(t){(0,f.default)(V,t);var n,o,h=(n=V,o=w(),function(){var t,s=(0,p.default)(n);if(o){var u=(0,p.default)(this).constructor;t=Reflect.construct(s,arguments,u)}else t=s.apply(this,arguments);return(0,c.default)(this,t)});function V(t){var n;(0,s.default)(this,V),(n=h.call(this,t)).ref=null,n.handleRef=function(t){n.ref=t};var o=new b.Animated.Value(R(0,n.props.direction)),u={},f={};return t.animation&&(f=B(t.animation),u=x(f,o)),n.state={animationValue:o,animationStyle:u,compiledAnimation:f,transitionStyle:{},transitionValues:{},currentTransitionValues:{}},t.transition&&(n.state=j(j({},n.state),n.initializeTransitionState(t.transition))),n.delayTimer=null,(0,S.getAnimationNames)().forEach(function(t){t in(0,l.default)(n)||(n[t]=n.animate.bind((0,l.default)(n),t))}),n}return(0,u.default)(V,[{key:"initializeTransitionState",value:function(t){var n={},o={},s=(0,O.default)(t,this.props.style);return Object.keys(s).forEach(function(t){var u=s[t];if(-1!==D.indexOf(t)||'number'!=typeof u)n[t]=new b.Animated.Value(0),o[t]=u;else{var l=new b.Animated.Value(u);n[t]=l,o[t]=l}}),{currentTransitionValues:s,transitionStyle:o,transitionValues:n}}},{key:"getTransitionState",value:function(t){var n=this,o='string'==typeof t?[t]:t,s=this.state,u=s.transitionValues,l=s.currentTransitionValues,f=s.transitionStyle,c=o.filter(function(t){return!n.state.transitionValues[t]});if(c.length){var p=this.initializeTransitionState(c);u=j(j({},u),p.transitionValues),l=j(j({},l),p.currentTransitionValues),f=j(j({},f),p.transitionStyle)}return{transitionValues:u,currentTransitionValues:l,transitionStyle:f}}},{key:"setNativeProps",value:function(t){this.ref&&this.ref.setNativeProps(t)}},{key:"componentDidMount",value:function(){var t=this,n=this.props,o=n.animation,s=n.duration,u=n.delay,l=n.onAnimationBegin,f=n.iterationDelay;if(o){var c=function(){l(),t.startAnimation(s,0,f,function(n){return t.props.onAnimationEnd(n)}),t.delayTimer=null};u?this.delayTimer=setTimeout(c,u):c()}}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var n,o,s=this,u=t.animation,l=t.delay,f=t.duration,c=t.easing,p=t.iterationDelay,y=t.transition,v=t.onAnimationBegin;if(y){var h=(0,O.default)(y,t.style);this.transitionTo(h,f,c,l)}else n=u,o=this.props.animation,n!==o&&JSON.stringify(n)!==JSON.stringify(o)&&(u?this.delayTimer?this.setAnimation(u):(v(),this.animate(u,f,p).then(function(t){return s.props.onAnimationEnd(t)})):this.stopAnimation())}},{key:"componentWillUnmount",value:function(){this.delayTimer&&clearTimeout(this.delayTimer)}},{key:"setAnimation",value:function(t,n){var o=B(t);this.setState(function(t){return{animationStyle:x(o,t.animationValue),compiledAnimation:o}},n)}},{key:"animate",value:function(t,n,o){var s=this;return new Promise(function(u){s.setAnimation(t,function(){s.startAnimation(n,0,o,u)})})}},{key:"stopAnimation",value:function(){this.setState({scheduledAnimation:!1,animationStyle:{}}),this.state.animationValue.stopAnimation(),this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"startAnimation",value:function(t,n,o,s){var u=this,l=this.state,f=l.animationValue,c=l.compiledAnimation,p=this.props,y=p.direction,v=p.iterationCount,h=p.useNativeDriver,T=this.props.easing||c.easing||'ease',O=n||0,A=R(O,y),V=P(O,y);f.setValue(A),'string'==typeof T&&(T=k.default[T]);var S='reverse'===y||'alternate'===y&&!V||'alternate-reverse'===y&&!V;S&&(T=b.Easing.out(T));var E={toValue:V,easing:T,isInteraction:v<=1,duration:t||this.props.duration||1e3,useNativeDriver:h,delay:o||0};b.Animated.timing(f,E).start(function(n){O+=1,n.finished&&u.props.animation&&('infinite'===v||O=1?null:new Error('iterationCount must be a positive number or "infinite"')},iterationDelay:h.default.number,onAnimationBegin:h.default.func,onAnimationEnd:h.default.func,onTransitionBegin:h.default.func,onTransitionEnd:h.default.func,style:h.default.oneOfType([h.default.number,h.default.array,h.default.object]),transition:h.default.oneOfType([h.default.string,h.default.arrayOf(h.default.string)]),useNativeDriver:h.default.bool},n.defaultProps={animation:void 0,delay:0,direction:'normal',duration:void 0,easing:void 0,iterationCount:1,iterationDelay:0,onAnimationBegin:function(){},onAnimationEnd:function(){},onTransitionBegin:function(){},onTransitionEnd:function(){},style:void 0,transition:void 0,useNativeDriver:!1},o};var o=n(r(d[2])),s=n(r(d[3])),u=n(r(d[4])),l=n(r(d[5])),f=n(r(d[6])),c=n(r(d[7])),p=n(r(d[8])),y=n(r(d[9])),v=t(r(d[10])),h=n(r(d[11])),b=r(d[12]),T=n(r(d[13])),O=n(r(d[14])),A=n(r(d[15])),V=n(r(d[16])),S=r(d[17]),k=n(r(d[18]));function E(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function j(t){for(var n=1;n5&&void 0!==arguments[5]&&arguments[5],f=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,p=arguments.length>8?arguments[8]:void 0,y=s||u||f?b.Animated.timing(n,{toValue:o,delay:f,duration:s||1e3,easing:'function'==typeof u?u:k.default[u||'ease'],useNativeDriver:l}):b.Animated.spring(n,{toValue:o,useNativeDriver:l});setTimeout(function(){return c(t)},f),y.start(function(){return p(t)})}},1843,[32,5,66,7,42,60,57,59,56,24,71,83,25,1844,1845,1846,1848,1849,1850]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o={};return Object.keys(t).forEach(function(f){-1!==s.indexOf(f)?(o.transform||(o.transform=[]),o.transform.push((0,n.default)({},f,t[f]))):o[f]=t[f]}),o};var n=t(r(d[1])),s=['perspective','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','skewX','skewY','translateX','translateY']},1844,[5,66]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u){var o={},c=(0,n.default)(u);return('string'==typeof t?[t]:t).forEach(function(t){o[t]=t in c?c[t]:(0,f.default)(t,c)}),o};var n=t(r(d[1])),f=t(r(d[2]))},1845,[5,1846,1847]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=(0,n.default)({},f.StyleSheet.flatten(t));o.transform&&(o.transform.forEach(function(t){var n=Object.keys(t)[0];o[n]=t[n]}),delete o.transform);return o};var n=t(r(d[1])),f=r(d[2])},1846,[5,24,25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,f){if('backgroundColor'===o)return'rgba(0,0,0,0)';if('color'===o||-1!==o.indexOf('Color'))return'rgba(0,0,0,1)';if(0===o.indexOf('rotate')||0===o.indexOf('skew'))return'0deg';if('opacity'===o||0===o.indexOf('scale'))return 1;if('fontSize'===o)return 14;if(0===o.indexOf('margin')||0===o.indexOf('padding'))for(var l,u=0;u1?null:t}var s={}},1848,[5,1846]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.registerAnimation=u,e.getAnimationByName=function(n){return o[n]},e.getAnimationNames=function(){return Object.keys(o)},e.initializeRegistryWithDefinitions=function(n){Object.keys(n).forEach(function(o){u(o,(0,t.default)(n[o]))})};var t=n(r(d[1])),o={};function u(n,t){o[n]=t}},1849,[5,1848]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=r(d[0]),n={linear:s.Easing.linear,ease:s.Easing.bezier(.25,.1,.25,1),'ease-in':s.Easing.bezier(.42,0,1,1),'ease-out':s.Easing.bezier(0,0,.58,1),'ease-in-out':s.Easing.bezier(.42,0,.58,1),'ease-in-cubic':s.Easing.bezier(.55,.055,.675,.19),'ease-out-cubic':s.Easing.bezier(.215,.61,.355,1),'ease-in-out-cubic':s.Easing.bezier(.645,.045,.355,1),'ease-in-circ':s.Easing.bezier(.6,.04,.98,.335),'ease-out-circ':s.Easing.bezier(.075,.82,.165,1),'ease-in-out-circ':s.Easing.bezier(.785,.135,.15,.86),'ease-in-expo':s.Easing.bezier(.95,.05,.795,.035),'ease-out-expo':s.Easing.bezier(.19,1,.22,1),'ease-in-out-expo':s.Easing.bezier(1,0,0,1),'ease-in-quad':s.Easing.bezier(.55,.085,.68,.53),'ease-out-quad':s.Easing.bezier(.25,.46,.45,.94),'ease-in-out-quad':s.Easing.bezier(.455,.03,.515,.955),'ease-in-quart':s.Easing.bezier(.895,.03,.685,.22),'ease-out-quart':s.Easing.bezier(.165,.84,.44,1),'ease-in-out-quart':s.Easing.bezier(.77,0,.175,1),'ease-in-quint':s.Easing.bezier(.755,.05,.855,.06),'ease-out-quint':s.Easing.bezier(.23,1,.32,1),'ease-in-out-quint':s.Easing.bezier(.86,0,.07,1),'ease-in-sine':s.Easing.bezier(.47,0,.745,.715),'ease-out-sine':s.Easing.bezier(.39,.575,.565,1),'ease-in-out-sine':s.Easing.bezier(.445,.05,.55,.95),'ease-in-back':s.Easing.bezier(.6,-.28,.735,.045),'ease-out-back':s.Easing.bezier(.175,.885,.32,1.275),'ease-in-out-back':s.Easing.bezier(.68,-.55,.265,1.55)};e.default=n},1850,[25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var u=r(d[2]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}})});var o=r(d[3]);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})});var c=r(d[4]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}})});var f=r(d[5]);Object.keys(f).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}})});var l=r(d[6]);Object.keys(l).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}})});var b=r(d[7]);Object.keys(b).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}})});var _=r(d[8]);Object.keys(_).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return _[t]}})});var j=r(d[9]);Object.keys(j).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return j[t]}})});var s=r(d[10]);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})})},1851,[1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.wobble=e.tada=e.rubberBand=e.swing=e.shake=e.rotate=e.pulse=e.jello=e.flash=e.bounce=void 0;e.bounce={0:{translateY:0},.2:{translateY:0},.4:{translateY:-30},.43:{translateY:-30},.53:{translateY:0},.7:{translateY:-15},.8:{translateY:0},.9:{translateY:-4},1:{translateY:0}};e.flash={0:{opacity:1},.25:{opacity:0},.5:{opacity:1},.75:{opacity:0},1:{opacity:1}};e.jello={0:{skewX:'0deg',skewY:'0deg'},.111:{skewX:'0deg',skewY:'0deg'},.222:{skewX:'-12.5deg',skewY:'-12.5deg'},.333:{skewX:'6.25deg',skewY:'6.25deg'},.444:{skewX:'-3.125deg',skewY:'-3.125deg'},.555:{skewX:'1.5625deg',skewY:'1.5625deg'},.666:{skewX:'-0.78125deg',skewY:'-0.78125deg'},.777:{skewX:'0.390625deg',skewY:'0.390625deg'},.888:{skewX:'-0.1953125deg',skewY:'-0.1953125deg'},1:{skewX:'0deg',skewY:'0deg'}};e.pulse={0:{scale:1},.5:{scale:1.05},1:{scale:1}};e.rotate={0:{rotate:'0deg'},.25:{rotate:'90deg'},.5:{rotate:'180deg'},.75:{rotate:'270deg'},1:{rotate:'360deg'}};e.shake={0:{translateX:0},.1:{translateX:-10},.2:{translateX:10},.3:{translateX:-10},.4:{translateX:10},.5:{translateX:-10},.6:{translateX:10},.7:{translateX:-10},.8:{translateX:10},.9:{translateX:-10},1:{translateX:0}};e.swing={0:{rotate:'0deg'},.2:{rotate:'15deg'},.4:{rotate:'-10deg'},.6:{rotate:'5deg'},.8:{rotate:'-5deg'},1:{rotate:'0deg'}};e.rubberBand={0:{scaleX:1,scaleY:1},.3:{scaleX:1.25,scaleY:.75},.4:{scaleX:.75,scaleY:1.25},.5:{scaleX:1.15,scaleY:.85},.65:{scaleX:.95,scaleY:1.05},.75:{scaleX:1.05,scaleY:.95},1:{scaleX:1,scaleY:1}};e.tada={0:{scale:1,rotate:'0deg'},.1:{scale:.9,rotate:'-3deg'},.2:{scale:.9,rotate:'-3deg'},.3:{scale:1.1,rotate:'-3deg'},.4:{rotate:'3deg'},.5:{rotate:'-3deg'},.6:{rotate:'3deg'},.7:{rotate:'-3deg'},.8:{rotate:'3deg'},.9:{scale:1.1,rotate:'3deg'},1:{scale:1,rotate:'0deg'}};e.wobble={0:{translateX:0,rotate:'0deg'},.15:{translateX:-25,rotate:'-5deg'},.3:{translateX:20,rotate:'3deg'},.45:{translateX:-15,rotate:'-3deg'},.6:{translateX:10,rotate:'2deg'},.75:{translateX:-5,rotate:'-1deg'},1:{translateX:0,rotate:'0deg'}}},1852,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.bounceInLeft=e.bounceInRight=e.bounceInDown=e.bounceInUp=e.bounceIn=void 0;e.bounceIn={0:{opacity:0,scale:.3},.2:{scale:1.1},.4:{scale:.9},.6:{opacity:1,scale:1.03},.8:{scale:.97},1:{opacity:1,scale:1}};e.bounceInUp={0:{opacity:0,translateY:800},.6:{opacity:1,translateY:-25},.75:{translateY:10},.9:{translateY:-5},1:{translateY:0}};e.bounceInDown={0:{opacity:0,translateY:-800},.6:{opacity:1,translateY:25},.75:{translateY:-10},.9:{translateY:5},1:{translateY:0}};e.bounceInRight={0:{opacity:0,translateX:600},.6:{opacity:1,translateX:-20},.75:{translateX:8},.9:{translateX:-4},1:{translateX:0}};e.bounceInLeft={0:{opacity:0,translateX:-600},.6:{opacity:1,translateX:20},.75:{translateX:-8},.9:{translateX:4},1:{translateX:0}}},1853,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.bounceOutLeft=e.bounceOutRight=e.bounceOutDown=e.bounceOutUp=e.bounceOut=void 0;e.bounceOut={0:{opacity:1,scale:1},.2:{scale:.9},.5:{opacity:1,scale:1.11},.55:{scale:1.11},1:{opacity:0,scale:.3}};e.bounceOutUp={0:{opacity:1,translateY:0},.2:{opacity:1,translateY:-10},.4:{translateY:20},.45:{translateY:20},.55:{opacity:1},1:{opacity:0,translateY:-800}};e.bounceOutDown={0:{opacity:1,translateY:0},.2:{opacity:1,translateY:10},.4:{translateY:-20},.45:{translateY:-20},.55:{opacity:1},1:{opacity:0,translateY:800}};e.bounceOutRight={0:{opacity:1,translateX:0},.2:{opacity:1,translateX:10},.4:{translateX:-20},.45:{translateX:-20},.55:{opacity:1},1:{opacity:0,translateX:600}};e.bounceOutLeft={0:{opacity:1,translateX:0},.2:{opacity:1,translateX:-10},.4:{translateX:20},.45:{translateX:20},.55:{opacity:1},1:{opacity:0,translateX:-600}}},1854,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fadeInRightBig=e.fadeInLeftBig=e.fadeInUpBig=e.fadeInDownBig=e.fadeInRight=e.fadeInLeft=e.fadeInUp=e.fadeInDown=e.fadeIn=void 0;var n=t(r(d[1]));function f(t,f){return{from:(0,n.default)({opacity:0},t,f),to:(0,n.default)({opacity:1},t,0)}}e.fadeIn={from:{opacity:0},to:{opacity:1}};var I=f('translateY',-100);e.fadeInDown=I;var o=f('translateY',100);e.fadeInUp=o;var l=f('translateX',-100);e.fadeInLeft=l;var v=f('translateX',100);e.fadeInRight=v;var p=f('translateY',-500);e.fadeInDownBig=p;var s=f('translateY',500);e.fadeInUpBig=s;var B=f('translateX',-500);e.fadeInLeftBig=B;var c=f('translateX',500);e.fadeInRightBig=c},1855,[5,66]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fadeOutRightBig=e.fadeOutLeftBig=e.fadeOutUpBig=e.fadeOutDownBig=e.fadeOutRight=e.fadeOutLeft=e.fadeOutUp=e.fadeOutDown=e.fadeOut=void 0;var f=t(r(d[1]));function u(t,u){return{from:(0,f.default)({opacity:1},t,0),to:(0,f.default)({opacity:0},t,u)}}e.fadeOut={from:{opacity:1},to:{opacity:0}};var O=u('translateY',100);e.fadeOutDown=O;var n=u('translateY',-100);e.fadeOutUp=n;var o=u('translateX',-100);e.fadeOutLeft=o;var l=u('translateX',100);e.fadeOutRight=l;var v=u('translateY',500);e.fadeOutDownBig=v;var p=u('translateY',-500);e.fadeOutUpBig=p;var s=u('translateX',-500);e.fadeOutLeftBig=s;var B=u('translateX',500);e.fadeOutRightBig=B},1856,[5,66]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.flipOutY=e.flipOutX=e.flipInY=e.flipInX=void 0;e.flipInX={easing:'ease-in',style:{backfaceVisibility:'visible',perspective:400},0:{opacity:0,rotateX:'90deg'},.4:{rotateX:'-20deg'},.6:{opacity:1,rotateX:'10deg'},.8:{rotateX:'-5deg'},1:{opacity:1,rotateX:'0deg'}};e.flipInY={easing:'ease-in',style:{backfaceVisibility:'visible',perspective:400},0:{opacity:0,rotateY:'90deg'},.4:{rotateY:'-20deg'},.6:{opacity:1,rotateY:'10deg'},.8:{rotateY:'-5deg'},1:{opacity:1,rotateY:'0deg'}};e.flipOutX={style:{backfaceVisibility:'visible',perspective:400},0:{opacity:1,rotateX:'0deg'},.3:{opacity:1,rotateX:'-20deg'},1:{opacity:0,rotateX:'90deg'}};e.flipOutY={style:{backfaceVisibility:'visible',perspective:400},0:{opacity:1,rotateY:'0deg'},.3:{opacity:1,rotateY:'-20deg'},1:{opacity:0,rotateY:'90deg'}}},1857,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.lightSpeedOut=e.lightSpeedIn=void 0;e.lightSpeedIn={easing:'ease-out',0:{opacity:0,translateX:200,skewX:'-30deg'},.6:{opacity:1,translateX:0,skewX:'20deg'},.8:{skewX:'-5deg'},1:{opacity:1,translateX:0,skewX:'0deg'}};e.lightSpeedOut={easing:'ease-in',0:{opacity:1,translateX:0,skewX:'0deg'},1:{opacity:0,translateX:200,skewX:'30deg'}}},1858,[]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.slideInRight=e.slideInLeft=e.slideInUp=e.slideInDown=void 0;var t=n(r(d[1]));function l(n,l){return{from:(0,t.default)({},n,l),to:(0,t.default)({},n,0)}}var s=l('translateY',-100);e.slideInDown=s;var o=l('translateY',100);e.slideInUp=o;var f=l('translateX',-100);e.slideInLeft=f;var v=l('translateX',100);e.slideInRight=v},1859,[5,66]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.slideOutRight=e.slideOutLeft=e.slideOutUp=e.slideOutDown=void 0;var l=t(r(d[1]));function u(t,u){return{from:(0,l.default)({},t,0),to:(0,l.default)({},t,u)}}var s=u('translateY',100);e.slideOutDown=s;var n=u('translateY',-100);e.slideOutUp=n;var o=u('translateX',-100);e.slideOutLeft=o;var O=u('translateX',100);e.slideOutRight=O},1860,[5,66]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.zoomInRight=e.zoomInLeft=e.zoomInUp=e.zoomInDown=e.zoomIn=void 0;var t=o(r(d[1])),n=r(d[2]);function l(o,l){var c=Math.min(1,Math.max(-1,l));return{easing:n.Easing.bezier(.175,.885,.32,1),0:(0,t.default)({opacity:0,scale:.1},o,-1e3*c),.6:(0,t.default)({opacity:1,scale:.457},o,l),1:(0,t.default)({scale:1},o,0)}}e.zoomIn={from:{opacity:0,scale:.3},.5:{opacity:1},to:{opacity:1,scale:1}};var c=l('translateY',60);e.zoomInDown=c;var s=l('translateY',-60);e.zoomInUp=s;var z=l('translateX',10);e.zoomInLeft=z;var I=l('translateX',-10);e.zoomInRight=I},1861,[5,66,25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.zoomOutRight=e.zoomOutLeft=e.zoomOutUp=e.zoomOutDown=e.zoomOut=void 0;var o=t(r(d[1])),u=r(d[2]);function c(t,c){var l=Math.min(1,Math.max(-1,c));return{easing:u.Easing.bezier(.175,.885,.32,1),0:(0,o.default)({opacity:1,scale:1},t,0),.4:(0,o.default)({opacity:1,scale:.457},t,c),1:(0,o.default)({opacity:0,scale:.1},t,-1e3*l)}}e.zoomOut={from:{opacity:1,scale:1},.5:{opacity:1,scale:.3},to:{opacity:0,scale:0}};var l=c('translateY',60);e.zoomOutDown=l;var n=c('translateY',-60);e.zoomOutUp=n;var s=c('translateX',10);e.zoomOutLeft=s;var z=c('translateX',-10);e.zoomOutRight=z},1862,[5,66,25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.slideOutRight=e.slideOutLeft=e.slideOutUp=e.slideOutDown=e.slideInRight=e.slideInLeft=e.slideInUp=e.slideInDown=void 0;var n=t(r(d[1])),l=r(d[2]).Dimensions.get("window"),s=l.height,u=l.width,o=function(t,l,s){return{from:(0,n.default)({},t,l),to:(0,n.default)({},t,s)}},v=o("translateY",-s,0);e.slideInDown=v;var f=o("translateY",s,0);e.slideInUp=f;var O=o("translateX",-u,0);e.slideInLeft=O;var I=o("translateX",u,0);e.slideInRight=I;var h=o("translateY",0,s);e.slideOutDown=h;var w=o("translateY",0,-s);e.slideOutUp=w;var p=o("translateX",0,-u);e.slideOutLeft=p;var D=o("translateX",0,u);e.slideOutRight=D},1863,[5,66,25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({backdrop:{position:"absolute",top:0,bottom:0,left:0,right:0,opacity:0,backgroundColor:"black"},content:{flex:1,justifyContent:"center"}});e.default=t},1864,[25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var o={};e.default=void 0;var n=t(r(d[1])),u=r(d[2]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=r(d[3]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))});var f=n.default;e.default=f},1865,[5,1866,1867,1868]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),o=r(d[3]),f=o.NativeModules.RNSafeArea,v=new o.NativeEventEmitter(f),s=new((function(){function t(){(0,n.default)(this,t)}return(0,u.default)(t,[{key:"getSafeAreaInsetsForRootView",value:function(){return f.getSafeAreaInsetsForRootView()}},{key:"addEventListener",value:function(t,n,u){return v.addListener(t,n,u)}},{key:"removeEventListener",value:function(t,n){v.removeListener(t,n)}}]),t})());e.default=s},1866,[5,7,42,25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.withSafeArea=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'margin',o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'all',I=o,O=I.match(/^(top|bottom)(Left|Right)$/);O&&(I=O[1]+"And"+O[2],console.warn("'"+o+"' is deprecated. Use '"+I+"' instead."));var S='top'===I||'topAndLeft'===I||'topAndRight'===I||'vertical'===I||'verticalAndLeft'===I||'verticalAndRight'===I||'horizontalAndTop'===I||'all'===I,w='bottom'===I||'bottomAndLeft'===I||'bottomAndRight'===I||'vertical'===I||'verticalAndLeft'===I||'verticalAndRight'===I||'horizontalAndBottom'===I||'all'===I,j='left'===I||'topAndLeft'===I||'bottomAndLeft'===I||'horizontal'===I||'horizontalAndTop'===I||'horizontalAndBottom'===I||'verticalAndLeft'===I||'all'===I,D='right'===I||'topAndRight'===I||'bottomAndRight'===I||'horizontal'===I||'horizontalAndTop'===I||'horizontalAndBottom'===I||'verticalAndRight'===I||'all'===I;return(function(o){(0,c.default)(L,o);var I,O,z=(I=L,O=R(),function(){var t,n=(0,u.default)(I);if(O){var o=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,h.default)(this,t)});function L(){var t;(0,l.default)(this,L);for(var n=arguments.length,o=new Array(n),s=0;s0&&-1!==p;return(0,t.createElement)(f.default,(0,u.default)({onPress:function(){return b&&s(_())},editable:!1,value:b&&c[p].name},h))};var t=r(d[1]),u=n(r(d[2])),l=n(r(d[3])),o=r(d[4]),f=n(r(d[5]))},1870,[5,946,24,67,1068,1786]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var v=o.value,_=o.onPress,f=o.showIcon,s=void 0===f||f;return(0,l.createElement)(c.default,{icon:s&&t.link,label:(0,n.__)('Link to'),value:v||(0,n.__)('Search or type URL'),valueStyle:v?void 0:u,onPress:_},(0,l.createElement)(t.Icon,{icon:t.chevronRight}))};var l=r(d[1]),n=r(d[2]),t=r(d[3]),c=o(r(d[4])),u=o(r(d[5])).default.placeholderColor},1871,[5,946,1027,1247,1786,1787]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),u=r(d[3]),o=r(d[4]),s=r(d[5]),c=t(r(d[6])),f=t(r(d[7])),y=t(r(d[8])),p=r(d[9]),S={URL:o.globe,post:p.posts,page:p.pages},_=function(t){switch(t){case'mailto':return(0,u.__)('Add this email link');case'tel':return(0,u.__)('Add this telephone link');default:return(0,u.__)('Add this link')}};var h=function(t){var u=t.suggestion,o=t.onLinkPicked,h=u.title,k=u.url,v=u.type,b=u.isDirectEntry,E=b?k:h,L=b?_(v):k,P=(0,s.usePreferredColorSchemeStyle)(f.default.cellLabel,f.default.cellTextDark),T=(0,s.usePreferredColorSchemeStyle)(f.default.cellValue,f.default.cellTextDark),x=[P,y.default.titleStyle],C=[T,y.default.summaryStyle];return(0,l.createElement)(c.default,{icon:S[v]||p.empty,onPress:function(){return o(u)},separatorType:'none',cellContainerStyle:y.default.itemContainerStyle,labelStyle:y.default.hidden,valueStyle:y.default.hidden},(0,l.createElement)(n.View,{style:y.default.containerStyle},(0,l.createElement)(n.Text,{style:x,numberOfLines:1,ellipsizeMode:'middle'},E),(0,l.createElement)(n.Text,{style:C,numberOfLines:1,ellipsizeMode:'middle'},L)))};e.default=h},1872,[5,946,25,1027,1247,1116,1786,1787,1873,1874]); +__d(function(g,r,i,a,m,e,d){m.exports={titleStyle:{textAlign:"left",fontWeight:"bold"},summaryStyle:{textAlign:"left",fontSize:14,lineHeight:20},itemContainerStyle:{justifyContent:"flex-start",marginTop:10,marginBottom:10},containerStyle:{alignItems:"flex-start"},hidden:{display:"none"}}},1873,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.empty=e.refresh=e.pages=e.posts=void 0;var v=r(d[0]),t=r(d[1]),h=function(h){return(0,v.createElement)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,v.createElement)(t.Path,{d:h}))},s=h('M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z');e.posts=s;var c=h('M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z');e.pages=c;var n=h('M17.91 14c-.478 2.833-2.943 5-5.91 5-3.308 0-6-2.692-6-6s2.692-6 6-6h2.172l-2.086 2.086L13.5 10.5 18 6l-4.5-4.5-1.414 1.414L14.172 5H12c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.08 0 7.438-3.055 7.93-7h-2.02z');e.refresh=n;var o=(0,v.createElement)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"});e.empty=o},1874,[946,1250]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=r(d[2]),u=r(d[3]),l=r(d[4]),c=r(d[5]),s=r(d[6]),h=t(r(d[7])),f=function(t){var f=t.children,v=t.fullScreen,x=t.isScrollable,H=t.isNested,b=(0,o.useNavigation)(),B=(0,n.useRef)({maxHeight:0}),E=(0,o.useIsFocused)(),C=(0,n.useContext)(c.BottomSheetContext),S=C.onHandleHardwareButtonPress,w=C.shouldEnableBottomSheetMaxHeight,y=C.setIsFullScreen,k=C.listProps,V=C.safeAreaBottomInset,_=(0,n.useContext)(s.BottomSheetNavigationContext).setHeight,p=(0,n.useCallback)((0,l.debounce)(_,10),[_]);(0,o.useFocusEffect)((0,n.useCallback)(function(){return S(function(){return b.canGoBack()?(w(!0),b.goBack(),!0):(S(null),!1)}),v?(_('100%'),y(!0)):0!==B.current.maxHeight&&(y(!1),_(B.current.maxHeight)),function(){}},[]));var F=function(t){var n=t.nativeEvent;if(!v){var o=n.layout.height;B.current.maxHeight!==o&&E&&(B.current.maxHeight=o,p(o))}};return(0,n.useMemo)(function(){return x||H?(0,n.createElement)(u.View,{onLayout:F},f):(0,n.createElement)(u.ScrollView,k,(0,n.createElement)(u.TouchableHighlight,{accessible:!1},(0,n.createElement)(u.View,{onLayout:F},f,!H&&(0,n.createElement)(u.View,{style:{height:V||h.default.scrollableContent.paddingBottom}}))))},[f,E,V,k])};e.default=f},1875,[5,946,1876,25,1068,1699,1958,1959]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={NavigationContainer:!0,useBackButton:!0,useScrollToTop:!0,DefaultTheme:!0,DarkTheme:!0,ThemeProvider:!0,useTheme:!0,Link:!0,useLinking:!0,useLinkTo:!0,useLinkProps:!0,useLinkBuilder:!0,ServerContainer:!0};Object.defineProperty(e,"NavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"useBackButton",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"useScrollToTop",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"DefaultTheme",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"DarkTheme",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"useLinking",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useLinkTo",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useLinkProps",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useLinkBuilder",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"ServerContainer",{enumerable:!0,get:function(){return T.default}});var u=r(d[1]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var o=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),k=t(r(d[13])),T=t(r(d[14])),h=r(d[15]);Object.keys(h).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))})},1876,[5,1877,1939,1947,1948,1942,1949,1940,1950,1951,1945,1953,1952,1954,1955,1957]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={BaseNavigationContainer:!0,createNavigatorFactory:!0,NavigationHelpersContext:!0,NavigationContext:!0,NavigationRouteContext:!0,CurrentRenderContext:!0,useNavigationBuilder:!0,useNavigation:!0,useRoute:!0,useFocusEffect:!0,useIsFocused:!0,useNavigationState:!0,getStateFromPath:!0,getPathFromState:!0,getActionFromState:!0,getFocusedRouteNameFromRoute:!0};Object.defineProperty(e,"BaseNavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"createNavigatorFactory",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"NavigationHelpersContext",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"NavigationContext",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"NavigationRouteContext",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"CurrentRenderContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useNavigationBuilder",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"useNavigation",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"useRoute",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useFocusEffect",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useIsFocused",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useNavigationState",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"getStateFromPath",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"getPathFromState",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"getActionFromState",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"getFocusedRouteNameFromRoute",{enumerable:!0,get:function(){return R.default}});var u=r(d[1]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var o=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),s=t(r(d[7])),p=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),v=t(r(d[13])),N=t(r(d[14])),F=t(r(d[15])),C=t(r(d[16])),R=t(r(d[17])),h=r(d[18]);Object.keys(h).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))})},1877,[5,1878,1886,1898,1900,1901,1902,1903,1904,1922,1923,1924,1925,1928,1929,1936,1937,1938,1913]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0});var o={CommonActions:!0,BaseRouter:!0,StackRouter:!0,StackActions:!0,TabRouter:!0,TabActions:!0,DrawerRouter:!0,DrawerActions:!0};Object.defineProperty(e,"BaseRouter",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"StackRouter",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"StackActions",{enumerable:!0,get:function(){return f.StackActions}}),Object.defineProperty(e,"TabRouter",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"TabActions",{enumerable:!0,get:function(){return b.TabActions}}),Object.defineProperty(e,"DrawerRouter",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"DrawerActions",{enumerable:!0,get:function(){return l.DrawerActions}}),e.CommonActions=void 0;var u=n(r(d[2]));e.CommonActions=u;var c=t(r(d[3])),f=n(r(d[4])),b=n(r(d[5])),l=n(r(d[6])),s=r(d[7]);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))})},1878,[5,32,1879,1880,1882,1883,1884,1885]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.goBack=function(){return{type:'GO_BACK'}},e.navigate=function(){if('string'==typeof(arguments.length<=0?void 0:arguments[0]))return{type:'NAVIGATE',payload:{name:arguments.length<=0?void 0:arguments[0],params:arguments.length<=1?void 0:arguments[1]}};var t=(arguments.length<=0?void 0:arguments[0])||{};if(!t.hasOwnProperty('key')&&!t.hasOwnProperty('name'))throw new Error('You need to specify name or key when calling navigate with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigate for usage.');return{type:'NAVIGATE',payload:t}},e.reset=function(t){return{type:'RESET',payload:t}},e.setParams=function(t){return{type:'SET_PARAMS',payload:{params:t}}}},1879,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=r(d[2]);function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function c(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:21;t--;)n+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return n}},1881,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=c(c({},s.default),{},{type:'stack',getInitialState:function(n){var o=n.routeNames,s=n.routeParamList,l=void 0!==t.initialRouteName&&o.includes(t.initialRouteName)?t.initialRouteName:o[0];return{stale:!1,type:'stack',key:"stack-"+(0,u.nanoid)(),index:0,routeNames:o,routes:[{key:l+"-"+(0,u.nanoid)(),name:l,params:s[l]}]}},getRehydratedState:function(n,o){var s=o.routeNames,l=o.routeParamList,p=n;if(!1===p.stale)return p;var y=p.routes.filter(function(t){return s.includes(t.name)}).map(function(t){return c(c({},t),{},{key:t.key||t.name+"-"+(0,u.nanoid)(),params:void 0!==l[t.name]?c(c({},l[t.name]),t.params):t.params})});if(0===y.length){var f=void 0!==t.initialRouteName?t.initialRouteName:s[0];y.push({key:f+"-"+(0,u.nanoid)(),name:f,params:l[f]})}return{stale:!1,type:'stack',key:"stack-"+(0,u.nanoid)(),index:y.length-1,routeNames:s,routes:y}},getStateForRouteNamesChange:function(n,o){var s=o.routeNames,l=o.routeParamList,p=n.routes.filter(function(t){return s.includes(t.name)});if(0===p.length){var y=void 0!==t.initialRouteName&&s.includes(t.initialRouteName)?t.initialRouteName:s[0];p.push({key:y+"-"+(0,u.nanoid)(),name:y,params:l[y]})}return c(c({},n),{},{routeNames:s,routes:p,index:Math.min(n.index,p.length-1)})},getStateForRouteFocus:function(t,n){var o=t.routes.findIndex(function(t){return t.key===n});return-1===o||o===t.index?t:c(c({},t),{},{index:o,routes:t.routes.slice(0,o+1)})},getStateForAction:function(t,l,p){var y=p.routeParamList;switch(l.type){case'REPLACE':var f=l.target===t.key&&l.source?t.routes.findIndex(function(t){return t.key===l.source}):t.index;if(-1===f)return null;var v=l.payload,k=v.name,P=v.key,O=v.params;return t.routeNames.includes(k)?c(c({},t),{},{routes:t.routes.map(function(t,n){return n===f?{key:void 0!==P?P:k+"-"+(0,u.nanoid)(),name:k,params:void 0!==y[k]?c(c({},y[k]),O):O}:t})}):null;case'PUSH':return t.routeNames.includes(l.payload.name)?c(c({},t),{},{index:t.index+1,routes:[].concat((0,n.default)(t.routes),[{key:void 0===l.payload.key?l.payload.name+"-"+(0,u.nanoid)():l.payload.key,name:l.payload.name,params:void 0!==y[l.payload.name]?c(c({},y[l.payload.name]),l.payload.params):l.payload.params}])}):null;case'POP':var h=l.target===t.key&&l.source?t.routes.findIndex(function(t){return t.key===l.source}):t.index;if(h>0){var x=Math.max(h-l.payload.count+1,1),N=t.routes.slice(0,x).concat(t.routes.slice(h+1));return c(c({},t),{},{index:N.length-1,routes:N})}return null;case'POP_TO_TOP':return o.getStateForAction(t,{type:'POP',payload:{count:t.routes.length-1}},p);case'NAVIGATE':if(l.payload.key||l.payload.name&&t.routeNames.includes(l.payload.name)){var b=-1;if(t.routes[t.index].name===l.payload.name&&void 0===l.payload.key||t.routes[t.index].key===l.payload.key)b=t.index;else for(var S=t.routes.length-1;S>=0;S--)if(t.routes[S].name===l.payload.name&&void 0===l.payload.key||t.routes[S].key===l.payload.key){b=S;break}return-1===b&&l.payload.key&&void 0===l.payload.name?null:-1===b&&void 0!==l.payload.name?o.getStateForAction(t,{type:'PUSH',payload:{key:l.payload.key,name:l.payload.name,params:l.payload.params}},p):c(c({},t),{},{index:b,routes:[].concat((0,n.default)(t.routes.slice(0,b)),[void 0!==l.payload.params?c(c({},t.routes[b]),{},{params:c(c({},t.routes[b].params),l.payload.params)}):t.routes[b]])})}return null;case'GO_BACK':return t.index>0?o.getStateForAction(t,{type:'POP',payload:{count:1},target:l.target,source:l.source},p):null;default:return s.default.getStateForAction(t,l)}},actionCreators:p});return o},e.StackActions=void 0;var n=t(r(d[1])),o=t(r(d[2])),u=r(d[3]),s=t(r(d[4]));function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function c(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:1}}},popToTop:function(){return{type:'POP_TO_TOP'}}};e.StackActions=p},1882,[5,14,66,1881,1880]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.initialRouteName,s=t.backBehavior,l=void 0===s?'history':s;return y(y({},u.default),{},{type:'tab',getInitialState:function(t){var u=t.routeNames,s=t.routeParamList,y=void 0!==n&&u.includes(n)?u.indexOf(n):0,c=u.map(function(t){return{name:t,key:t+"-"+(0,o.nanoid)(),params:s[t]}}),p=f(c,y,l,n);return{stale:!1,type:'tab',key:"tab-"+(0,o.nanoid)(),index:y,routeNames:u,history:p,routes:c}},getRehydratedState:function(t,u){var s,c,p=u.routeNames,h=u.routeParamList,v=t;if(!1===v.stale)return v;var k=p.map(function(t){var n=v.routes.find(function(n){return n.name===t});return y(y({},n),{},{name:t,key:n&&n.name===t&&n.key?n.key:t+"-"+(0,o.nanoid)(),params:void 0!==h[t]?y(y({},h[t]),n?n.params:void 0):n?n.params:void 0})}),b=Math.min(Math.max('number'==typeof v.index?v.index:p.indexOf(v.routes[0].name),0),k.length-1),O=null==(s=v.history)?void 0:s.filter(function(t){return k.find(function(n){return n.key===t.key})});return(null==(c=O)?void 0:c.length)||(O=f(k,b,l,n)),{stale:!1,type:'tab',key:"tab-"+(0,o.nanoid)(),index:b,routeNames:p,history:O,routes:k}},getStateForRouteNamesChange:function(t,u){var s=u.routeNames,c=u.routeParamList,p=s.map(function(n){return t.routes.find(function(t){return t.name===n})||{name:n,key:n+"-"+(0,o.nanoid)(),params:c[n]}}),h=Math.max(0,s.indexOf(t.routes[t.index].name)),v=t.history.filter(function(t){return'route'!==t.type||p.find(function(n){return n.key===t.key})});return v.length||(v=f(p,h,l,n)),y(y({},t),{},{history:v,routeNames:s,routes:p,index:h})},getStateForRouteFocus:function(t,o){var u=t.routes.findIndex(function(t){return t.key===o});return-1===u||u===t.index?t:p(t,u,l,n)},getStateForAction:function(t,o){switch(o.type){case'JUMP_TO':case'NAVIGATE':var s=-1;return-1===(s='NAVIGATE'===o.type&&o.payload.key?t.routes.findIndex(function(t){return t.key===o.payload.key}):t.routes.findIndex(function(t){return t.name===o.payload.name}))?null:p(y(y({},t),{},{routes:void 0!==o.payload.params?t.routes.map(function(t,n){return n===s?y(y({},t),{},{params:y(y({},t.params),o.payload.params)}):t}):t.routes}),s,l,n);case'GO_BACK':if(1===t.history.length)return null;var c=t.history[t.history.length-2].key,f=t.routes.findIndex(function(t){return t.key===c});return-1===f?null:y(y({},t),{},{history:t.history.slice(0,-1),index:f});default:return u.default.getStateForAction(t,o)}},shouldActionChangeFocus:function(t){return'NAVIGATE'===t.type},actionCreators:c})},e.TabActions=void 0;var n=t(r(d[1])),o=r(d[2]),u=t(r(d[3]));function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function y(t){for(var o=1;o0;c--)y.unshift({type:"route",key:t[c-1].key});break;case'initialRoute':(s=-1===(s=t.findIndex(function(t){return t.name===u}))?0:s)!==n&&y.unshift({type:"route",key:t[s].key})}return y},p=function(t,n,o,u){var s;if('history'===o){var c=t.routes[n].key;s=t.history.filter(function(t){return'route'===t.type&&t.key!==c}).concat({type:"route",key:c})}else s=f(t.routes,n,o,u);return y(y({},t),{},{index:n,history:s})}},1883,[5,66,1881,1880]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.openByDefault,u=(0,o.default)(t,["openByDefault"]),c=(0,s.default)(u);return l(l({},c),{},{type:'drawer',getInitialState:function(t){var o=t.routeNames,u=t.routeParamList,s=c.getInitialState({routeNames:o,routeParamList:u});return n&&(s=w(s)),l(l({},s),{},{stale:!1,type:'drawer',key:"drawer-"+(0,f.nanoid)()})},getRehydratedState:function(t,n){var o=n.routeNames,u=n.routeParamList;if(!1===t.stale)return t;var s=c.getRehydratedState(t,{routeNames:o,routeParamList:u});return O(t)&&(s=w(s)),l(l({},s),{},{type:'drawer',key:"drawer-"+(0,f.nanoid)()})},getStateForRouteFocus:function(t,o){var u=c.getStateForRouteFocus(t,o);return n?w(u):v(u)},getStateForAction:function(t,o,u){switch(o.type){case'OPEN_DRAWER':return w(t);case'CLOSE_DRAWER':return v(t);case'TOGGLE_DRAWER':return O(t)?v(t):w(t);case'GO_BACK':if(n){if(!O(t))return w(t)}else if(O(t))return v(t);return c.getStateForAction(t,o,u);default:return c.getStateForAction(t,o,u)}},actionCreators:p})},e.DrawerActions=void 0;var o=n(r(d[2])),u=n(r(d[3])),c=n(r(d[4])),f=r(d[5]),s=t(r(d[6]));function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function l(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:new Set,u=s();if(o.has(u.key))return!1;if(o.add(u.key),'string'!=typeof t.target||t.target===u.key){var k=n.getStateForAction(u,t,C.current);if(null!==(k=null===k&&t.target===u.key?u:k)){if(A(t,u===k),u!==k){var p=k.routes.map(function(t){return t.key}),b=u.routes.filter(function(t){return!p.includes(t.key)}),L=(0,f.shouldPreventRemove)(h,y,b,t);if(L)return!0;c(k)}if(void 0!==S){var _=n.shouldActionChangeFocus(t);_&&void 0!==v&&S(v)}return!0}}if(void 0!==R&&R(t,o))return!0;for(var F=l.length-1;F>=0;F--){var E=l[F];if(E(t,o))return!0}return!1},[l,y,h,s,v,R,A,S,n,c]);return(0,f.default)({getState:s,emitter:h,beforeRemoveListeners:y}),o.useEffect(function(){return null==b?void 0:b('action',L)},[b,L]),L};var o=n(r(d[2])),u=t(r(d[3])),f=n(r(d[4]))},1911,[5,32,71,1885,1912]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.getState,o=t.emitter,u=t.beforeRemoveListeners,y=f.useContext(l.default).addKeyedListener,v=f.useContext(c.default),b=null==v?void 0:v.key;f.useEffect(function(){if(b)return null==y?void 0:y('beforeRemove',b,function(t){var f=n();return j(o,u,f.routes,t)})},[y,u,o,n,b])},e.shouldPreventRemove=void 0;var o=n(r(d[2])),u=n(r(d[3])),f=t(r(d[4])),l=n(r(d[5])),c=n(r(d[6]));function y(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=v(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function v(t,n){if(t){if("string"==typeof t)return b(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function f(t,n){if(t){if("string"==typeof t)return c(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?c(t,n):void 0}}function c(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function p(t,n){if(t){if("string"==typeof t)return v(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(t,n):void 0}}function v(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o3&&void 0!==arguments[3]?arguments[3]:[],c=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,p=[];l.push(u);var v=s[u];if('string'==typeof v){var h=f?b(f,v):v;p.push(x(n,u,l,h,v))}else if('object'==typeof v){var y;if('string'==typeof v.path){if(n)y=!0!==v.exact&&f?b(f,v.path):v.path;else{if(v.exact&&void 0===v.path)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");y=!0!==v.exact?b(f||'',v.path||''):v.path||''}p.push(x(n,u,l,y,v.path,v.parse))}v.screens&&(v.initialRouteName&&c.push({initialRouteName:v.initialRouteName,connectedRoutes:Object.keys(v.screens)}),Object.keys(v.screens).forEach(function(u){var s,h=t(n,u,v.screens,l,c,null!=(s=y)?s:f);p.push.apply(p,(0,o.default)(h))}))}return l.pop(),p},x=function(t,n,u,l,c,f){return{screen:n,regex:(l=l.split('/').filter(Boolean).join('/'))?new RegExp("^("+l.split('/').map(function(n){if(t&&'*'===n)throw new Error("Please update your config to the new format to use wildcard pattern ('*'). https://reactnavigation.org/docs/configuring-links/#updating-config");return n.startsWith(':')?"(([^/]+\\/)"+(n.endsWith('?')?'?':'')+")":('*'===n?'.*':(0,s.default)(n))+"\\/"}).join('')+")"):void 0,pattern:l,path:c,routeNames:(0,o.default)(u),parse:f}},w=function(t,n){for(var o,u=f(n);!(o=u()).done;){var s=o.value;if(t===s.routeNames[s.routeNames.length-1])return s.parse}},N=function(t,n){for(var o,u=f(n);!(o=u()).done;){var s=o.value;if(s.connectedRoutes.includes(t))return s.initialRouteName===t?void 0:s.initialRouteName}},P=function(t,n,o,u){return u?t?{index:1,routes:[{name:t},{name:n,params:o}]}:{routes:[{name:n,params:o}]}:t?{index:1,routes:[{name:t},{name:n,params:o,state:{routes:[]}}]}:{routes:[{name:n,params:o,state:{routes:[]}}]}},R=function(t,n){var o,u=t.shift(),s=N(u.name,n);if(o=P(s,u.name,u.params,0===t.length),t.length>0)for(var l=o;u=t.shift();){s=N(u.name,n);var c=l.index||l.routes.length-1;l.routes[c].state=P(s,u.name,u.params,0===t.length),t.length>0&&(l=l.routes[c].state)}return o},k=function(t,n,o){return n.map(function(n){var u,s=t.find(function(t){return t.screen===n});if(o&&(null==s?void 0:s.path)){var l=s.path;if(l){var c=l.split('/').filter(function(t){return t.startsWith(':')});c.length&&(u=c.reduce(function(t,n){var u=n.replace(/^:/,'').replace(/\?$/,''),l=o[n];return l&&(t[u]=s.parse&&s.parse[u]?s.parse[u](l):l),t},{}))}}return u&&Object.keys(u).length?{name:n,params:u}:{name:n}})},S=function(t){for(var n,o=t;null==(u=o)?void 0:u.routes[o.index||0].state;){var u;o=o.routes[o.index||0].state}return o.routes[(null==(n=o)?void 0:n.index)||0]},E=function(t,n){var o=t.split('?')[1],u=l.default.parse(o);return n&&Object.keys(u).forEach(function(t){n[t]&&'string'==typeof u[t]&&(u[t]=n[t](u[t]))}),Object.keys(u).length?u:void 0}},1926,[5,66,14,36,1927,1928,1932]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){if('string'!=typeof t)throw new TypeError('Expected a string');return t.replace(/[|\\{}()[\]^$+*?.]/g,'\\$&').replace(/-/g,'\\x2d')}},1927,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]);function u(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=c(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function c(t,n){if(t){if("string"==typeof t)return l(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o-1?o.split(t.arrayFormatSeparator).map(function(n){return S(n,t)}):null===o?o:S(o,t);u[n]=c};default:return function(t,n,o){void 0!==o[t]?o[t]=[].concat(o[t],n):o[t]=n}}}function b(t){if('string'!=typeof t||1!==t.length)throw new TypeError('arrayFormatSeparator must be single character string')}function j(t,n){return n.encode?n.strict?s(t):encodeURIComponent(t):t}function S(t,n){return n.decode?f(t):t}function h(t){return Array.isArray(t)?t.sort():'object'==typeof t?h(Object.keys(t)).sort(function(t,n){return Number(t)-Number(n)}).map(function(n){return t[n]}):t}function k(t){var n=t.indexOf('#');return-1!==n&&(t=t.slice(0,n)),t}function O(t){var n='',o=t.indexOf('#');return-1!==o&&(n=t.slice(o)),n}function F(t){var n=(t=k(t)).indexOf('?');return-1===n?'':t.slice(n+1)}function N(t,n){return n.parseNumbers&&!Number.isNaN(Number(t))&&'string'==typeof t&&''!==t.trim()?t=Number(t):!n.parseBooleans||null===t||'true'!==t.toLowerCase()&&'false'!==t.toLowerCase()||(t='true'===t.toLowerCase()),t}function A(o,c){b((c=n({decode:!0,sort:!0,arrayFormat:'none',arrayFormatSeparator:',',parseNumbers:!1,parseBooleans:!1},c)).arrayFormatSeparator);var l=v(c),s=Object.create(null);if('string'!=typeof o)return s;if(!(o=o.trim().replace(/^[?#&]/,'')))return s;for(var f,y=u(o.split('&'));!(f=y()).done;){var j=f.value,k=p(c.decode?j.replace(/\+/g,' '):j,'='),O=t(k,2),F=O[0],A=O[1];A=void 0===A?null:['comma','separator'].includes(c.arrayFormat)?A:S(A,c),l(S(F,c),A,s)}for(var x=0,w=Object.keys(s);x0}).join('&')},e.parseUrl=function(o,u){u=n({decode:!0},u);var c=p(o,'#'),l=t(c,2),s=l[0],f=l[1];return n({url:s.split('?')[0]||'',query:A(F(o),u)},u&&u.parseFragmentIdentifier&&f?{fragmentIdentifier:S(f,u)}:{})},e.stringifyUrl=function(t,o){o=n({encode:!0,strict:!0},o);var u=k(t.url).split('?')[0]||'',c=e.extract(t.url),l=e.parse(c,{sort:!1}),s=n(l,t.query),f=e.stringify(s,o);f&&(f="?"+f);var p=O(t.url);return t.fragmentIdentifier&&(p="#"+j(t.fragmentIdentifier,o)),""+u+f+p}},1928,[36,24,14,1929,1930,1931]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},1929,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=new RegExp('%[a-f0-9]{2}','gi'),n=new RegExp("(%[a-f0-9]{2})+",'gi');function o(t,n){try{return decodeURIComponent(t.join(''))}catch(t){}if(1===t.length)return t;n=n||1;var c=t.slice(0,n),p=t.slice(n);return Array.prototype.concat.call([],o(c),o(p))}function c(n){try{return decodeURIComponent(n)}catch(f){for(var c=n.match(t),p=1;p1?x.replace(/\/$/,''):x};var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),s=t(r(d[4])),f=t(r(d[5])),c=t(r(d[6]));function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function l(t){for(var n=1;n' section of the 'AndroidManifest.xml' file to avoid launching multiple instances":''].join('\n').trim());return p=!1!==v,function(){p=!1}});var S=u.useRef(v),L=u.useRef(b),w=u.useRef(h),A=u.useRef(k);u.useEffect(function(){S.current=v,L.current=b,w.current=h,A.current=k},[h,v,k,b]);var x=u.useCallback(function(t){for(var n,o=f(L.current);!(n=o()).done;){var u=n.value;if(t.startsWith(u))return t.replace(u,'')}},[]),E=u.useCallback(function(){var t,n;return o.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(S.current){u.next=2;break}return u.abrupt("return",void 0);case 2:return u.next=4,o.default.awrap(Promise.race([l.Linking.getInitialURL(),new Promise(function(t){return setTimeout(t,150)})]));case 4:if(t=u.sent,!(n=t?x(t):null)){u.next=10;break}return u.abrupt("return",A.current(n,w.current));case 10:return u.abrupt("return",void 0);case 11:case"end":return u.stop()}},null,null,null,Promise)},[x]);return u.useEffect(function(){var n=function(n){var o=n.url;if(v){var u=x(o),l=t.current;if(l&&u){var f=A.current(u,w.current);if(f){var s=(0,c.getActionFromState)(f);void 0!==s?l.dispatch(s):l.resetRoot(f)}}}};return l.Linking.addEventListener('url',n),function(){return l.Linking.removeEventListener('url',n)}},[v,x,t]),{getInitialState:E}};var o=n(r(d[2])),u=t(r(d[3])),l=r(d[4]),c=r(d[5]);function f(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=s(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function s(t,n){if(t){if("string"==typeof t)return v(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(t,n):void 0}}function v(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o1&&(1===_?H(t):O?((0,b.performLayoutAnimation)(P),H(t)):H(t))},[_]),B=(0,n.useMemo)(function(){return n.Children.map(u,function(t){var u=t,l=t.props,s=l.name,f=(0,c.default)(l,["name"]);return j||(u=(0,n.cloneElement)(t,S(S({},t.props),{},{isNested:!0}))),(0,n.createElement)(w.Screen,(0,o.default)({name:s},f,{children:function(){return u}}))})},[u]);return(0,n.useMemo)(function(){return(0,n.createElement)(s.View,{style:{height:_}},(0,n.createElement)(h.BottomSheetNavigationProvider,{value:{setHeight:A,currentHeight:_}},j?(0,n.createElement)(f.NavigationContainer,{theme:x},(0,n.createElement)(w.Navigator,{screenOptions:E},B)):(0,n.createElement)(w.Navigator,{screenOptions:E},B)))},[_,x])};e.default=k},1957,[5,946,24,67,66,36,25,1873,1958,1116,2042,1955,1956]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createStackNavigator",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"StackView",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Header",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"HeaderTitle",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"HeaderBackButton",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"HeaderBackground",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"CardAnimationContext",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"HeaderHeightContext",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"GestureHandlerRefContext",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"useCardAnimation",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"useHeaderHeight",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"useGestureHandlerRef",{enumerable:!0,get:function(){return C.default}}),e.TransitionPresets=e.TransitionSpecs=e.HeaderStyleInterpolators=e.CardStyleInterpolators=e.Assets=void 0;var u=n(r(d[2]));e.CardStyleInterpolators=u;var o=n(r(d[3]));e.HeaderStyleInterpolators=o;var f=n(r(d[4]));e.TransitionSpecs=f;var l=n(r(d[5]));e.TransitionPresets=l;var c=t(r(d[6])),s=t(r(d[7])),b=t(r(d[8])),p=t(r(d[9])),y=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),O=t(r(d[13])),H=t(r(d[14])),v=t(r(d[15])),S=t(r(d[16])),C=t(r(d[17])),T=[r(d[18]),r(d[19])];e.Assets=T},1958,[5,32,1959,1962,1963,1964,1965,1966,2035,2036,2006,2014,2027,2030,2000,2039,2040,2041,2012,2013]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.forHorizontalIOS=function(t){var n=t.current,o=t.next,p=t.inverted,u=t.layouts.screen,s=l(n.progress.interpolate({inputRange:[0,1],outputRange:[u.width,0],extrapolate:'clamp'}),p),c=o?l(o.progress.interpolate({inputRange:[0,1],outputRange:[0,-.3*u.width],extrapolate:'clamp'}),p):0,R=n.progress.interpolate({inputRange:[0,1],outputRange:[0,.07],extrapolate:'clamp'}),f=n.progress.interpolate({inputRange:[0,1],outputRange:[0,.3],extrapolate:'clamp'});return{cardStyle:{transform:[{translateX:s},{translateX:c}]},overlayStyle:{opacity:R},shadowStyle:{shadowOpacity:f}}},e.forVerticalIOS=function(t){var n=t.current,o=t.inverted,p=t.layouts.screen;return{cardStyle:{transform:[{translateY:l(n.progress.interpolate({inputRange:[0,1],outputRange:[p.height,0],extrapolate:'clamp'}),o)}]}}},e.forModalPresentationIOS=function(t){var n=t.index,p=t.current,s=t.next,c=t.inverted,R=t.layouts.screen,f=t.insets,h=R.width>R.height,y=h?0:10,v=f.top,x=R.height/R.width,S=u(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),s?s.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),w=l(S.interpolate({inputRange:[0,1,2],outputRange:[R.height,0===n?0:y,(0===n?v:0)-y*x]}),c),A=S.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,.3,1,1]}),Y=h?1:S.interpolate({inputRange:[0,1,2],outputRange:[1,1,R.width?1-2*y/R.width:1]}),O=h?0:0===n?S.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,0,(0,o.isIphoneX)()?38:0,10]}):10;return{cardStyle:{overflow:'hidden',borderTopLeftRadius:O,borderTopRightRadius:O,marginTop:0===n?0:v,marginBottom:0===n?0:y,transform:[{translateY:w},{scale:Y}]},overlayStyle:{opacity:A}}},e.forFadeFromBottomAndroid=function(t){var n=t.current,o=t.inverted,u=t.layouts.screen,s=t.closing,c=l(n.progress.interpolate({inputRange:[0,1],outputRange:[.08*u.height,0],extrapolate:'clamp'}),o);return{cardStyle:{opacity:(0,p.default)(s,n.progress,n.progress.interpolate({inputRange:[0,.5,.9,1],outputRange:[0,.25,.7,1]})),transform:[{translateY:c}]}}},e.forRevealFromBottomAndroid=function(t){var n=t.current,o=t.next,p=t.inverted,u=t.layouts.screen,s=l(n.progress.interpolate({inputRange:[0,1],outputRange:[u.height,0],extrapolate:'clamp'}),p),c=l(n.progress.interpolate({inputRange:[0,1],outputRange:[.9590000000000001*u.height*-1,0],extrapolate:'clamp'}),p),R=o?l(o.progress.interpolate({inputRange:[0,1],outputRange:[0,.02*u.height*-1],extrapolate:'clamp'}),p):0,f=n.progress.interpolate({inputRange:[0,.36,1],outputRange:[0,.1,.1],extrapolate:'clamp'});return{containerStyle:{overflow:'hidden',transform:[{translateY:s}]},cardStyle:{transform:[{translateY:c},{translateY:R}]},overlayStyle:{opacity:f}}},e.forScaleFromCenterAndroid=function(t){var n=t.current,o=t.next,l=t.closing,s=u(n.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),o?o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),c=s.interpolate({inputRange:[0,.8,1,1.2,2],outputRange:[0,.5,1,.33,0]}),R=(0,p.default)(l,n.progress.interpolate({inputRange:[0,1],outputRange:[.9,1],extrapolate:'clamp'}),s.interpolate({inputRange:[0,1,2],outputRange:[.85,1,1.1]}));return{containerStyle:{opacity:c,transform:[{scale:R}]}}},e.forNoAnimation=function(){return{}};var n=r(d[1]),o=r(d[2]),p=t(r(d[3])),u=n.Animated.add,l=n.Animated.multiply},1959,[5,25,1960,1961]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isIphoneX=n,e.ifIphoneX=o,e.getStatusBarHeight=function(n){return t.Platform.select({ios:o(n?44:30,20),android:t.StatusBar.currentHeight,default:0})},e.getBottomSpace=function(){return n()?34:0};var t=r(d[0]);function n(){var n=t.Dimensions.get('window');return!('ios'!==t.Platform.OS||t.Platform.isPad||t.Platform.isTVOS||812!==n.height&&812!==n.width&&844!==n.height&&844!==n.width&&896!==n.height&&896!==n.width&&926!==n.height&&926!==n.width)}function o(t,o){return n()?t:o}},1960,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l,o){return n(u(t,l),u(t.interpolate({inputRange:[0,1],outputRange:[1,0]}),o))};var t=r(d[0]),n=t.Animated.add,u=t.Animated.multiply},1961,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.forUIKit=function(o){var p=o.current,u=o.next,l=o.layouts,s=l.leftLabel?(l.screen.width-l.leftLabel.width)/2-27:100,R=l.title?(l.screen.width-l.title.width)/2-27:100,c=l.screen.width/4,f=n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0);return{leftButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},leftLabelStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[-c,0,s]:[s,0,-c]})}]},rightButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},titleStyle:{opacity:f.interpolate({inputRange:[0,.4,1,1.5],outputRange:[0,.1,1,0]}),transform:[{translateX:f.interpolate({inputRange:[.5,1,2],outputRange:t.I18nManager.isRTL?[-R,0,c]:[c,0,-R]})}]},backgroundStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[-l.screen.width,0,l.screen.width]:[l.screen.width,0,-l.screen.width]})}]}}},e.forFade=function(t){var o=t.current,p=t.next,u=n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),l=u.interpolate({inputRange:[0,1,2],outputRange:[0,1,0]});return{leftButtonStyle:{opacity:l},rightButtonStyle:{opacity:l},titleStyle:{opacity:l},backgroundStyle:{opacity:u.interpolate({inputRange:[0,1,1.9,2],outputRange:[0,1,1,0]})}}},e.forSlideLeft=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[-l.width,0,l.width]:[l.width,0,-l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideRight=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[l.width,0,-l.width]:[-l.width,0,l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideUp=function(t){var o=t.current,p=t.next,u=t.layouts.header,l=[{translateY:n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:[-u.height,0,-u.height]})}];return{leftButtonStyle:{transform:l},rightButtonStyle:{transform:l},titleStyle:{transform:l},backgroundStyle:{transform:l}}},e.forNoAnimation=function(){return{}};var t=r(d[0]),n=t.Animated.add},1962,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ScaleFromCenterAndroidSpec=e.RevealFromBottomAndroidSpec=e.FadeOutToBottomAndroidSpec=e.FadeInFromBottomAndroidSpec=e.TransitionIOSSpec=void 0;var n=r(d[0]);e.TransitionIOSSpec={animation:'spring',config:{stiffness:1e3,damping:500,mass:3,overshootClamping:!0,restDisplacementThreshold:10,restSpeedThreshold:10}};var o={animation:'timing',config:{duration:350,easing:n.Easing.out(n.Easing.poly(5))}};e.FadeInFromBottomAndroidSpec=o;var t={animation:'timing',config:{duration:150,easing:n.Easing.in(n.Easing.linear)}};e.FadeOutToBottomAndroidSpec=t;var s={animation:'timing',config:{duration:425,easing:n.Easing.bezier(.35,.45,0,1)}};e.RevealFromBottomAndroidSpec=s;var c={animation:'timing',config:{duration:400,easing:n.Easing.bezier(.35,.45,0,1)}};e.ScaleFromCenterAndroidSpec=c},1963,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ModalTransition=e.DefaultTransition=e.ScaleFromCenterAndroid=e.RevealFromBottomAndroid=e.FadeFromBottomAndroid=e.ModalPresentationIOS=e.ModalSlideFromBottomIOS=e.SlideFromRightIOS=void 0;var o=r(d[0]),t=r(d[1]),n=r(d[2]),l=r(d[3]),S={gestureDirection:'horizontal',transitionSpec:{open:l.TransitionIOSSpec,close:l.TransitionIOSSpec},cardStyleInterpolator:t.forHorizontalIOS,headerStyleInterpolator:n.forFade};e.SlideFromRightIOS=S;var c={gestureDirection:'vertical',transitionSpec:{open:l.TransitionIOSSpec,close:l.TransitionIOSSpec},cardStyleInterpolator:t.forVerticalIOS,headerStyleInterpolator:n.forFade};e.ModalSlideFromBottomIOS=c;var p={gestureDirection:'vertical',transitionSpec:{open:l.TransitionIOSSpec,close:l.TransitionIOSSpec},cardStyleInterpolator:t.forModalPresentationIOS,headerStyleInterpolator:n.forFade};e.ModalPresentationIOS=p;var s={gestureDirection:'vertical',transitionSpec:{open:l.FadeInFromBottomAndroidSpec,close:l.FadeOutToBottomAndroidSpec},cardStyleInterpolator:t.forFadeFromBottomAndroid,headerStyleInterpolator:n.forFade};e.FadeFromBottomAndroid=s;var F={gestureDirection:'vertical',transitionSpec:{open:l.RevealFromBottomAndroidSpec,close:l.RevealFromBottomAndroidSpec},cardStyleInterpolator:t.forRevealFromBottomAndroid,headerStyleInterpolator:n.forFade};e.RevealFromBottomAndroid=F;var I={gestureDirection:'horizontal',transitionSpec:{open:l.ScaleFromCenterAndroidSpec,close:l.ScaleFromCenterAndroidSpec},cardStyleInterpolator:t.forScaleFromCenterAndroid,headerStyleInterpolator:n.forFade};e.ScaleFromCenterAndroid=I;var f=o.Platform.select({ios:S,default:'android'===o.Platform.OS&&o.Platform.Version>=28?F:s});e.DefaultTransition=f;var v=o.Platform.select({ios:c,default:f});e.ModalTransition=v},1964,[25,1959,1962,1963]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),c=n(r(d[3])),u=n(r(d[4])),s=t(r(d[5])),f=r(d[6]),l=r(d[7]),p=n(r(d[8]));function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function b(t){for(var n=1;n0&&n&&!t.defaultPrevented&&w.dispatch(b(b({},l.StackActions.popToTop()),{},{target:j.key}))})})},[w,j.index,j.key]),s.createElement(p.default,(0,o.default)({},v,{state:j,descriptors:h,navigation:w}))});e.default=v},1965,[32,5,24,66,67,71,25,1873,1966]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),u=n(r(d[3])),s=n(r(d[4])),c=n(r(d[5])),l=n(r(d[6])),f=n(r(d[7])),y=n(r(d[8])),p=n(r(d[9])),k=n(r(d[10])),v=t(r(d[11])),R=r(d[12]),h=r(d[13]),K=r(d[14]),b=r(d[15]),E=n(r(d[16])),O=n(r(d[17])),S=n(r(d[18])),P=n(r(d[19]));function w(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function j(t){for(var n=1;n` at the top of your app.');return t},e.withSafeAreaInsets=function(t){return u.forwardRef(function(n,o){return u.createElement(C,null,function(f){return u.createElement(t,(0,l.default)({},n,{insets:f,ref:o}))})})},e.useSafeArea=function(){return S()},e.SafeAreaContext=e.SafeAreaConsumer=e.SafeAreaFrameContext=e.SafeAreaInsetsContext=void 0;var l=n(r(d[2])),o=n(r(d[3])),u=t(r(d[4])),f=r(d[5]),s=n(r(d[6])),v=u.createContext(null);e.SafeAreaInsetsContext=v;var h=u.createContext(null);e.SafeAreaFrameContext=h;var c=f.StyleSheet.create({fill:{flex:1}});function S(){var t=u.useContext(v);if(null==t)throw new Error('No safe area insets value available. Make sure you are rendering `` at the top of your app.');return t}var C=v.Consumer;e.SafeAreaConsumer=C;var x=v;e.SafeAreaContext=x},1968,[32,5,24,36,71,25,1969]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,r(d[0]).requireNativeComponent)('RNCSafeAreaProvider');e.default=o},1969,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaView=void 0;var o=(0,r(d[0]).requireNativeComponent)('RNCSafeAreaView');e.SafeAreaView=o},1970,[25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var n=r(d[0]).UIManager.getViewManagerConfig('RNCSafeAreaProvider'),t=null!=n&&null!=n.Constants?n.Constants.initialWindowMetrics:null;e.initialWindowMetrics=t;var l=null==t?void 0:t.insets;e.initialWindowSafeAreaInsets=l},1971,[25]); -__d(function(g,r,i,a,m,e,d){},1972,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.PanGestureHandler=function(t){var n=l.useRef(null);return l.createElement(f.default.Provider,{value:n},l.createElement(o.PanGestureHandler,(0,u.default)({},t,{ref:n})))},Object.defineProperty(e,"GestureHandlerRootView",{enumerable:!0,get:function(){return o.GestureHandlerRootView}}),Object.defineProperty(e,"GestureState",{enumerable:!0,get:function(){return o.State}}),Object.defineProperty(e,"PanGestureHandlerGestureEvent",{enumerable:!0,get:function(){return o.PanGestureHandlerGestureEvent}});var u=n(r(d[2])),l=t(r(d[3])),o=r(d[4]),f=n(r(d[5]))},1973,[32,5,24,71,1974,2000]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={Swipeable:!0,DrawerLayout:!0};Object.defineProperty(e,"Swipeable",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"DrawerLayout",{enumerable:!0,get:function(){return u.default}});var o=t(r(d[1])),u=t(r(d[2])),c=r(d[3]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))});var f=r(d[4]);Object.keys(f).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))})},1974,[5,1975,1993,1976,1994]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),l=n(r(d[4])),p=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),c=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),w=r(d[11]);function S(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function O(t){for(var n=1;n0:b,R=t.overshootRight,A=void 0===R?_>0:R,E=v.Animated.add(u,p.interpolate({inputRange:[0,s],outputRange:[0,1]})).interpolate({inputRange:[-_-(A?1:l),-_,c,c+(y?1:l)],outputRange:[-_-(A||l>1?1:0),-_,c,c+(y||l>1?1:0)]});n._transX=E,n._showLeftAction=c>0?E.interpolate({inputRange:[-1,0,c],outputRange:[0,0,1]}):new v.Animated.Value(0),n._leftActionTranslate=n._showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),n._showRightAction=_>0?E.interpolate({inputRange:[-_,0,1],outputRange:[1,0,0]}):new v.Animated.Value(0),n._rightActionTranslate=n._showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},n._onTapHandlerStateChange=function(t){t.nativeEvent.oldState===w.State.ACTIVE&&n.close()},n._onHandlerStateChange=function(t){var o=t.nativeEvent;o.oldState===w.State.ACTIVE&&n._handleRelease(o)},n._handleRelease=function(t){var o=t.velocityX,s=t.translationX,l=n.state,p=l.leftWidth,u=void 0===p?0:p,f=l.rowWidth,c=void 0===f?0:f,h=l.rowState,v=n.state.rightOffset,w=c-(void 0===v?c:v),S=n.props,O=S.friction,_=S.leftThreshold,y=void 0===_?u/2:_,R=S.rightThreshold,A=void 0===R?w/2:R,E=n._currentOffset()+s/O,W=(s+b*o)/O,L=0;0===h?W>y?L=u:W<-A&&(L=-w):1===h?W>-y&&(L=u):W0&&n.props.onSwipeableLeftOpen?n.props.onSwipeableLeftOpen():o<0&&n.props.onSwipeableRightOpen&&n.props.onSwipeableRightOpen(),0===o?n.props.onSwipeableClose&&n.props.onSwipeableClose():n.props.onSwipeableOpen&&n.props.onSwipeableOpen())}),o>0&&n.props.onSwipeableLeftWillOpen?n.props.onSwipeableLeftWillOpen():o<0&&n.props.onSwipeableRightWillOpen&&n.props.onSwipeableRightWillOpen(),0===o?n.props.onSwipeableWillClose&&n.props.onSwipeableWillClose():n.props.onSwipeableWillOpen&&n.props.onSwipeableWillOpen()},n._onRowLayout=function(t){var o=t.nativeEvent;n.setState({rowWidth:o.layout.width})},n._currentOffset=function(){var t=n.state,o=t.leftWidth,s=void 0===o?0:o,l=t.rowWidth,p=void 0===l?0:l,u=t.rowState,f=n.state.rightOffset;return 1===u?s:-1===u?-(p-(void 0===f?p:f)):0},n.close=function(){n._animateRow(n._currentOffset(),0)},n.openLeft=function(){var t=n.state.leftWidth,o=void 0===t?0:t;n._animateRow(n._currentOffset(),o)},n.openRight=function(){var t=n.state.rowWidth,o=void 0===t?0:t,s=n.state.rightOffset,l=o-(void 0===s?o:s);n._animateRow(n._currentOffset(),-l)};var o=new v.Animated.Value(0);return n.state={dragX:o,rowTranslation:new v.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},n._updateAnimatedEvent(t,n.state),n._onGestureEvent=v.Animated.event([{nativeEvent:{translationX:o}}],{useNativeDriver:t.useNativeAnimations}),n}return(0,p.default)(y,[{key:"UNSAFE_componentWillUpdate",value:function(t,n){this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===n.leftWidth&&this.state.rightOffset===n.rightOffset&&this.state.rowWidth===n.rowWidth||this._updateAnimatedEvent(t,n)}},{key:"render",value:function(){var t=this,n=this.state.rowState,s=this.props,l=s.children,p=s.renderLeftActions,u=s.renderRightActions,f=p&&h.default.createElement(v.Animated.View,{style:[R.leftActions,{transform:[{translateX:this._leftActionTranslate}]}]},p(this._showLeftAction,this._transX),h.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({leftWidth:o.layout.x})}})),c=u&&h.default.createElement(v.Animated.View,{style:[R.rightActions,{transform:[{translateX:this._rightActionTranslate}]}]},u(this._showRightAction,this._transX),h.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({rightOffset:o.layout.x})}}));return h.default.createElement(w.PanGestureHandler,(0,o.default)({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._onHandlerStateChange}),h.default.createElement(v.Animated.View,{onLayout:this._onRowLayout,style:[R.container,this.props.containerStyle]},f,c,h.default.createElement(w.TapGestureHandler,{enabled:0!==n,onHandlerStateChange:this._onTapHandlerStateChange},h.default.createElement(v.Animated.View,{pointerEvents:0===n?'auto':'box-only',style:[{transform:[{translateX:this._transX}]},this.props.childrenContainerStyle]},l))))}}]),y})(h.Component);e.default=y,y.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var R=v.StyleSheet.create({container:{overflow:'hidden'},leftActions:O(O({},v.StyleSheet.absoluteFillObject),{},{flexDirection:v.I18nManager.isRTL?'row-reverse':'row'}),rightActions:O(O({},v.StyleSheet.absoluteFillObject),{},{flexDirection:v.I18nManager.isRTL?'row':'row-reverse'})})},1975,[32,5,24,66,7,42,57,59,56,71,25,1976]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={createNativeWrapper:!0,Directions:!0,gestureHandlerRootHOC:!0,GestureHandlerRootView:!0,NativeViewGestureHandler:!0,State:!0};Object.defineProperty(e,"createNativeWrapper",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Directions",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"gestureHandlerRootHOC",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"GestureHandlerRootView",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"NativeViewGestureHandler",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"State",{enumerable:!0,get:function(){return b.default}});var u=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),p=r(d[7]);Object.keys(p).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}}))});var O=r(d[8]);Object.keys(O).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}}))});var y=r(d[9]);Object.keys(y).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))})},1976,[5,1977,1984,1985,1987,1978,1982,1988,1990,1991]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=l.default.forwardRef(function(c,s){var O=Object.keys(c).reduce(function(t,n){return-1!==f.indexOf(n)&&(t[n]=c[n]),t},p({},o));return l.default.createElement(u.default,O,l.default.createElement(t,(0,n.default)({},c,{ref:s})))});return c.propTypes=p({},t.propTypes),c.displayName=t.displayName||'ComponentWrapper',c};var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4]));function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function p(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_=arguments.length>3?arguments[3]:void 0,H=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},S=(function(n){(0,s.default)(b,n);var S,T,C=(S=b,T=E(),function(){var t,n=(0,p.default)(S);if(T){var o=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function b(n){var u;if((0,o.default)(this,b),(u=C.call(this,n))._onGestureHandlerEvent=function(t){t.nativeEvent.handlerTag===u._handlerTag?u.props.onGestureEvent&&u.props.onGestureEvent(t):u.props.onGestureHandlerEvent&&u.props.onGestureHandlerEvent(t)},u._onGestureHandlerStateChange=function(t){if(t.nativeEvent.handlerTag===u._handlerTag){u.props.onHandlerStateChange&&u.props.onHandlerStateChange(t);var n=k[t.nativeEvent.state];'function'==typeof u.props[n]&&u.props[n](t)}else u.props.onGestureHandlerStateChange&&u.props.onGestureHandlerStateChange(t)},u._refHandler=function(t){u._viewNode=t;var n=f.default.Children.only(u.props.children),o=n.ref;null!==o&&('function'==typeof o?o(t):o.current=t)},u._createGestureHandler=function(n){u._config=n,y.default.createGestureHandler(t,u._handlerTag,n)},u._attachGestureHandler=function(t){u._viewTag=t,y.default.attachGestureHandler(u._handlerTag,t)},u._updateGestureHandler=function(t){u._config=t,y.default.updateGestureHandler(u._handlerTag,t)},u._handlerTag=j++,u._config={},n.id){if(void 0!==P[n.id])throw new Error("Handler with ID \""+n.id+"\" already registered");P[n.id]=u._handlerTag}return u}return(0,u.default)(b,[{key:"componentWillUnmount",value:function(){y.default.dropGestureHandler(this._handlerTag),this._updateEnqueued&&clearImmediate(this._updateEnqueued),this.props.id&&delete P[this.props.id]}},{key:"componentDidMount",value:function(){var t,n,o=this;t=this.props,((n=function(t){return Array.isArray(t)?t.some(function(t){return t&&null===t.current}):t&&null===t.current})(t.simultaneousHandlers)||n(t.waitFor))&&(this._updateEnqueued=setImmediate(function(){o._updateEnqueued=null,o._update()})),this._createGestureHandler(R(_?_(this.props):this.props,G(G({},this.constructor.propTypes),H),c)),this._attachGestureHandler(w(this._viewNode))}},{key:"componentDidUpdate",value:function(){var t=w(this._viewNode);this._viewTag!==t&&this._attachGestureHandler(t),this._update()}},{key:"_update",value:function(){var t=R(_?_(this.props):this.props,G(G({},this.constructor.propTypes),H),c);(0,v.default)(this._config,t)||this._updateGestureHandler(t)}},{key:"setNativeProps",value:function(t){var n=G(G({},this.props),t),o=R(_?_(n):n,G(G({},this.constructor.propTypes),H),c);this._updateGestureHandler(o)}},{key:"render",value:function(){var t=this._onGestureHandlerEvent,n=this.props,o=n.onGestureEvent,u=n.onGestureHandlerEvent;if(o&&'function'!=typeof o){if(u)throw new Error('Nesting touch handlers with native animated driver is not supported yet');t=this.props.onGestureEvent}else if(u&&'function'!=typeof u)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var s=this._onGestureHandlerStateChange,l=this.props,p=l.onHandlerStateChange,c=l.onGestureHandlerStateChange;if(p&&'function'!=typeof p){if(c)throw new Error('Nesting touch handlers with native animated driver is not supported yet');s=this.props.onHandlerStateChange}else if(c&&'function'!=typeof c)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var v=f.default.Children.only(this.props.children),y=v.props.children;return h.Touchable.TOUCH_TARGET_DEBUG&&v.type&&('RNGestureHandlerButton'===v.type||'View'===v.type.name||'View'===v.type.displayName)&&(y=f.default.Children.toArray(y)).push(h.Touchable.renderDebugView({color:'mediumspringgreen',hitSlop:v.props.hitSlop})),f.default.cloneElement(v,{ref:this._refHandler,collapsable:!1,onGestureHandlerEvent:t,onGestureHandlerStateChange:s},y)}}]),b})(f.default.Component);return S.displayName=t,S.propTypes=n,S};var n,o=t(r(d[1])),u=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),p=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),h=r(d[8]),v=t(r(d[9])),y=t(r(d[10])),_=t(r(d[11]));function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function H(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function G(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:{});return Object.keys(n).forEach(function(n){var u,s,l=t[n];if(s=n,!(void 0===(u=l)||u===Object(u)&&'__isNative'in u||'onHandlerStateChange'===s||'onGestureEvent'===s)){var p=t[n];'simultaneousHandlers'===n||'waitFor'===n?p=A(t[n]):'hitSlop'===n&&'object'!=typeof p&&(p={top:p,left:p,bottom:p,right:p}),o[n]=p}}),o}function A(t){return Array.isArray(t)||(t=[t]),'web'===h.Platform.OS?t.map(function(t){return t.current}).filter(function(t){return t}):t.map(function(t){return P[t]||t.current&&t.current._handlerTag||-1}).filter(function(t){return t>0})}var k=(n={},(0,c.default)(n,_.default.BEGAN,'onBegan'),(0,c.default)(n,_.default.FAILED,'onFailed'),(0,c.default)(n,_.default.CANCELLED,'onCancelled'),(0,c.default)(n,_.default.ACTIVE,'onActivated'),(0,c.default)(n,_.default.END,'onEnded'),n)},1979,[5,7,42,57,59,56,66,71,25,1980,1981,1982]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=[],n=[];function u(t,n,o,l){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if('object'!=typeof t||'object'!=typeof n)return!1;var c=Object.prototype.toString,s=c.call(t);if(s!=c.call(n))return!1;switch(s){case'[object String]':return t==String(n);case'[object Number]':return!isNaN(t)&&!isNaN(n)&&t==Number(n);case'[object Date]':case'[object Boolean]':return+t==+n;case'[object RegExp]':return t.source==n.source&&t.global==n.global&&t.multiline==n.multiline&&t.ignoreCase==n.ignoreCase}for(var f=o.length;f--;)if(o[f]==t)return l[f]==n;o.push(t),l.push(n);var p=0;if('[object Array]'===s){if((p=t.length)!==n.length)return!1;for(;p--;)if(!u(t[p],n[p],o,l))return!1}else{if(t.constructor!==n.constructor)return!1;if(t.hasOwnProperty('valueOf')&&n.hasOwnProperty('valueOf'))return t.valueOf()==n.valueOf();var h=Object.keys(t);if(h.length!=Object.keys(n).length)return!1;for(var b=0;b1&&void 0!==arguments[1]?arguments[1]:void 0;function c(u){return n.default.createElement(o.default,{style:[f.container,l]},n.default.createElement(t,u))}return c.displayName="gestureHandlerRootHOC("+(t.displayName||t.name)+")",(0,u.default)(c,t),c};var n=t(r(d[1])),l=r(d[2]),u=t(r(d[3])),o=t(r(d[4]));var f=l.StyleSheet.create({container:{flex:1}})},1985,[5,71,25,1986,1987]); -__d(function(g,r,i,a,m,e,d){'use strict';var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},p=Object.defineProperty,n=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,f=y&&y(Object);m.exports=function l(O,u,P){if('string'!=typeof u){if(f){var b=y(u);b&&b!==f&&l(O,b,P)}var v=n(u);c&&(v=v.concat(c(u)));for(var j=0;js?h-s:0);var y=c+v+(o._drawerShown?s:0);y+b*f>s/2?o._animateDrawer(y,s,f):o._animateDrawer(y,0,f)},o._updateShowing=function(t){o._drawerShown=t,o._accessibilityIsModalView.current&&o._accessibilityIsModalView.current.setNativeProps({accessibilityViewIsModal:t}),o._pointerEventsView.current&&o._pointerEventsView.current.setNativeProps({pointerEvents:t?'auto':'none'});var n=o.props,s=n.drawerPosition,l=n.minSwipeDistance,u=n.edgeWidth,p='left'===s,c=(p?1:-1)*(o._drawerShown?-1:1),f=p?{left:0,width:t?void 0:u}:{right:0,width:t?void 0:u};o._panGestureHandler.current&&o._panGestureHandler.current.setNativeProps({hitSlop:f,activeOffsetX:c*l})},o._animateDrawer=function(t,n,s){if(o.state.dragX.setValue(0),o.state.touchX.setValue('left'===o.props.drawerPosition?0:o.state.containerWidth),null!=t){var l=t;o.props.useNativeAnimations&&(t0?l=Math.min(t+s/60,n):t>n&&s<0&&(l=Math.max(t+s/60,n))),o.state.drawerTranslation.setValue(l)}var u=0!==n;o._updateShowing(u),o._emitStateChanged(D,u),o.props.hideStatusBar&&h.StatusBar.setHidden(u,o.props.statusBarAnimation||'slide'),h.Animated.spring(o.state.drawerTranslation,{velocity:s,bounciness:0,toValue:n,useNativeDriver:o.props.useNativeAnimations}).start(function(t){t.finished&&(o._emitStateChanged(V,u),u?o.props.onDrawerOpen&&o.props.onDrawerOpen():o.props.onDrawerClose&&o.props.onDrawerClose())})},o.openDrawer=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o._animateDrawer(void 0,o.props.drawerWidth,t.velocity?t.velocity:0),o.forceUpdate()},o.closeDrawer=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o._animateDrawer(void 0,0,t.velocity?t.velocity:0),o.forceUpdate()},o._renderOverlay=function(){(0,w.default)(o._openValue,'should be set');var t={opacity:o._openValue.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),backgroundColor:o.props.overlayColor};return f.default.createElement(v.TapGestureHandler,{onHandlerStateChange:o._onTapHandlerStateChange},f.default.createElement(h.Animated.View,{pointerEvents:o._drawerShown?'auto':'none',ref:o._pointerEventsView,style:[E.overlay,t]}))},o._renderDrawer=function(){var t,n=o.props,s=n.drawerBackgroundColor,l=n.drawerWidth,u=n.drawerPosition,p=n.drawerType,c=n.drawerContainerStyle,v=n.contentContainerStyle,y='left'===u,_='back'!==p,S='front'!==p,b=h.I18nManager.isRTL?y:!y,V={backgroundColor:s,width:l},A=o._openValue;((0,w.default)(A,'should be set'),S)&&(t={transform:[{translateX:A.interpolate({inputRange:[0,1],outputRange:y?[0,l]:[0,-l],extrapolate:'clamp'})}]});var D=0;if(_){var O=y?-l:l;D=A.interpolate({inputRange:[0,1],outputRange:[O,0],extrapolate:'clamp'})}var C={transform:[{translateX:D}],flexDirection:b?'row-reverse':'row'};return f.default.createElement(h.Animated.View,{style:E.main,onLayout:o._handleContainerLayout},f.default.createElement(h.Animated.View,{style:['front'===p?E.containerOnBack:E.containerInFront,t,v],importantForAccessibility:o._drawerShown?'no-hide-descendants':'yes'},'function'==typeof o.props.children?o.props.children(o._openValue):o.props.children,o._renderOverlay()),f.default.createElement(h.Animated.View,{pointerEvents:"box-none",ref:o._accessibilityIsModalView,accessibilityViewIsModal:o._drawerShown,style:[E.drawerContainer,C,c]},f.default.createElement(h.View,{style:V},o.props.renderNavigationView(o._openValue))))},o._setPanGestureRef=function(t){o._panGestureHandler.current=t,o.props.onGestureRef&&o.props.onGestureRef(t)};var l=new h.Animated.Value(0),u=new h.Animated.Value(0),p=new h.Animated.Value(0);return o.state={dragX:l,touchX:u,drawerTranslation:p,containerWidth:0},o._updateAnimatedEvent(t,o.state),o}return(0,l.default)(_,[{key:"UNSAFE_componentWillUpdate",value:function(t,n){this.props.drawerPosition===t.drawerPosition&&this.props.drawerWidth===t.drawerWidth&&this.props.drawerType===t.drawerType&&this.state.containerWidth===n.containerWidth||this._updateAnimatedEvent(t,n)}},{key:"render",value:function(){var t=this.props,n=t.drawerPosition,o=t.drawerLockMode,s=t.edgeWidth,l=t.minSwipeDistance,u='left'===n,p=(u?1:-1)*(this._drawerShown?-1:1),c=u?{left:0,width:this._drawerShown?void 0:s}:{right:0,width:this._drawerShown?void 0:s};return f.default.createElement(v.PanGestureHandler,{ref:this._setPanGestureRef,hitSlop:c,activeOffsetX:p*l,failOffsetY:[-15,15],onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._openingHandlerStateChange,enabled:'locked-closed'!==o&&'locked-open'!==o},this._renderDrawer())}}]),_})(f.Component);e.default=O,O.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked'},O.positions={Left:'left',Right:'right'};var E=h.StyleSheet.create({drawerContainer:_(_({},h.StyleSheet.absoluteFillObject),{},{zIndex:1001,flexDirection:'row'}),containerInFront:_(_({},h.StyleSheet.absoluteFillObject),{},{zIndex:1002}),containerOnBack:_({},h.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:_(_({},h.StyleSheet.absoluteFillObject),{},{zIndex:1e3})})},1993,[32,5,66,7,42,57,59,56,71,26,25,1976]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return o.default}});var u=t(r(d[1])),n=t(r(d[2])),c=t(r(d[3])),o=t(r(d[4]))},1994,[5,1995,1996,1998,1999]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TouchableNativeFeedback;e.default=t},1995,[25]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=u.default.forwardRef(function(t,o){return u.default.createElement(l.default,(0,f.default)({ref:o},t))});o.defaultProps=l.default.defaultProps,o.propTypes=l.default.publicPropTypes;var p=o;e.default=p},1996,[5,24,71,1997]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TOUCHABLE_STATE=void 0;var o=s(r(d[2])),n=s(r(d[3])),u=s(r(d[4])),l=s(r(d[5])),p=s(r(d[6])),c=s(r(d[7])),h=s(r(d[8])),f=t(r(d[9])),T=r(d[10]),E=r(d[11]),y=s(r(d[12]));function v(t,s){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);s&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),o.push.apply(o,n)}return o}function O(t){for(var s=1;s0?o.interpolate({inputRange:[0,u],outputRange:[1,0]}):o.interpolate({inputRange:[u,0],outputRange:[0,1]})},A=(function(t){(0,l.default)(w,t);var o,S,R=(o=w,S=P(),function(){var t,n=(0,p.default)(o);if(S){var s=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,s)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function w(t){var o;(0,s.default)(this,w),(o=R.call(this,t)).handleLayout=function(t){var n=t.nativeEvent.layout,s=n.height,u=n.width,l={width:u,height:s};o.setState(function(t,o){return s===t.layout.height&&u===t.layout.width?null:{layout:l,headerHeights:C(o.routes,o.insets,t.descriptors,l,t.headerHeights)}})},o.handleHeaderLayout=function(t){var n=t.route,s=t.height;o.setState(function(t){var o=t.headerHeights;return o[n.key]===s?null:{headerHeights:E(E({},o),{},(0,h.default)({},n.key,s))}})},o.getFocusedRoute=function(){var t=o.props.state;return t.routes[t.index]},o.getPreviousScene=function(t){var n=t.route,s=o.props.getPreviousRoute,u=o.state.scenes,l=s({route:n});if(l)return u.find(function(t){return t.route.key===l.key})};var n=f.Dimensions.get('window'),u=n.height,l=void 0===u?0:u,c=n.width,p=void 0===c?0:c;return o.state={routes:[],scenes:[],gestures:{},layout:{height:l,width:p},descriptors:o.props.descriptors,headerHeights:{}},o}return(0,u.default)(w,null,[{key:"getDerivedStateFromProps",value:function(t,o){if(t.routes===o.routes&&t.descriptors===o.descriptors)return null;var n=t.routes.reduce(function(n,s){var u=t.descriptors[s.key],l=((null==u?void 0:u.options)||{}).animationEnabled;return n[s.key]=o.gestures[s.key]||new f.Animated.Value(t.openingRouteKeys.includes(s.key)&&!1!==l?j(t.mode,o.layout,u):0),n},{});return{routes:t.routes,scenes:t.routes.map(function(s,u,l){var c=l[u-1],p=l[u+1],h=o.scenes[u],y=n[s.key],f=c?n[c.key]:void 0,v=p?n[p.key]:void 0,S=t.descriptors[s.key]||o.descriptors[s.key]||(h?h.descriptor:H),b=t.descriptors[null==p?void 0:p.key]||o.descriptors[null==p?void 0:p.key],k=t.descriptors[null==c?void 0:c.key]||o.descriptors[null==c?void 0:c.key],I={route:s,descriptor:S,progress:{current:x(t.mode,y,o.layout,S),next:v?x(t.mode,v,o.layout,b):void 0,previous:f?x(t.mode,f,o.layout,k):void 0},__memo:[s,o.layout,S,b,k,y,v,f]};return h&&I.__memo.every(function(t,o){return h.__memo[o]===t})?h:I}),gestures:n,descriptors:t.descriptors,headerHeights:C(t.routes,t.insets,o.descriptors,o.layout,o.headerHeights)}}}]),(0,u.default)(w,[{key:"render",value:function(){var t=this,o=this.props,s=o.mode,u=o.insets,l=o.descriptors,c=o.state,p=o.routes,h=o.closingRouteKeys,S=o.onOpenRoute,R=o.onCloseRoute,P=o.getGesturesEnabled,w=o.renderHeader,H=o.renderScene,C=o.headerMode,j=o.onTransitionStart,x=o.onTransitionEnd,A=o.onPageChangeStart,_=o.onPageChangeConfirm,F=o.onPageChangeCancel,M=this.state,L=M.scenes,N=M.layout,V=M.gestures,z=M.headerHeights,B=c.routes[c.index],K=l[B.key],G=K?K.options:{},q='modal'===s?k.ModalTransition:k.DefaultTransition;'screen'===C&&(q=E(E({},q),{},{headerStyleInterpolator:I.forNoAnimation}));var J=G.safeAreaInsets||{},Q=J.top,U=void 0===Q?u.top:Q,W=J.right,X=void 0===W?u.right:W,Y=J.bottom,Z=void 0===Y?u.bottom:Y,$=J.left,ee=void 0===$?u.left:$,te='ios'!==f.Platform.OS&&'modal'!==s;return y.createElement(O.default.Consumer,null,function(o){var l='float'===C&&t.state.scenes.slice(-2).some(function(t){var n=t.descriptor,s=n?n.options:{},u=s.headerTransparent,l=s.headerShown;return!(!u&&!1!==(void 0===l?!1===o:l))}),c='float'===C?y.createElement(y.Fragment,{key:"header"},w({mode:'float',layout:N,insets:{top:U,right:X,bottom:Z,left:ee},scenes:L,getPreviousScene:t.getPreviousScene,getFocusedRoute:t.getFocusedRoute,onContentHeightChange:t.handleHeaderLayout,gestureDirection:void 0!==G.gestureDirection?G.gestureDirection:q.gestureDirection,styleInterpolator:void 0!==G.headerStyleInterpolator?G.headerStyleInterpolator:q.headerStyleInterpolator,style:[T.floating,l&&T.absolute]})):null;return y.createElement(y.Fragment,null,l?null:c,y.createElement(v.MaybeScreenContainer,{enabled:te,style:T.container,onLayout:t.handleLayout},p.map(function(c,p,k){var I=B.key===c.key,O=V[c.key],E=L[p],T=E.progress.next?E.progress.next.interpolate({inputRange:[0,.99,1],outputRange:[1,1,0],extrapolate:'clamp'}):1,M=E.descriptor?E.descriptor.options:{},K=M.safeAreaInsets,G=M.headerShown,J=void 0===G?!1===o:G,Q=M.headerTransparent,U=M.cardShadowEnabled,W=M.cardOverlayEnabled,X=M.cardOverlay,Y=M.cardStyle,Z=M.animationEnabled,$=M.gestureResponseDistance,ee=M.gestureVelocityImpact,re=M.gestureDirection,oe=void 0===re?q.gestureDirection:re,ne=M.transitionSpec,ae=void 0===ne?q.transitionSpec:ne,ie=M.cardStyleInterpolator,se=void 0===ie?!1===Z?D.forNoAnimation:q.cardStyleInterpolator:ie,ue=M.headerStyleInterpolator,le={gestureDirection:oe,transitionSpec:ae,cardStyleInterpolator:se,headerStyleInterpolator:void 0===ue?q.headerStyleInterpolator:ue};if(p!==k.length-1){var de=L[p+1];if(de){var ce=de.descriptor?de.descriptor.options:{},pe=ce.animationEnabled,he=ce.gestureDirection,ge=void 0===he?q.gestureDirection:he,ye=ce.transitionSpec,fe=void 0===ye?q.transitionSpec:ye,ve=ce.cardStyleInterpolator,me=void 0===ve?!1===pe?D.forNoAnimation:q.cardStyleInterpolator:ve,Se=ce.headerStyleInterpolator;le={gestureDirection:ge,transitionSpec:fe,cardStyleInterpolator:me,headerStyleInterpolator:void 0===Se?q.headerStyleInterpolator:Se}}}var be=K||{},ke=be.top,Ie=void 0===ke?u.top:ke,De=be.right,Oe=void 0===De?u.right:De,Re=be.bottom,Pe=void 0===Re?u.bottom:Re,we=be.left,Ee=void 0===we?u.left:we,He='none'!==C&&!1!==J?z[c.key]:0;return y.createElement(v.MaybeScreen,{key:c.key,style:f.StyleSheet.absoluteFill,enabled:te,active:T,pointerEvents:"box-none"},y.createElement(b.default,(0,n.default)({index:p,active:p===k.length-1,focused:I,closing:h.includes(c.key),layout:N,gesture:O,scene:E,safeAreaInsetTop:Ie,safeAreaInsetRight:Oe,safeAreaInsetBottom:Pe,safeAreaInsetLeft:Ee,cardOverlay:X,cardOverlayEnabled:W,cardShadowEnabled:U,cardStyle:Y,onPageChangeStart:A,onPageChangeConfirm:_,onPageChangeCancel:F,gestureResponseDistance:$,headerHeight:He,onHeaderHeightChange:t.handleHeaderLayout,getPreviousScene:t.getPreviousScene,getFocusedRoute:t.getFocusedRoute,mode:s,headerMode:C,headerShown:J,hasAbsoluteHeader:l&&!Q,renderHeader:w,renderScene:H,onOpenRoute:S,onCloseRoute:R,onTransitionStart:j,onTransitionEnd:x,gestureEnabled:0!==p&&P({route:c}),gestureVelocityImpact:ee},le)))})),l?c:null)})}}]),w})(y.Component);e.default=A;var T=f.StyleSheet.create({container:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0},floating:{zIndex:1}})},2001,[32,5,24,7,42,57,59,56,66,71,25,2002,2005,2016,1964,1962,1959,2031,2028]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.MaybeScreen=e.MaybeScreenContainer=void 0;var c,l=n(r(d[2])),u=n(r(d[3])),f=n(r(d[4])),o=n(r(d[5])),s=n(r(d[6])),v=n(r(d[7])),y=n(r(d[8])),p=t(r(d[9])),b=r(d[10]);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}try{c=r(d[11])}catch(e){}var S=(function(t){(0,s.default)(E,t);var n,c,S=(n=E,c=h(),function(){var t,l=(0,y.default)(n);if(c){var u=(0,y.default)(this).constructor;t=Reflect.construct(l,arguments,u)}else t=l.apply(this,arguments);return(0,v.default)(this,t)});function E(){return(0,f.default)(this,E),S.apply(this,arguments)}return(0,o.default)(E,[{key:"render",value:function(){var t=this.props,n=t.active,c=t.style,f=(0,u.default)(t,["active","style"]);return p.createElement(b.View,(0,l.default)({hidden:!n,style:[c,{display:n?'flex':'none'}]},f))}}]),E})(p.Component),E=b.Animated.createAnimatedComponent(S);e.MaybeScreenContainer=function(t){var n=t.enabled,l=(0,u.default)(t,["enabled"]);return n&&'web'!==b.Platform.OS&&c&&c.screensEnabled()?p.createElement(c.ScreenContainer,l):p.createElement(b.View,l)};e.MaybeScreen=function(t){var n=t.enabled,f=t.active,o=(0,u.default)(t,["enabled","active"]);return n&&'web'===b.Platform.OS?p.createElement(E,(0,l.default)({active:f},o)):n&&c&&c.screensEnabled()?p.createElement(c.Screen,(0,l.default)({active:f},o)):p.createElement(b.View,o)}},2002,[32,5,24,67,7,42,57,59,56,71,25,2003]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=t(r(d[1])),c=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),l=t(r(d[5])),f=t(r(d[6])),S=t(r(d[7])),s=t(r(d[8])),v=r(d[9]),p=r(d[10]);function h(t){var n=N();return function(){var c,u=(0,S.default)(t);if(n){var o=(0,S.default)(this).constructor;c=Reflect.construct(u,arguments,o)}else c=u.apply(this,arguments);return(0,f.default)(this,c)}}function N(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var k,y,C,w,R,b,H=!1,E=function(t){return void 0!==v.UIManager.getViewManagerConfig?v.UIManager.getViewManagerConfig(t):v.UIManager[t]};function M(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(H=t)&&!E('RNSScreen')&&console.error("Screen native module hasn't been linked. Please check the react-native-screens README for more details")}var V={get NativeScreen(){return k=k||(0,v.requireNativeComponent)('RNSScreen',null)},get NativeScreenContainer(){return y=y||(0,v.requireNativeComponent)('RNSScreenContainer',null)},get NativeScreenStack(){return C=C||(0,v.requireNativeComponent)('RNSScreenStack',null)},get NativeScreenStackHeaderConfig(){return w=w||(0,v.requireNativeComponent)('RNSScreenStackHeaderConfig',null)},get NativeScreenStackHeaderSubview(){return R=R||(0,v.requireNativeComponent)('RNSScreenStackHeaderSubview',null)}},A=(function(t){(0,l.default)(S,t);var f=h(S);function S(){var t;(0,u.default)(this,S);for(var n=arguments.length,c=new Array(n),o=0;o=57||0===p.version.minor)return s.default.createElement(b,(0,n.default)({},this.props,{ref:this.setRef}));var t=this.props,u=t.style,o=t.children,l=(0,c.default)(t,["style","children"]);return s.default.createElement(b,(0,n.default)({},l,{ref:this.setRef,style:v.StyleSheet.absoluteFill}),s.default.createElement(v.Animated.View,{style:u},o))}var f=this.props,S=(f.active,f.onComponentRef,(0,c.default)(f,["active","onComponentRef"]));return s.default.createElement(v.Animated.View,(0,n.default)({},S,{ref:this.setRef}))}}]),S})(s.default.Component),I=(function(t){(0,l.default)(c,t);var n=h(c);function c(){return(0,u.default)(this,c),n.apply(this,arguments)}return(0,o.default)(c,[{key:"render",value:function(){return H?s.default.createElement(V.NativeScreenContainer,this.props):s.default.createElement(v.View,this.props)}}]),c})(s.default.Component),q=v.StyleSheet.create({headerSubview:{position:'absolute',top:0,right:0,flexDirection:'row',alignItems:'center',justifyContent:'center'}});m.exports={ScreenContainer:I,Screen:A,get NativeScreen(){return V.NativeScreen},get NativeScreenContainer(){return V.NativeScreenContainer},get ScreenStack(){return V.NativeScreenStack},get ScreenStackHeaderConfig(){return V.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return V.NativeScreenStackHeaderSubview},ScreenStackHeaderBackButtonImage:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,{type:"back",style:q.headerSubview},s.default.createElement(v.Image,(0,n.default)({resizeMode:"center",fadeDuration:0},t)))},ScreenStackHeaderRightView:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,(0,n.default)({},t,{type:"right",style:q.headerSubview}))},ScreenStackHeaderLeftView:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,(0,n.default)({},t,{type:"left",style:q.headerSubview}))},ScreenStackHeaderCenterView:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,(0,n.default)({},t,{type:"center",style:q.headerSubview}))},enableScreens:M,useScreens:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];console.warn('Method `useScreens` is deprecated, please use `enableScreens`'),M(t)},screensEnabled:function(){return H}}},2003,[5,24,67,7,42,57,59,56,71,25,2004]); -__d(function(g,r,i,a,m,e,d){e.version={major:0,minor:61,patch:5,prerelease:null}},2004,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.getDefaultHeaderHeight=void 0;var l=o(r(d[2])),n=o(r(d[3])),h=o(r(d[4])),s=o(r(d[5])),u=o(r(d[6])),b=o(r(d[7])),f=t(r(d[8])),c=r(d[9]),y=o(r(d[10])),p=o(r(d[11])),R=o(r(d[12]));function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=function(t,o){var l=t.width>t.height;return('ios'===c.Platform.OS?l&&!c.Platform.isPad?32:44:'android'===c.Platform.OS?56:64)+o};e.getDefaultHeaderHeight=v;var C=(function(t){(0,s.default)(T,t);var o,C,w=(o=T,C=S(),function(){var t,l=(0,b.default)(o);if(C){var n=(0,b.default)(this).constructor;t=Reflect.construct(l,arguments,n)}else t=l.apply(this,arguments);return(0,u.default)(this,t)});function T(){var t;(0,n.default)(this,T);for(var o=arguments.length,l=new Array(o),h=0;h=21){var t=this.props,o=t.style,u=t.pressColor,c=t.borderless,s=t.children,f=(0,n.default)(t,["style","pressColor","borderless","children"]);return h.createElement(b.TouchableNativeFeedback,(0,l.default)({},f,{useForeground:b.TouchableNativeFeedback.canUseNativeForeground(),background:b.TouchableNativeFeedback.Ripple(u,c)}),h.createElement(b.View,{style:o},h.Children.only(s)))}return'ios'===b.Platform.OS?h.createElement(v.default,(0,l.default)({hitSlop:{top:10,bottom:10,right:10,left:10},disallowInterruption:!0,enabled:!this.props.disabled},this.props),this.props.children):h.createElement(b.TouchableOpacity,this.props,this.props.children)}}]),T})(h.Component);e.TouchableItem=P,P.defaultProps={borderless:!1,pressColor:'rgba(0, 0, 0, .32)'}},2010,[32,5,24,67,7,42,57,59,56,71,25,2011]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),c=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),s=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),y=r(d[11]);function A(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var S=v.Animated.createAnimatedComponent(y.BaseButton),C='web'!==v.Platform.OS,O=(function(t){(0,s.default)(P,t);var n,y,O=(n=P,y=A(),function(){var t,o=(0,p.default)(n);if(y){var c=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,c)}else t=o.apply(this,arguments);return(0,f.default)(this,t)});function P(){var t;(0,l.default)(this,P);for(var n=arguments.length,o=new Array(n),c=0;cw/2?0!==S||0!==b:t.props.closing;t.animate({closing:O,velocity:S}),O&&(t.pendingGestureCallback=setTimeout(c,32)),null==p||p()}},t.getInterpolatedStyle=(0,C.default)(function(n,o,l,s,c,u,h,p,f){return n({index:o,current:{progress:l},next:s&&{progress:s},closing:t.isClosing,swiping:t.isSwiping,inverted:t.inverted,layouts:{screen:c},insets:{top:u,right:h,bottom:p,left:f}})}),t.getCardAnimationContext=(0,C.default)(function(n,o,l,s,c,u,h,p){return{index:n,current:{progress:o},next:l&&{progress:l},closing:t.isClosing,swiping:t.isSwiping,inverted:t.inverted,layouts:{screen:s},insets:{top:c,right:u,bottom:h,left:p}}}),t.contentRef=v.createRef(),t}return(0,u.default)(G,[{key:"componentDidMount",value:function(){this.animate({closing:this.props.closing})}},{key:"componentDidUpdate",value:function(t){var n=this.props,o=n.layout,l=n.gestureDirection,s=n.closing,c=o.width,u=o.height;c!==t.layout.width&&this.layout.width.setValue(c),u!==t.layout.height&&this.layout.height.setValue(u),l!==t.gestureDirection&&this.inverted.setValue((0,V.default)(l)),this.getAnimateToValue(this.props)!==this.getAnimateToValue(t)&&this.animate({closing:s})}},{key:"componentWillUnmount",value:function(){this.handleEndInteraction()}},{key:"gestureActivationCriteria",value:function(){var t=this.props,n=t.layout,o=t.gestureDirection,l=t.gestureResponseDistance,s='vertical'===o||'vertical-inverted'===o?void 0!==(null==l?void 0:l.vertical)?l.vertical:135:void 0!==(null==l?void 0:l.horizontal)?l.horizontal:50;if('vertical'===o)return{maxDeltaX:15,minOffsetY:5,hitSlop:{bottom:-n.height+s}};if('vertical-inverted'===o)return{maxDeltaX:15,minOffsetY:-5,hitSlop:{top:-n.height+s}};var c=-n.width+s;return 1===(0,V.default)(o)?{minOffsetX:5,maxDeltaY:20,hitSlop:{right:c}}:{minOffsetX:-5,maxDeltaY:20,hitSlop:{left:c}}}},{key:"render",value:function(){var t=this.props,n=t.styleInterpolator,s=t.index,c=t.current,u=t.gesture,h=t.next,p=t.layout,f=t.insets,O=t.overlay,V=t.overlayEnabled,C=t.shadowEnabled,D=t.gestureEnabled,A=t.gestureDirection,x=t.pageOverflowEnabled,I=t.children,P=t.containerStyle,G=t.contentStyle,j=(0,l.default)(t,["styleInterpolator","index","current","gesture","next","layout","insets","overlay","overlayEnabled","shadowEnabled","gestureEnabled","gestureDirection","pageOverflowEnabled","children","containerStyle","contentStyle"]),H=this.getInterpolatedStyle(n,s,c,h,p,f.top,f.right,f.bottom,f.left),T=this.getCardAnimationContext(s,c,h,p,f.top,f.right,f.bottom,f.left),X=H.containerStyle,Y=H.cardStyle,z=H.overlayStyle,N=H.shadowStyle,B=D?y.Animated.event([{nativeEvent:'vertical'===A||'vertical-inverted'===A?{translationY:u}:{translationX:u}}],{useNativeDriver:k}):void 0,L=y.StyleSheet.flatten(G||{}).backgroundColor,M=!!L&&0===(0,w.default)(L).alpha();return v.createElement(S.default.Provider,{value:T},v.createElement(y.Animated.View,{style:{opacity:c},collapsable:!1}),v.createElement(y.View,(0,o.default)({pointerEvents:"box-none"},j),V?v.createElement(y.View,{pointerEvents:"box-none",style:y.StyleSheet.absoluteFill},O({style:z})):null,v.createElement(y.Animated.View,{style:[R.container,X,P],pointerEvents:"box-none"},v.createElement(E.PanGestureHandler,(0,o.default)({enabled:0!==p.width&&D,onGestureEvent:B,onHandlerStateChange:this.handleGestureStateChange},this.gestureActivationCriteria()),v.createElement(y.Animated.View,{style:[R.container,Y]},C&&N&&!M?v.createElement(y.Animated.View,{style:[R.shadow,'horizontal'===A?[R.shadowHorizontal,R.shadowLeft]:'horizontal-inverted'===A?[R.shadowHorizontal,R.shadowRight]:'vertical'===A?[R.shadowVertical,R.shadowTop]:[R.shadowVertical,R.shadowBottom],{backgroundColor:L},N],pointerEvents:"none"}):null,v.createElement(b.default,{ref:this.contentRef,enabled:x,layout:p,style:G},I))))))}}]),G})(v.Component);e.default=G,G.defaultProps={overlayEnabled:'ios'!==y.Platform.OS,shadowEnabled:!0,gestureEnabled:!0,gestureVelocityImpact:.3,overlay:function(t){var n=t.style;return n?v.createElement(y.Animated.View,{pointerEvents:"none",style:[R.overlay,n]}):null}};var R=y.StyleSheet.create({container:{flex:1},overlay:{flex:1,backgroundColor:'#000'},shadow:{position:'absolute',shadowRadius:5,shadowColor:'#000',shadowOpacity:.3},shadowHorizontal:{top:0,bottom:0,width:3,shadowOffset:{width:-1,height:1}},shadowLeft:{left:0},shadowRight:{right:0},shadowVertical:{left:0,right:0,height:3,shadowOffset:{width:1,height:-1}},shadowTop:{top:0},shadowBottom:{bottom:0}})},2017,[32,5,24,67,66,7,42,57,59,56,71,25,2018,2026,1973,2027,2028,2029,2015]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=[].slice,h=['keyword','gray','hex'],l={};Object.keys(o).forEach(function(t){l[n.call(o[t].labels).sort().join('')]=t});var s={};function c(u,f){if(!(this instanceof c))return new c(u,f);if(f&&f in h&&(f=null),f&&!(f in o))throw new Error('Unknown model: '+f);var v,p;if(null==u)this.model='rgb',this.color=[0,0,0],this.valpha=1;else if(u instanceof c)this.model=u.model,this.color=u.color.slice(),this.valpha=u.valpha;else if('string'==typeof u){var y=t.get(u);if(null===y)throw new Error('Unable to parse color from string: '+u);this.model=y.model,p=o[this.model].channels,this.color=y.value.slice(0,p),this.valpha='number'==typeof y.value[p]?y.value[p]:1}else if(u.length){this.model=f||'rgb',p=o[this.model].channels;var w=n.call(u,0,p);this.color=b(w,p),this.valpha='number'==typeof u[p]?u[p]:1}else if('number'==typeof u)u&=16777215,this.model='rgb',this.color=[u>>16&255,u>>8&255,255&u],this.valpha=1;else{this.valpha=1;var k=Object.keys(u);'alpha'in u&&(k.splice(k.indexOf('alpha'),1),this.valpha='number'==typeof u.alpha?u.alpha:0);var x=k.sort().join('');if(!(x in l))throw new Error('Unable to parse color from object: '+JSON.stringify(u));this.model=l[x];var j=o[this.model].labels,A=[];for(v=0;vn?(o+.05)/(n+.05):(n+.05)/(o+.05)},level:function(t){var o=this.contrast(t);return o>=7.1?'AAA':o>=4.5?'AA':''},isDark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),o=0;o<3;o++)t.color[o]=255-t.color[o];return t},lighten:function(t){var o=this.hsl();return o.color[2]+=o.color[2]*t,o},darken:function(t){var o=this.hsl();return o.color[2]-=o.color[2]*t,o},saturate:function(t){var o=this.hsl();return o.color[1]+=o.color[1]*t,o},desaturate:function(t){var o=this.hsl();return o.color[1]-=o.color[1]*t,o},whiten:function(t){var o=this.hwb();return o.color[1]+=o.color[1]*t,o},blacken:function(t){var o=this.hwb();return o.color[2]+=o.color[2]*t,o},grayscale:function(){var t=this.rgb().color,o=.3*t[0]+.59*t[1]+.11*t[2];return c.rgb(o,o,o)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var o=this.hsl(),n=o.color[0];return n=(n=(n+t)%360)<0?360+n:n,o.color[0]=n,o},mix:function(t,o){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);var n=t.rgb(),h=this.rgb(),l=void 0===o?.5:o,s=2*l-1,u=n.alpha()-h.alpha(),f=((s*u==-1?s:(s+u)/(1+s*u))+1)/2,v=1-f;return c.rgb(f*n.red()+v*h.red(),f*n.green()+v*h.green(),f*n.blue()+v*h.blue(),n.alpha()*l+h.alpha()*(1-l))}},Object.keys(o).forEach(function(t){if(-1===h.indexOf(t)){var l=o[t].channels;c.prototype[t]=function(){if(this.model===t)return new c(this);if(arguments.length)return new c(arguments,t);var n,h='number'==typeof arguments[l]?l:this.valpha;return new c((n=o[this.model][t].raw(this.color),Array.isArray(n)?n:[n]).concat(h),t)},c[t]=function(o){return'number'==typeof o&&(o=b(n.call(arguments),l)),new c(o,t)}}}),m.exports=c},2018,[2019,2023]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),s={};for(var o in t)t.hasOwnProperty(o)&&(s[t[o]]=o);var u=m.exports={to:{},get:{}};function l(t,n,s){return Math.min(Math.max(n,t),s)}function h(t){var n=t.toString(16).toUpperCase();return n.length<2?'0'+n:n}u.get=function(t){var n,s;switch(t.substring(0,3).toLowerCase()){case'hsl':n=u.get.hsl(t),s='hsl';break;case'hwb':n=u.get.hwb(t),s='hwb';break;default:n=u.get.rgb(t),s='rgb'}return n?{model:s,value:n}:null},u.get.rgb=function(n){if(!n)return null;var s,o,u,h=[0,0,0,1];if(s=n.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(u=s[2],s=s[1],o=0;o<3;o++){var f=2*o;h[o]=parseInt(s.slice(f,f+2),16)}u&&(h[3]=parseInt(u,16)/255)}else if(s=n.match(/^#([a-f0-9]{3,4})$/i)){for(u=(s=s[1])[3],o=0;o<3;o++)h[o]=parseInt(s[o]+s[o],16);u&&(h[3]=parseInt(u+u,16)/255)}else if(s=n.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(o=0;o<3;o++)h[o]=parseInt(s[o+1],0);s[4]&&(h[3]=parseFloat(s[4]))}else{if(!(s=n.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(s=n.match(/(\D+)/))?'transparent'===s[1]?[0,0,0,0]:(h=t[s[1]])?(h[3]=1,h):null:null;for(o=0;o<3;o++)h[o]=Math.round(2.55*parseFloat(s[o+1]));s[4]&&(h[3]=parseFloat(s[4]))}for(o=0;o<3;o++)h[o]=l(h[o],0,255);return h[3]=l(h[3],0,1),h},u.get.hsl=function(t){if(!t)return null;var n=t.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(n){var s=parseFloat(n[4]);return[(parseFloat(n[1])+360)%360,l(parseFloat(n[2]),0,100),l(parseFloat(n[3]),0,100),l(isNaN(s)?1:s,0,1)]}return null},u.get.hwb=function(t){if(!t)return null;var n=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(n){var s=parseFloat(n[4]);return[(parseFloat(n[1])%360+360)%360,l(parseFloat(n[2]),0,100),l(parseFloat(n[3]),0,100),l(isNaN(s)?1:s,0,1)]}return null},u.to.hex=function(){var t=n(arguments);return'#'+h(t[0])+h(t[1])+h(t[2])+(t[3]<1?h(Math.round(255*t[3])):'')},u.to.rgb=function(){var t=n(arguments);return t.length<4||1===t[3]?'rgb('+Math.round(t[0])+', '+Math.round(t[1])+', '+Math.round(t[2])+')':'rgba('+Math.round(t[0])+', '+Math.round(t[1])+', '+Math.round(t[2])+', '+t[3]+')'},u.to.rgb.percent=function(){var t=n(arguments),s=Math.round(t[0]/255*100),o=Math.round(t[1]/255*100),u=Math.round(t[2]/255*100);return t.length<4||1===t[3]?'rgb('+s+'%, '+o+'%, '+u+'%)':'rgba('+s+'%, '+o+'%, '+u+'%, '+t[3]+')'},u.to.hsl=function(){var t=n(arguments);return t.length<4||1===t[3]?'hsl('+t[0]+', '+t[1]+'%, '+t[2]+'%)':'hsla('+t[0]+', '+t[1]+'%, '+t[2]+'%, '+t[3]+')'},u.to.hwb=function(){var t=n(arguments),s='';return t.length>=4&&1!==t[3]&&(s=', '+t[3]),'hwb('+t[0]+', '+t[1]+'%, '+t[2]+'%'+s+')'},u.to.keyword=function(t){return s[t.slice(0,3)]}},2019,[2020,2021]); -__d(function(g,r,i,a,m,e,d){m.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2020,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Array.prototype.concat,o=Array.prototype.slice,c=m.exports=function(c){for(var u=[],p=0,l=c.length;p=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&'String'!==n.constructor.name))}},2022,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]),o=r(d[1]),t={};function c(n){var o=function(o){return void 0===o||null===o?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),n(o))};return'conversion'in n&&(o.conversion=n.conversion),o}function l(n){var o=function(o){if(void 0===o||null===o)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var t=n(o);if('object'==typeof t)for(var c=t.length,l=0;l1&&(o-=1)),[360*o,100*s,100*f]},u.rgb.hwb=function(n){var t=n[0],h=n[1],o=n[2];return[u.rgb.hsl(n)[0],100*(.00392156862745098*Math.min(t,Math.min(h,o))),100*(o=1-.00392156862745098*Math.max(t,Math.max(h,o)))]},u.rgb.cmyk=function(n){var t,h=n[0]/255,u=n[1]/255,o=n[2]/255;return[100*((1-h-(t=Math.min(1-h,1-u,1-o)))/(1-t)||0),100*((1-u-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},u.rgb.keyword=function(h){var u=t[h];if(u)return u;var o,s,c,l=1/0;for(var b in n)if(n.hasOwnProperty(b)){var f=n[b],M=(s=h,c=f,Math.pow(s[0]-c[0],2)+Math.pow(s[1]-c[1],2)+Math.pow(s[2]-c[2],2));M.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(h=h>.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)+.1805*(u=u>.04045?Math.pow((u+.055)/1.055,2.4):u/12.92)),100*(.2126*t+.7152*h+.0722*u),100*(.0193*t+.1192*h+.9505*u)]},u.rgb.lab=function(n){var t=u.rgb.xyz(n),h=t[0],o=t[1],s=t[2];return o/=100,s/=108.883,h=(h/=95.047)>.008856?Math.pow(h,.3333333333333333):7.787*h+.13793103448275862,[116*(o=o>.008856?Math.pow(o,.3333333333333333):7.787*o+.13793103448275862)-16,500*(h-o),200*(o-(s=s>.008856?Math.pow(s,.3333333333333333):7.787*s+.13793103448275862))]},u.hsl.rgb=function(n){var t,h,u,o,s,c=n[0]/360,l=n[1]/100,b=n[2]/100;if(0===l)return[s=255*b,s,s];t=2*b-(h=b<.5?b*(1+l):b+l-b*l),o=[0,0,0];for(var f=0;f<3;f++)(u=c+.3333333333333333*-(f-1))<0&&u++,u>1&&u--,s=6*u<1?t+6*(h-t)*u:2*u<1?h:3*u<2?t+(h-t)*(.6666666666666666-u)*6:t,o[f]=255*s;return o},u.hsl.hsv=function(n){var t=n[0],h=n[1]/100,u=n[2]/100,o=h,s=Math.max(u,.01);return h*=(u*=2)<=1?u:2-u,o*=s<=1?s:2-s,[t,100*(0===u?2*o/(s+o):2*h/(u+h)),100*((u+h)/2)]},u.hsv.rgb=function(n){var t=n[0]/60,h=n[1]/100,u=n[2]/100,o=Math.floor(t)%6,s=t-Math.floor(t),c=255*u*(1-h),l=255*u*(1-h*s),b=255*u*(1-h*(1-s));switch(u*=255,o){case 0:return[u,b,c];case 1:return[l,u,c];case 2:return[c,u,b];case 3:return[c,l,u];case 4:return[b,c,u];case 5:return[u,c,l]}},u.hsv.hsl=function(n){var t,h,u,o=n[0],s=n[1]/100,c=n[2]/100,l=Math.max(c,.01);return u=(2-s)*c,h=s*l,[o,100*(h=(h/=(t=(2-s)*l)<=1?t:2-t)||0),100*(u/=2)]},u.hwb.rgb=function(n){var t,h,u,o,s,c,l,b=n[0]/360,f=n[1]/100,M=n[2]/100,v=f+M;switch(v>1&&(f/=v,M/=v),h=1-M,u=6*b-(t=Math.floor(6*b)),0!=(1&t)&&(u=1-u),o=f+u*(h-f),t){default:case 6:case 0:s=h,c=o,l=f;break;case 1:s=o,c=h,l=f;break;case 2:s=f,c=h,l=o;break;case 3:s=f,c=o,l=h;break;case 4:s=o,c=f,l=h;break;case 5:s=h,c=f,l=o}return[255*s,255*c,255*l]},u.cmyk.rgb=function(n){var t=n[0]/100,h=n[1]/100,u=n[2]/100,o=n[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,h*(1-o)+o)),255*(1-Math.min(1,u*(1-o)+o))]},u.xyz.rgb=function(n){var t,h,u,o=n[0]/100,s=n[1]/100,c=n[2]/100;return h=-.9689*o+1.8758*s+.0415*c,u=.0557*o+-.204*s+1.057*c,t=(t=3.2406*o+-1.5372*s+-.4986*c)>.0031308?1.055*Math.pow(t,.4166666666666667)-.055:12.92*t,h=h>.0031308?1.055*Math.pow(h,.4166666666666667)-.055:12.92*h,u=u>.0031308?1.055*Math.pow(u,.4166666666666667)-.055:12.92*u,[255*(t=Math.min(Math.max(0,t),1)),255*(h=Math.min(Math.max(0,h),1)),255*(u=Math.min(Math.max(0,u),1))]},u.xyz.lab=function(n){var t=n[0],h=n[1],u=n[2];return h/=100,u/=108.883,t=(t/=95.047)>.008856?Math.pow(t,.3333333333333333):7.787*t+.13793103448275862,[116*(h=h>.008856?Math.pow(h,.3333333333333333):7.787*h+.13793103448275862)-16,500*(t-h),200*(h-(u=u>.008856?Math.pow(u,.3333333333333333):7.787*u+.13793103448275862))]},u.lab.xyz=function(n){var t,h,u,o=n[0],s=n[1],c=n[2];t=s/500+(h=(o+16)/116),u=h-c/200;var l=Math.pow(h,3),b=Math.pow(t,3),f=Math.pow(u,3);return h=l>.008856?l:(h-.13793103448275862)/7.787,t=b>.008856?b:(t-.13793103448275862)/7.787,u=f>.008856?f:(u-.13793103448275862)/7.787,[t*=95.047,h*=100,u*=108.883]},u.lab.lch=function(n){var t,h=n[0],u=n[1],o=n[2];return(t=360*Math.atan2(o,u)/2/Math.PI)<0&&(t+=360),[h,Math.sqrt(u*u+o*o),t]},u.lch.lab=function(n){var t,h=n[0],u=n[1];return t=n[2]/360*2*Math.PI,[h,u*Math.cos(t),u*Math.sin(t)]},u.rgb.ansi16=function(n){var t=n[0],h=n[1],o=n[2],s=1 in arguments?arguments[1]:u.rgb.hsv(n)[2];if(0===(s=Math.round(s/50)))return 30;var c=30+(Math.round(o/255)<<2|Math.round(h/255)<<1|Math.round(t/255));return 2===s&&(c+=60),c},u.hsv.ansi16=function(n){return u.rgb.ansi16(u.hsv.rgb(n),n[2])},u.rgb.ansi256=function(n){var t=n[0],h=n[1],u=n[2];return t===h&&h===u?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(h/255*5)+Math.round(u/255*5)},u.ansi16.rgb=function(n){var t=n%10;if(0===t||7===t)return n>50&&(t+=3.5),[t=t/10.5*255,t,t];var h=.5*(1+~~(n>50));return[(1&t)*h*255,(t>>1&1)*h*255,(t>>2&1)*h*255]},u.ansi256.rgb=function(n){if(n>=232){var t=10*(n-232)+8;return[t,t,t]}var h;return n-=16,[Math.floor(n/36)/5*255,Math.floor((h=n%36)/6)/5*255,h%6/5*255]},u.rgb.hex=function(n){var t=(((255&Math.round(n[0]))<<16)+((255&Math.round(n[1]))<<8)+(255&Math.round(n[2]))).toString(16).toUpperCase();return'000000'.substring(t.length)+t},u.hex.rgb=function(n){var t=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var h=t[0];3===t[0].length&&(h=h.split('').map(function(n){return n+n}).join(''));var u=parseInt(h,16);return[u>>16&255,u>>8&255,255&u]},u.rgb.hcg=function(n){var t,h,u=n[0]/255,o=n[1]/255,s=n[2]/255,c=Math.max(Math.max(u,o),s),l=Math.min(Math.min(u,o),s),b=c-l;return t=b<1?l/(1-b):0,h=b<=0?0:c===u?(o-s)/b%6:c===o?2+(s-u)/b:4+(u-o)/b+4,h/=6,[360*(h%=1),100*b,100*t]},u.hsl.hcg=function(n){var t=n[1]/100,h=n[2]/100,u=1,o=0;return(u=h<.5?2*t*h:2*t*(1-h))<1&&(o=(h-.5*u)/(1-u)),[n[0],100*u,100*o]},u.hsv.hcg=function(n){var t=n[1]/100,h=n[2]/100,u=t*h,o=0;return u<1&&(o=(h-u)/(1-u)),[n[0],100*u,100*o]},u.hcg.rgb=function(n){var t=n[0]/360,h=n[1]/100,u=n[2]/100;if(0===h)return[255*u,255*u,255*u];var o,s=[0,0,0],c=t%1*6,l=c%1,b=1-l;switch(Math.floor(c)){case 0:s[0]=1,s[1]=l,s[2]=0;break;case 1:s[0]=b,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=l;break;case 3:s[0]=0,s[1]=b,s[2]=1;break;case 4:s[0]=l,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=b}return o=(1-h)*u,[255*(h*s[0]+o),255*(h*s[1]+o),255*(h*s[2]+o)]},u.hcg.hsv=function(n){var t=n[1]/100,h=t+n[2]/100*(1-t),u=0;return h>0&&(u=t/h),[n[0],100*u,100*h]},u.hcg.hsl=function(n){var t=n[1]/100,h=n[2]/100*(1-t)+.5*t,u=0;return h>0&&h<.5?u=t/(2*h):h>=.5&&h<1&&(u=t/(2*(1-h))),[n[0],100*u,100*h]},u.hcg.hwb=function(n){var t=n[1]/100,h=t+n[2]/100*(1-t);return[n[0],100*(h-t),100*(1-h)]},u.hwb.hcg=function(n){var t=n[1]/100,h=1-n[2]/100,u=h-t,o=0;return u<1&&(o=(h-u)/(1-u)),[n[0],100*u,100*o]},u.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]},u.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]},u.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]},u.gray.hsl=u.gray.hsv=function(n){return[0,0,n[0]]},u.gray.hwb=function(n){return[0,100,n[0]]},u.gray.cmyk=function(n){return[0,0,0,n[0]]},u.gray.lab=function(n){return[n[0],0,0]},u.gray.hex=function(n){var t=255&Math.round(n[0]/100*255),h=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return'000000'.substring(h.length)+h},u.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]}},2024,[2020]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);function t(){for(var t={},u=Object.keys(n),c=u.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:new Set,u=s();if(o.has(u.key))return!1;if(o.add(u.key),'string'!=typeof t.target||t.target===u.key){var k=n.getStateForAction(u,t,C.current);if(null!==(k=null===k&&t.target===u.key?u:k)){if(A(t,u===k),u!==k){var p=k.routes.map(function(t){return t.key}),b=u.routes.filter(function(t){return!p.includes(t.key)}),L=(0,f.shouldPreventRemove)(h,y,b,t);if(L)return!0;c(k)}if(void 0!==S){var _=n.shouldActionChangeFocus(t);_&&void 0!==v&&S(v)}return!0}}if(void 0!==R&&R(t,o))return!0;for(var F=l.length-1;F>=0;F--){var E=l[F];if(E(t,o))return!0}return!1},[l,y,h,s,v,R,A,S,n,c]);return(0,f.default)({getState:s,emitter:h,beforeRemoveListeners:y}),o.useEffect(function(){return null==b?void 0:b('action',L)},[b,L]),L};var o=n(r(d[2])),u=t(r(d[3])),f=n(r(d[4]))},1914,[5,32,71,1888,1915]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.getState,o=t.emitter,u=t.beforeRemoveListeners,y=f.useContext(l.default).addKeyedListener,v=f.useContext(c.default),b=null==v?void 0:v.key;f.useEffect(function(){if(b)return null==y?void 0:y('beforeRemove',b,function(t){var f=n();return j(o,u,f.routes,t)})},[y,u,o,n,b])},e.shouldPreventRemove=void 0;var o=n(r(d[2])),u=n(r(d[3])),f=t(r(d[4])),l=n(r(d[5])),c=n(r(d[6]));function y(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=v(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function v(t,n){if(t){if("string"==typeof t)return b(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function f(t,n){if(t){if("string"==typeof t)return c(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?c(t,n):void 0}}function c(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function p(t,n){if(t){if("string"==typeof t)return v(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(t,n):void 0}}function v(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o3&&void 0!==arguments[3]?arguments[3]:[],c=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,p=[];l.push(u);var v=s[u];if('string'==typeof v){var h=f?b(f,v):v;p.push(x(n,u,l,h,v))}else if('object'==typeof v){var y;if('string'==typeof v.path){if(n)y=!0!==v.exact&&f?b(f,v.path):v.path;else{if(v.exact&&void 0===v.path)throw new Error("A 'path' needs to be specified when specifying 'exact: true'. If you don't want this screen in the URL, specify it as empty string, e.g. `path: ''`.");y=!0!==v.exact?b(f||'',v.path||''):v.path||''}p.push(x(n,u,l,y,v.path,v.parse))}v.screens&&(v.initialRouteName&&c.push({initialRouteName:v.initialRouteName,connectedRoutes:Object.keys(v.screens)}),Object.keys(v.screens).forEach(function(u){var s,h=t(n,u,v.screens,l,c,null!=(s=y)?s:f);p.push.apply(p,(0,o.default)(h))}))}return l.pop(),p},x=function(t,n,u,l,c,f){return{screen:n,regex:(l=l.split('/').filter(Boolean).join('/'))?new RegExp("^("+l.split('/').map(function(n){if(t&&'*'===n)throw new Error("Please update your config to the new format to use wildcard pattern ('*'). https://reactnavigation.org/docs/configuring-links/#updating-config");return n.startsWith(':')?"(([^/]+\\/)"+(n.endsWith('?')?'?':'')+")":('*'===n?'.*':(0,s.default)(n))+"\\/"}).join('')+")"):void 0,pattern:l,path:c,routeNames:(0,o.default)(u),parse:f}},w=function(t,n){for(var o,u=f(n);!(o=u()).done;){var s=o.value;if(t===s.routeNames[s.routeNames.length-1])return s.parse}},N=function(t,n){for(var o,u=f(n);!(o=u()).done;){var s=o.value;if(s.connectedRoutes.includes(t))return s.initialRouteName===t?void 0:s.initialRouteName}},P=function(t,n,o,u){return u?t?{index:1,routes:[{name:t},{name:n,params:o}]}:{routes:[{name:n,params:o}]}:t?{index:1,routes:[{name:t},{name:n,params:o,state:{routes:[]}}]}:{routes:[{name:n,params:o,state:{routes:[]}}]}},R=function(t,n){var o,u=t.shift(),s=N(u.name,n);if(o=P(s,u.name,u.params,0===t.length),t.length>0)for(var l=o;u=t.shift();){s=N(u.name,n);var c=l.index||l.routes.length-1;l.routes[c].state=P(s,u.name,u.params,0===t.length),t.length>0&&(l=l.routes[c].state)}return o},k=function(t,n,o){return n.map(function(n){var u,s=t.find(function(t){return t.screen===n});if(o&&(null==s?void 0:s.path)){var l=s.path;if(l){var c=l.split('/').filter(function(t){return t.startsWith(':')});c.length&&(u=c.reduce(function(t,n){var u=n.replace(/^:/,'').replace(/\?$/,''),l=o[n];return l&&(t[u]=s.parse&&s.parse[u]?s.parse[u](l):l),t},{}))}}return u&&Object.keys(u).length?{name:n,params:u}:{name:n}})},S=function(t){for(var n,o=t;null==(u=o)?void 0:u.routes[o.index||0].state;){var u;o=o.routes[o.index||0].state}return o.routes[(null==(n=o)?void 0:n.index)||0]},E=function(t,n){var o=t.split('?')[1],u=l.default.parse(o);return n&&Object.keys(u).forEach(function(t){n[t]&&'string'==typeof u[t]&&(u[t]=n[t](u[t]))}),Object.keys(u).length?u:void 0}},1929,[5,66,14,36,1930,1931,1935]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){if('string'!=typeof t)throw new TypeError('Expected a string');return t.replace(/[|\\{}()[\]^$+*?.]/g,'\\$&').replace(/-/g,'\\x2d')}},1930,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]);function u(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=c(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function c(t,n){if(t){if("string"==typeof t)return l(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o-1?o.split(t.arrayFormatSeparator).map(function(n){return S(n,t)}):null===o?o:S(o,t);u[n]=c};default:return function(t,n,o){void 0!==o[t]?o[t]=[].concat(o[t],n):o[t]=n}}}function b(t){if('string'!=typeof t||1!==t.length)throw new TypeError('arrayFormatSeparator must be single character string')}function j(t,n){return n.encode?n.strict?s(t):encodeURIComponent(t):t}function S(t,n){return n.decode?f(t):t}function h(t){return Array.isArray(t)?t.sort():'object'==typeof t?h(Object.keys(t)).sort(function(t,n){return Number(t)-Number(n)}).map(function(n){return t[n]}):t}function k(t){var n=t.indexOf('#');return-1!==n&&(t=t.slice(0,n)),t}function O(t){var n='',o=t.indexOf('#');return-1!==o&&(n=t.slice(o)),n}function F(t){var n=(t=k(t)).indexOf('?');return-1===n?'':t.slice(n+1)}function N(t,n){return n.parseNumbers&&!Number.isNaN(Number(t))&&'string'==typeof t&&''!==t.trim()?t=Number(t):!n.parseBooleans||null===t||'true'!==t.toLowerCase()&&'false'!==t.toLowerCase()||(t='true'===t.toLowerCase()),t}function A(o,c){b((c=n({decode:!0,sort:!0,arrayFormat:'none',arrayFormatSeparator:',',parseNumbers:!1,parseBooleans:!1},c)).arrayFormatSeparator);var l=v(c),s=Object.create(null);if('string'!=typeof o)return s;if(!(o=o.trim().replace(/^[?#&]/,'')))return s;for(var f,y=u(o.split('&'));!(f=y()).done;){var j=f.value,k=p(c.decode?j.replace(/\+/g,' '):j,'='),O=t(k,2),F=O[0],A=O[1];A=void 0===A?null:['comma','separator'].includes(c.arrayFormat)?A:S(A,c),l(S(F,c),A,s)}for(var x=0,w=Object.keys(s);x0}).join('&')},e.parseUrl=function(o,u){u=n({decode:!0},u);var c=p(o,'#'),l=t(c,2),s=l[0],f=l[1];return n({url:s.split('?')[0]||'',query:A(F(o),u)},u&&u.parseFragmentIdentifier&&f?{fragmentIdentifier:S(f,u)}:{})},e.stringifyUrl=function(t,o){o=n({encode:!0,strict:!0},o);var u=k(t.url).split('?')[0]||'',c=e.extract(t.url),l=e.parse(c,{sort:!1}),s=n(l,t.query),f=e.stringify(s,o);f&&(f="?"+f);var p=O(t.url);return t.fragmentIdentifier&&(p="#"+j(t.fragmentIdentifier,o)),""+u+f+p}},1931,[36,24,14,1932,1933,1934]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},1932,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=new RegExp('%[a-f0-9]{2}','gi'),n=new RegExp("(%[a-f0-9]{2})+",'gi');function o(t,n){try{return decodeURIComponent(t.join(''))}catch(t){}if(1===t.length)return t;n=n||1;var c=t.slice(0,n),p=t.slice(n);return Array.prototype.concat.call([],o(c),o(p))}function c(n){try{return decodeURIComponent(n)}catch(f){for(var c=n.match(t),p=1;p1?x.replace(/\/$/,''):x};var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),s=t(r(d[4])),f=t(r(d[5])),c=t(r(d[6]));function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function l(t){for(var n=1;n' section of the 'AndroidManifest.xml' file to avoid launching multiple instances":''].join('\n').trim());return p=!1!==v,function(){p=!1}});var S=u.useRef(v),L=u.useRef(b),w=u.useRef(h),A=u.useRef(k);u.useEffect(function(){S.current=v,L.current=b,w.current=h,A.current=k},[h,v,k,b]);var x=u.useCallback(function(t){for(var n,o=f(L.current);!(n=o()).done;){var u=n.value;if(t.startsWith(u))return t.replace(u,'')}},[]),E=u.useCallback(function(){var t,n;return o.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(S.current){u.next=2;break}return u.abrupt("return",void 0);case 2:return u.next=4,o.default.awrap(Promise.race([l.Linking.getInitialURL(),new Promise(function(t){return setTimeout(t,150)})]));case 4:if(t=u.sent,!(n=t?x(t):null)){u.next=10;break}return u.abrupt("return",A.current(n,w.current));case 10:return u.abrupt("return",void 0);case 11:case"end":return u.stop()}},null,null,null,Promise)},[x]);return u.useEffect(function(){var n=function(n){var o=n.url;if(v){var u=x(o),l=t.current;if(l&&u){var f=A.current(u,w.current);if(f){var s=(0,c.getActionFromState)(f);void 0!==s?l.dispatch(s):l.resetRoot(f)}}}};return l.Linking.addEventListener('url',n),function(){return l.Linking.removeEventListener('url',n)}},[v,x,t]),{getInitialState:E}};var o=n(r(d[2])),u=t(r(d[3])),l=r(d[4]),c=r(d[5]);function f(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=s(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function s(t,n){if(t){if("string"==typeof t)return v(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(t,n):void 0}}function v(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o1&&(1===_?H(t):O?((0,b.performLayoutAnimation)(P),H(t)):H(t))},[_]),B=(0,n.useMemo)(function(){return n.Children.map(u,function(t){var u=t,l=t.props,s=l.name,f=(0,c.default)(l,["name"]);return j||(u=(0,n.cloneElement)(t,S(S({},t.props),{},{isNested:!0}))),(0,n.createElement)(w.Screen,(0,o.default)({name:s},f,{children:function(){return u}}))})},[u]);return(0,n.useMemo)(function(){return(0,n.createElement)(s.View,{style:{height:_}},(0,n.createElement)(h.BottomSheetNavigationProvider,{value:{setHeight:A,currentHeight:_}},j?(0,n.createElement)(f.NavigationContainer,{theme:x},(0,n.createElement)(w.Navigator,{screenOptions:E},B)):(0,n.createElement)(w.Navigator,{screenOptions:E},B)))},[_,x])};e.default=k},1960,[5,946,24,67,66,36,25,1876,1961,1116,2045,1958,1959]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createStackNavigator",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"StackView",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Header",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"HeaderTitle",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"HeaderBackButton",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"HeaderBackground",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"CardAnimationContext",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"HeaderHeightContext",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"GestureHandlerRefContext",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"useCardAnimation",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"useHeaderHeight",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"useGestureHandlerRef",{enumerable:!0,get:function(){return C.default}}),e.TransitionPresets=e.TransitionSpecs=e.HeaderStyleInterpolators=e.CardStyleInterpolators=e.Assets=void 0;var u=n(r(d[2]));e.CardStyleInterpolators=u;var o=n(r(d[3]));e.HeaderStyleInterpolators=o;var f=n(r(d[4]));e.TransitionSpecs=f;var l=n(r(d[5]));e.TransitionPresets=l;var c=t(r(d[6])),s=t(r(d[7])),b=t(r(d[8])),p=t(r(d[9])),y=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),O=t(r(d[13])),H=t(r(d[14])),v=t(r(d[15])),S=t(r(d[16])),C=t(r(d[17])),T=[r(d[18]),r(d[19])];e.Assets=T},1961,[5,32,1962,1965,1966,1967,1968,1969,2038,2039,2009,2017,2030,2033,2003,2042,2043,2044,2015,2016]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.forHorizontalIOS=function(t){var n=t.current,o=t.next,p=t.inverted,u=t.layouts.screen,s=l(n.progress.interpolate({inputRange:[0,1],outputRange:[u.width,0],extrapolate:'clamp'}),p),c=o?l(o.progress.interpolate({inputRange:[0,1],outputRange:[0,-.3*u.width],extrapolate:'clamp'}),p):0,R=n.progress.interpolate({inputRange:[0,1],outputRange:[0,.07],extrapolate:'clamp'}),f=n.progress.interpolate({inputRange:[0,1],outputRange:[0,.3],extrapolate:'clamp'});return{cardStyle:{transform:[{translateX:s},{translateX:c}]},overlayStyle:{opacity:R},shadowStyle:{shadowOpacity:f}}},e.forVerticalIOS=function(t){var n=t.current,o=t.inverted,p=t.layouts.screen;return{cardStyle:{transform:[{translateY:l(n.progress.interpolate({inputRange:[0,1],outputRange:[p.height,0],extrapolate:'clamp'}),o)}]}}},e.forModalPresentationIOS=function(t){var n=t.index,p=t.current,s=t.next,c=t.inverted,R=t.layouts.screen,f=t.insets,h=R.width>R.height,y=h?0:10,v=f.top,x=R.height/R.width,S=u(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),s?s.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),w=l(S.interpolate({inputRange:[0,1,2],outputRange:[R.height,0===n?0:y,(0===n?v:0)-y*x]}),c),A=S.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,.3,1,1]}),Y=h?1:S.interpolate({inputRange:[0,1,2],outputRange:[1,1,R.width?1-2*y/R.width:1]}),O=h?0:0===n?S.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,0,(0,o.isIphoneX)()?38:0,10]}):10;return{cardStyle:{overflow:'hidden',borderTopLeftRadius:O,borderTopRightRadius:O,marginTop:0===n?0:v,marginBottom:0===n?0:y,transform:[{translateY:w},{scale:Y}]},overlayStyle:{opacity:A}}},e.forFadeFromBottomAndroid=function(t){var n=t.current,o=t.inverted,u=t.layouts.screen,s=t.closing,c=l(n.progress.interpolate({inputRange:[0,1],outputRange:[.08*u.height,0],extrapolate:'clamp'}),o);return{cardStyle:{opacity:(0,p.default)(s,n.progress,n.progress.interpolate({inputRange:[0,.5,.9,1],outputRange:[0,.25,.7,1]})),transform:[{translateY:c}]}}},e.forRevealFromBottomAndroid=function(t){var n=t.current,o=t.next,p=t.inverted,u=t.layouts.screen,s=l(n.progress.interpolate({inputRange:[0,1],outputRange:[u.height,0],extrapolate:'clamp'}),p),c=l(n.progress.interpolate({inputRange:[0,1],outputRange:[.9590000000000001*u.height*-1,0],extrapolate:'clamp'}),p),R=o?l(o.progress.interpolate({inputRange:[0,1],outputRange:[0,.02*u.height*-1],extrapolate:'clamp'}),p):0,f=n.progress.interpolate({inputRange:[0,.36,1],outputRange:[0,.1,.1],extrapolate:'clamp'});return{containerStyle:{overflow:'hidden',transform:[{translateY:s}]},cardStyle:{transform:[{translateY:c},{translateY:R}]},overlayStyle:{opacity:f}}},e.forScaleFromCenterAndroid=function(t){var n=t.current,o=t.next,l=t.closing,s=u(n.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),o?o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),c=s.interpolate({inputRange:[0,.8,1,1.2,2],outputRange:[0,.5,1,.33,0]}),R=(0,p.default)(l,n.progress.interpolate({inputRange:[0,1],outputRange:[.9,1],extrapolate:'clamp'}),s.interpolate({inputRange:[0,1,2],outputRange:[.85,1,1.1]}));return{containerStyle:{opacity:c,transform:[{scale:R}]}}},e.forNoAnimation=function(){return{}};var n=r(d[1]),o=r(d[2]),p=t(r(d[3])),u=n.Animated.add,l=n.Animated.multiply},1962,[5,25,1963,1964]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isIphoneX=n,e.ifIphoneX=o,e.getStatusBarHeight=function(n){return t.Platform.select({ios:o(n?44:30,20),android:t.StatusBar.currentHeight,default:0})},e.getBottomSpace=function(){return n()?34:0};var t=r(d[0]);function n(){var n=t.Dimensions.get('window');return!('ios'!==t.Platform.OS||t.Platform.isPad||t.Platform.isTVOS||812!==n.height&&812!==n.width&&844!==n.height&&844!==n.width&&896!==n.height&&896!==n.width&&926!==n.height&&926!==n.width)}function o(t,o){return n()?t:o}},1963,[25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l,o){return n(u(t,l),u(t.interpolate({inputRange:[0,1],outputRange:[1,0]}),o))};var t=r(d[0]),n=t.Animated.add,u=t.Animated.multiply},1964,[25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.forUIKit=function(o){var p=o.current,u=o.next,l=o.layouts,s=l.leftLabel?(l.screen.width-l.leftLabel.width)/2-27:100,R=l.title?(l.screen.width-l.title.width)/2-27:100,c=l.screen.width/4,f=n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0);return{leftButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},leftLabelStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[-c,0,s]:[s,0,-c]})}]},rightButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},titleStyle:{opacity:f.interpolate({inputRange:[0,.4,1,1.5],outputRange:[0,.1,1,0]}),transform:[{translateX:f.interpolate({inputRange:[.5,1,2],outputRange:t.I18nManager.isRTL?[-R,0,c]:[c,0,-R]})}]},backgroundStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[-l.screen.width,0,l.screen.width]:[l.screen.width,0,-l.screen.width]})}]}}},e.forFade=function(t){var o=t.current,p=t.next,u=n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),l=u.interpolate({inputRange:[0,1,2],outputRange:[0,1,0]});return{leftButtonStyle:{opacity:l},rightButtonStyle:{opacity:l},titleStyle:{opacity:l},backgroundStyle:{opacity:u.interpolate({inputRange:[0,1,1.9,2],outputRange:[0,1,1,0]})}}},e.forSlideLeft=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[-l.width,0,l.width]:[l.width,0,-l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideRight=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.isRTL?[l.width,0,-l.width]:[-l.width,0,l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideUp=function(t){var o=t.current,p=t.next,u=t.layouts.header,l=[{translateY:n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:[-u.height,0,-u.height]})}];return{leftButtonStyle:{transform:l},rightButtonStyle:{transform:l},titleStyle:{transform:l},backgroundStyle:{transform:l}}},e.forNoAnimation=function(){return{}};var t=r(d[0]),n=t.Animated.add},1965,[25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ScaleFromCenterAndroidSpec=e.RevealFromBottomAndroidSpec=e.FadeOutToBottomAndroidSpec=e.FadeInFromBottomAndroidSpec=e.TransitionIOSSpec=void 0;var n=r(d[0]);e.TransitionIOSSpec={animation:'spring',config:{stiffness:1e3,damping:500,mass:3,overshootClamping:!0,restDisplacementThreshold:10,restSpeedThreshold:10}};var o={animation:'timing',config:{duration:350,easing:n.Easing.out(n.Easing.poly(5))}};e.FadeInFromBottomAndroidSpec=o;var t={animation:'timing',config:{duration:150,easing:n.Easing.in(n.Easing.linear)}};e.FadeOutToBottomAndroidSpec=t;var s={animation:'timing',config:{duration:425,easing:n.Easing.bezier(.35,.45,0,1)}};e.RevealFromBottomAndroidSpec=s;var c={animation:'timing',config:{duration:400,easing:n.Easing.bezier(.35,.45,0,1)}};e.ScaleFromCenterAndroidSpec=c},1966,[25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ModalTransition=e.DefaultTransition=e.ScaleFromCenterAndroid=e.RevealFromBottomAndroid=e.FadeFromBottomAndroid=e.ModalPresentationIOS=e.ModalSlideFromBottomIOS=e.SlideFromRightIOS=void 0;var o=r(d[0]),t=r(d[1]),n=r(d[2]),l=r(d[3]),S={gestureDirection:'horizontal',transitionSpec:{open:l.TransitionIOSSpec,close:l.TransitionIOSSpec},cardStyleInterpolator:t.forHorizontalIOS,headerStyleInterpolator:n.forFade};e.SlideFromRightIOS=S;var c={gestureDirection:'vertical',transitionSpec:{open:l.TransitionIOSSpec,close:l.TransitionIOSSpec},cardStyleInterpolator:t.forVerticalIOS,headerStyleInterpolator:n.forFade};e.ModalSlideFromBottomIOS=c;var p={gestureDirection:'vertical',transitionSpec:{open:l.TransitionIOSSpec,close:l.TransitionIOSSpec},cardStyleInterpolator:t.forModalPresentationIOS,headerStyleInterpolator:n.forFade};e.ModalPresentationIOS=p;var s={gestureDirection:'vertical',transitionSpec:{open:l.FadeInFromBottomAndroidSpec,close:l.FadeOutToBottomAndroidSpec},cardStyleInterpolator:t.forFadeFromBottomAndroid,headerStyleInterpolator:n.forFade};e.FadeFromBottomAndroid=s;var F={gestureDirection:'vertical',transitionSpec:{open:l.RevealFromBottomAndroidSpec,close:l.RevealFromBottomAndroidSpec},cardStyleInterpolator:t.forRevealFromBottomAndroid,headerStyleInterpolator:n.forFade};e.RevealFromBottomAndroid=F;var I={gestureDirection:'horizontal',transitionSpec:{open:l.ScaleFromCenterAndroidSpec,close:l.ScaleFromCenterAndroidSpec},cardStyleInterpolator:t.forScaleFromCenterAndroid,headerStyleInterpolator:n.forFade};e.ScaleFromCenterAndroid=I;var f=o.Platform.select({ios:S,default:'android'===o.Platform.OS&&o.Platform.Version>=28?F:s});e.DefaultTransition=f;var v=o.Platform.select({ios:c,default:f});e.ModalTransition=v},1967,[25,1962,1965,1966]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),c=n(r(d[3])),u=n(r(d[4])),s=t(r(d[5])),f=r(d[6]),l=r(d[7]),p=n(r(d[8]));function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function b(t){for(var n=1;n0&&n&&!t.defaultPrevented&&w.dispatch(b(b({},l.StackActions.popToTop()),{},{target:j.key}))})})},[w,j.index,j.key]),s.createElement(p.default,(0,o.default)({},v,{state:j,descriptors:h,navigation:w}))});e.default=v},1968,[32,5,24,66,67,71,25,1876,1969]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),u=n(r(d[3])),s=n(r(d[4])),c=n(r(d[5])),l=n(r(d[6])),f=n(r(d[7])),y=n(r(d[8])),p=n(r(d[9])),k=n(r(d[10])),v=t(r(d[11])),R=r(d[12]),h=r(d[13]),K=r(d[14]),b=r(d[15]),E=n(r(d[16])),O=n(r(d[17])),S=n(r(d[18])),P=n(r(d[19]));function w(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function j(t){for(var n=1;n` at the top of your app.');return t},e.withSafeAreaInsets=function(t){return u.forwardRef(function(n,o){return u.createElement(C,null,function(f){return u.createElement(t,(0,l.default)({},n,{insets:f,ref:o}))})})},e.useSafeArea=function(){return S()},e.SafeAreaContext=e.SafeAreaConsumer=e.SafeAreaFrameContext=e.SafeAreaInsetsContext=void 0;var l=n(r(d[2])),o=n(r(d[3])),u=t(r(d[4])),f=r(d[5]),s=n(r(d[6])),v=u.createContext(null);e.SafeAreaInsetsContext=v;var h=u.createContext(null);e.SafeAreaFrameContext=h;var c=f.StyleSheet.create({fill:{flex:1}});function S(){var t=u.useContext(v);if(null==t)throw new Error('No safe area insets value available. Make sure you are rendering `` at the top of your app.');return t}var C=v.Consumer;e.SafeAreaConsumer=C;var x=v;e.SafeAreaContext=x},1971,[32,5,24,36,71,25,1972]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,r(d[0]).requireNativeComponent)('RNCSafeAreaProvider');e.default=o},1972,[25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaView=void 0;var o=(0,r(d[0]).requireNativeComponent)('RNCSafeAreaView');e.SafeAreaView=o},1973,[25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var n=r(d[0]).UIManager.getViewManagerConfig('RNCSafeAreaProvider'),t=null!=n&&null!=n.Constants?n.Constants.initialWindowMetrics:null;e.initialWindowMetrics=t;var l=null==t?void 0:t.insets;e.initialWindowSafeAreaInsets=l},1974,[25]); +__d(function(g,r,i,a,m,e,d){},1975,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.PanGestureHandler=function(t){var n=l.useRef(null);return l.createElement(f.default.Provider,{value:n},l.createElement(o.PanGestureHandler,(0,u.default)({},t,{ref:n})))},Object.defineProperty(e,"GestureHandlerRootView",{enumerable:!0,get:function(){return o.GestureHandlerRootView}}),Object.defineProperty(e,"GestureState",{enumerable:!0,get:function(){return o.State}}),Object.defineProperty(e,"PanGestureHandlerGestureEvent",{enumerable:!0,get:function(){return o.PanGestureHandlerGestureEvent}});var u=n(r(d[2])),l=t(r(d[3])),o=r(d[4]),f=n(r(d[5]))},1976,[32,5,24,71,1977,2003]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={Swipeable:!0,DrawerLayout:!0};Object.defineProperty(e,"Swipeable",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"DrawerLayout",{enumerable:!0,get:function(){return u.default}});var o=t(r(d[1])),u=t(r(d[2])),c=r(d[3]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))});var f=r(d[4]);Object.keys(f).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))})},1977,[5,1978,1996,1979,1997]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),l=n(r(d[4])),p=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),c=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),w=r(d[11]);function S(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function O(t){for(var n=1;n0:b,R=t.overshootRight,A=void 0===R?_>0:R,E=v.Animated.add(u,p.interpolate({inputRange:[0,s],outputRange:[0,1]})).interpolate({inputRange:[-_-(A?1:l),-_,c,c+(y?1:l)],outputRange:[-_-(A||l>1?1:0),-_,c,c+(y||l>1?1:0)]});n._transX=E,n._showLeftAction=c>0?E.interpolate({inputRange:[-1,0,c],outputRange:[0,0,1]}):new v.Animated.Value(0),n._leftActionTranslate=n._showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),n._showRightAction=_>0?E.interpolate({inputRange:[-_,0,1],outputRange:[1,0,0]}):new v.Animated.Value(0),n._rightActionTranslate=n._showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},n._onTapHandlerStateChange=function(t){t.nativeEvent.oldState===w.State.ACTIVE&&n.close()},n._onHandlerStateChange=function(t){var o=t.nativeEvent;o.oldState===w.State.ACTIVE&&n._handleRelease(o)},n._handleRelease=function(t){var o=t.velocityX,s=t.translationX,l=n.state,p=l.leftWidth,u=void 0===p?0:p,f=l.rowWidth,c=void 0===f?0:f,h=l.rowState,v=n.state.rightOffset,w=c-(void 0===v?c:v),S=n.props,O=S.friction,_=S.leftThreshold,y=void 0===_?u/2:_,R=S.rightThreshold,A=void 0===R?w/2:R,E=n._currentOffset()+s/O,W=(s+b*o)/O,L=0;0===h?W>y?L=u:W<-A&&(L=-w):1===h?W>-y&&(L=u):W0&&n.props.onSwipeableLeftOpen?n.props.onSwipeableLeftOpen():o<0&&n.props.onSwipeableRightOpen&&n.props.onSwipeableRightOpen(),0===o?n.props.onSwipeableClose&&n.props.onSwipeableClose():n.props.onSwipeableOpen&&n.props.onSwipeableOpen())}),o>0&&n.props.onSwipeableLeftWillOpen?n.props.onSwipeableLeftWillOpen():o<0&&n.props.onSwipeableRightWillOpen&&n.props.onSwipeableRightWillOpen(),0===o?n.props.onSwipeableWillClose&&n.props.onSwipeableWillClose():n.props.onSwipeableWillOpen&&n.props.onSwipeableWillOpen()},n._onRowLayout=function(t){var o=t.nativeEvent;n.setState({rowWidth:o.layout.width})},n._currentOffset=function(){var t=n.state,o=t.leftWidth,s=void 0===o?0:o,l=t.rowWidth,p=void 0===l?0:l,u=t.rowState,f=n.state.rightOffset;return 1===u?s:-1===u?-(p-(void 0===f?p:f)):0},n.close=function(){n._animateRow(n._currentOffset(),0)},n.openLeft=function(){var t=n.state.leftWidth,o=void 0===t?0:t;n._animateRow(n._currentOffset(),o)},n.openRight=function(){var t=n.state.rowWidth,o=void 0===t?0:t,s=n.state.rightOffset,l=o-(void 0===s?o:s);n._animateRow(n._currentOffset(),-l)};var o=new v.Animated.Value(0);return n.state={dragX:o,rowTranslation:new v.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},n._updateAnimatedEvent(t,n.state),n._onGestureEvent=v.Animated.event([{nativeEvent:{translationX:o}}],{useNativeDriver:t.useNativeAnimations}),n}return(0,p.default)(y,[{key:"UNSAFE_componentWillUpdate",value:function(t,n){this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===n.leftWidth&&this.state.rightOffset===n.rightOffset&&this.state.rowWidth===n.rowWidth||this._updateAnimatedEvent(t,n)}},{key:"render",value:function(){var t=this,n=this.state.rowState,s=this.props,l=s.children,p=s.renderLeftActions,u=s.renderRightActions,f=p&&h.default.createElement(v.Animated.View,{style:[R.leftActions,{transform:[{translateX:this._leftActionTranslate}]}]},p(this._showLeftAction,this._transX),h.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({leftWidth:o.layout.x})}})),c=u&&h.default.createElement(v.Animated.View,{style:[R.rightActions,{transform:[{translateX:this._rightActionTranslate}]}]},u(this._showRightAction,this._transX),h.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({rightOffset:o.layout.x})}}));return h.default.createElement(w.PanGestureHandler,(0,o.default)({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._onHandlerStateChange}),h.default.createElement(v.Animated.View,{onLayout:this._onRowLayout,style:[R.container,this.props.containerStyle]},f,c,h.default.createElement(w.TapGestureHandler,{enabled:0!==n,onHandlerStateChange:this._onTapHandlerStateChange},h.default.createElement(v.Animated.View,{pointerEvents:0===n?'auto':'box-only',style:[{transform:[{translateX:this._transX}]},this.props.childrenContainerStyle]},l))))}}]),y})(h.Component);e.default=y,y.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var R=v.StyleSheet.create({container:{overflow:'hidden'},leftActions:O(O({},v.StyleSheet.absoluteFillObject),{},{flexDirection:v.I18nManager.isRTL?'row-reverse':'row'}),rightActions:O(O({},v.StyleSheet.absoluteFillObject),{},{flexDirection:v.I18nManager.isRTL?'row':'row-reverse'})})},1978,[32,5,24,66,7,42,57,59,56,71,25,1979]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={createNativeWrapper:!0,Directions:!0,gestureHandlerRootHOC:!0,GestureHandlerRootView:!0,NativeViewGestureHandler:!0,State:!0};Object.defineProperty(e,"createNativeWrapper",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Directions",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"gestureHandlerRootHOC",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"GestureHandlerRootView",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"NativeViewGestureHandler",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"State",{enumerable:!0,get:function(){return b.default}});var u=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),p=r(d[7]);Object.keys(p).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}}))});var O=r(d[8]);Object.keys(O).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}}))});var y=r(d[9]);Object.keys(y).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))})},1979,[5,1980,1987,1988,1990,1981,1985,1991,1993,1994]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=l.default.forwardRef(function(c,s){var O=Object.keys(c).reduce(function(t,n){return-1!==f.indexOf(n)&&(t[n]=c[n]),t},p({},o));return l.default.createElement(u.default,O,l.default.createElement(t,(0,n.default)({},c,{ref:s})))});return c.propTypes=p({},t.propTypes),c.displayName=t.displayName||'ComponentWrapper',c};var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4]));function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function p(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_=arguments.length>3?arguments[3]:void 0,H=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},S=(function(n){(0,s.default)(b,n);var S,T,C=(S=b,T=E(),function(){var t,n=(0,p.default)(S);if(T){var o=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function b(n){var u;if((0,o.default)(this,b),(u=C.call(this,n))._onGestureHandlerEvent=function(t){t.nativeEvent.handlerTag===u._handlerTag?u.props.onGestureEvent&&u.props.onGestureEvent(t):u.props.onGestureHandlerEvent&&u.props.onGestureHandlerEvent(t)},u._onGestureHandlerStateChange=function(t){if(t.nativeEvent.handlerTag===u._handlerTag){u.props.onHandlerStateChange&&u.props.onHandlerStateChange(t);var n=k[t.nativeEvent.state];'function'==typeof u.props[n]&&u.props[n](t)}else u.props.onGestureHandlerStateChange&&u.props.onGestureHandlerStateChange(t)},u._refHandler=function(t){u._viewNode=t;var n=f.default.Children.only(u.props.children),o=n.ref;null!==o&&('function'==typeof o?o(t):o.current=t)},u._createGestureHandler=function(n){u._config=n,y.default.createGestureHandler(t,u._handlerTag,n)},u._attachGestureHandler=function(t){u._viewTag=t,y.default.attachGestureHandler(u._handlerTag,t)},u._updateGestureHandler=function(t){u._config=t,y.default.updateGestureHandler(u._handlerTag,t)},u._handlerTag=j++,u._config={},n.id){if(void 0!==P[n.id])throw new Error("Handler with ID \""+n.id+"\" already registered");P[n.id]=u._handlerTag}return u}return(0,u.default)(b,[{key:"componentWillUnmount",value:function(){y.default.dropGestureHandler(this._handlerTag),this._updateEnqueued&&clearImmediate(this._updateEnqueued),this.props.id&&delete P[this.props.id]}},{key:"componentDidMount",value:function(){var t,n,o=this;t=this.props,((n=function(t){return Array.isArray(t)?t.some(function(t){return t&&null===t.current}):t&&null===t.current})(t.simultaneousHandlers)||n(t.waitFor))&&(this._updateEnqueued=setImmediate(function(){o._updateEnqueued=null,o._update()})),this._createGestureHandler(R(_?_(this.props):this.props,G(G({},this.constructor.propTypes),H),c)),this._attachGestureHandler(w(this._viewNode))}},{key:"componentDidUpdate",value:function(){var t=w(this._viewNode);this._viewTag!==t&&this._attachGestureHandler(t),this._update()}},{key:"_update",value:function(){var t=R(_?_(this.props):this.props,G(G({},this.constructor.propTypes),H),c);(0,v.default)(this._config,t)||this._updateGestureHandler(t)}},{key:"setNativeProps",value:function(t){var n=G(G({},this.props),t),o=R(_?_(n):n,G(G({},this.constructor.propTypes),H),c);this._updateGestureHandler(o)}},{key:"render",value:function(){var t=this._onGestureHandlerEvent,n=this.props,o=n.onGestureEvent,u=n.onGestureHandlerEvent;if(o&&'function'!=typeof o){if(u)throw new Error('Nesting touch handlers with native animated driver is not supported yet');t=this.props.onGestureEvent}else if(u&&'function'!=typeof u)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var s=this._onGestureHandlerStateChange,l=this.props,p=l.onHandlerStateChange,c=l.onGestureHandlerStateChange;if(p&&'function'!=typeof p){if(c)throw new Error('Nesting touch handlers with native animated driver is not supported yet');s=this.props.onHandlerStateChange}else if(c&&'function'!=typeof c)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var v=f.default.Children.only(this.props.children),y=v.props.children;return h.Touchable.TOUCH_TARGET_DEBUG&&v.type&&('RNGestureHandlerButton'===v.type||'View'===v.type.name||'View'===v.type.displayName)&&(y=f.default.Children.toArray(y)).push(h.Touchable.renderDebugView({color:'mediumspringgreen',hitSlop:v.props.hitSlop})),f.default.cloneElement(v,{ref:this._refHandler,collapsable:!1,onGestureHandlerEvent:t,onGestureHandlerStateChange:s},y)}}]),b})(f.default.Component);return S.displayName=t,S.propTypes=n,S};var n,o=t(r(d[1])),u=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),p=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),h=r(d[8]),v=t(r(d[9])),y=t(r(d[10])),_=t(r(d[11]));function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function H(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function G(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:{});return Object.keys(n).forEach(function(n){var u,s,l=t[n];if(s=n,!(void 0===(u=l)||u===Object(u)&&'__isNative'in u||'onHandlerStateChange'===s||'onGestureEvent'===s)){var p=t[n];'simultaneousHandlers'===n||'waitFor'===n?p=A(t[n]):'hitSlop'===n&&'object'!=typeof p&&(p={top:p,left:p,bottom:p,right:p}),o[n]=p}}),o}function A(t){return Array.isArray(t)||(t=[t]),'web'===h.Platform.OS?t.map(function(t){return t.current}).filter(function(t){return t}):t.map(function(t){return P[t]||t.current&&t.current._handlerTag||-1}).filter(function(t){return t>0})}var k=(n={},(0,c.default)(n,_.default.BEGAN,'onBegan'),(0,c.default)(n,_.default.FAILED,'onFailed'),(0,c.default)(n,_.default.CANCELLED,'onCancelled'),(0,c.default)(n,_.default.ACTIVE,'onActivated'),(0,c.default)(n,_.default.END,'onEnded'),n)},1982,[5,7,42,57,59,56,66,71,25,1983,1984,1985]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=[],n=[];function u(t,n,o,l){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if('object'!=typeof t||'object'!=typeof n)return!1;var c=Object.prototype.toString,s=c.call(t);if(s!=c.call(n))return!1;switch(s){case'[object String]':return t==String(n);case'[object Number]':return!isNaN(t)&&!isNaN(n)&&t==Number(n);case'[object Date]':case'[object Boolean]':return+t==+n;case'[object RegExp]':return t.source==n.source&&t.global==n.global&&t.multiline==n.multiline&&t.ignoreCase==n.ignoreCase}for(var f=o.length;f--;)if(o[f]==t)return l[f]==n;o.push(t),l.push(n);var p=0;if('[object Array]'===s){if((p=t.length)!==n.length)return!1;for(;p--;)if(!u(t[p],n[p],o,l))return!1}else{if(t.constructor!==n.constructor)return!1;if(t.hasOwnProperty('valueOf')&&n.hasOwnProperty('valueOf'))return t.valueOf()==n.valueOf();var h=Object.keys(t);if(h.length!=Object.keys(n).length)return!1;for(var b=0;b1&&void 0!==arguments[1]?arguments[1]:void 0;function c(u){return n.default.createElement(o.default,{style:[f.container,l]},n.default.createElement(t,u))}return c.displayName="gestureHandlerRootHOC("+(t.displayName||t.name)+")",(0,u.default)(c,t),c};var n=t(r(d[1])),l=r(d[2]),u=t(r(d[3])),o=t(r(d[4]));var f=l.StyleSheet.create({container:{flex:1}})},1988,[5,71,25,1989,1990]); +__d(function(g,r,i,a,m,e,d){'use strict';var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},p=Object.defineProperty,n=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,f=y&&y(Object);m.exports=function l(O,u,P){if('string'!=typeof u){if(f){var b=y(u);b&&b!==f&&l(O,b,P)}var v=n(u);c&&(v=v.concat(c(u)));for(var j=0;js?h-s:0);var y=c+v+(o._drawerShown?s:0);y+b*f>s/2?o._animateDrawer(y,s,f):o._animateDrawer(y,0,f)},o._updateShowing=function(t){o._drawerShown=t,o._accessibilityIsModalView.current&&o._accessibilityIsModalView.current.setNativeProps({accessibilityViewIsModal:t}),o._pointerEventsView.current&&o._pointerEventsView.current.setNativeProps({pointerEvents:t?'auto':'none'});var n=o.props,s=n.drawerPosition,l=n.minSwipeDistance,u=n.edgeWidth,p='left'===s,c=(p?1:-1)*(o._drawerShown?-1:1),f=p?{left:0,width:t?void 0:u}:{right:0,width:t?void 0:u};o._panGestureHandler.current&&o._panGestureHandler.current.setNativeProps({hitSlop:f,activeOffsetX:c*l})},o._animateDrawer=function(t,n,s){if(o.state.dragX.setValue(0),o.state.touchX.setValue('left'===o.props.drawerPosition?0:o.state.containerWidth),null!=t){var l=t;o.props.useNativeAnimations&&(t0?l=Math.min(t+s/60,n):t>n&&s<0&&(l=Math.max(t+s/60,n))),o.state.drawerTranslation.setValue(l)}var u=0!==n;o._updateShowing(u),o._emitStateChanged(D,u),o.props.hideStatusBar&&h.StatusBar.setHidden(u,o.props.statusBarAnimation||'slide'),h.Animated.spring(o.state.drawerTranslation,{velocity:s,bounciness:0,toValue:n,useNativeDriver:o.props.useNativeAnimations}).start(function(t){t.finished&&(o._emitStateChanged(V,u),u?o.props.onDrawerOpen&&o.props.onDrawerOpen():o.props.onDrawerClose&&o.props.onDrawerClose())})},o.openDrawer=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o._animateDrawer(void 0,o.props.drawerWidth,t.velocity?t.velocity:0),o.forceUpdate()},o.closeDrawer=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o._animateDrawer(void 0,0,t.velocity?t.velocity:0),o.forceUpdate()},o._renderOverlay=function(){(0,w.default)(o._openValue,'should be set');var t={opacity:o._openValue.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),backgroundColor:o.props.overlayColor};return f.default.createElement(v.TapGestureHandler,{onHandlerStateChange:o._onTapHandlerStateChange},f.default.createElement(h.Animated.View,{pointerEvents:o._drawerShown?'auto':'none',ref:o._pointerEventsView,style:[E.overlay,t]}))},o._renderDrawer=function(){var t,n=o.props,s=n.drawerBackgroundColor,l=n.drawerWidth,u=n.drawerPosition,p=n.drawerType,c=n.drawerContainerStyle,v=n.contentContainerStyle,y='left'===u,_='back'!==p,S='front'!==p,b=h.I18nManager.isRTL?y:!y,V={backgroundColor:s,width:l},A=o._openValue;((0,w.default)(A,'should be set'),S)&&(t={transform:[{translateX:A.interpolate({inputRange:[0,1],outputRange:y?[0,l]:[0,-l],extrapolate:'clamp'})}]});var D=0;if(_){var O=y?-l:l;D=A.interpolate({inputRange:[0,1],outputRange:[O,0],extrapolate:'clamp'})}var C={transform:[{translateX:D}],flexDirection:b?'row-reverse':'row'};return f.default.createElement(h.Animated.View,{style:E.main,onLayout:o._handleContainerLayout},f.default.createElement(h.Animated.View,{style:['front'===p?E.containerOnBack:E.containerInFront,t,v],importantForAccessibility:o._drawerShown?'no-hide-descendants':'yes'},'function'==typeof o.props.children?o.props.children(o._openValue):o.props.children,o._renderOverlay()),f.default.createElement(h.Animated.View,{pointerEvents:"box-none",ref:o._accessibilityIsModalView,accessibilityViewIsModal:o._drawerShown,style:[E.drawerContainer,C,c]},f.default.createElement(h.View,{style:V},o.props.renderNavigationView(o._openValue))))},o._setPanGestureRef=function(t){o._panGestureHandler.current=t,o.props.onGestureRef&&o.props.onGestureRef(t)};var l=new h.Animated.Value(0),u=new h.Animated.Value(0),p=new h.Animated.Value(0);return o.state={dragX:l,touchX:u,drawerTranslation:p,containerWidth:0},o._updateAnimatedEvent(t,o.state),o}return(0,l.default)(_,[{key:"UNSAFE_componentWillUpdate",value:function(t,n){this.props.drawerPosition===t.drawerPosition&&this.props.drawerWidth===t.drawerWidth&&this.props.drawerType===t.drawerType&&this.state.containerWidth===n.containerWidth||this._updateAnimatedEvent(t,n)}},{key:"render",value:function(){var t=this.props,n=t.drawerPosition,o=t.drawerLockMode,s=t.edgeWidth,l=t.minSwipeDistance,u='left'===n,p=(u?1:-1)*(this._drawerShown?-1:1),c=u?{left:0,width:this._drawerShown?void 0:s}:{right:0,width:this._drawerShown?void 0:s};return f.default.createElement(v.PanGestureHandler,{ref:this._setPanGestureRef,hitSlop:c,activeOffsetX:p*l,failOffsetY:[-15,15],onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._openingHandlerStateChange,enabled:'locked-closed'!==o&&'locked-open'!==o},this._renderDrawer())}}]),_})(f.Component);e.default=O,O.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked'},O.positions={Left:'left',Right:'right'};var E=h.StyleSheet.create({drawerContainer:_(_({},h.StyleSheet.absoluteFillObject),{},{zIndex:1001,flexDirection:'row'}),containerInFront:_(_({},h.StyleSheet.absoluteFillObject),{},{zIndex:1002}),containerOnBack:_({},h.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:_(_({},h.StyleSheet.absoluteFillObject),{},{zIndex:1e3})})},1996,[32,5,66,7,42,57,59,56,71,26,25,1979]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return o.default}});var u=t(r(d[1])),n=t(r(d[2])),c=t(r(d[3])),o=t(r(d[4]))},1997,[5,1998,1999,2001,2002]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TouchableNativeFeedback;e.default=t},1998,[25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=u.default.forwardRef(function(t,o){return u.default.createElement(l.default,(0,f.default)({ref:o},t))});o.defaultProps=l.default.defaultProps,o.propTypes=l.default.publicPropTypes;var p=o;e.default=p},1999,[5,24,71,2000]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TOUCHABLE_STATE=void 0;var o=s(r(d[2])),n=s(r(d[3])),u=s(r(d[4])),l=s(r(d[5])),p=s(r(d[6])),c=s(r(d[7])),h=s(r(d[8])),f=t(r(d[9])),T=r(d[10]),E=r(d[11]),y=s(r(d[12]));function v(t,s){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);s&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),o.push.apply(o,n)}return o}function O(t){for(var s=1;s0?o.interpolate({inputRange:[0,u],outputRange:[1,0]}):o.interpolate({inputRange:[u,0],outputRange:[0,1]})},A=(function(t){(0,l.default)(w,t);var o,S,R=(o=w,S=P(),function(){var t,n=(0,p.default)(o);if(S){var s=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,s)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function w(t){var o;(0,s.default)(this,w),(o=R.call(this,t)).handleLayout=function(t){var n=t.nativeEvent.layout,s=n.height,u=n.width,l={width:u,height:s};o.setState(function(t,o){return s===t.layout.height&&u===t.layout.width?null:{layout:l,headerHeights:C(o.routes,o.insets,t.descriptors,l,t.headerHeights)}})},o.handleHeaderLayout=function(t){var n=t.route,s=t.height;o.setState(function(t){var o=t.headerHeights;return o[n.key]===s?null:{headerHeights:E(E({},o),{},(0,h.default)({},n.key,s))}})},o.getFocusedRoute=function(){var t=o.props.state;return t.routes[t.index]},o.getPreviousScene=function(t){var n=t.route,s=o.props.getPreviousRoute,u=o.state.scenes,l=s({route:n});if(l)return u.find(function(t){return t.route.key===l.key})};var n=f.Dimensions.get('window'),u=n.height,l=void 0===u?0:u,c=n.width,p=void 0===c?0:c;return o.state={routes:[],scenes:[],gestures:{},layout:{height:l,width:p},descriptors:o.props.descriptors,headerHeights:{}},o}return(0,u.default)(w,null,[{key:"getDerivedStateFromProps",value:function(t,o){if(t.routes===o.routes&&t.descriptors===o.descriptors)return null;var n=t.routes.reduce(function(n,s){var u=t.descriptors[s.key],l=((null==u?void 0:u.options)||{}).animationEnabled;return n[s.key]=o.gestures[s.key]||new f.Animated.Value(t.openingRouteKeys.includes(s.key)&&!1!==l?j(t.mode,o.layout,u):0),n},{});return{routes:t.routes,scenes:t.routes.map(function(s,u,l){var c=l[u-1],p=l[u+1],h=o.scenes[u],y=n[s.key],f=c?n[c.key]:void 0,v=p?n[p.key]:void 0,S=t.descriptors[s.key]||o.descriptors[s.key]||(h?h.descriptor:H),b=t.descriptors[null==p?void 0:p.key]||o.descriptors[null==p?void 0:p.key],k=t.descriptors[null==c?void 0:c.key]||o.descriptors[null==c?void 0:c.key],I={route:s,descriptor:S,progress:{current:x(t.mode,y,o.layout,S),next:v?x(t.mode,v,o.layout,b):void 0,previous:f?x(t.mode,f,o.layout,k):void 0},__memo:[s,o.layout,S,b,k,y,v,f]};return h&&I.__memo.every(function(t,o){return h.__memo[o]===t})?h:I}),gestures:n,descriptors:t.descriptors,headerHeights:C(t.routes,t.insets,o.descriptors,o.layout,o.headerHeights)}}}]),(0,u.default)(w,[{key:"render",value:function(){var t=this,o=this.props,s=o.mode,u=o.insets,l=o.descriptors,c=o.state,p=o.routes,h=o.closingRouteKeys,S=o.onOpenRoute,R=o.onCloseRoute,P=o.getGesturesEnabled,w=o.renderHeader,H=o.renderScene,C=o.headerMode,j=o.onTransitionStart,x=o.onTransitionEnd,A=o.onPageChangeStart,_=o.onPageChangeConfirm,F=o.onPageChangeCancel,M=this.state,L=M.scenes,N=M.layout,V=M.gestures,z=M.headerHeights,B=c.routes[c.index],K=l[B.key],G=K?K.options:{},q='modal'===s?k.ModalTransition:k.DefaultTransition;'screen'===C&&(q=E(E({},q),{},{headerStyleInterpolator:I.forNoAnimation}));var J=G.safeAreaInsets||{},Q=J.top,U=void 0===Q?u.top:Q,W=J.right,X=void 0===W?u.right:W,Y=J.bottom,Z=void 0===Y?u.bottom:Y,$=J.left,ee=void 0===$?u.left:$,te='ios'!==f.Platform.OS&&'modal'!==s;return y.createElement(O.default.Consumer,null,function(o){var l='float'===C&&t.state.scenes.slice(-2).some(function(t){var n=t.descriptor,s=n?n.options:{},u=s.headerTransparent,l=s.headerShown;return!(!u&&!1!==(void 0===l?!1===o:l))}),c='float'===C?y.createElement(y.Fragment,{key:"header"},w({mode:'float',layout:N,insets:{top:U,right:X,bottom:Z,left:ee},scenes:L,getPreviousScene:t.getPreviousScene,getFocusedRoute:t.getFocusedRoute,onContentHeightChange:t.handleHeaderLayout,gestureDirection:void 0!==G.gestureDirection?G.gestureDirection:q.gestureDirection,styleInterpolator:void 0!==G.headerStyleInterpolator?G.headerStyleInterpolator:q.headerStyleInterpolator,style:[T.floating,l&&T.absolute]})):null;return y.createElement(y.Fragment,null,l?null:c,y.createElement(v.MaybeScreenContainer,{enabled:te,style:T.container,onLayout:t.handleLayout},p.map(function(c,p,k){var I=B.key===c.key,O=V[c.key],E=L[p],T=E.progress.next?E.progress.next.interpolate({inputRange:[0,.99,1],outputRange:[1,1,0],extrapolate:'clamp'}):1,M=E.descriptor?E.descriptor.options:{},K=M.safeAreaInsets,G=M.headerShown,J=void 0===G?!1===o:G,Q=M.headerTransparent,U=M.cardShadowEnabled,W=M.cardOverlayEnabled,X=M.cardOverlay,Y=M.cardStyle,Z=M.animationEnabled,$=M.gestureResponseDistance,ee=M.gestureVelocityImpact,re=M.gestureDirection,oe=void 0===re?q.gestureDirection:re,ne=M.transitionSpec,ae=void 0===ne?q.transitionSpec:ne,ie=M.cardStyleInterpolator,se=void 0===ie?!1===Z?D.forNoAnimation:q.cardStyleInterpolator:ie,ue=M.headerStyleInterpolator,le={gestureDirection:oe,transitionSpec:ae,cardStyleInterpolator:se,headerStyleInterpolator:void 0===ue?q.headerStyleInterpolator:ue};if(p!==k.length-1){var de=L[p+1];if(de){var ce=de.descriptor?de.descriptor.options:{},pe=ce.animationEnabled,he=ce.gestureDirection,ge=void 0===he?q.gestureDirection:he,ye=ce.transitionSpec,fe=void 0===ye?q.transitionSpec:ye,ve=ce.cardStyleInterpolator,me=void 0===ve?!1===pe?D.forNoAnimation:q.cardStyleInterpolator:ve,Se=ce.headerStyleInterpolator;le={gestureDirection:ge,transitionSpec:fe,cardStyleInterpolator:me,headerStyleInterpolator:void 0===Se?q.headerStyleInterpolator:Se}}}var be=K||{},ke=be.top,Ie=void 0===ke?u.top:ke,De=be.right,Oe=void 0===De?u.right:De,Re=be.bottom,Pe=void 0===Re?u.bottom:Re,we=be.left,Ee=void 0===we?u.left:we,He='none'!==C&&!1!==J?z[c.key]:0;return y.createElement(v.MaybeScreen,{key:c.key,style:f.StyleSheet.absoluteFill,enabled:te,active:T,pointerEvents:"box-none"},y.createElement(b.default,(0,n.default)({index:p,active:p===k.length-1,focused:I,closing:h.includes(c.key),layout:N,gesture:O,scene:E,safeAreaInsetTop:Ie,safeAreaInsetRight:Oe,safeAreaInsetBottom:Pe,safeAreaInsetLeft:Ee,cardOverlay:X,cardOverlayEnabled:W,cardShadowEnabled:U,cardStyle:Y,onPageChangeStart:A,onPageChangeConfirm:_,onPageChangeCancel:F,gestureResponseDistance:$,headerHeight:He,onHeaderHeightChange:t.handleHeaderLayout,getPreviousScene:t.getPreviousScene,getFocusedRoute:t.getFocusedRoute,mode:s,headerMode:C,headerShown:J,hasAbsoluteHeader:l&&!Q,renderHeader:w,renderScene:H,onOpenRoute:S,onCloseRoute:R,onTransitionStart:j,onTransitionEnd:x,gestureEnabled:0!==p&&P({route:c}),gestureVelocityImpact:ee},le)))})),l?c:null)})}}]),w})(y.Component);e.default=A;var T=f.StyleSheet.create({container:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0},floating:{zIndex:1}})},2004,[32,5,24,7,42,57,59,56,66,71,25,2005,2008,2019,1967,1965,1962,2034,2031]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.MaybeScreen=e.MaybeScreenContainer=void 0;var c,l=n(r(d[2])),u=n(r(d[3])),f=n(r(d[4])),o=n(r(d[5])),s=n(r(d[6])),v=n(r(d[7])),y=n(r(d[8])),p=t(r(d[9])),b=r(d[10]);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}try{c=r(d[11])}catch(e){}var S=(function(t){(0,s.default)(E,t);var n,c,S=(n=E,c=h(),function(){var t,l=(0,y.default)(n);if(c){var u=(0,y.default)(this).constructor;t=Reflect.construct(l,arguments,u)}else t=l.apply(this,arguments);return(0,v.default)(this,t)});function E(){return(0,f.default)(this,E),S.apply(this,arguments)}return(0,o.default)(E,[{key:"render",value:function(){var t=this.props,n=t.active,c=t.style,f=(0,u.default)(t,["active","style"]);return p.createElement(b.View,(0,l.default)({hidden:!n,style:[c,{display:n?'flex':'none'}]},f))}}]),E})(p.Component),E=b.Animated.createAnimatedComponent(S);e.MaybeScreenContainer=function(t){var n=t.enabled,l=(0,u.default)(t,["enabled"]);return n&&'web'!==b.Platform.OS&&c&&c.screensEnabled()?p.createElement(c.ScreenContainer,l):p.createElement(b.View,l)};e.MaybeScreen=function(t){var n=t.enabled,f=t.active,o=(0,u.default)(t,["enabled","active"]);return n&&'web'===b.Platform.OS?p.createElement(E,(0,l.default)({active:f},o)):n&&c&&c.screensEnabled()?p.createElement(c.Screen,(0,l.default)({active:f},o)):p.createElement(b.View,o)}},2005,[32,5,24,67,7,42,57,59,56,71,25,2006]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=t(r(d[1])),c=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),l=t(r(d[5])),f=t(r(d[6])),S=t(r(d[7])),s=t(r(d[8])),v=r(d[9]),p=r(d[10]);function h(t){var n=N();return function(){var c,u=(0,S.default)(t);if(n){var o=(0,S.default)(this).constructor;c=Reflect.construct(u,arguments,o)}else c=u.apply(this,arguments);return(0,f.default)(this,c)}}function N(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var k,y,C,w,R,b,H=!1,E=function(t){return void 0!==v.UIManager.getViewManagerConfig?v.UIManager.getViewManagerConfig(t):v.UIManager[t]};function M(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(H=t)&&!E('RNSScreen')&&console.error("Screen native module hasn't been linked. Please check the react-native-screens README for more details")}var V={get NativeScreen(){return k=k||(0,v.requireNativeComponent)('RNSScreen',null)},get NativeScreenContainer(){return y=y||(0,v.requireNativeComponent)('RNSScreenContainer',null)},get NativeScreenStack(){return C=C||(0,v.requireNativeComponent)('RNSScreenStack',null)},get NativeScreenStackHeaderConfig(){return w=w||(0,v.requireNativeComponent)('RNSScreenStackHeaderConfig',null)},get NativeScreenStackHeaderSubview(){return R=R||(0,v.requireNativeComponent)('RNSScreenStackHeaderSubview',null)}},A=(function(t){(0,l.default)(S,t);var f=h(S);function S(){var t;(0,u.default)(this,S);for(var n=arguments.length,c=new Array(n),o=0;o=57||0===p.version.minor)return s.default.createElement(b,(0,n.default)({},this.props,{ref:this.setRef}));var t=this.props,u=t.style,o=t.children,l=(0,c.default)(t,["style","children"]);return s.default.createElement(b,(0,n.default)({},l,{ref:this.setRef,style:v.StyleSheet.absoluteFill}),s.default.createElement(v.Animated.View,{style:u},o))}var f=this.props,S=(f.active,f.onComponentRef,(0,c.default)(f,["active","onComponentRef"]));return s.default.createElement(v.Animated.View,(0,n.default)({},S,{ref:this.setRef}))}}]),S})(s.default.Component),I=(function(t){(0,l.default)(c,t);var n=h(c);function c(){return(0,u.default)(this,c),n.apply(this,arguments)}return(0,o.default)(c,[{key:"render",value:function(){return H?s.default.createElement(V.NativeScreenContainer,this.props):s.default.createElement(v.View,this.props)}}]),c})(s.default.Component),q=v.StyleSheet.create({headerSubview:{position:'absolute',top:0,right:0,flexDirection:'row',alignItems:'center',justifyContent:'center'}});m.exports={ScreenContainer:I,Screen:A,get NativeScreen(){return V.NativeScreen},get NativeScreenContainer(){return V.NativeScreenContainer},get ScreenStack(){return V.NativeScreenStack},get ScreenStackHeaderConfig(){return V.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return V.NativeScreenStackHeaderSubview},ScreenStackHeaderBackButtonImage:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,{type:"back",style:q.headerSubview},s.default.createElement(v.Image,(0,n.default)({resizeMode:"center",fadeDuration:0},t)))},ScreenStackHeaderRightView:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,(0,n.default)({},t,{type:"right",style:q.headerSubview}))},ScreenStackHeaderLeftView:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,(0,n.default)({},t,{type:"left",style:q.headerSubview}))},ScreenStackHeaderCenterView:function(t){return s.default.createElement(V.NativeScreenStackHeaderSubview,(0,n.default)({},t,{type:"center",style:q.headerSubview}))},enableScreens:M,useScreens:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];console.warn('Method `useScreens` is deprecated, please use `enableScreens`'),M(t)},screensEnabled:function(){return H}}},2006,[5,24,67,7,42,57,59,56,71,25,2007]); +__d(function(g,r,i,a,m,e,d){e.version={major:0,minor:61,patch:5,prerelease:null}},2007,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.getDefaultHeaderHeight=void 0;var l=o(r(d[2])),n=o(r(d[3])),h=o(r(d[4])),s=o(r(d[5])),u=o(r(d[6])),b=o(r(d[7])),f=t(r(d[8])),c=r(d[9]),y=o(r(d[10])),p=o(r(d[11])),R=o(r(d[12]));function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=function(t,o){var l=t.width>t.height;return('ios'===c.Platform.OS?l&&!c.Platform.isPad?32:44:'android'===c.Platform.OS?56:64)+o};e.getDefaultHeaderHeight=v;var C=(function(t){(0,s.default)(T,t);var o,C,w=(o=T,C=S(),function(){var t,l=(0,b.default)(o);if(C){var n=(0,b.default)(this).constructor;t=Reflect.construct(l,arguments,n)}else t=l.apply(this,arguments);return(0,u.default)(this,t)});function T(){var t;(0,n.default)(this,T);for(var o=arguments.length,l=new Array(o),h=0;h=21){var t=this.props,o=t.style,u=t.pressColor,c=t.borderless,s=t.children,f=(0,n.default)(t,["style","pressColor","borderless","children"]);return h.createElement(b.TouchableNativeFeedback,(0,l.default)({},f,{useForeground:b.TouchableNativeFeedback.canUseNativeForeground(),background:b.TouchableNativeFeedback.Ripple(u,c)}),h.createElement(b.View,{style:o},h.Children.only(s)))}return'ios'===b.Platform.OS?h.createElement(v.default,(0,l.default)({hitSlop:{top:10,bottom:10,right:10,left:10},disallowInterruption:!0,enabled:!this.props.disabled},this.props),this.props.children):h.createElement(b.TouchableOpacity,this.props,this.props.children)}}]),T})(h.Component);e.TouchableItem=P,P.defaultProps={borderless:!1,pressColor:'rgba(0, 0, 0, .32)'}},2013,[32,5,24,67,7,42,57,59,56,71,25,2014]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),c=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),s=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),y=r(d[11]);function A(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var S=v.Animated.createAnimatedComponent(y.BaseButton),C='web'!==v.Platform.OS,O=(function(t){(0,s.default)(P,t);var n,y,O=(n=P,y=A(),function(){var t,o=(0,p.default)(n);if(y){var c=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,c)}else t=o.apply(this,arguments);return(0,f.default)(this,t)});function P(){var t;(0,l.default)(this,P);for(var n=arguments.length,o=new Array(n),c=0;cw/2?0!==S||0!==b:t.props.closing;t.animate({closing:O,velocity:S}),O&&(t.pendingGestureCallback=setTimeout(c,32)),null==p||p()}},t.getInterpolatedStyle=(0,C.default)(function(n,o,l,s,c,u,h,p,f){return n({index:o,current:{progress:l},next:s&&{progress:s},closing:t.isClosing,swiping:t.isSwiping,inverted:t.inverted,layouts:{screen:c},insets:{top:u,right:h,bottom:p,left:f}})}),t.getCardAnimationContext=(0,C.default)(function(n,o,l,s,c,u,h,p){return{index:n,current:{progress:o},next:l&&{progress:l},closing:t.isClosing,swiping:t.isSwiping,inverted:t.inverted,layouts:{screen:s},insets:{top:c,right:u,bottom:h,left:p}}}),t.contentRef=v.createRef(),t}return(0,u.default)(G,[{key:"componentDidMount",value:function(){this.animate({closing:this.props.closing})}},{key:"componentDidUpdate",value:function(t){var n=this.props,o=n.layout,l=n.gestureDirection,s=n.closing,c=o.width,u=o.height;c!==t.layout.width&&this.layout.width.setValue(c),u!==t.layout.height&&this.layout.height.setValue(u),l!==t.gestureDirection&&this.inverted.setValue((0,V.default)(l)),this.getAnimateToValue(this.props)!==this.getAnimateToValue(t)&&this.animate({closing:s})}},{key:"componentWillUnmount",value:function(){this.handleEndInteraction()}},{key:"gestureActivationCriteria",value:function(){var t=this.props,n=t.layout,o=t.gestureDirection,l=t.gestureResponseDistance,s='vertical'===o||'vertical-inverted'===o?void 0!==(null==l?void 0:l.vertical)?l.vertical:135:void 0!==(null==l?void 0:l.horizontal)?l.horizontal:50;if('vertical'===o)return{maxDeltaX:15,minOffsetY:5,hitSlop:{bottom:-n.height+s}};if('vertical-inverted'===o)return{maxDeltaX:15,minOffsetY:-5,hitSlop:{top:-n.height+s}};var c=-n.width+s;return 1===(0,V.default)(o)?{minOffsetX:5,maxDeltaY:20,hitSlop:{right:c}}:{minOffsetX:-5,maxDeltaY:20,hitSlop:{left:c}}}},{key:"render",value:function(){var t=this.props,n=t.styleInterpolator,s=t.index,c=t.current,u=t.gesture,h=t.next,p=t.layout,f=t.insets,O=t.overlay,V=t.overlayEnabled,C=t.shadowEnabled,D=t.gestureEnabled,A=t.gestureDirection,x=t.pageOverflowEnabled,I=t.children,P=t.containerStyle,G=t.contentStyle,j=(0,l.default)(t,["styleInterpolator","index","current","gesture","next","layout","insets","overlay","overlayEnabled","shadowEnabled","gestureEnabled","gestureDirection","pageOverflowEnabled","children","containerStyle","contentStyle"]),H=this.getInterpolatedStyle(n,s,c,h,p,f.top,f.right,f.bottom,f.left),T=this.getCardAnimationContext(s,c,h,p,f.top,f.right,f.bottom,f.left),X=H.containerStyle,Y=H.cardStyle,z=H.overlayStyle,N=H.shadowStyle,B=D?y.Animated.event([{nativeEvent:'vertical'===A||'vertical-inverted'===A?{translationY:u}:{translationX:u}}],{useNativeDriver:k}):void 0,L=y.StyleSheet.flatten(G||{}).backgroundColor,M=!!L&&0===(0,w.default)(L).alpha();return v.createElement(S.default.Provider,{value:T},v.createElement(y.Animated.View,{style:{opacity:c},collapsable:!1}),v.createElement(y.View,(0,o.default)({pointerEvents:"box-none"},j),V?v.createElement(y.View,{pointerEvents:"box-none",style:y.StyleSheet.absoluteFill},O({style:z})):null,v.createElement(y.Animated.View,{style:[R.container,X,P],pointerEvents:"box-none"},v.createElement(E.PanGestureHandler,(0,o.default)({enabled:0!==p.width&&D,onGestureEvent:B,onHandlerStateChange:this.handleGestureStateChange},this.gestureActivationCriteria()),v.createElement(y.Animated.View,{style:[R.container,Y]},C&&N&&!M?v.createElement(y.Animated.View,{style:[R.shadow,'horizontal'===A?[R.shadowHorizontal,R.shadowLeft]:'horizontal-inverted'===A?[R.shadowHorizontal,R.shadowRight]:'vertical'===A?[R.shadowVertical,R.shadowTop]:[R.shadowVertical,R.shadowBottom],{backgroundColor:L},N],pointerEvents:"none"}):null,v.createElement(b.default,{ref:this.contentRef,enabled:x,layout:p,style:G},I))))))}}]),G})(v.Component);e.default=G,G.defaultProps={overlayEnabled:'ios'!==y.Platform.OS,shadowEnabled:!0,gestureEnabled:!0,gestureVelocityImpact:.3,overlay:function(t){var n=t.style;return n?v.createElement(y.Animated.View,{pointerEvents:"none",style:[R.overlay,n]}):null}};var R=y.StyleSheet.create({container:{flex:1},overlay:{flex:1,backgroundColor:'#000'},shadow:{position:'absolute',shadowRadius:5,shadowColor:'#000',shadowOpacity:.3},shadowHorizontal:{top:0,bottom:0,width:3,shadowOffset:{width:-1,height:1}},shadowLeft:{left:0},shadowRight:{right:0},shadowVertical:{left:0,right:0,height:3,shadowOffset:{width:1,height:-1}},shadowTop:{top:0},shadowBottom:{bottom:0}})},2020,[32,5,24,67,66,7,42,57,59,56,71,25,2021,2029,1976,2030,2031,2032,2018]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=[].slice,h=['keyword','gray','hex'],l={};Object.keys(o).forEach(function(t){l[n.call(o[t].labels).sort().join('')]=t});var s={};function c(u,f){if(!(this instanceof c))return new c(u,f);if(f&&f in h&&(f=null),f&&!(f in o))throw new Error('Unknown model: '+f);var v,p;if(null==u)this.model='rgb',this.color=[0,0,0],this.valpha=1;else if(u instanceof c)this.model=u.model,this.color=u.color.slice(),this.valpha=u.valpha;else if('string'==typeof u){var y=t.get(u);if(null===y)throw new Error('Unable to parse color from string: '+u);this.model=y.model,p=o[this.model].channels,this.color=y.value.slice(0,p),this.valpha='number'==typeof y.value[p]?y.value[p]:1}else if(u.length){this.model=f||'rgb',p=o[this.model].channels;var w=n.call(u,0,p);this.color=b(w,p),this.valpha='number'==typeof u[p]?u[p]:1}else if('number'==typeof u)u&=16777215,this.model='rgb',this.color=[u>>16&255,u>>8&255,255&u],this.valpha=1;else{this.valpha=1;var k=Object.keys(u);'alpha'in u&&(k.splice(k.indexOf('alpha'),1),this.valpha='number'==typeof u.alpha?u.alpha:0);var x=k.sort().join('');if(!(x in l))throw new Error('Unable to parse color from object: '+JSON.stringify(u));this.model=l[x];var j=o[this.model].labels,A=[];for(v=0;vn?(o+.05)/(n+.05):(n+.05)/(o+.05)},level:function(t){var o=this.contrast(t);return o>=7.1?'AAA':o>=4.5?'AA':''},isDark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),o=0;o<3;o++)t.color[o]=255-t.color[o];return t},lighten:function(t){var o=this.hsl();return o.color[2]+=o.color[2]*t,o},darken:function(t){var o=this.hsl();return o.color[2]-=o.color[2]*t,o},saturate:function(t){var o=this.hsl();return o.color[1]+=o.color[1]*t,o},desaturate:function(t){var o=this.hsl();return o.color[1]-=o.color[1]*t,o},whiten:function(t){var o=this.hwb();return o.color[1]+=o.color[1]*t,o},blacken:function(t){var o=this.hwb();return o.color[2]+=o.color[2]*t,o},grayscale:function(){var t=this.rgb().color,o=.3*t[0]+.59*t[1]+.11*t[2];return c.rgb(o,o,o)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var o=this.hsl(),n=o.color[0];return n=(n=(n+t)%360)<0?360+n:n,o.color[0]=n,o},mix:function(t,o){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);var n=t.rgb(),h=this.rgb(),l=void 0===o?.5:o,s=2*l-1,u=n.alpha()-h.alpha(),f=((s*u==-1?s:(s+u)/(1+s*u))+1)/2,v=1-f;return c.rgb(f*n.red()+v*h.red(),f*n.green()+v*h.green(),f*n.blue()+v*h.blue(),n.alpha()*l+h.alpha()*(1-l))}},Object.keys(o).forEach(function(t){if(-1===h.indexOf(t)){var l=o[t].channels;c.prototype[t]=function(){if(this.model===t)return new c(this);if(arguments.length)return new c(arguments,t);var n,h='number'==typeof arguments[l]?l:this.valpha;return new c((n=o[this.model][t].raw(this.color),Array.isArray(n)?n:[n]).concat(h),t)},c[t]=function(o){return'number'==typeof o&&(o=b(n.call(arguments),l)),new c(o,t)}}}),m.exports=c},2021,[2022,2026]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),s={};for(var o in t)t.hasOwnProperty(o)&&(s[t[o]]=o);var u=m.exports={to:{},get:{}};function l(t,n,s){return Math.min(Math.max(n,t),s)}function h(t){var n=t.toString(16).toUpperCase();return n.length<2?'0'+n:n}u.get=function(t){var n,s;switch(t.substring(0,3).toLowerCase()){case'hsl':n=u.get.hsl(t),s='hsl';break;case'hwb':n=u.get.hwb(t),s='hwb';break;default:n=u.get.rgb(t),s='rgb'}return n?{model:s,value:n}:null},u.get.rgb=function(n){if(!n)return null;var s,o,u,h=[0,0,0,1];if(s=n.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(u=s[2],s=s[1],o=0;o<3;o++){var f=2*o;h[o]=parseInt(s.slice(f,f+2),16)}u&&(h[3]=parseInt(u,16)/255)}else if(s=n.match(/^#([a-f0-9]{3,4})$/i)){for(u=(s=s[1])[3],o=0;o<3;o++)h[o]=parseInt(s[o]+s[o],16);u&&(h[3]=parseInt(u+u,16)/255)}else if(s=n.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(o=0;o<3;o++)h[o]=parseInt(s[o+1],0);s[4]&&(h[3]=parseFloat(s[4]))}else{if(!(s=n.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(s=n.match(/(\D+)/))?'transparent'===s[1]?[0,0,0,0]:(h=t[s[1]])?(h[3]=1,h):null:null;for(o=0;o<3;o++)h[o]=Math.round(2.55*parseFloat(s[o+1]));s[4]&&(h[3]=parseFloat(s[4]))}for(o=0;o<3;o++)h[o]=l(h[o],0,255);return h[3]=l(h[3],0,1),h},u.get.hsl=function(t){if(!t)return null;var n=t.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(n){var s=parseFloat(n[4]);return[(parseFloat(n[1])+360)%360,l(parseFloat(n[2]),0,100),l(parseFloat(n[3]),0,100),l(isNaN(s)?1:s,0,1)]}return null},u.get.hwb=function(t){if(!t)return null;var n=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(n){var s=parseFloat(n[4]);return[(parseFloat(n[1])%360+360)%360,l(parseFloat(n[2]),0,100),l(parseFloat(n[3]),0,100),l(isNaN(s)?1:s,0,1)]}return null},u.to.hex=function(){var t=n(arguments);return'#'+h(t[0])+h(t[1])+h(t[2])+(t[3]<1?h(Math.round(255*t[3])):'')},u.to.rgb=function(){var t=n(arguments);return t.length<4||1===t[3]?'rgb('+Math.round(t[0])+', '+Math.round(t[1])+', '+Math.round(t[2])+')':'rgba('+Math.round(t[0])+', '+Math.round(t[1])+', '+Math.round(t[2])+', '+t[3]+')'},u.to.rgb.percent=function(){var t=n(arguments),s=Math.round(t[0]/255*100),o=Math.round(t[1]/255*100),u=Math.round(t[2]/255*100);return t.length<4||1===t[3]?'rgb('+s+'%, '+o+'%, '+u+'%)':'rgba('+s+'%, '+o+'%, '+u+'%, '+t[3]+')'},u.to.hsl=function(){var t=n(arguments);return t.length<4||1===t[3]?'hsl('+t[0]+', '+t[1]+'%, '+t[2]+'%)':'hsla('+t[0]+', '+t[1]+'%, '+t[2]+'%, '+t[3]+')'},u.to.hwb=function(){var t=n(arguments),s='';return t.length>=4&&1!==t[3]&&(s=', '+t[3]),'hwb('+t[0]+', '+t[1]+'%, '+t[2]+'%'+s+')'},u.to.keyword=function(t){return s[t.slice(0,3)]}},2022,[2023,2024]); +__d(function(g,r,i,a,m,e,d){m.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2023,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Array.prototype.concat,o=Array.prototype.slice,c=m.exports=function(c){for(var u=[],p=0,l=c.length;p=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&'String'!==n.constructor.name))}},2025,[]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]),o=r(d[1]),t={};function c(n){var o=function(o){return void 0===o||null===o?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),n(o))};return'conversion'in n&&(o.conversion=n.conversion),o}function l(n){var o=function(o){if(void 0===o||null===o)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var t=n(o);if('object'==typeof t)for(var c=t.length,l=0;l1&&(o-=1)),[360*o,100*s,100*f]},u.rgb.hwb=function(n){var t=n[0],h=n[1],o=n[2];return[u.rgb.hsl(n)[0],100*(.00392156862745098*Math.min(t,Math.min(h,o))),100*(o=1-.00392156862745098*Math.max(t,Math.max(h,o)))]},u.rgb.cmyk=function(n){var t,h=n[0]/255,u=n[1]/255,o=n[2]/255;return[100*((1-h-(t=Math.min(1-h,1-u,1-o)))/(1-t)||0),100*((1-u-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},u.rgb.keyword=function(h){var u=t[h];if(u)return u;var o,s,c,l=1/0;for(var b in n)if(n.hasOwnProperty(b)){var f=n[b],M=(s=h,c=f,Math.pow(s[0]-c[0],2)+Math.pow(s[1]-c[1],2)+Math.pow(s[2]-c[2],2));M.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(h=h>.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)+.1805*(u=u>.04045?Math.pow((u+.055)/1.055,2.4):u/12.92)),100*(.2126*t+.7152*h+.0722*u),100*(.0193*t+.1192*h+.9505*u)]},u.rgb.lab=function(n){var t=u.rgb.xyz(n),h=t[0],o=t[1],s=t[2];return o/=100,s/=108.883,h=(h/=95.047)>.008856?Math.pow(h,.3333333333333333):7.787*h+.13793103448275862,[116*(o=o>.008856?Math.pow(o,.3333333333333333):7.787*o+.13793103448275862)-16,500*(h-o),200*(o-(s=s>.008856?Math.pow(s,.3333333333333333):7.787*s+.13793103448275862))]},u.hsl.rgb=function(n){var t,h,u,o,s,c=n[0]/360,l=n[1]/100,b=n[2]/100;if(0===l)return[s=255*b,s,s];t=2*b-(h=b<.5?b*(1+l):b+l-b*l),o=[0,0,0];for(var f=0;f<3;f++)(u=c+.3333333333333333*-(f-1))<0&&u++,u>1&&u--,s=6*u<1?t+6*(h-t)*u:2*u<1?h:3*u<2?t+(h-t)*(.6666666666666666-u)*6:t,o[f]=255*s;return o},u.hsl.hsv=function(n){var t=n[0],h=n[1]/100,u=n[2]/100,o=h,s=Math.max(u,.01);return h*=(u*=2)<=1?u:2-u,o*=s<=1?s:2-s,[t,100*(0===u?2*o/(s+o):2*h/(u+h)),100*((u+h)/2)]},u.hsv.rgb=function(n){var t=n[0]/60,h=n[1]/100,u=n[2]/100,o=Math.floor(t)%6,s=t-Math.floor(t),c=255*u*(1-h),l=255*u*(1-h*s),b=255*u*(1-h*(1-s));switch(u*=255,o){case 0:return[u,b,c];case 1:return[l,u,c];case 2:return[c,u,b];case 3:return[c,l,u];case 4:return[b,c,u];case 5:return[u,c,l]}},u.hsv.hsl=function(n){var t,h,u,o=n[0],s=n[1]/100,c=n[2]/100,l=Math.max(c,.01);return u=(2-s)*c,h=s*l,[o,100*(h=(h/=(t=(2-s)*l)<=1?t:2-t)||0),100*(u/=2)]},u.hwb.rgb=function(n){var t,h,u,o,s,c,l,b=n[0]/360,f=n[1]/100,M=n[2]/100,v=f+M;switch(v>1&&(f/=v,M/=v),h=1-M,u=6*b-(t=Math.floor(6*b)),0!=(1&t)&&(u=1-u),o=f+u*(h-f),t){default:case 6:case 0:s=h,c=o,l=f;break;case 1:s=o,c=h,l=f;break;case 2:s=f,c=h,l=o;break;case 3:s=f,c=o,l=h;break;case 4:s=o,c=f,l=h;break;case 5:s=h,c=f,l=o}return[255*s,255*c,255*l]},u.cmyk.rgb=function(n){var t=n[0]/100,h=n[1]/100,u=n[2]/100,o=n[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,h*(1-o)+o)),255*(1-Math.min(1,u*(1-o)+o))]},u.xyz.rgb=function(n){var t,h,u,o=n[0]/100,s=n[1]/100,c=n[2]/100;return h=-.9689*o+1.8758*s+.0415*c,u=.0557*o+-.204*s+1.057*c,t=(t=3.2406*o+-1.5372*s+-.4986*c)>.0031308?1.055*Math.pow(t,.4166666666666667)-.055:12.92*t,h=h>.0031308?1.055*Math.pow(h,.4166666666666667)-.055:12.92*h,u=u>.0031308?1.055*Math.pow(u,.4166666666666667)-.055:12.92*u,[255*(t=Math.min(Math.max(0,t),1)),255*(h=Math.min(Math.max(0,h),1)),255*(u=Math.min(Math.max(0,u),1))]},u.xyz.lab=function(n){var t=n[0],h=n[1],u=n[2];return h/=100,u/=108.883,t=(t/=95.047)>.008856?Math.pow(t,.3333333333333333):7.787*t+.13793103448275862,[116*(h=h>.008856?Math.pow(h,.3333333333333333):7.787*h+.13793103448275862)-16,500*(t-h),200*(h-(u=u>.008856?Math.pow(u,.3333333333333333):7.787*u+.13793103448275862))]},u.lab.xyz=function(n){var t,h,u,o=n[0],s=n[1],c=n[2];t=s/500+(h=(o+16)/116),u=h-c/200;var l=Math.pow(h,3),b=Math.pow(t,3),f=Math.pow(u,3);return h=l>.008856?l:(h-.13793103448275862)/7.787,t=b>.008856?b:(t-.13793103448275862)/7.787,u=f>.008856?f:(u-.13793103448275862)/7.787,[t*=95.047,h*=100,u*=108.883]},u.lab.lch=function(n){var t,h=n[0],u=n[1],o=n[2];return(t=360*Math.atan2(o,u)/2/Math.PI)<0&&(t+=360),[h,Math.sqrt(u*u+o*o),t]},u.lch.lab=function(n){var t,h=n[0],u=n[1];return t=n[2]/360*2*Math.PI,[h,u*Math.cos(t),u*Math.sin(t)]},u.rgb.ansi16=function(n){var t=n[0],h=n[1],o=n[2],s=1 in arguments?arguments[1]:u.rgb.hsv(n)[2];if(0===(s=Math.round(s/50)))return 30;var c=30+(Math.round(o/255)<<2|Math.round(h/255)<<1|Math.round(t/255));return 2===s&&(c+=60),c},u.hsv.ansi16=function(n){return u.rgb.ansi16(u.hsv.rgb(n),n[2])},u.rgb.ansi256=function(n){var t=n[0],h=n[1],u=n[2];return t===h&&h===u?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(h/255*5)+Math.round(u/255*5)},u.ansi16.rgb=function(n){var t=n%10;if(0===t||7===t)return n>50&&(t+=3.5),[t=t/10.5*255,t,t];var h=.5*(1+~~(n>50));return[(1&t)*h*255,(t>>1&1)*h*255,(t>>2&1)*h*255]},u.ansi256.rgb=function(n){if(n>=232){var t=10*(n-232)+8;return[t,t,t]}var h;return n-=16,[Math.floor(n/36)/5*255,Math.floor((h=n%36)/6)/5*255,h%6/5*255]},u.rgb.hex=function(n){var t=(((255&Math.round(n[0]))<<16)+((255&Math.round(n[1]))<<8)+(255&Math.round(n[2]))).toString(16).toUpperCase();return'000000'.substring(t.length)+t},u.hex.rgb=function(n){var t=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var h=t[0];3===t[0].length&&(h=h.split('').map(function(n){return n+n}).join(''));var u=parseInt(h,16);return[u>>16&255,u>>8&255,255&u]},u.rgb.hcg=function(n){var t,h,u=n[0]/255,o=n[1]/255,s=n[2]/255,c=Math.max(Math.max(u,o),s),l=Math.min(Math.min(u,o),s),b=c-l;return t=b<1?l/(1-b):0,h=b<=0?0:c===u?(o-s)/b%6:c===o?2+(s-u)/b:4+(u-o)/b+4,h/=6,[360*(h%=1),100*b,100*t]},u.hsl.hcg=function(n){var t=n[1]/100,h=n[2]/100,u=1,o=0;return(u=h<.5?2*t*h:2*t*(1-h))<1&&(o=(h-.5*u)/(1-u)),[n[0],100*u,100*o]},u.hsv.hcg=function(n){var t=n[1]/100,h=n[2]/100,u=t*h,o=0;return u<1&&(o=(h-u)/(1-u)),[n[0],100*u,100*o]},u.hcg.rgb=function(n){var t=n[0]/360,h=n[1]/100,u=n[2]/100;if(0===h)return[255*u,255*u,255*u];var o,s=[0,0,0],c=t%1*6,l=c%1,b=1-l;switch(Math.floor(c)){case 0:s[0]=1,s[1]=l,s[2]=0;break;case 1:s[0]=b,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=l;break;case 3:s[0]=0,s[1]=b,s[2]=1;break;case 4:s[0]=l,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=b}return o=(1-h)*u,[255*(h*s[0]+o),255*(h*s[1]+o),255*(h*s[2]+o)]},u.hcg.hsv=function(n){var t=n[1]/100,h=t+n[2]/100*(1-t),u=0;return h>0&&(u=t/h),[n[0],100*u,100*h]},u.hcg.hsl=function(n){var t=n[1]/100,h=n[2]/100*(1-t)+.5*t,u=0;return h>0&&h<.5?u=t/(2*h):h>=.5&&h<1&&(u=t/(2*(1-h))),[n[0],100*u,100*h]},u.hcg.hwb=function(n){var t=n[1]/100,h=t+n[2]/100*(1-t);return[n[0],100*(h-t),100*(1-h)]},u.hwb.hcg=function(n){var t=n[1]/100,h=1-n[2]/100,u=h-t,o=0;return u<1&&(o=(h-u)/(1-u)),[n[0],100*u,100*o]},u.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]},u.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]},u.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]},u.gray.hsl=u.gray.hsv=function(n){return[0,0,n[0]]},u.gray.hwb=function(n){return[0,100,n[0]]},u.gray.cmyk=function(n){return[0,0,0,n[0]]},u.gray.lab=function(n){return[n[0],0,0]},u.gray.hex=function(n){var t=255&Math.round(n[0]/100*255),h=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return'000000'.substring(h.length)+h},u.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]}},2027,[2023]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);function t(){for(var t={},u=Object.keys(n),c=u.length,o=0;o0&&void 0!==arguments[0]?arguments[0]:o;t.LayoutAnimation.configureNext(t.LayoutAnimation.create(n,t.LayoutAnimation.Types.easeInEaseOut,t.LayoutAnimation.Properties.opacity))};var t=r(d[0]),o=300},2042,[25]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),u=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7])),y=t(r(d[8])),h=t(r(d[9])),b=r(d[10]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=(function(t){(0,c.default)(C,t);var v,_,k=(v=C,_=p(),function(){var t,n=(0,h.default)(v);if(_){var o=(0,h.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,y.default)(this,t)});function C(){var t;return(0,s.default)(this,C),(t=k.apply(this,arguments))._onKeyboardChange=t._onKeyboardChange.bind((0,f.default)(t)),t._subscriptions=[],t.state={bottom:0},t}return(0,l.default)(C,[{key:"_relativeKeyboardHeight",value:function(t){if(!t)return 0;var n=b.Dimensions.get('window').height,o=t.screenY-this.props.keyboardVerticalOffset;return Math.max(n-o,0)}},{key:"_onKeyboardChange",value:function(t){if(null!==t){var n=t.duration,o=t.easing,u=t.endCoordinates,s=this._relativeKeyboardHeight(u);this.state.bottom!==s&&(n&&o&&b.LayoutAnimation.configureNext({duration:n,update:{duration:n,type:b.LayoutAnimation.Types[o]||'keyboard'}}),this.setState({bottom:s}))}else this.setState({bottom:0})}},{key:"componentDidMount",value:function(){'ios'===b.Platform.OS&&(this._subscriptions=[b.Keyboard.addListener('keyboardWillChangeFrame',this._onKeyboardChange)])}},{key:"componentWillUnmount",value:function(){this._subscriptions.forEach(function(t){t.remove()})}},{key:"render",value:function(){var t=this.props,s=t.children,l=t.enabled,f=(t.keyboardVerticalOffset,t.style),c=(0,u.default)(t,["children","enabled","keyboardVerticalOffset","style"]),y=f;if('ios'===b.Platform.OS){var h=l?this.state.bottom:0;y=b.StyleSheet.compose(f,{paddingBottom:h})}return(0,n.createElement)(b.View,(0,o.default)({style:y},c),s)}}]),C})(n.Component);v.defaultProps={enabled:!0,keyboardVerticalOffset:0};var _=v;e.default=_},2043,[5,946,24,67,7,42,60,57,59,56,25]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BottomSheetConsumer=e.BottomSheetProvider=e.BottomSheetContext=void 0;var t=r(d[0]),o=r(d[1]);'android'===t.Platform.OS&&t.UIManager.setLayoutAnimationEnabledExperimental&&t.UIManager.setLayoutAnimationEnabledExperimental(!0);var n=(0,o.createContext)({isBottomSheetContentScrolling:!1,shouldEnableBottomSheetScroll:function(){},shouldEnableBottomSheetMaxHeight:function(){},onHandleClosingBottomSheet:function(){},onHandleHardwareButtonPress:function(){}});e.BottomSheetContext=n;var l=n.Provider,u=n.Consumer;e.BottomSheetConsumer=u,e.BottomSheetProvider=l},2044,[25,946]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HTMLTextInput=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),p=r(d[8]),f=r(d[9]),v=r(d[10]),y=r(d[11]),T=r(d[12]),P=r(d[13]),x=t(r(d[14]));function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var b="ios"===p.Platform.OS?r(d[15]):r(d[16]),C=(function(t){(0,s.default)(C,t);var v,y,P=(v=C,y=E(),function(){var t,n=(0,h.default)(v);if(y){var l=(0,h.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function C(){var t;return(0,l.default)(this,C),(t=P.apply(this,arguments)).edit=t.edit.bind((0,u.default)(t)),t.stopEditing=t.stopEditing.bind((0,u.default)(t)),t.getHTMLForParent=t.getHTMLForParent.bind((0,u.default)(t)),(0,T.addFilter)('native.persist-html','html-text-input',t.getHTMLForParent),t.state={},t}return(0,o.default)(C,[{key:"componentWillUnmount",value:function(){(0,T.removeFilter)('native.persist-html','html-text-input'),this.stopEditing()}},{key:"edit",value:function(t){this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"getHTMLForParent",value:function(){return this.state.value}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var t=this.props.getStylesFromColorScheme,l=t(b.htmlView,b.htmlViewDark),o=t(b.placeholder,b.placeholderDark);return(0,n.createElement)(x.default,{parentHeight:this.props.parentHeight},(0,n.createElement)(p.TextInput,{autoCorrect:!1,accessibilityLabel:"html-view-title",textAlignVertical:"center",numberOfLines:1,style:b.htmlViewTitle,value:this.props.title,placeholder:(0,f.__)('Add title'),placeholderTextColor:o.color,onChangeText:this.props.editTitle}),(0,n.createElement)(p.TextInput,{autoCorrect:!1,accessibilityLabel:"html-view-content",textAlignVertical:"top",multiline:!0,style:l,value:this.state.value,onChangeText:this.edit,onBlur:this.stopEditing,placeholder:(0,f.__)('Start writing\u2026'),placeholderTextColor:o.color,scrollEnabled:x.default.scrollEnabled}))}}],[{key:"getDerivedStateFromProps",value:function(t,n){return n.isDirty?null:{value:t.value,isDirty:!1}}}]),C})(n.Component);e.HTMLTextInput=C;var D=(0,P.compose)([(0,y.withSelect)(function(t){var n=t('core/editor'),l=n.getEditedPostAttribute,o=n.getEditedPostContent;return{title:l('title'),value:o()}}),(0,y.withDispatch)(function(t){var n=t('core/editor'),l=n.editPost,o=n.resetEditorBlocks;return{editTitle:function(t){l({title:t})},onChange:function(t){l({content:t})},onPersist:function(t){var n=(0,v.parse)(t);o(n)}}}),P.withInstanceId,P.withPreferredColorScheme])(C);e.default=D},2045,[5,946,7,42,60,57,59,56,25,1027,1223,1076,4,1116,2046,2049,2050]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),s=t(r(d[7])),p=r(d[8]),h=t(r(d[9])),v=t(r(d[10]));function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,c.default)(S,t);var R,P,b=(R=S,P=y(),function(){var t,n=(0,s.default)(R);if(P){var u=(0,s.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function S(){var t;return(0,o.default)(this,S),(t=b.apply(this,arguments)).panResponder=p.PanResponder.create({onStartShouldSetPanResponderCapture:function(){return!0},onPanResponderMove:function(t,n){n.dy>100&&n.dy<110&&p.UIManager.blur(t.target)}}),t}return(0,f.default)(S,[{key:"render",value:function(){return(0,n.createElement)(h.default,(0,u.default)({style:v.default.keyboardAvoidingView},this.panResponder.panHandlers,{parentHeight:this.props.parentHeight}),this.props.children)}}]),S})(n.Component);R.scrollEnabled=!0;var P=R;e.default=P},2046,[5,946,24,7,42,57,59,56,25,2047,2049]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.KeyboardAvoidingView=void 0;var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),l=r(d[5]),f=t(r(d[6])),h=r(d[7]),v=t(r(d[8])),y=l.Animated.createAnimatedComponent(l.KeyboardAvoidingView),c=44,b=function(t){var b=t.parentHeight,w=t.style,A=t.withAnimatedHeight,V=void 0!==A&&A,L=(0,u.default)(t,["parentHeight","style","withAnimatedHeight"]),C=(0,h.useResizeObserver)(),K=(0,s.default)(C,2),S=K[0],p=K[1],H=(0,n.useState)(!1),k=(0,s.default)(H,2),E=k[0],I=k[1],R=(0,n.useState)(0),D=(0,s.default)(R,2),W=D[0],_=D[1],F=(p||{}).height,O=void 0===F?0:F,j=(0,n.useRef)(new l.Animated.Value(c)).current,z=l.Dimensions.get('window').height-b;function B(t){var n=t.safeAreaInsets;_(n.bottom)}function M(t){var n=t.endCoordinates;I(!0),j.setValue(n.height+c)}function N(t){var n=t.duration,o=t.startCoordinates,s=o.height>100?o.height/3:100,u=j.addListener(function(t){t.value2&&void 0!==arguments[2])||arguments[2],s=o.getScrollResponder();s&&s.scrollResponderScrollTo({x:t,y:n,animated:l})},o.scrollToEnd=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=o.getScrollResponder();n&&n.scrollResponderScrollToEnd({animated:t})},o.scrollForExtraHeightOnAndroid=function(t){o.scrollToPosition(0,o.position.y+t,!0)},o.scrollToFocusedInput=function(t,n,l){void 0===n&&(n=o.props.extraHeight||0),void 0===l&&(l=o.props.keyboardOpeningTime||0),setTimeout(function(){if(o.mountedComponent){var l=o.getScrollResponder();l&&l.scrollResponderScrollNativeHandleToKeyboard(t,n,!0)}},l)},o.scrollIntoView=function(t){var n,c,u,f,p,h,y,b,v,S,w=arguments;return l.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(n=w.length>1&&void 0!==w[1]?w[1]:{},o._rnkasv_keyboardView&&t){T.next=3;break}return T.abrupt("return");case 3:return T.next=5,l.default.awrap(Promise.all([o._measureElement(o._rnkasv_keyboardView),o._measureElement(t)]));case 5:c=T.sent,u=(0,s.default)(c,2),f=u[0],p=u[1],h=n.getScrollPosition||o._defaultGetScrollPosition,y=h(f,p,o.position),b=y.x,v=y.y,S=y.animated,o.scrollToPosition(b,v,S);case 12:case"end":return T.stop()}},null,null,null,Promise)},o._defaultGetScrollPosition=function(t,o,n){return{x:0,y:Math.max(0,o.y-t.y+n.y),animated:!0}},o._measureElement=function(t){var o=(0,w.findNodeHandle)(t);return new Promise(function(t){w.UIManager.measureInWindow(o,function(o,n,l,s){t({x:o,y:n,width:l,height:s})})})},o._updateKeyboardSpace=function(t){var n,s;return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:n=o._calculateLayoutDelayOnKeyboardWillOpen(Date.now()),o.props.enableAutomaticScroll&&(s=t.endCoordinates.height+o.props.extraBottomInset,o.props.viewIsInsideTabBar&&(s-=C),o.setState({keyboardSpace:s,keyboardEndCoordinatesScreenY:t.endCoordinates.screenY}),setTimeout(function(){o._refreshScrollForField(null)},n)),o.props.resetScrollToCoords||o.defaultResetScrollToCoords||(o.defaultResetScrollToCoords=o.position);case 3:case"end":return l.stop()}},null,null,null,Promise)},o._resetKeyboardSpace=function(){o.keyboardWillHideTime=Date.now();var t=o.props.viewIsInsideTabBar?C:0;o.setState({keyboardSpace:t,keyboardEndCoordinatesScreenY:void 0}),!1!==o.props.enableResetScrollToCoords?o.props.resetScrollToCoords?o.scrollToPosition(o.props.resetScrollToCoords.x,o.props.resetScrollToCoords.y,!0):o.defaultResetScrollToCoords?(o.scrollToPosition(o.defaultResetScrollToCoords.x,o.defaultResetScrollToCoords.y,!0),o.defaultResetScrollToCoords=null):o.scrollToPosition(0,0,!0):o.defaultResetScrollToCoords=null},o._scrollToFocusedInputWithNodeHandle=function(t,n,l){void 0===n&&(n=o.props.extraHeight);var s=w.default.findNodeHandle(t);o.scrollToFocusedInput(s,n+o._extraScrollHeight(),void 0!==l?l:o.props.keyboardOpeningTime||0)},o._handleOnScroll=function(t){o.position=t.nativeEvent.contentOffset},o._handleOnLayout=function(){o.parentLayout=null},o._handleRef=function(t){o._rnkasv_keyboardView=t?E.extractNativeRef(t):t,o.props.innerRef&&o.props.innerRef(o._rnkasv_keyboardView)},o.update=function(){var t=w.TextInput.State.currentlyFocusedField(),n=o.getScrollResponder();t&&n&&o._scrollToFocusedInputWithNodeHandle(t)},o.keyboardWillShowEvent=void 0,o.keyboardWillHideEvent=void 0,o.callbacks={},o.position={x:0,y:0},o.defaultResetScrollToCoords=null;var n=t.viewIsInsideTabBar?C:0;return o.state={keyboardSpace:n},o.refreshScrollForField=o._refreshScrollForField.bind((0,f.default)(o)),o}return(0,u.default)(O,[{key:"componentDidMount",value:function(){var t=this;return l.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:this.mountedComponent=!0,'ios'===w.Platform.OS?(this.keyboardWillShowEvent=w.Keyboard.addListener('keyboardWillShow',this._updateKeyboardSpace),this.keyboardWillHideEvent=w.Keyboard.addListener('keyboardWillHide',this._resetKeyboardSpace)):'android'===w.Platform.OS&&this.props.enableOnAndroid&&(this.keyboardWillShowEvent=w.Keyboard.addListener('keyboardDidShow',this._updateKeyboardSpace),this.keyboardWillHideEvent=w.Keyboard.addListener('keyboardDidHide',this._resetKeyboardSpace)),R.forEach(function(o){var n=A(o);t.props[n]&&(t.callbacks[o]=w.Keyboard.addListener(o,t.props[n]))});case 3:case"end":return o.stop()}},null,this,null,Promise)}},{key:"componentWillReceiveProps",value:function(t){if(t.viewIsInsideTabBar!==this.props.viewIsInsideTabBar){var o=t.viewIsInsideTabBar?C:0;this.state.keyboardSpace!==o&&this.setState({keyboardSpace:o})}}},{key:"componentWillUnmount",value:function(){this.mountedComponent=!1,this.keyboardWillShowEvent&&this.keyboardWillShowEvent.remove(),this.keyboardWillHideEvent&&this.keyboardWillHideEvent.remove(),Object.values(this.callbacks).forEach(function(t){return t.remove()})}},{key:"_calculateTopBottomDistanceIfNeeded",value:function(){var t,o,n;return l.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(this.parentLayout){s.next=8;break}return s.next=3,l.default.awrap(this._measureElement(this._rnkasv_keyboardView));case 3:t=s.sent,this.parentLayout=t,o=w.Dimensions.get('window'),n=o.height,this.bottomDistanceToWindow=n-(t.y+t.height),this.topDistanceToWindow=t.y;case 8:case"end":return s.stop()}},null,this,null,Promise)}},{key:"_wasKeyboardAlreadyOpen",value:function(t){return t-this.keyboardWillHideTimen+l}},{key:"_isFocusedAreaFitsInViewableArea",value:function(t,o,n,l){var s=o+n-t+this.props.extraScrollHeight,c=this.topDistanceToWindow;return l-this.props.inputAccessoryViewHeight-c>s}},{key:"_isCaretUnderKeyboard",value:function(t,o,n){return t+o>n-this.props.inputAccessoryViewHeight}},{key:"_isCaretAboveViewableArea",value:function(t){return this.topDistanceToWindow>t}},{key:"_isCaretOutOfViewableArea",value:function(t,o,n){return this._isCaretUnderKeyboard(t,o,n)||this._isCaretAboveViewableArea(t)}},{key:"_shouldScrollToBottomOfComponent",value:function(t,o,n,l,s,c){return this._isFocusedAreaFitsInViewableArea(n,t,o,c)&&this._isCaretAtLastLine(n,l,t,o,s)}},{key:"_scrollToBottomOfComponent",value:function(t,o,n){var l=this;w.UIManager.measureInWindow(t,function(s,c,u,f){l._doScrollToBottomOfComponent(t,c,f,o,n)})}},{key:"_extraScrollHeight",value:function(){var t=void 0!==this.state.keyboardEndCoordinatesScreenY?this.topDistanceToWindow:this._totalVerticalDistanceToWindow();return this.props.extraScrollHeight+t+this.props.inputAccessoryViewHeight}},{key:"_doScrollToBottomOfComponent",value:function(t,o,n,l,s,c){var u=o+n,f=l,p=this._extraScrollHeight()+this.props.extraHeight;if('ios'===w.Platform.OS)u>f-p&&this._scrollToFocusedInputWithNodeHandle(t,null,c);else if(u>f){var h=s-(u-f);this.setState({adjustedKeyboardSpace:h}),this.scrollForExtraHeightOnAndroid(p)}else u>f-p&&this.scrollForExtraHeightOnAndroid(p-(f-u))}},{key:"render",value:function(){var o,l=this.props,s=l.enableOnAndroid,c=l.contentContainerStyle,u=l.onScroll,f=l.onLayout;'android'===w.Platform.OS&&s&&(o=[].concat(c).concat({paddingBottom:((c||{}).paddingBottom||0)+this.state.keyboardSpace}));var p=(0,b.default)({},E.refPropName,this._handleRef);return v.default.createElement(t,(0,n.default)({},p,{keyboardDismissMode:"interactive",contentInset:{bottom:this.state.keyboardSpace},automaticallyAdjustContentInsets:!1,showsVerticalScrollIndicator:!0,scrollEventThrottle:1},this.props,{contentContainerStyle:o||c,keyboardSpace:this.state.keyboardSpace,getScrollResponder:this.getScrollResponder,scrollToPosition:this.scrollToPosition,refreshScrollForField:this.refreshScrollForField,scrollToEnd:this.scrollToEnd,scrollForExtraHeightOnAndroid:this.scrollForExtraHeightOnAndroid,scrollToFocusedInput:this.scrollToFocusedInput,scrollIntoView:this.scrollIntoView,resetKeyboardSpace:this._resetKeyboardSpace,handleOnScroll:this._handleOnScroll,handleOnLayout:this._handleOnLayout,update:this.update,onScroll:w.Animated.forkEvent(u,this._handleOnScroll),onLayout:w.Animated.forkEvent(f,this._handleOnLayout)}))}}]),O})(v.default.Component),T.displayName="KeyboardAware"+((W=t)&&(W.displayName||W.name)||'Component'),T.propTypes=O({viewIsInsideTabBar:S.default.bool,resetScrollToCoords:S.default.shape({x:S.default.number.isRequired,y:S.default.number.isRequired}),enableResetScrollToCoords:S.default.bool,enableAutomaticScroll:S.default.bool,extraHeight:S.default.number,extraScrollHeight:S.default.number,keyboardOpeningTime:S.default.number,onScroll:S.default.oneOfType([S.default.func,S.default.object]),onLayout:S.default.oneOfType([S.default.func,S.default.object]),update:S.default.func,contentContainerStyle:S.default.any,enableOnAndroid:S.default.bool,innerRef:S.default.func},D),T.defaultProps={enableAutomaticScroll:E.enableAutomaticScroll,extraHeight:E.extraHeight,extraScrollHeight:E.extraScrollHeight,extraBottomInset:E.extraBottomInset,inputAccessoryViewHeight:E.inputAccessoryViewHeight,enableResetScrollToCoords:E.enableResetScrollToCoords,keyboardOpeningTime:E.keyboardOpeningTime,viewIsInsideTabBar:E.viewIsInsideTabBar,enableOnAndroid:E.enableOnAndroid},_}var E=function(t){return'object'==typeof t?function(o){return W(o,t)}:W(t)};e.default=E},2053,[32,5,24,282,36,7,42,60,57,59,56,66,71,83,25,1960]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=(0,l(r(d[2])).default)(t.ScrollView);e.default=u},2054,[5,25,2053]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=(0,t(r(d[2])).default)(l.FlatList);e.default=u},2055,[5,25,2053]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),f=(0,t(r(d[2])).default)(u.SectionList);e.default=f},2056,[5,25,2053]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),l=r(d[3]),o=r(d[4]),s=t(r(d[5])),f=2,c=function(t){var c=t.align,w=t.reversed,E=t.children,h=t.style,N=l.Dimensions.get('window'),v=N.width,I=N.height,A=(0,n.useState)(v),T=(0,u.default)(A,2),_=T[0],L=T[1],M=(0,n.useState)(v/I),S=(0,u.default)(M,2),C=S[0],D=S[1];function G(t){var n=t.window;L(n.width),D(n.width/n.height)}return(0,n.useEffect)(function(){return l.Dimensions.addEventListener('change',G),function(){l.Dimensions.removeEventListener('change',G)}},[]),(0,n.createElement)(l.View,{style:s.default.container},(0,n.createElement)(l.View,{style:[w?s.default.reversedCenteredContent:s.default.centeredContent,h,s.default[c],c===o.WIDE_ALIGNMENTS.alignments.wide&&(C>=f&&_=o.ALIGNMENT_BREAKPOINTS.medium&&_s.default.centeredContent.maxWidth};var w=c;e.default=w},2057,[5,946,36,25,1696,2058]); -__d(function(g,r,i,a,m,e,d){m.exports={container:{alignItems:"center"},centeredContent:{width:"100%",maxWidth:580},reversedCenteredContent:{flexDirection:"column-reverse",width:"100%",maxWidth:580},full:{maxWidth:"100%"},wide:{maxWidth:1054},wideMedium:{maxWidth:770},wideLandscape:{maxWidth:662}}},2058,[]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=l(r(d[2])),t=l(r(d[3])),s=l(r(d[4]));var u=function(l){var u=l.help,c=l.instanceId,p=l.label,h=l.multiple,b=void 0!==h&&h,v=l.onChange,f=l.options,_=void 0===f?[]:f,V=l.className,C=l.hideLabelFromVision,F=(0,t.default)(l,["help","instanceId","label","multiple","onChange","options","className","hideLabelFromVision"]),L="inspector-select-control-"+c;return(0,o.createElement)(s.default,(0,n.default)({label:p,hideLabelFromVision:C,id:L,help:u,className:V,onChangeValue:v,"aria-describedby":u?L+"__help":void 0,multiple:b,options:_},F))};e.default=u},2059,[5,946,24,67,1867]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getGradientAngle=b,e.getGradientColorGroup=C,e.getGradientBaseColors=E,e.getColorLocations=O,e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=t(r(d[7])),p=t(r(d[8])),v=r(d[9]),h=r(d[10]),y=r(d[11]),G=t(r(d[12]));function b(t){var n=/\(((\d+deg)|(to\s[^,]+))/,o=n.exec(t)?n.exec(t)[1]:'180deg',l=o.includes('deg')?'angle':'sideOrCorner';if('sideOrCorner'!==l)return'angle'===l?parseFloat(o):180;switch(o){case'to top':return 0;case'to top right':case'to right top':return 45;case'to right':return 90;case'to bottom right':case'to right bottom':return 135;case'to bottom':return 180;case'to bottom left':case'to left bottom':return 225;case'to left':return 270;case'to top left':case'to left top':return 315}}function C(t){var n,o,l=['rgb','rgba'],u=t.replace(/linear-gradient\(to\s+([a-z\s]+,)/,'linear-gradient(');return(n=[]).concat.apply(n,(0,c.default)(null==(o=p.default.parse(u))?void 0:o.map(function(t){var n;return null==(n=t.colorStops)?void 0:n.map(function(n,o){var u=n.type,c=n.value,s=n.length,f=o/(t.colorStops.length-1)*100+"%",p=s?""+s.value+s.type:f;return l.includes(u)?[u+"("+c.join(',')+")",p]:'literal'===u?[c,p]:["#"+c,p]})})))}function E(t){return t.map(function(t){return t[0]})}function O(t){return t.map(function(t){return Number(t[1].replace('%',''))/100})}var w=function(t){var c=t.gradientValue,p=t.style,w=t.angleCenter,S=void 0===w?{x:.5,y:.5}:w,U=t.children,V=(0,u.default)(t,["gradientValue","style","angleCenter","children"]),x=(0,y.useResizeObserver)(),M=(0,l.default)(x,2),_=M[0],R=M[1]||{},j=R.width,z=void 0===j?0:j,A=R.height,P=void 0===A?0:A,k=v.colorsUtils.isGradient,B=v.colorsUtils.getGradientType,D=v.colorsUtils.gradients,F=(0,n.useMemo)(function(){return C(c)},[c]),L=(0,n.useMemo)(function(){return O(F)},[F]),N=(0,n.useMemo)(function(){return E(F)},[F]);return c&&k(c)?B(c)===D.linear?(0,n.createElement)(f.default,(0,o.default)({colors:N,useAngle:!0,angle:b(c),locations:L,angleCenter:S,style:p},V),U):(0,n.createElement)(s.View,{style:[p,G.default.overflow]},(0,n.createElement)(s.View,{style:G.default.radialGradientContent},U),_,(0,n.createElement)(h.SVG,null,(0,n.createElement)(h.Defs,null,(0,n.createElement)(h.RadialGradient,{id:"radialGradient",gradientUnits:"userSpaceOnUse",rx:"70%",ry:"70%",cy:'android'===s.Platform.OS?z/2:'50%'},F.map(function(t){return(0,n.createElement)(h.Stop,{offset:t[1],stopColor:t[0],stopOpacity:"1",key:t[1]+"-"+t[0]})}))),(0,n.createElement)(h.Rect,{height:P,width:z,fill:"url(#radialGradient)"}))):null};e.default=w},2060,[5,946,24,36,67,14,25,1706,2061,1696,1250,1116,2062]); -__d(function(g,r,i,a,m,e,d){var t={};t.parse=(function(){var t={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},n='';function o(t){var o=new Error(n+': '+t);throw o.source=n,o}function l(){return u('linear-gradient',t.linearGradient,c)||u('repeating-linear-gradient',t.repeatingLinearGradient,c)||u('radial-gradient',t.radialGradient,p)||u('repeating-radial-gradient',t.repeatingRadialGradient,p)}function u(n,l,u){return s(l,function(l){var s=u();return s&&(K(t.comma)||o('Missing comma before color stops')),{type:n,orientation:s,colorStops:C(w)}})}function s(n,l){var u=K(n);if(u)return K(t.startCall)||o('Missing ('),result=l(u),K(t.endCall)||o('Missing )'),result}function c(){return z('directional',t.sideOrCorner,1)||z('angular',t.angleValue,1)}function p(){var o,l,u=f();return u&&((o=[]).push(u),l=n,K(t.comma)&&((u=f())?o.push(u):n=l)),o}function f(){var t=v()||b();if(t)t.at=x();else{var n=y();n&&(t={type:'default-radial',at:n})}return t}function v(){var t=z('shape',/^(circle)/i,0);return t&&(t.style=k()||h()),t}function b(){var t=z('shape',/^(ellipse)/i,0);return t&&(t.style=V()||h()),t}function h(){return z('extent-keyword',t.extentKeywords,1)}function x(){if(z('position',/^at/,0)){var t=y();return t||o('Missing positioning value'),t}}function y(){var t={x:V(),y:V()};if(t.x||t.y)return{type:'position',value:t}}function C(n){var l=n(),u=[];if(l)for(u.push(l);K(t.comma);)(l=n())?u.push(l):o('One extra comma');return u}function w(){var n=z('hex',t.hexColor,1)||s(t.rgbaColor,function(){return{type:'rgba',value:C(G)}})||s(t.rgbColor,function(){return{type:'rgb',value:C(G)}})||z('literal',t.literalColor,0);return n||o('Expected color definition'),n.length=V(),n}function G(){return K(t.number)[1]}function V(){return z('%',t.percentageValue,1)||z('position-keyword',t.positionKeywords,1)||k()}function k(){return z('px',t.pixelValue,1)||z('em',t.emValue,1)}function z(t,n,o){var l=K(n);if(l)return{type:t,value:l[o]}}function K(t){var o,l;return(l=/^[\n\r\t\s]+/.exec(n))&&M(l[0].length),(o=t.exec(n))&&M(o[0].length),o}function M(t){n=n.substr(t)}return function(t){return n=t.toString(),u=C(l),n.length>0&&o('Invalid input not EOF'),u;var u}})(),e.parse=t.parse},2061,[]); -__d(function(g,r,i,a,m,e,d){m.exports={overflow:{overflow:"hidden"},radialGradientContent:{position:"absolute",zIndex:2}}},2062,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),u=r(d[4]),c=t(r(d[5])),s=t(r(d[6])),h=t(r(d[7])),S=r(d[8]),f=(0,n.memo)(function(t){var o=t.defaultSettings,l=t.onHandleClosingBottomSheet,f=t.shouldEnableBottomSheetMaxHeight,C=t.onColorChange,E=t.colorValue,v=t.gradientValue,B=t.onGradientChange,b=t.label;return(0,n.useEffect)(function(){f(!0),l(null)},[]),(0,n.createElement)(u.BottomSheet.NavigationContainer,null,(0,n.createElement)(u.BottomSheet.NavigationScreen,{name:S.colorsUtils.screens.palette,initialParams:{defaultSettings:o,onColorChange:C,colorValue:E,gradientValue:v,onGradientChange:B,label:b}},(0,n.createElement)(h.default,null)),(0,n.createElement)(u.BottomSheet.NavigationScreen,{name:S.colorsUtils.screens.picker},(0,n.createElement)(c.default,null)),(0,n.createElement)(u.BottomSheet.NavigationScreen,{name:S.colorsUtils.screens.gradientPicker},(0,n.createElement)(s.default,null)))});var C=function(t){var c=(0,l.useRoute)(),s=(0,n.useContext)(u.BottomSheetContext),h=s.onHandleClosingBottomSheet,S=s.shouldEnableBottomSheetMaxHeight;return(0,n.createElement)(f,(0,o.default)({onHandleClosingBottomSheet:h,shouldEnableBottomSheetMaxHeight:S},t,c.params))};e.default=C},2063,[5,946,24,1873,1696,2064,2065,2072,1699]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=r(d[2]),l=r(d[3]),u=o(r(d[4])),s=function(){var o=(0,n.useRoute)(),s=(0,n.useNavigation)(),h=(0,t.useContext)(l.BottomSheetContext),S=h.onShouldEnableInnerHandling,c=h.shouldEnableBottomSheetMaxHeight,B=h.onHandleClosingBottomSheet,C=h.isBottomSheetContentScrolling,H=h.shouldEnableBottomSheetScroll,v=h.onHandleHardwareButtonPress,b=o.params,f=b.setColor,E=b.currentValue,x=b.isGradientColor;return(0,t.useMemo)(function(){return(0,t.createElement)(u.default,{onShouldEnableInnerHandling:S,shouldEnableBottomSheetMaxHeight:c,setColor:f,activeColor:E,isGradientColor:x,onNavigationBack:s.goBack,onHandleClosingBottomSheet:B,isBottomSheetContentScrolling:C,shouldEnableBottomSheetScroll:H,onHandleHardwareButtonPress:v})},[f,E,x,S,c,B,C,H,v])};e.default=s},2064,[5,946,1873,1696,1702]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=r(d[2]),l=r(d[3]),o=r(d[4]),s=t(r(d[5])),c=t(r(d[6])),f=function(){var t=(0,l.useNavigation)(),f=(0,l.useRoute)().params,v=f.setColor,_=f.currentValue,C=f.isGradientColor;return(0,n.createElement)(u.View,null,(0,n.createElement)(c.default,{screen:(0,o.__)('Customize Gradient'),leftButtonOnPress:t.goBack}),(0,n.createElement)(s.default,{setColor:v,currentValue:_,isGradientColor:C}))};e.default=f},2065,[5,946,25,1873,1027,2066,2071]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=r(d[6]),f=r(d[7]),p=r(d[8]),O=r(d[9]),y=r(d[10]),b=t(r(d[11]));function v(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function E(t){for(var n=1;n0&&B<(null==J?void 0:J.width)?B:$},D&&{width:y.default.wide.width},M&&y.default.focalPointContainer],te=[{opacity:V?.3:1,height:null==J?void 0:J.height},M&&y.default.focalPoint,M&&(0,p.getImageWithFocalPointStyles)(M,J,W),!M&&W&&J&&{height:(null==W?void 0:W.width)>(null==J?void 0:J.width)?(null==J?void 0:J.width)/(null==W?void 0:W.aspectRatio):void 0},O&&{height:O},x];return(0,l.createElement)(u.View,{style:[y.default.container,W&&C&&{alignItems:C}],onLayout:function(t){var l=t.nativeEvent.layout,o=l.height,n=l.width;0===n||0===o||(null==J?void 0:J.width)===n&&(null==J?void 0:J.height)===o||K({width:n,height:o})}},(0,l.createElement)(u.View,{accessible:!0,disabled:!b,accessibilityLabel:S,accessibilityHint:(0,c.__)('Double tap and hold to edit'),accessibilityRole:'imagebutton',key:z,style:ee},b&&!(V||F)&&(0,l.createElement)(u.View,{style:[y.default.imageBorder,{height:null==J?void 0:J.height}]}),W?(0,l.createElement)(u.View,{style:M&&y.default.focalPointContent},(0,l.createElement)(u.Image,(0,o.default)({},!D&&{aspectRatio:null==W?void 0:W.aspectRatio},{style:te,source:{uri:z}},!M&&{resizeMethod:'scale'},{resizeMode:D}))):(0,l.createElement)(u.View,{style:Z},(0,l.createElement)(u.View,{style:y.default.imageUploadingIconContainer},Q(P))),F&&L&&(0,l.createElement)(u.View,{style:[y.default.imageContainer,y.default.retryContainer]},(0,l.createElement)(u.View,{style:[y.default.retryIcon,T&&y.default.customRetryIcon]},Q(I)),(0,l.createElement)(u.Text,{style:y.default.uploadFailedText},L)),_&&b&&!V&&(0,l.createElement)(v.default,{onSelectMediaUploadOption:R,openMediaOptions:A,url:!F&&W&&z,pickerOptions:k})))};e.default=C},2085,[5,946,24,36,25,1027,1696,1247,1116,2086,2087,2088,2089]); -__d(function(g,r,i,a,m,e,d){function t(t,h,o,n){var f=Math.floor(h/2),l=Math.floor(o/t),u=Math.floor(n*l),c=u-f,v=l-u,w=h-f;return vv?(l=t(v,o.width,n.width,h.x),f.width=void 0,f.left=l):c1&&void 0!==arguments[1]?arguments[1]:100;if(isNaN(t))throw new Error('Specified time is not a number');'ios'===b.Platform.OS?n.setNativeProps({seek:{time:t,tolerance:o}}):n.setNativeProps({seek:t})},n.presentFullscreenPlayer=function(){n.setNativeProps({fullscreen:!0})},n.dismissFullscreenPlayer=function(){n.setNativeProps({fullscreen:!1})},n.save=function(t){return u.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,u.default.awrap(b.NativeModules.VideoManager.save(t,(0,b.findNodeHandle)(n._root)));case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}},null,null,null,Promise)},n.restoreUserInterfaceForPictureInPictureStopCompleted=function(t){n.setNativeProps({restoreUserInterfaceForPIPStopCompletionHandler:t})},n._assignRoot=function(t){n._root=t},n._hidePoster=function(){n.state.showPoster&&n.setState({showPoster:!1})},n._onLoadStart=function(t){n.props.onLoadStart&&n.props.onLoadStart(t.nativeEvent)},n._onLoad=function(t){'windows'===b.Platform.OS&&n._hidePoster(),n.props.onLoad&&n.props.onLoad(t.nativeEvent)},n._onError=function(t){n.props.onError&&n.props.onError(t.nativeEvent)},n._onProgress=function(t){n.props.onProgress&&n.props.onProgress(t.nativeEvent)},n._onBandwidthUpdate=function(t){n.props.onBandwidthUpdate&&n.props.onBandwidthUpdate(t.nativeEvent)},n._onSeek=function(t){n.props.onSeek&&n.props.onSeek(t.nativeEvent)},n._onEnd=function(t){n.props.onEnd&&n.props.onEnd(t.nativeEvent)},n._onTimedMetadata=function(t){n.props.onTimedMetadata&&n.props.onTimedMetadata(t.nativeEvent)},n._onFullscreenPlayerWillPresent=function(t){n.props.onFullscreenPlayerWillPresent&&n.props.onFullscreenPlayerWillPresent(t.nativeEvent)},n._onFullscreenPlayerDidPresent=function(t){n.props.onFullscreenPlayerDidPresent&&n.props.onFullscreenPlayerDidPresent(t.nativeEvent)},n._onFullscreenPlayerWillDismiss=function(t){n.props.onFullscreenPlayerWillDismiss&&n.props.onFullscreenPlayerWillDismiss(t.nativeEvent)},n._onFullscreenPlayerDidDismiss=function(t){n.props.onFullscreenPlayerDidDismiss&&n.props.onFullscreenPlayerDidDismiss(t.nativeEvent)},n._onReadyForDisplay=function(t){n._hidePoster(),n.props.onReadyForDisplay&&n.props.onReadyForDisplay(t.nativeEvent)},n._onPlaybackStalled=function(t){n.props.onPlaybackStalled&&n.props.onPlaybackStalled(t.nativeEvent)},n._onPlaybackResume=function(t){n.props.onPlaybackResume&&n.props.onPlaybackResume(t.nativeEvent)},n._onPlaybackRateChange=function(t){n.props.onPlaybackRateChange&&n.props.onPlaybackRateChange(t.nativeEvent)},n._onExternalPlaybackChange=function(t){n.props.onExternalPlaybackChange&&n.props.onExternalPlaybackChange(t.nativeEvent)},n._onAudioBecomingNoisy=function(){n.props.onAudioBecomingNoisy&&n.props.onAudioBecomingNoisy()},n._onPictureInPictureStatusChanged=function(t){n.props.onPictureInPictureStatusChanged&&n.props.onPictureInPictureStatusChanged(t.nativeEvent)},n._onRestoreUserInterfaceForPictureInPictureStop=function(t){n.props.onRestoreUserInterfaceForPictureInPictureStop&&n.props.onRestoreUserInterfaceForPictureInPictureStop()},n._onAudioFocusChanged=function(t){n.props.onAudioFocusChanged&&n.props.onAudioFocusChanged(t.nativeEvent)},n._onBuffer=function(t){n.props.onBuffer&&n.props.onBuffer(t.nativeEvent)},n.getViewManagerConfig=function(t){return b.NativeModules.UIManager.getViewManagerConfig?b.NativeModules.UIManager.getViewManagerConfig(t):b.NativeModules.UIManager[t]},n.state={showPoster:!!t.poster},n}return(0,f.default)(S,[{key:"setNativeProps",value:function(t){this._root.setNativeProps(t)}},{key:"toTypeString",value:function(t){switch(typeof t){case"object":return t instanceof Date?t.toISOString():JSON.stringify(t);case"undefined":return"";default:return t.toString()}}},{key:"stringsOnlyObject",value:function(t){var n=this,o={};return Object.keys(t).forEach(function(l){o[l]=n.toTypeString(t[l])}),o}},{key:"render",value:function(){var t=this.props.resizeMode,n=(0,v.default)(this.props.source)||{},o=!Boolean(n.__packager_asset),u=n.uri||'';u&&u.match(/^\//)&&(u="file://"+u),u||console.warn('Trying to load empty source.');var s,f=!(!u||!u.match(/^https?:/)),c=!(!u||!u.match(/^(assets-library|ipod-library|file|content|ms-appx|ms-appdata):/)),p=this.getViewManagerConfig('RCTVideo');s=t===F.default.stretch?p.Constants.ScaleToFill:t===F.default.contain?p.Constants.ScaleAspectFit:t===F.default.cover?p.Constants.ScaleAspectFill:p.Constants.ScaleNone;var y=(0,l.default)({},this.props);(0,l.default)(y,{style:[R.base,y.style],resizeMode:s,src:{uri:u,isNetwork:f,isAsset:c,shouldCache:o,type:n.type||'',mainVer:n.mainVer||0,patchVer:n.patchVer||0,requestHeaders:n.headers?this.stringsOnlyObject(n.headers):{}},onVideoLoadStart:this._onLoadStart,onVideoLoad:this._onLoad,onVideoError:this._onError,onVideoProgress:this._onProgress,onVideoSeek:this._onSeek,onVideoEnd:this._onEnd,onVideoBuffer:this._onBuffer,onVideoBandwidthUpdate:this._onBandwidthUpdate,onTimedMetadata:this._onTimedMetadata,onVideoAudioBecomingNoisy:this._onAudioBecomingNoisy,onVideoExternalPlaybackChange:this._onExternalPlaybackChange,onVideoFullscreenPlayerWillPresent:this._onFullscreenPlayerWillPresent,onVideoFullscreenPlayerDidPresent:this._onFullscreenPlayerDidPresent,onVideoFullscreenPlayerWillDismiss:this._onFullscreenPlayerWillDismiss,onVideoFullscreenPlayerDidDismiss:this._onFullscreenPlayerDidDismiss,onReadyForDisplay:this._onReadyForDisplay,onPlaybackStalled:this._onPlaybackStalled,onPlaybackResume:this._onPlaybackResume,onPlaybackRateChange:this._onPlaybackRateChange,onAudioFocusChanged:this._onAudioFocusChanged,onAudioBecomingNoisy:this._onAudioBecomingNoisy,onPictureInPictureStatusChanged:this._onPictureInPictureStatusChanged,onRestoreUserInterfaceForPictureInPictureStop:this._onRestoreUserInterfaceForPictureInPictureStop});var h=O(O({},b.StyleSheet.absoluteFillObject),{},{resizeMode:this.props.posterResizeMode||'contain'});return P.default.createElement(b.View,{style:y.style},P.default.createElement(V,(0,l.default)({ref:this._assignRoot},y,{style:b.StyleSheet.absoluteFill})),this.state.showPoster&&P.default.createElement(b.Image,{style:h,source:{uri:this.props.poster}}))}}]),S})(P.Component);e.default=C,C.propTypes=O({filter:h.default.oneOf([E.default.NONE,E.default.INVERT,E.default.MONOCHROME,E.default.POSTERIZE,E.default.FALSE,E.default.MAXIMUMCOMPONENT,E.default.MINIMUMCOMPONENT,E.default.CHROME,E.default.FADE,E.default.INSTANT,E.default.MONO,E.default.NOIR,E.default.PROCESS,E.default.TONAL,E.default.TRANSFER,E.default.SEPIA]),filterEnabled:h.default.bool,src:h.default.object,seek:h.default.oneOfType([h.default.number,h.default.object]),fullscreen:h.default.bool,onVideoLoadStart:h.default.func,onVideoLoad:h.default.func,onVideoBuffer:h.default.func,onVideoError:h.default.func,onVideoProgress:h.default.func,onVideoBandwidthUpdate:h.default.func,onVideoSeek:h.default.func,onVideoEnd:h.default.func,onTimedMetadata:h.default.func,onVideoAudioBecomingNoisy:h.default.func,onVideoExternalPlaybackChange:h.default.func,onVideoFullscreenPlayerWillPresent:h.default.func,onVideoFullscreenPlayerDidPresent:h.default.func,onVideoFullscreenPlayerWillDismiss:h.default.func,onVideoFullscreenPlayerDidDismiss:h.default.func,source:h.default.oneOfType([h.default.shape({uri:h.default.string}),h.default.number]),minLoadRetryCount:h.default.number,maxBitRate:h.default.number,resizeMode:h.default.string,poster:h.default.string,posterResizeMode:b.Image.propTypes.resizeMode,repeat:h.default.bool,allowsExternalPlayback:h.default.bool,selectedAudioTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),selectedVideoTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),selectedTextTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),textTracks:h.default.arrayOf(h.default.shape({title:h.default.string,uri:h.default.string.isRequired,type:h.default.oneOf([S.default.SRT,S.default.TTML,S.default.VTT]),language:h.default.string.isRequired})),paused:h.default.bool,muted:h.default.bool,volume:h.default.number,bufferConfig:h.default.shape({minBufferMs:h.default.number,maxBufferMs:h.default.number,bufferForPlaybackMs:h.default.number,bufferForPlaybackAfterRebufferMs:h.default.number}),stereoPan:h.default.number,rate:h.default.number,pictureInPicture:h.default.bool,playInBackground:h.default.bool,playWhenInactive:h.default.bool,ignoreSilentSwitch:h.default.oneOf(['ignore','obey']),reportBandwidth:h.default.bool,disableFocus:h.default.bool,controls:h.default.bool,audioOnly:h.default.bool,currentTime:h.default.number,fullscreenAutorotate:h.default.bool,fullscreenOrientation:h.default.oneOf(['all','landscape','portrait']),progressUpdateInterval:h.default.number,useTextureView:h.default.bool,hideShutterView:h.default.bool,onLoadStart:h.default.func,onLoad:h.default.func,onBuffer:h.default.func,onError:h.default.func,onProgress:h.default.func,onBandwidthUpdate:h.default.func,onSeek:h.default.func,onEnd:h.default.func,onFullscreenPlayerWillPresent:h.default.func,onFullscreenPlayerDidPresent:h.default.func,onFullscreenPlayerWillDismiss:h.default.func,onFullscreenPlayerDidDismiss:h.default.func,onReadyForDisplay:h.default.func,onPlaybackStalled:h.default.func,onPlaybackResume:h.default.func,onPlaybackRateChange:h.default.func,onAudioFocusChanged:h.default.func,onAudioBecomingNoisy:h.default.func,onPictureInPictureStatusChanged:h.default.func,needsToRestoreUserInterfaceForPictureInPictureStop:h.default.func,onExternalPlaybackChange:h.default.func,scaleX:h.default.number,scaleY:h.default.number,translateX:h.default.number,translateY:h.default.number,rotation:h.default.number},b.ViewPropTypes);var V=(0,b.requireNativeComponent)('RCTVideo',C,{nativeOnly:{src:!0,seek:!0,fullscreen:!0}})},2098,[32,5,66,24,282,7,42,57,59,56,71,83,25,191,2099,2100,2101]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={SRT:'application/x-subrip',TTML:'application/ttml+xml',VTT:'text/vtt'}},2099,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={NONE:'',INVERT:'CIColorInvert',MONOCHROME:'CIColorMonochrome',POSTERIZE:'CIColorPosterize',FALSE:'CIFalseColor',MAXIMUMCOMPONENT:'CIMaximumComponent',MINIMUMCOMPONENT:'CIMinimumComponent',CHROME:'CIPhotoEffectChrome',FADE:'CIPhotoEffectFade',INSTANT:'CIPhotoEffectInstant',MONO:'CIPhotoEffectMono',NOIR:'CIPhotoEffectNoir',PROCESS:'CIPhotoEffectProcess',TONAL:'CIPhotoEffectTonal',TRANSFER:'CIPhotoEffectTransfer',SEPIA:'CISepiaTone'}},2100,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={contain:"contain",cover:"cover",stretch:"stretch"}},2101,[]); -__d(function(g,r,i,a,m,e,d){m.exports={container:{backgroundColor:"#0000000a",borderRadius:4,flexDirection:"row",alignItems:"center"},containerDark:{backgroundColor:"#ffffff14"},iconContainer:{backgroundColor:"#0000000a",marginTop:12,marginRight:16,marginBottom:12,marginLeft:16,alignItems:"center",justifyContent:"center",width:37,height:37,borderRadius:18.5},iconContainerDark:{backgroundColor:"#ffffff14"},icon:{color:"#0009"},iconDark:{color:"#fff9"},iconDisabled:{color:"#0000003f"},iconDisabledDark:{color:"#ffffff3f"},disabledIcon:{color:"#000"},titleContainer:{paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:0,flexGrow:1,flexShrink:1,flexBasis:0},titleContainerIOS:{marginTop:-1},titleContainerAndroid:{marginTop:-2},title:{fontSize:17,marginBottom:1,color:"#000d"},titleDark:{color:"#fffd"},subtitleContainer:{flexDirection:"row",alignItems:"center"},subtitle:{fontSize:12,color:"#0009"},subtitleDark:{color:"#fff9"},buttonBackground:{marginTop:12,marginRight:16,marginBottom:12,marginLeft:16,paddingTop:8,paddingRight:16,paddingBottom:8,paddingLeft:16,borderRadius:500,backgroundColor:"#0000000a"},buttonBackgroundDark:{backgroundColor:"#ffffff14"},buttonText:{fontSize:14,fontWeight:"500",color:"#0087be"},errorIcon:{marginRight:4},uploadFailed:{color:"#d63638"},uploadFailedDark:{color:"#f86368"}}},2102,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.alignmentHelpers=e.ALIGNMENT_BREAKPOINTS=e.WIDE_ALIGNMENTS=void 0;var n={alignments:{wide:'wide',full:'full'},innerContainers:['core/group','core/columns','core/column'],excludeBlocks:['core/heading']};e.WIDE_ALIGNMENTS=n;var l={wide:1024,large:820,medium:768,small:680,mobile:480};e.ALIGNMENT_BREAKPOINTS=l;var t={isFullWidth:function(l){return l===n.alignments.full},isWideWidth:function(l){return l===n.alignments.wide},isWider:function(n,t){return n>l[t]},isContainerRelated:function(l){return n.innerContainers.includes(l)}};e.alignmentHelpers=t},2103,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getValueAndUnit=e.useConvertUnitToMobile=e.convertUnitToMobile=void 0;var t=n(r(d[1])),u=r(d[2]),o=r(d[3]),v=n(r(d[4])),l=function(n,t){var u,o,v=null==(u=""+n)?void 0:null==(o=u.match(/(\d+\.?\d*)(.*)/))?void 0:o.filter(function(n){return''!==n});if(v)return{valueToConvert:v[1],valueUnit:t||v[2]}};e.getValueAndUnit=l;var c=function(n,t,u,o){var v=n.width,c=n.height,s=l(u,o),f=s.valueToConvert,b=s.valueUnit,h=(t||{}).fontSize,U=void 0===h?16:h;switch(b){case'rem':case'em':return f*U;case'%':return Number(f/100)*v;case'px':return Number(f);case'vw':var M=v/100;return Math.round(f*M);case'vh':var w=c/100;return Math.round(f*w);default:return Number(f/100)*v}};e.convertUnitToMobile=c;e.useConvertUnitToMobile=function(n,s){var f=(0,o.useContext)(v.default).globalStyles,b=(0,o.useState)(u.Dimensions.get('window')),h=(0,t.default)(b,2),U=h[0],M=h[1];(0,o.useEffect)(function(){return u.Dimensions.addEventListener('change',w),function(){u.Dimensions.removeEventListener('change',w)}},[]);var w=(0,o.useCallback)(function(n){var t=n.window;M(t)},[]);return(0,o.useMemo)(function(){var t=l(n,s),u=t.valueToConvert,o=t.valueUnit;return c(U,f,u,o)},[U,n,s])}},2104,[5,36,25,946,2105]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.withGlobalStyles=e.useGlobalStyles=e.getMergedGlobalStyles=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),u=r(d[5]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function f(t){for(var n=1;n1&&void 0!==arguments[1])||arguments[1],l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n=Array.isArray(t)?k.filter(function(n){return t.includes(n)}):!0===t?k:[],!l||!0===t&&!o?u.without.apply(void 0,[n].concat(O)):n}function B(t){return(0,u.has)(t.attributes,['align','type'])?t:((0,f.hasBlockSupport)(t,'align')&&(t.attributes=y(y({},t.attributes),{},{align:{type:'string',enum:[].concat(k,[''])}})),t)}var A=(0,s.createHigherOrderComponent)(function(t){return function(l){var c=l.name,u=w((0,f.getBlockSupport)(c,'align'),(0,f.hasBlockSupport)(c,'alignWide',!0));return[u.length>0&&l.isSelected&&(0,n.createElement)(v.BlockControls,{key:"align-controls"},(0,n.createElement)(v.BlockAlignmentToolbar,{value:l.attributes.align,onChange:function(t){var n,o;t||(null==(n=(0,f.getBlockType)(l.name).attributes)?void 0:null==(o=n.align)?void 0:o.default)&&(t='');l.setAttributes({align:t})},controls:u})),(0,n.createElement)(t,(0,o.default)({key:"edit"},l))]}},'withToolbarControls');e.withToolbarControls=A;var S=(0,s.createHigherOrderComponent)(function(t){return function(l){var c=l.name,u=l.attributes.align,s=(0,b.useSelect)(function(t){return!!t('core/block-editor').getSettings().alignWide},[]);if(void 0===u)return(0,n.createElement)(t,l);var p=w((0,f.getBlockSupport)(c,'align'),(0,f.hasBlockSupport)(c,'alignWide',!0),s),v=l.wrapperProps;return p.includes(u)&&(v=y(y({},v),{},{'data-align':u})),(0,n.createElement)(t,(0,o.default)({},l,{wrapperProps:v}))}});function j(t,n,o){var l=o.align;return w((0,f.getBlockSupport)(n,'align'),(0,f.hasBlockSupport)(n,'alignWide',!0)).includes(l)&&(t.className=(0,c.default)("align"+l,t.className)),t}e.withDataAlign=S,(0,p.addFilter)('blocks.registerBlockType','core/align/addAttribute',B),(0,p.addFilter)('editor.BlockListBlock','core/editor/align/with-data-align',S),(0,p.addFilter)('editor.BlockEdit','core/editor/align/with-toolbar-controls',A),(0,p.addFilter)('blocks.getSaveContent.extraProps','core/align/addAssignedAlign',j)},2109,[5,946,24,66,1716,1068,1116,4,1223,1076,2110]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0});var o={BlockAlignmentToolbar:!0,BlockContextProvider:!0,BlockControls:!0,BlockEdit:!0,useBlockEditContext:!0,BlockFormatControls:!0,BlockIcon:!0,BlockVerticalAlignmentToolbar:!0,AlignmentToolbar:!0,InnerBlocks:!0,InspectorAdvancedControls:!0,InspectorControls:!0,LineHeightControl:!0,PlainText:!0,RichText:!0,RichTextShortcut:!0,RichTextToolbarButton:!0,__unstableRichTextInputEvent:!0,MediaPlaceholder:!0,MediaUpload:!0,MEDIA_TYPE_IMAGE:!0,MEDIA_TYPE_VIDEO:!0,MEDIA_TYPE_AUDIO:!0,MEDIA_TYPE_ANY:!0,MediaUploadProgress:!0,BlockMediaUpdateProgress:!0,URLInput:!0,BlockInvalidWarning:!0,BlockCaption:!0,Caption:!0,PanelColorSettings:!0,__experimentalPanelColorGradientSettings:!0,__experimentalUseEditorFeature:!0,BottomSheetSettings:!0,BlockSettingsButton:!0,blockSettingsScreens:!0,VideoPlayer:!0,VIDEO_ASPECT_RATIO:!0,BlockList:!0,BlockMover:!0,BlockToolbar:!0,BlockVariationPicker:!0,BlockStyles:!0,DefaultBlockAppender:!0,__unstableEditorStyles:!0,Inserter:!0,useBlockProps:!0,__experimentalBlock:!0,FloatingToolbar:!0,BlockEditorProvider:!0};Object.defineProperty(e,"BlockAlignmentToolbar",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"BlockContextProvider",{enumerable:!0,get:function(){return l.BlockContextProvider}}),Object.defineProperty(e,"BlockControls",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"BlockEdit",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"useBlockEditContext",{enumerable:!0,get:function(){return f.useBlockEditContext}}),Object.defineProperty(e,"BlockFormatControls",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"BlockIcon",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"BlockVerticalAlignmentToolbar",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"AlignmentToolbar",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"InnerBlocks",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"InspectorAdvancedControls",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"InspectorControls",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"LineHeightControl",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"PlainText",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"RichText",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"RichTextShortcut",{enumerable:!0,get:function(){return T.RichTextShortcut}}),Object.defineProperty(e,"RichTextToolbarButton",{enumerable:!0,get:function(){return T.RichTextToolbarButton}}),Object.defineProperty(e,"__unstableRichTextInputEvent",{enumerable:!0,get:function(){return T.__unstableRichTextInputEvent}}),Object.defineProperty(e,"MediaPlaceholder",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"MediaUpload",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"MEDIA_TYPE_IMAGE",{enumerable:!0,get:function(){return M.MEDIA_TYPE_IMAGE}}),Object.defineProperty(e,"MEDIA_TYPE_VIDEO",{enumerable:!0,get:function(){return M.MEDIA_TYPE_VIDEO}}),Object.defineProperty(e,"MEDIA_TYPE_AUDIO",{enumerable:!0,get:function(){return M.MEDIA_TYPE_AUDIO}}),Object.defineProperty(e,"MEDIA_TYPE_ANY",{enumerable:!0,get:function(){return M.MEDIA_TYPE_ANY}}),Object.defineProperty(e,"MediaUploadProgress",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"BlockMediaUpdateProgress",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"URLInput",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"BlockInvalidWarning",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"BlockCaption",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"Caption",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"PanelColorSettings",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"__experimentalPanelColorGradientSettings",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"__experimentalUseEditorFeature",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"BottomSheetSettings",{enumerable:!0,get:function(){return V.BottomSheetSettings}}),Object.defineProperty(e,"BlockSettingsButton",{enumerable:!0,get:function(){return V.BlockSettingsButton}}),Object.defineProperty(e,"blockSettingsScreens",{enumerable:!0,get:function(){return V.blockSettingsScreens}}),Object.defineProperty(e,"VideoPlayer",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"VIDEO_ASPECT_RATIO",{enumerable:!0,get:function(){return F.VIDEO_ASPECT_RATIO}}),Object.defineProperty(e,"BlockList",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"BlockMover",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"BlockToolbar",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"BlockVariationPicker",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"BlockStyles",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"DefaultBlockAppender",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"__unstableEditorStyles",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"Inserter",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"useBlockProps",{enumerable:!0,get:function(){return J.useBlockProps}}),Object.defineProperty(e,"__experimentalBlock",{enumerable:!0,get:function(){return K.Block}}),Object.defineProperty(e,"FloatingToolbar",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"BlockEditorProvider",{enumerable:!0,get:function(){return X.default}});var u=n(r(d[2])),l=r(d[3]),c=n(r(d[4])),f=t(r(d[5])),b=n(r(d[6])),P=n(r(d[7])),p=n(r(d[8])),O=r(d[9]);Object.keys(O).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}}))});var s=r(d[10]);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))});var y=r(d[11]);Object.keys(y).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))});var _=n(r(d[12])),j=n(r(d[13])),B=n(r(d[14])),k=n(r(d[15])),E=n(r(d[16])),I=n(r(d[17])),T=t(r(d[18])),A=n(r(d[19])),M=t(r(d[20])),S=n(r(d[21])),h=n(r(d[22])),C=n(r(d[23])),x=n(r(d[24])),D=n(r(d[25])),v=n(r(d[26])),R=n(r(d[27])),Y=n(r(d[28])),U=n(r(d[29])),V=r(d[30]),F=t(r(d[31])),L=n(r(d[32])),G=n(r(d[33])),w=n(r(d[34])),N=n(r(d[35])),H=n(r(d[36])),W=n(r(d[37])),q=n(r(d[38])),z=n(r(d[39])),J=r(d[40]),K=r(d[41]),Q=n(r(d[42])),X=n(r(d[43]))},2110,[32,5,2111,2113,2114,2117,2119,2120,2122,2124,2135,2138,2140,2141,2173,2129,2174,2176,2178,2187,2189,2190,2192,2194,2163,2195,2197,2198,2199,2127,2130,2200,2157,2168,2203,2206,2209,2152,2214,2144,2226,2227,2229,2245]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BlockAlignmentToolbar=w,e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=r(d[7]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function v(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{panelTitle:(0,p.__)('Color settings')},k=v.panelTitle,S=void 0===k?(0,p.__)('Color settings'):k,j=v.colorPanelProps,A=v.contrastCheckers,x=v.panelChildren,D=v.colorDetector,T=(D=void 0===D?{}:D).targetRef,M=D.backgroundColorTargetRef,B=void 0===M?T:M,I=D.textColorTargetRef,R=void 0===I?T:I,z=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],L=(0,y.useBlockEditContext)().clientId,F=(0,h.default)('color.palette')||N,U=(0,b.useSelect)(function(t){var o=t('core/block-editor'),n=o.getBlockAttributes;return{attributes:n(L)}},[L]).attributes,V=(0,b.useDispatch)('core/block-editor').updateBlockAttributes,$=(0,o.useCallback)(function(t){return V(L,t)},[V,L]),q=(0,o.useMemo)(function(){return(0,u.default)(function(t,n,l,u,p,b){return function(v){var y,C=v.children,h=v.className,O=void 0===h?'':h,k=v.style,S=void 0===k?{}:k,j={};u?j=(0,c.default)({},n,p):b&&(j=(0,c.default)({},n,b));var E={className:(0,s.default)(O,(y={},(0,c.default)(y,"has-"+(0,f.kebabCase)(u)+"-"+(0,f.kebabCase)(n),u),(0,c.default)(y,l||"has-"+(0,f.kebabCase)(t),u||b),y)),style:P(P({},j),S)};return(0,f.isFunction)(C)?C(E):o.Children.map(C,function(t){return(0,o.cloneElement)(t,{className:(0,s.default)(t.props.className,E.className),style:P(P({},E.style),t.props.style||{})})})}},{maxSize:t.length})},[t.length]),G=(0,o.useMemo)(function(){return(0,u.default)(function(t,o){return function(n){var l=o.find(function(t){return t.color===n});$((0,c.default)({},l?(0,f.camelCase)("custom "+t):t,void 0)),$((0,c.default)({},l?t:(0,f.camelCase)("custom "+t),l?l.slug:n))}},{maxSize:t.length})},[$,t.length]),H=(0,o.useState)(),J=(0,l.default)(H,2),K=J[0],Q=J[1],W=(0,o.useState)(),X=(0,l.default)(W,2),Y=X[0],Z=X[1];return(0,o.useEffect)(function(){if(A){for(var t,o=!1,n=!1,l=O((0,f.castArray)(A));!(t=l()).done;){var c=t.value,u=c.backgroundColor,s=c.textColor;if(o||(o=!0===u),n||(n=!0===s),o&&n)break}if(n&&Z(E(R.current).color),o){for(var p=B.current,b=E(p).backgroundColor;'rgba(0, 0, 0, 0)'===b&&p.parentNode&&p.parentNode.nodeType===p.parentNode.ELEMENT_NODE;)b=E(p=p.parentNode).backgroundColor;Q(b)}}},[t.reduce(function(t,o){return t+" | "+U[o.name]+" | "+U[(0,f.camelCase)("custom "+o.name)]},'')].concat((0,n.default)(z))),(0,o.useMemo)(function(){var n={},l=t.reduce(function(t,o){'string'==typeof o&&(o={name:o});var l=P(P({},o),{},{color:U[o.name]}),c=l.name,u=l.property,s=void 0===u?c:u,p=l.className,b=l.panelLabel,v=void 0===b?o.label||_[c]||(0,f.startCase)(c):b,y=l.componentName,C=void 0===y?(0,f.startCase)(c).replace(/\s/g,''):y,h=l.color,O=void 0===h?o.color:h,k=l.colors,S=void 0===k?F:k,j=U[(0,f.camelCase)("custom "+c)],E=j?void 0:S.find(function(t){return t.slug===O});return t[C]=q(c,s,p,O,E&&E.color,j),t[C].displayName=C,t[C].color=j||E&&E.color,t[C].slug=O,t[C].setColor=G(c,S),n[C]={value:E?E.color:U[(0,f.camelCase)("custom "+c)],onChange:t[C].setColor,label:v,colors:S},S||delete n[C].colors,t},{}),c={title:S,initialOpen:!1,colorSettings:n,colorPanelProps:j,contrastCheckers:A,detectedBackgroundColor:K,detectedColor:Y,panelChildren:x};return P(P({},l),{},{ColorPanel:(0,o.createElement)(C.default,c),InspectorControlsColorPanel:(0,o.createElement)(w,c)})},[U,$,Y,K].concat((0,n.default)(z)))};var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),f=r(d[7]),p=r(d[8]),b=r(d[9]),v=t(r(d[10])),y=r(d[11]),C=t(r(d[12])),h=t(r(d[13]));function O(t,o){var n;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(n=k(t))||o&&t&&"number"==typeof t.length){n&&(t=n);var l=0;return function(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(n)}function k(t,o){if(t){if("string"==typeof t)return S(t,o);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(t,o):void 0}}function S(t,o){(null==o||o>t.length)&&(o=t.length);for(var n=0,l=new Array(o);n0&&(0,l.createElement)(f.BlockSettingsButton,null)):null};S.Slot=E;var h=S;e.default=h},2129,[5,946,67,25,1696,2116,2130]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BlockSettingsButton",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"BottomSheetSettings",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"blockSettingsScreens",{enumerable:!0,get:function(){return u.blockSettingsScreens}});var o=n(r(d[2])),u=t(r(d[3]))},2130,[32,5,2131,2132]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),o=r(d[2]),l=r(d[3]),c=r(d[4]),u=(0,n.createSlotFill)('SettingsToolbarButton'),f=u.Fill,p=u.Slot,S=function(l){var u=l.openGeneralSidebar;return(0,t.createElement)(n.ToolbarButton,{title:(0,o.__)('Open Settings'),icon:c.cog,onClick:u})},b=(0,l.withDispatch)(function(t){var n=t('core/edit-post').openGeneralSidebar;return{openGeneralSidebar:function(){return n('edit-post/block')}}})(function(n){return(0,t.createElement)(f,null,(0,t.createElement)(S,n))});b.Slot=p;var s=b;e.default=s},2131,[946,1696,1027,1076,1247]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.blockSettingsScreens=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),s=r(d[5]),S=r(d[6]),u=r(d[7]),b=t(r(d[8])),f={settings:'Settings',color:'Color',linkPicker:'linkPicker'};e.blockSettingsScreens=f;var v=(0,S.compose)([(0,u.withSelect)(function(t){var n=t('core/edit-post').isEditorSidebarOpened;return{settings:(0,t('core/block-editor').getSettings)(),editorSidebarOpened:n()}}),(0,u.withDispatch)(function(t){return{closeGeneralSidebar:t('core/edit-post').closeGeneralSidebar}})])(function(t){var S=t.editorSidebarOpened,u=t.closeGeneralSidebar,v=t.settings,k=(0,l.default)(t,["editorSidebarOpened","closeGeneralSidebar","settings"]);return(0,n.createElement)(s.BottomSheet,(0,o.default)({isVisible:S,onClose:u,hideHeader:!0,contentStyle:b.default.content,hasNavigation:!0},k),(0,n.createElement)(s.BottomSheet.NavigationContainer,{animate:!0,main:!0},(0,n.createElement)(s.BottomSheet.NavigationScreen,{name:f.settings},(0,n.createElement)(c.InspectorControls.Slot,null)),(0,n.createElement)(s.BottomSheet.NavigationScreen,{name:f.color},(0,n.createElement)(s.ColorSettings,{defaultSettings:v})),(0,n.createElement)(s.BottomSheet.NavigationScreen,{name:f.linkPicker,fullScreen:!0,isScrollable:!0},(0,n.createElement)(s.LinkPickerScreen,{returnScreenName:f.settings}))))});e.default=v},2132,[5,946,24,67,1073,1696,1116,1076,2133]); -__d(function(g,r,i,a,m,e,d){m.exports={content:{paddingLeft:0,paddingRight:0}}},2133,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},2134,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},2135,[2136,2137]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.__experimentalGetGradientClass=v,e.getGradientValueBySlug=G,e.__experimentalGetGradientObjectByGradientValue=b,e.getGradientSlugByValue=_,e.__experimentalUseGradient=function(){var t,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=u.gradientAttribute,k=void 0===b?'gradient':b,p=u.customGradientAttribute,B=void 0===p?'customGradient':p,x=(0,c.useBlockEditContext)().clientId,y=(0,s.default)('color.gradients')||f,A=(0,l.useSelect)(function(t){var n=t('core/block-editor'),u=n.getBlockAttributes,o=u(x)||{};return{customGradient:o[B],gradient:o[k]}},[x,k,B]),C=A.gradient,V=A.customGradient,h=(0,l.useDispatch)('core/block-editor').updateBlockAttributes,S=(0,o.useCallback)(function(t){var u,o,l=_(y,t);l?h(x,(o={},(0,n.default)(o,k,l),(0,n.default)(o,B,void 0),o)):h(x,(u={},(0,n.default)(u,k,void 0),(0,n.default)(u,B,t),u))},[y,x,h]),j=v(C);t=C?G(y,C):V;return{gradientClass:j,gradientValue:t,setGradient:S}};var n=t(r(d[1])),u=r(d[2]),o=r(d[3]),l=r(d[4]),c=r(d[5]),s=t(r(d[6])),f=[];function v(t){if(t)return"has-"+t+"-gradient-background"}function G(t,n){var o=(0,u.find)(t,['slug',n]);return o&&o.gradient}function b(t,n){return(0,u.find)(t,['gradient',n])}function _(t,n){var u=b(t,n);return u&&u.slug}},2136,[5,66,1068,946,1076,2117,2127]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.withGradient=void 0;var n=r(d[1]),u=t(r(d[2])),l=r(d[3]);e.withGradient=function(t){return function(o){var _=(0,l.__experimentalUseGradient)().gradientValue;return(0,n.createElement)(t,(0,u.default)({},o,{gradientValue:_}))}}},2137,[5,946,24,2136]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getFontSize",{enumerable:!0,get:function(){return t.getFontSize}}),Object.defineProperty(e,"getFontSizeClass",{enumerable:!0,get:function(){return t.getFontSizeClass}});var t=r(d[0])},2138,[2139]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getFontSizeObjectByValue=function(t,u){var f=(0,n.find)(t,{size:u});if(f)return f;return{size:u}},e.getFontSizeClass=function(t){if(!t)return;return"has-"+(0,n.kebabCase)(t)+"-font-size"},e.getFontSize=void 0;var n=r(d[0]);e.getFontSize=function(t,u,f){if(u){var o=(0,n.find)(t,{slug:u});if(o)return o}return{size:f}}},2139,[1068]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.AlignmentToolbar=O,e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),f=r(d[6]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function p(t){for(var n=1;n0}},{key:"renderEmptyList",value:function(){return(0,o.createElement)(x,{rootClientId:this.props.rootClientId,renderAppender:this.props.renderAppender,renderFooterAppender:this.props.renderFooterAppender})}},{key:"getExtraData",value:function(){var t=this.props,o=t.parentWidth,n=t.renderFooterAppender,l=t.onDeleteBlock,s=t.contentStyle,c=t.renderAppender,u=this.state.blockWidth;return this.extraData.parentWidth===o&&this.extraData.renderFooterAppender===n&&this.extraData.onDeleteBlock===l&&this.extraData.contentStyle===s&&this.extraData.renderAppender===c&&this.extraData.blockWidth===u||(this.extraData={parentWidth:o,renderFooterAppender:n,onDeleteBlock:l,contentStyle:s,renderAppender:c,blockWidth:u}),this.extraData}},{key:"onLayout",value:function(t){var o=t.nativeEvent.layout,n=this.state.blockWidth,l=this.props,s=l.isRootList,c=l.maxWidth,u=Math.floor(o.width);s&&n!==u&&this.setState({blockWidth:Math.min(u,c)})}},{key:"render",value:function(){var t=this;return this.props.isRootList?(0,o.createElement)(E.Provider,{value:this.scrollViewRef},this.renderList()):(0,o.createElement)(E.Consumer,null,function(o){return t.renderList({parentScrollRef:o})})}},{key:"renderList",value:function(){var t=this,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=this.props,c=s.clearSelectedBlock,u=s.blockClientIds,p=s.title,h=s.header,y=s.isReadOnly,b=s.isRootList,v=s.horizontal,C=s.marginVertical,I=void 0===C?S.default.defaultBlock.marginTop:C,L=s.marginHorizontal,w=void 0===L?S.default.defaultBlock.marginLeft:L,E=s.isFloatingToolbarVisible,V=s.isStackedHorizontally,R=s.horizontalAlignment,D=s.contentResizeMode,F=s.blockWidth,x=l.parentScrollRef,W=S.default.blockToolbar,z=S.default.blockBorder,H=S.default.headerToolbar,T=S.default.floatingToolbar,O={flex:b?1:0,marginVertical:b?0:-I,marginHorizontal:b?0:-w},_='stretch'===D,M=u.length>1,K=B.alignmentHelpers.isWider;return(0,o.createElement)(k.View,{style:O,onAccessibilityEscape:c,onLayout:this.onLayout},(0,o.createElement)(B.KeyboardAwareFlatList,(0,n.default)({},'android'===k.Platform.OS?{removeClippedSubviews:!1}:{},{accessibilityLabel:"block-list",autoScroll:this.props.autoScroll,innerRef:function(o){t.scrollViewInnerRef(x||o)},extraScrollHeight:W.height+z.width,inputAccessoryViewHeight:H.height+(E?T.height:0),keyboardShouldPersistTaps:"always",scrollViewStyle:[{flex:b?1:0},!b&&S.default.overflowVisible],horizontal:v,extraData:this.getExtraData(),scrollEnabled:b,contentContainerStyle:[v&&S.default.horizontalContentContainer,K(F,'medium')&&(_&&M?S.default.horizontalContentContainerStretch:S.default.horizontalContentContainerCenter)],style:P(b,V,R),data:u,keyExtractor:f.identity,renderItem:this.renderItem,shouldPreventAutomaticScroll:this.shouldFlatListPreventAutomaticScroll,title:p,ListHeaderComponent:h,ListEmptyComponent:!y&&this.renderEmptyList,ListFooterComponent:this.renderBlockListFooter})),this.shouldShowInnerBlockAppender()&&(0,o.createElement)(k.View,{style:{marginHorizontal:w-S.default.innerAppender.marginLeft}},(0,o.createElement)(A.default,{rootClientId:this.props.rootClientId,renderAppender:this.props.renderAppender,showSeparator:!0})))}},{key:"renderItem",value:function(t){var n=t.item,l=this.props,s=l.contentResizeMode,c=l.contentStyle,u=l.onAddBlock,p=l.onDeleteBlock,h=l.rootClientId,f=l.isStackedHorizontally,k=l.parentWidth,y=l.marginVertical,b=void 0===y?S.default.defaultBlock.marginTop:y,v=l.marginHorizontal,B=void 0===v?S.default.defaultBlock.marginLeft:v,C=this.state.blockWidth;return(0,o.createElement)(I.default,{isStackedHorizontally:f,rootClientId:h,clientId:n,parentWidth:k,contentResizeMode:s,contentStyle:c,onAddBlock:u,marginVertical:b,marginHorizontal:B,onDeleteBlock:p,shouldShowInnerBlockAppender:this.shouldShowInnerBlockAppender,onCaretVerticalPositionChange:this.onCaretVerticalPositionChange,blockWidth:C})}},{key:"renderBlockListFooter",value:function(){var t=this,n=(0,v.createBlock)('core/paragraph'),l=this.props,s=l.isReadOnly,c=l.withFooter,u=void 0===c||c,p=l.renderFooterAppender;return!s&&u?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(k.TouchableWithoutFeedback,{accessibilityLabel:(0,C.__)('Add paragraph block'),testID:(0,C.__)('Add paragraph block'),onPress:function(){t.addBlockToEndOfPost(n)}},(0,o.createElement)(k.View,{style:S.default.blockListFooter}))):p?p():null}}]),h})(o.Component);e.BlockList=R;var D=(0,b.compose)([(0,y.withSelect)(function(t,o){var n=o.rootClientId,l=o.orientation,s=o.filterInnerBlocks,c=t('core/block-editor'),u=c.getBlockCount,p=c.getBlockOrder,h=c.getSelectedBlockClientId,f=c.isBlockInsertionPointVisible,y=c.getSettings,b=c.getBlockHierarchyRootClientId,v='horizontal'===l,B=h(),C=p(n);s&&(C=s(C));var S=y().maxWidth,A=y().readOnly,I=u(L),L=b(B),w=!!B&&!!I;return{blockClientIds:C,blockCount:I,isBlockInsertionPointVisible:'ios'===k.Platform.OS&&f(),isReadOnly:A,isRootList:void 0===n,isFloatingToolbarVisible:w,isStackedHorizontally:v,maxWidth:S}}),(0,y.withDispatch)(function(t){var o=t('core/block-editor'),n=o.insertBlock,l=o.replaceBlock;return{clearSelectedBlock:o.clearSelectedBlock,insertBlock:n,replaceBlock:l}}),b.withPreferredColorScheme])(R);e.default=D;var F=(function(t){(0,u.default)(c,t);var n=L(c);function c(){return(0,l.default)(this,c),n.apply(this,arguments)}return(0,s.default)(c,[{key:"render",value:function(){var t=this.props,n=t.shouldShowInsertionPoint,l=t.rootClientId,s=t.renderAppender;return t.renderFooterAppender?null:(0,o.createElement)(k.View,{style:S.default.defaultAppender},(0,o.createElement)(B.ReadableContentView,{align:s?B.WIDE_ALIGNMENTS.alignments.full:void 0},(0,o.createElement)(A.default,{rootClientId:l,renderAppender:s,showSeparator:n})))}}]),c})(o.Component),x=(0,b.compose)([(0,y.withSelect)(function(t,o){var n=o.rootClientId,l=o.orientation,s=t('core/block-editor'),c=s.getBlockOrder,u=s.getBlockInsertionPoint,p=s.isBlockInsertionPointVisible,h='horizontal'===l,f=c(n),k=u(),y=p();return{shouldShowInsertionPoint:!h&&y&&k.rootClientId===n&&(0===f.length||!f[k.index])}})])(F)},2157,[5,946,24,7,42,60,57,59,56,1068,25,1076,1116,1223,1696,1027,2148,2158,2160]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),u=t(r(d[5])),s=t(r(d[6]));var k=(0,n.withSelect)(function(t,l){var o=l.rootClientId,n=t('core/block-editor'),u=n.getBlockOrder,s=n.canInsertBlockType;return{isLocked:!!(0,n.getTemplateLock)(o),blockClientIds:u(o),canInsertDefaultBlock:s((0,c.getDefaultBlockName)(),o)}})(function(t){var n=t.blockClientIds,c=t.rootClientId,k=t.canInsertDefaultBlock,f=t.isLocked,p=t.renderAppender,I=t.showSeparator;return f?null:p?(0,l.createElement)(p,{showSeparator:I}):k?(0,l.createElement)(u.default,{rootClientId:c,lastBlockClientId:(0,o.last)(n),containerStyle:s.default.blockListAppender,placeholder:n.length>0?'':null,showSeparator:I}):null});e.default=k},2158,[5,946,1068,1076,1223,2152,2159]); -__d(function(g,r,i,a,m,e,d){m.exports={blockListAppender:{paddingLeft:16,paddingRight:16,paddingTop:12,paddingBottom:0,borderColor:"transparent"}}},2159,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockListItem=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),f=t(r(d[8])),p=r(d[9]),k=r(d[10]),b=r(d[11]),y=r(d[12]),I=t(r(d[13])),v=t(r(d[14])),B=t(r(d[15]));function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var H={flex:1},P=(function(t){(0,c.default)(W,t);var k,b,P=(k=W,b=w(),function(){var t,n=(0,f.default)(k);if(b){var l=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,h.default)(this,t)});function W(){return(0,s.default)(this,W),P.apply(this,arguments)}return(0,u.default)(W,[{key:"getMarginHorizontal",value:function(){var t=this.props,n=t.blockAlignment,l=t.marginHorizontal,o=t.parentBlockAlignment,s=t.hasParents,u=t.blockName,c=t.parentBlockName,h=t.parentWidth,f=t.blockWidth,k=y.alignmentHelpers.isFullWidth,b=y.alignmentHelpers.isWideWidth,I=y.alignmentHelpers.isWider,v=y.alignmentHelpers.isContainerRelated;if(k(n))return s?l:0;if(b(n))return l;var B=Math.floor(p.Dimensions.get('window').width);if(k(o)&&!I(f,'medium'))return v(u)||I(B,'mobile')?l:2*l;if(v(c)&&!v(u)&&(h===B||I(B,'mobile')))return 2*l;return l}},{key:"getContentStyles",value:function(t){var n=this.props,l=n.blockAlignment,o=n.blockName,s=n.hasParents,u=n.parentBlockName,c=y.alignmentHelpers.isFullWidth,h=y.alignmentHelpers.isContainerRelated;return[t,c(l)&&!s&&{width:B.default.fullAlignment.width},!l&&s&&!h(u)&&h(o)&&{paddingHorizontal:B.default.fullAlignmentPadding.paddingLeft}]}},{key:"render",value:function(){var t=this.props,s=t.blockAlignment,u=t.clientId,c=t.isReadOnly,h=t.shouldShowInsertionPointBefore,f=t.shouldShowInsertionPointAfter,k=t.contentResizeMode,b=t.shouldShowInnerBlockAppender,B=t.parentWidth,w=t.marginHorizontal,P=t.blockName,W=t.blockWidth,A=(0,o.default)(t,["blockAlignment","clientId","isReadOnly","shouldShowInsertionPointBefore","shouldShowInsertionPointAfter","contentResizeMode","shouldShowInnerBlockAppender","parentWidth","marginHorizontal","blockName","blockWidth"]),R='stretch'===k&&H,S=y.alignmentHelpers.isContainerRelated;return W?(0,n.createElement)(y.ReadableContentView,{align:s,style:[R,S(P)&&B&&{maxWidth:B+2*w}]},(0,n.createElement)(p.View,{style:this.getContentStyles(R),pointerEvents:c?'box-only':'auto',onLayout:this.onLayout},h&&(0,n.createElement)(v.default,null),(0,n.createElement)(I.default,(0,l.default)({key:u,showTitle:!1,clientId:u,parentWidth:B},A,{marginHorizontal:this.getMarginHorizontal(),blockWidth:W})),!b()&&f&&(0,n.createElement)(v.default,null))):null}}]),W})(n.Component);e.BlockListItem=P;var W=(0,b.compose)([(0,k.withSelect)(function(t,n){var l=n.rootClientId,o=n.isStackedHorizontally,s=n.clientId,u=t('core/block-editor'),c=u.getBlockOrder,h=u.getBlockInsertionPoint,f=u.isBlockInsertionPointVisible,p=u.getSettings,k=u.getBlockParents,b=u.__unstableGetBlockWithoutInnerBlocks,y=c(l),I=h(),v=f(),B=!o&&v&&I.rootClientId===l&&(0===y.length||y[I.index]===s),w=!o&&v&&I.rootClientId===l&&y.length===I.index&&y[I.index-1]===s,H=p().readOnly,P=b(s)||{},W=P.attributes,A=P.name,R=(W||{}).align,S=k(s,!0),z=!!S.length,C=z?b(S[0]):{};return{shouldShowInsertionPointBefore:B,shouldShowInsertionPointAfter:w,isReadOnly:H,hasParents:z,blockAlignment:R,parentBlockAlignment:((null==C?void 0:C.attributes)||{}).align,blockName:A,parentBlockName:(C||{}).name}})])(P);e.default=W},2160,[5,946,24,67,7,42,57,59,56,25,1076,1116,1696,2161,2147,2171]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=t(r(d[3])),c=t(r(d[4])),s=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),h=t(r(d[8])),k=r(d[9]),p=r(d[10]),B=r(d[11]),b=r(d[12]),y=r(d[13]),v=r(d[14]),S=t(r(d[15])),W=t(r(d[16])),I=t(r(d[17])),C=t(r(d[18]));function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function w(t){var o=t.attributes,n=t.clientId,c=t.contentStyle,s=t.getBlockWidth,u=t.insertBlocksAfter,f=t.isSelected,h=t.mergeBlocks,B=t.name,b=t.onBlockFocus,y=t.onCaretVerticalPositionChange,S=t.onChange,I=t.onDeleteBlock,C=t.onReplace,E=t.parentWidth,w=t.wrapperProps,F=t.blockWidth,T=(0,v.__experimentalUseEditorFeature)('color.palette')||[];return(0,l.createElement)(p.GlobalStylesContext.Consumer,null,function(t){var v=(0,p.getMergedGlobalStyles)(t,w.style,o,T);return(0,l.createElement)(p.GlobalStylesContext.Provider,{value:v},(0,l.createElement)(W.default,{name:B,isSelected:f,attributes:o,setAttributes:S,onFocus:b,onReplace:C,insertBlocksAfter:u,mergeBlocks:h,onCaretVerticalPositionChange:y,wrapperProps:w,mergedStyle:v,clientId:n,parentWidth:E,contentStyle:c,onDeleteBlock:I,blockWidth:F}),(0,l.createElement)(k.View,{onLayout:s}))})}var F=(function(t){(0,u.default)(W,t);var B,b,v=(B=W,b=E(),function(){var t,l=(0,h.default)(B);if(b){var o=(0,h.default)(this).constructor;t=Reflect.construct(l,arguments,o)}else t=l.apply(this,arguments);return(0,f.default)(this,t)});function W(){var t;return(0,n.default)(this,W),(t=v.apply(this,arguments)).insertBlocksAfter=t.insertBlocksAfter.bind((0,s.default)(t)),t.onFocus=t.onFocus.bind((0,s.default)(t)),t.getBlockWidth=t.getBlockWidth.bind((0,s.default)(t)),t.state={blockWidth:t.props.blockWidth-2*t.props.marginHorizontal},t.anchorNodeRef=(0,l.createRef)(),t}return(0,c.default)(W,[{key:"onFocus",value:function(){var t=this.props,l=t.firstToSelectId,o=t.isSelected,n=t.onSelect;o||n(l)}},{key:"insertBlocksAfter",value:function(t){this.props.onInsertBlocks(t,this.props.order+1),t[0]&&this.props.onSelect(t[0].clientId)}},{key:"getBlockWidth",value:function(t){var l=t.nativeEvent.layout,o=this.state.blockWidth,n=Math.floor(l.width);o&&n&&o!==n&&this.setState({blockWidth:n})}},{key:"getBlockForType",value:function(){var t=this.state.blockWidth;return(0,l.createElement)(w,(0,o.default)({},this.props,{onBlockFocus:this.onFocus,insertBlocksAfter:this.insertBlocksAfter,getBlockWidth:this.getBlockWidth,blockWidth:t}))}},{key:"renderBlockTitle",value:function(){return(0,l.createElement)(k.View,{style:S.default.blockTitle},(0,l.createElement)(k.Text,null,"BlockType: ",this.props.name))}},{key:"render",value:function(){var t=this.props,o=t.attributes,n=t.blockType,c=t.clientId,s=t.icon,u=t.isSelected,f=t.isValid,h=t.order,B=t.title,b=t.isDimmed,v=t.isTouchable,W=t.onDeleteBlock,E=t.isStackedHorizontally,w=t.isParentSelected,F=t.getStylesFromColorScheme,T=t.marginVertical,P=t.marginHorizontal,R=t.isInnerBlockSelected,V=t.name;if(!o||!n)return null;var x=this.state.blockWidth,A=o.align,D=(0,y.__experimentalGetAccessibleBlockLabel)(n,o,h+1),_=p.alignmentHelpers.isFullWidth,H=p.alignmentHelpers.isWider,z=p.alignmentHelpers.isContainerRelated,G=!(u||R),L=Math.floor(k.Dimensions.get('window').width),M=x===L,N=x0&&void 0!==arguments[0]?arguments[0]:l.clientId,o=arguments.length>1?arguments[1]:void 0;h(t,o)},onChange:function(t){k(l.clientId,t)},onReplace:function(t,o){f([l.clientId],t,o)}}}),b.withPreferredColorScheme])(F);e.default=V},2161,[5,946,24,7,42,60,57,59,56,25,1696,1076,1116,1223,1073,2162,2117,2163,2166]); -__d(function(g,r,i,a,m,e,d){m.exports={blockHolder:{flexGrow:1,flexShrink:1,flexBasis:"auto"},solidBorderColor:{borderColor:"#0087be"},solidBorderColorDark:{borderColor:"#5198d9"},dashedBorderColor:{borderColor:"#87a6bc"},dashedBorderColorDark:{borderColor:"#3c434a"},borderFullWidth:{left:0,right:0},containerBorderFullWidth:{left:-6,right:-6},dimmed:{opacity:1},blockTitle:{backgroundColor:"#87a6bc",paddingLeft:8,paddingTop:4,paddingBottom:4},aztec_container:{flexGrow:1,flexShrink:1,flexBasis:0},blockCode:{fontFamily:"menlo"},blockText:{minHeight:50},neutralToolbar:{marginLeft:-16,marginRight:-16},containerToolbar:{width:"100%",alignSelf:"center"},solidBorder:{position:"absolute",top:-12,bottom:0,left:-12,right:-12,borderWidth:1,borderRadius:4,borderStyle:"solid",zIndex:1},dashedBorder:{position:"absolute",top:-6,bottom:-6,left:-6,right:-6,borderWidth:1,borderRadius:2,borderStyle:"dashed"},fullWidthPadding:{paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12}}},2162,[]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var o=l.blockTitle,s=l.icon,b=(0,c.sprintf)((0,c.__)('%s block. This block has invalid content'),o);return(0,t.createElement)(n.default,{title:o,message:(0,c.__)('Problem displaying block'),icon:s,accessible:!0,accessibilityLabel:b})};var t=r(d[1]),c=r(d[2]),n=l(r(d[3]))},2163,[5,946,1027,2164]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),n=r(d[4]),s=r(d[5]),f=r(d[6]),u=r(d[7]),v=t(r(d[8]));var y=(0,f.withPreferredColorScheme)(function(t){var f=t.title,y=t.message,C=t.icon,S=t.iconClass,h=t.preferredColorScheme,E=t.getStylesFromColorScheme,w=(0,c.default)(t,["title","message","icon","iconClass","preferredColorScheme","getStylesFromColorScheme"]);C=C&&(0,u.normalizeIconObject)(C);var _="warning-icon-"+h,k=E(v.default.title,v.default.titleDark),p=E(v.default.message,v.default.messageDark);return(0,l.createElement)(n.View,(0,o.default)({style:E(v.default.container,v.default.containerDark)},w),C&&(0,l.createElement)(n.View,{style:v.default.icon},(0,l.createElement)(s.Icon,{className:S||_,icon:C&&C.src?C.src:C})),f&&(0,l.createElement)(n.Text,{style:k},f),y&&(0,l.createElement)(n.Text,{style:p},y))});e.default=y},2164,[5,946,24,67,25,1696,1116,1223,2165]); -__d(function(g,r,i,a,m,e,d){m.exports={container:{backgroundColor:"#e9eff3",paddingTop:24,paddingBottom:24,paddingLeft:8,paddingRight:8,borderTopLeftRadius:4,borderTopRightRadius:4,borderBottomLeftRadius:4,borderBottomRightRadius:4,alignItems:"center",justifyContent:"center"},containerDark:{backgroundColor:"#1e2327"},icon:{width:24,height:24,marginBottom:4,fill:"#2e4453"},title:{textAlign:"center",marginBottom:6,fontSize:14,color:"#2e4453"},titleDark:{color:"#fff"},message:{textAlign:"center",color:"#537994",fontSize:12},messageDark:{color:"#fff"}}},2165,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),c=r(d[4]),u=r(d[5]),f=t(r(d[6])),s=t(r(d[7])),v=t(r(d[8])),h=r(d[9]),k=65,y=150,S=(0,u.compose)((0,c.withSelect)(function(t,l){var o=l.clientId;return{order:(0,t('core/block-editor').getBlockIndex)(o)}}),(0,c.withDispatch)(function(t,l){var o=l.clientId,n=l.rootClientId,c=l.onDelete,u=t('core/block-editor').removeBlock;return{onDelete:c||function(){return u(o,n)}}}))(function(t){var c=t.clientId,u=t.onDelete,S=t.isStackedHorizontally,w=t.blockWidth,b=t.anchorNodeRef,I=t.isFullWidth,p=(0,l.useState)(null),B=(0,o.default)(p,2),E=B[0],D=B[1],_=(0,l.useState)(0),z=(0,o.default)(_,2),H=z[0],M=z[1],W=2*f.default.toolbar.marginLeft;var F=w0&&void 0!==arguments[0]?arguments[0]:[null];return D(t.length),F?null:t[0]}),(0,l.createElement)(v.default,{clientIds:[c],wrapBlockMover:L,wrapBlockSettings:F&&E,isStackedHorizontally:S,onDelete:u,anchorNodeRef:b}))});e.default=S},2166,[5,946,36,25,1076,1116,2167,2168,2170,2130]); -__d(function(g,r,i,a,m,e,d){m.exports={toolbar:{flexDirection:"row",height:44,alignItems:"flex-start",marginLeft:3,marginRight:3},toolbarFullWidth:{paddingLeft:12,paddingRight:12},spacer:{flexGrow:1}}},2167,[]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockMover=e.BLOCK_MOVER_DIRECTION_BOTTOM=e.BLOCK_MOVER_DIRECTION_TOP=void 0;var t=r(d[1]),n=o(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),v=r(d[7]),f=r(d[8]),k=r(d[9]),O='blockPageMoverOptions-moveToTop';e.BLOCK_MOVER_DIRECTION_TOP=O;var B='blockPageMoverOptions-moveToBottom';e.BLOCK_MOVER_DIRECTION_BOTTOM=B;var _=function(o){var l=o.isFirst,v=o.isLast,f=o.isLocked,_=o.onMoveDown,p=o.onMoveUp,I=o.onLongMove,M=o.firstIndex,T=o.numberOfBlocks,b=o.rootClientId,C=o.isStackedHorizontally,L=(0,t.useRef)(),P=(0,t.useState)(void 0),w=(0,n.default)(P,2),E=w[0],h=w[1],D=function(o){return function(){L.current?(h(o),L.current.presentPicker()):h(void 0)}},R=(0,k.getMoversSetup)(C,{firstIndex:M}),S=R.description,x=S.backwardButtonHint,K=S.forwardButtonHint,N=S.firstBlockTitle,V=S.lastBlockTitle,y=R.icon,F=y.backward,H=y.forward,U=R.title,A=U.backward,j=U.forward,z=[{icon:F,label:(0,s.__)('Move to top'),value:O,onSelect:function(){I()(0)}},{icon:H,label:(0,s.__)('Move to bottom'),value:B,onSelect:function(){I()(T)}}].filter(function(o){return o.value===E});return f||l&&v&&!b?null:(0,t.createElement)(t.Fragment,null,(0,t.createElement)(u.ToolbarButton,{title:l?N:A,isDisabled:l,onClick:p,onLongPress:D(O),icon:F,extraProps:{hint:x}}),(0,t.createElement)(u.ToolbarButton,{title:v?V:j,isDisabled:v,onClick:_,onLongPress:D(B),icon:H,extraProps:{hint:K}}),(0,t.createElement)(u.Picker,{ref:L,options:z,onChange:function(o){var t=z.find(function(t){return t.value===o});t&&t.onSelect&&t.onSelect()},title:(0,s.__)('Change block position'),leftAlign:!0,hideCancelButton:'ios'!==c.Platform.OS}))};e.BlockMover=_;var p=(0,v.compose)((0,f.withSelect)(function(o,t){var n=t.clientIds,c=o('core/block-editor'),s=c.getBlockIndex,u=c.getTemplateLock,v=c.getBlockRootClientId,f=c.getBlockOrder,k=(0,l.castArray)(n),O=(0,l.first)(k),B=v(O),_=f(B),p=s(O,B),I=s((0,l.last)(k),B);return{firstIndex:p,numberOfBlocks:_.length-1,isFirst:0===p,isLast:I===_.length-1,isLocked:'all'===u(B),rootClientId:B}}),(0,f.withDispatch)(function(o,t){var n=t.clientIds,c=t.rootClientId,s=o('core/block-editor'),u=s.moveBlocksDown,v=s.moveBlocksUp,f=s.moveBlocksToPosition;return{onMoveDown:(0,l.partial)(u,n,c),onMoveUp:(0,l.partial)(v,n,c),onLongMove:function(o){return(0,l.partial)(f,n,c,o)}}}),v.withInstanceId)(_);e.default=p},2168,[5,946,36,1068,25,1027,1696,1116,1076,2169]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getMoversSetup=function(t,o){var c=o.firstIndex,u=o.keys;return(void 0===u?k:u).reduce(function(o,u){return k.includes(u)&&(0,l.default)(o,(0,n.default)({},u,_(u,t,{firstIndex:c}))),o},{})};var o=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),u=r(d[5]),f=r(d[6]),s={backwardButtonIcon:f.arrowLeft,forwardButtonIcon:f.arrowRight,backwardButtonHint:(0,u.__)('Double tap to move the block to the left'),forwardButtonHint:(0,u.__)('Double tap to move the block to the right'),firstBlockTitle:(0,u.__)('Move block left'),lastBlockTitle:(0,u.__)('Move block right'),backwardButtonTitle:(0,u.__)('Move block left from position %1$s to position %2$s'),forwardButtonTitle:(0,u.__)('Move block right from position %1$s to position %2$s')},w={backwardButtonIcon:f.arrowUp,forwardButtonIcon:f.arrowDown,backwardButtonHint:(0,u.__)('Double tap to move the block up'),forwardButtonHint:(0,u.__)('Double tap to move the block down'),firstBlockTitle:(0,u.__)('Move block up'),lastBlockTitle:(0,u.__)('Move block down'),backwardButtonTitle:(0,u.__)('Move block up from row %1$s to row %2$s'),forwardButtonTitle:(0,u.__)('Move block down from row %1$s to row %2$s')},k=['description','icon','title','actionTitle'],p={description:B,icon:function(t){var o=B(t),n=o.forwardButtonIcon,l=o.backwardButtonIcon,c=[n,l,t];return{backward:v(!0,c),forward:v(!1,c)}},title:function(t,n){var l=n.firstIndex,c=function(t){var o=l+1,n=t?-1:1,c=o+n;return[o,c]},f=B(t),s=f.backwardButtonTitle,w=[f.forwardButtonTitle,s,t],k=v(!0,w),p=v(!1,w);return{backward:u.sprintf.apply(void 0,[k].concat((0,o.default)(c(!0)))),forward:u.sprintf.apply(void 0,[p].concat((0,o.default)(c(!1))))}},actionTitle:function(t){var o=B(t),n=o.firstBlockTitle,l=o.lastBlockTitle,c=[l,n,t],f=v(!0,c),s=v(!1,c);return{backward:(0,u.sprintf)(f,n),forward:(0,u.sprintf)(s,l)}}};function b(t,o,n,l){return c.I18nManager.isRTL&&l?t?o:n:t?n:o}function _(){var t=Array.prototype.slice.call(arguments),n=t[0],l=t.slice(1);return p[n].apply(null,(0,o.default)(l))}function v(t,n){return b.apply(null,[t].concat((0,o.default)(n)))}function B(t){return t?s:w}},2169,[5,14,66,24,25,1027,1247]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),n=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),p=r(d[7]),k=r(d[8]),B=r(d[9]),b=r(d[10]),v=r(d[11]),f=(0,B.compose)((0,k.withSelect)(function(t,o){var l=o.clientIds,n=t('core/block-editor'),s=n.getBlockIndex,p=n.getBlockRootClientId,k=n.getBlockOrder,B=n.getBlockName,b=n.getBlock,v=n.getBlocksByClientId,f=n.getSelectedBlockClientIds,_=n.canInsertBlockType,I=(0,c.castArray)(l),O=b(I),w=B(I),C=(0,u.getBlockType)(w).title,h=(0,c.first)(I),S=p(h),y=k(S),D=s(h,S),M=s((0,c.last)(I),S),T=w===(0,u.getDefaultBlockName)(),H=''===O.attributes.content,N=1===y.length&&T&&H;return{isFirst:0===D,isLast:M===y.length-1,rootClientId:S,blockTitle:C,isEmptyDefaultBlock:N,getBlocksByClientId:v,selectedBlockClientId:f(),currentIndex:D,canInsertBlockType:_}}),(0,k.withDispatch)(function(t,o,l){var n=o.clientIds,s=o.rootClientId,p=o.currentIndex,k=l.select,B=t('core/block-editor'),b=B.moveBlocksDown,v=B.moveBlocksUp,f=B.duplicateBlocks,_=B.removeBlocks,I=B.insertBlock,O=B.replaceBlocks,w=t('core/edit-post').openGeneralSidebar,C=k('core/block-editor'),h=C.getBlockSelectionEnd,S=C.getBlock,y=t('core/notices').createSuccessNotice;return{onMoveDown:(0,c.partial)(b,n,s),onMoveUp:(0,c.partial)(v,n,s),openGeneralSidebar:function(){return w('edit-post/block')},createSuccessNotice:y,duplicateBlock:function(){return f(n)},removeBlocks:_,pasteBlock:function(t){if((0,u.isUnmodifiedDefaultBlock)(S(h())))O(n,t);else{var o=(0,u.createBlock)(t.name,t.attributes,t.innerBlocks);I(o,p+1,s)}}}}),B.withInstanceId)(function(t){var k=t.onDelete,B=t.isStackedHorizontally,f=t.wrapBlockSettings,_=t.wrapBlockMover,I=t.openGeneralSidebar,O=t.onMoveDown,w=t.onMoveUp,C=t.isFirst,h=t.isLast,S=t.blockTitle,y=t.isEmptyDefaultBlock,D=t.anchorNodeRef,M=t.getBlocksByClientId,T=t.selectedBlockClientId,H=t.createSuccessNotice,N=t.duplicateBlock,P=t.removeBlocks,E=t.pasteBlock,x=t.canInsertBlockType,A=t.rootClientId,z=(0,o.useState)((0,s.getClipboard)()),L=(0,l.default)(z,2),R=L[0],U=L[1],F=(0,o.useRef)(),G=R&&(0,u.rawHandler)({HTML:R})[0],j=G&&x(G.name,A),q=(0,v.getMoversSetup)(B,{keys:['icon','actionTitle']}).actionTitle,J=q.backward,K=q.forward,Q={id:'deleteOption',label:(0,p.__)('Remove block'),value:'deleteOption',separated:!0,disabled:y},V={id:'settingsOption',label:(0,p.__)('Block settings'),value:'settingsOption'},W={id:'backwardButtonOption',label:J,value:'backwardButtonOption',disabled:C},X={id:'forwardButtonOption',label:K,value:'forwardButtonOption',disabled:h},Y={id:'copyButtonOption',label:(0,p.__)('Copy block'),value:'copyButtonOption'},Z={id:'cutButtonOption',label:(0,p.__)('Cut block'),value:'cutButtonOption'},$={id:'pasteButtonOption',label:(0,p.__)('Paste block after'),value:'pasteButtonOption'},ee={id:'duplicateButtonOption',label:(0,p.__)('Duplicate block'),value:'duplicateButtonOption'},te=(0,c.compact)([_&&W,_&&X,f&&V,Y,Z,j&&$,ee,Q]);var oe=te.map(function(t,o){return t.disabled&&o+1}).filter(Boolean),le='ios'===n.Platform.OS?(0,p.__)('Double tap to open Action Sheet with available options'):(0,p.__)('Double tap to open Bottom Sheet with available options');return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.ToolbarButton,{title:(0,p.__)('Open Block Actions Menu'),onClick:function(){F.current&&F.current.presentPicker()},icon:b.moreHorizontalMobile,extraProps:{hint:le}}),(0,o.createElement)(s.Picker,{ref:F,options:te,onChange:function(t){switch(t){case Q.value:k(),H((0,p.__)('Block removed'));break;case V.value:I();break;case X.value:O();break;case W.value:w();break;case Y.value:var o=M(T),l=(0,u.serialize)(o);U(l),(0,s.setClipboard)(l),H((0,p.__)('Block copied'));break;case Z.value:var n=M(T);(0,s.setClipboard)((0,u.serialize)(n)),P(T),H((0,p.__)('Block cut'));break;case $.value:R&&E((0,u.rawHandler)({HTML:R})[0]),H((0,p.__)('Block pasted'));break;case ee.value:N(),H((0,p.__)('Block duplicated'))}},destructiveButtonIndex:te.length,disabledButtonIndices:oe,hideCancelButton:'ios'!==n.Platform.OS,leftAlign:!0,getAnchor:function(){return D?(0,n.findNodeHandle)(D):void 0},title:(0,p.sprintf)((0,p.__)('%s block options'),S)}))});e.default=f},2170,[5,946,36,25,1068,1696,1223,1027,1076,1116,1247,2169]); -__d(function(g,r,i,a,m,e,d){m.exports={stretch:{flexGrow:1,flexShrink:1,flexBasis:0},fullAlignment:{marginLeft:0,width:"100%"},fullAlignmentPadding:{paddingTop:16,paddingRight:16,paddingBottom:16,paddingLeft:16}}},2171,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var l=u.clientId,s=void 0===l?null:l,f=u.value,v=u.selectionStart,k=u.selectionEnd,b=u.onChange,p=void 0===b?n.noop:b,B=u.onInput,_=void 0===B?n.noop:B,h=(0,o.useRegistry)(),E=h.dispatch('core/block-editor'),I=E.resetBlocks,S=E.resetSelection,C=E.replaceInnerBlocks,R=E.setHasControlledInnerBlocks,N=E.__unstableMarkNextChangeAsNotPersistent,P=h.select('core/block-editor'),y=P.getBlockName,L=P.getBlocks,M=(0,t.useRef)({incoming:null,outgoing:[]}),j=(0,t.useRef)(!1),x=function(){if(f)if(N(),s){R(s,!0),N();var n=f.map(function(n){return(0,c.cloneBlock)(n)});j.current&&(M.current.incoming=n),C(s,n)}else j.current&&(M.current.incoming=f),I(f)},A=(0,t.useRef)(_),H=(0,t.useRef)(p);(0,t.useEffect)(function(){A.current=_,H.current=p},[_,p]),(0,t.useEffect)(function(){M.current.outgoing.includes(f)?(0,n.last)(M.current.outgoing)===f&&(M.current.outgoing=[]):L(s)!==f&&(M.current.outgoing=[],x(),v&&k&&S(v,k))},[f,s]),(0,t.useEffect)(function(){var n=h.select('core/block-editor'),t=n.getSelectionStart,o=n.getSelectionEnd,c=n.isLastBlockChangePersistent,u=n.__unstableIsLastBlockChangeIgnored,l=L(s),f=c(),v=!1;j.current=!0;var k=h.subscribe(function(){if(null===s||null!==y(s)){var n=c(),k=L(s),b=k!==l;if(l=k,b&&(M.current.incoming||u()))return M.current.incoming=null,void(f=n);var p=v&&!b&&n&&!f;if(b||p){f=n,M.current.outgoing.push(l);var B=f?H.current:A.current;B(l,{selectionStart:t(),selectionEnd:o()})}v=b}});return function(){return k()}},[h,s])};var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=r(d[3])},2172,[1068,946,1076,1223]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]),t=r(d[1]),n=r(d[2]),o='InspectorAdvancedControls',c=(0,t.createSlotFill)(o),u=c.Fill,s=c.Slot;function v(t){var o=t.children;return(0,n.useBlockEditContext)().isSelected?(0,l.createElement)(u,null,o):null}v.slotName=o,v.Slot=s;var f=v;e.default=f},2173,[946,1696,2116]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var u=c.value,_=c.onChange,f=(0,l.isLineHeightDefined)(u),A=f?u:l.RESET_VALUE;return(0,n.createElement)("div",{className:"block-editor-line-height-control"},(0,n.createElement)(o.TextControl,{autoComplete:"off",onKeyDown:function(n){n.keyCode!==E.ZERO||f||(n.preventDefault(),_('0'))},onChange:function(n){if(f)return void _(n);var t=n;switch(n){case""+l.STEP:t=l.BASE_DEFAULT_VALUE+l.STEP;break;case'0':t=l.BASE_DEFAULT_VALUE-l.STEP}_(t)},label:(0,t.__)('Line height'),placeholder:l.BASE_DEFAULT_VALUE,step:l.STEP,type:"number",value:A,min:0}))};var n=r(d[0]),t=r(d[1]),o=r(d[2]),E=r(d[3]),l=r(d[4])},2174,[946,1027,1696,1221,2175]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isLineHeightDefined=function(_){return void 0!==_&&_!==E},e.RESET_VALUE=e.STEP=e.BASE_DEFAULT_VALUE=void 0;e.BASE_DEFAULT_VALUE=1.5;e.STEP=.1;var E='';e.RESET_VALUE=E},2175,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),u=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),h=t(r(d[9]));function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=(function(t){(0,l.default)(D,t);var v,_,k=(v=D,_=y(),function(){var t,n=(0,f.default)(v);if(_){var o=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function D(){var t;return(0,u.default)(this,D),(t=k.apply(this,arguments)).isAndroid='android'===p.Platform.OS,t}return(0,s.default)(D,[{key:"componentDidMount",value:function(){var t=this;!1===this._input.isFocused()&&this.props.isSelected&&(this.isAndroid?this.timeoutID=setTimeout(function(){t._input.focus()},100):this._input.focus())}},{key:"componentDidUpdate",value:function(t){!this.props.isSelected&&t.isSelected&&this._input.blur()}},{key:"componentWillUnmount",value:function(){this.isAndroid&&clearTimeout(this.timeoutID)}},{key:"focus",value:function(){this._input.focus()}},{key:"render",value:function(){var t=this;return(0,n.createElement)(p.TextInput,(0,o.default)({},this.props,{ref:function(n){return t._input=n},onChange:function(n){t.props.onChange(n.nativeEvent.text)},onFocus:this.props.onFocus,onBlur:this.props.onBlur,fontFamily:this.props.style&&this.props.style.fontFamily||h.default['block-editor-plain-text'].fontFamily,style:this.props.style||h.default['block-editor-plain-text'],scrollEnabled:!1}))}}]),D})(n.Component);e.default=v},2176,[5,946,24,7,42,57,59,56,25,2177]); -__d(function(g,r,i,a,m,e,d){m.exports={"block-editor-plain-text":{fontFamily:"Noto Serif",shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"black",shadowOpacity:1,borderWidth:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}}},2177,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RichTextShortcut",{enumerable:!0,get:function(){return F.RichTextShortcut}}),Object.defineProperty(e,"RichTextToolbarButton",{enumerable:!0,get:function(){return w.RichTextToolbarButton}}),Object.defineProperty(e,"__unstableRichTextInputEvent",{enumerable:!0,get:function(){return P.__unstableRichTextInputEvent}}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),b=r(d[9]),h=r(d[10]),_=r(d[11]),v=r(d[12]),T=t(r(d[13])),E=r(d[14]),C=r(d[15]),y=t(r(d[16])),S=r(d[17]),x=r(d[18]),O=r(d[19]),R=t(r(d[20])),F=r(d[21]),w=r(d[22]),P=r(d[23]);function M(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function k(t){for(var n=1;n0,Qe=w,Xe=P;Array.isArray(w)&&(Qe=h.children.toHTML(w),Xe=function(t){return P(h.children.fromDOM((0,v.__unstableCreateElement)(document,t).childNodes))});var Ze=(0,n.useCallback)(function(t,n){ze(we,$,t,n)},[we,$]),$e=(0,n.useCallback)(function(t){var n=t.value,l=t.isReverse;J&&J(!l),q&&(0,v.isEmpty)(n)&&l&&q(!l)},[J,q]),et=(0,n.useCallback)(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(H&&Q){var l=[],u=(0,v.split)(t),c=(0,s.default)(u,2),f=c[0],p=c[1],b=n.length>0,h=-1;b&&(0,v.isEmpty)(f)||(l.push(Q((0,v.toHTMLString)({value:f,multilineTag:Ge}))),h+=1),b?(l.push.apply(l,(0,o.default)(n)),h+=n.length):Z&&l.push(Z()),(b?(0,v.isEmpty)(p):Z&&(0,v.isEmpty)(p))||l.push(Q((0,v.toHTMLString)({value:p,multilineTag:Ge}))),H(l,b?h:1,b?-1:null)}},[H,Q,Ge,Z]),tt=(0,n.useCallback)(function(t){var n=t.value,l=t.onChange,o=t.shiftKey,s=H&&Q;if(H){var u=(0,h.getBlockTransforms)('from').filter(function(t){return'enter'===t.type}),c=(0,h.findTransform)(u,function(t){return t.regExp.test(n.text)});c&&(H([c.transform({content:n.text})]),Ve())}if(W)o?le||l((0,v.insert)(n,'\n')):s&&(0,v.__unstableIsEmptyLine)(n)?et(n):l((0,v.__unstableInsertLineSeparator)(n));else{var f=n.text,p=n.start,b=n.end,_=X&&p===b&&b===f.length;o||!s&&!_?le||l((0,v.insert)(n,'\n')):!s&&_?X():s&&et(n)}},[H,Q,Ve,W,et,X]),nt=(0,n.useCallback)(function(t){var n=t.value,l=t.onChange,s=t.html,u=t.plainText,c=t.files,f=t.activeFormats;if(te)l((0,v.insert)(n,(0,v.create)({text:u})));else{if(c&&c.length&&!s){var p=(0,h.pasteHandler)({HTML:(0,O.filePasteHandler)(c),mode:'BLOCKS',tagName:F,preserveWhiteSpace:ee});return window.console.log('Received items:\n\n',c),void(H&&(0,v.isEmpty)(n)?H(p):et(n,p))}var b=H&&Q?'AUTO':'INLINE';'AUTO'===b&&(0,v.isEmpty)(n)&&L(u)&&(b='BLOCKS'),ne&&(0,v.isEmpty)(n)&&(0,E.isURL)(u.trim())&&(b='BLOCKS');var _=(0,h.pasteHandler)({HTML:s,plainText:u,mode:b,tagName:F,preserveWhiteSpace:ee});if('string'==typeof _){var T=(0,v.create)({html:_});if(f.length)for(var C=T.formats.length;C--;)T.formats[C]=[].concat((0,o.default)(f),(0,o.default)(T.formats[C]||[]));W&&(T=(0,v.replace)(T,/\n+/g,v.__UNSTABLE_LINE_SEPARATOR)),l((0,v.insert)(n,T))}else _.length>0&&(H&&(0,v.isEmpty)(n)?H(_,_.length-1,-1):et(n,_))}},[F,H,Q,et,ne,W,ee,te]),at=(0,n.useCallback)(function(t,n){if(H){var l=t.start,o=t.text;if(' '===o.slice(l-1,l)){var s=o.slice(0,l).trim(),u=(0,h.getBlockTransforms)('from').filter(function(t){return'prefix'===t.type}),c=(0,h.findTransform)(u,function(t){var n=t.prefix;return s===n});if(c){var f=n((0,v.slice)(t,l,o.length)),p=c.transform(f);H([p]),Ve()}}}},[H,Ve]),lt=(0,n.createElement)(v.__experimentalRichText,{clientId:we,identifier:$,ref:Re,value:Qe,onChange:Xe,selectionStart:Ne,selectionEnd:Ie,onSelectionChange:Ze,tagName:F,placeholder:K,allowedFormats:qe,withoutInteractiveFormatting:G,onEnter:tt,onDelete:$e,onPaste:nt,__unstableIsSelected:Be,__unstableInputRule:at,__unstableMultilineTag:Ge,__unstableIsCaretWithinFormattedText:Ae,__unstableOnEnterFormattedText:Ke,__unstableOnExitFormattedText:Ye,__unstableOnCreateUndoLevel:He,__unstableMarkAutomaticChange:Ve,__unstableDidAutomaticChange:Le,__unstableUndo:je,__unstableDisableFormats:ae,preserveWhiteSpace:ee,disabled:We,unstableOnFocus:re,__unstableAllowPrefixTransformations:oe,__unstableMultilineRootTag:ie,onCaretVerticalPositionChange:Pe,blockIsSelected:void 0!==M?M:Me,shouldBlurOnUnmount:De,__unstableMobileNoFocusOnMount:se,deleteEnter:ue,placeholderTextColor:ce,textAlign:de,selectionColor:me,tagsToEliminate:fe,rootTagsToEliminate:pe,disableEditingMenu:be,fontSize:he,fontFamily:ge,fontWeight:_e,fontStyle:ve,minWidth:Te,maxWidth:Ee,onBlur:Ce,setRef:ye,id:Se.id,style:Se.style},function(t){var o=t.isSelected,s=t.value,u=t.onChange,c=t.onFocus,p=t.editableProps,b=t.editableTagName;return(0,n.createElement)(n.Fragment,null,C&&C({value:s,onChange:u,onFocus:c}),o&&Je&&(0,n.createElement)(R.default,{inline:j,anchorRef:Re.current}),o&&(0,n.createElement)(x.RemoveBrowserShortcuts,null),(0,n.createElement)(y.default,{onReplace:H,completers:U,record:s,onChange:u,isSelected:o,contentRef:Re},function(t){var o=t.listBoxId,s=t.activeId,u=t.onKeyDown;return(0,n.createElement)(b,(0,l.default)({},p,Se,{style:Se.style?k(k({},Se.style),p.style):p.style,className:(0,f.default)(N,Se.className,p.className,{'keep-placeholder-on-focus':Y}),"aria-autocomplete":o?'list':void 0,"aria-owns":o,"aria-activedescendant":s,onKeyDown:function(t){u(t),p.onKeyDown(t)}}))}))});return D?((0,T.default)('wp.blockEditor.RichText wrapperClassName prop',{alternative:'className prop or create your own wrapper div'}),(0,n.createElement)("div",{className:(0,f.default)(A,D)},lt)):lt});W.Content=function(t){var l=t.value,o=t.tagName,s=t.multiline,u=(0,c.default)(t,["value","tagName","multiline"]);Array.isArray(l)&&(l=h.children.toHTML(l));var f=I(s);!l&&f&&(l="<"+f+">");var b=(0,n.createElement)(n.RawHTML,null,l);return o?(0,n.createElement)(o,(0,p.omit)(u,['format']),b):b},W.isEmpty=function(t){return!t||0===t.length},W.Content.defaultProps={format:'string',value:''};var j=W;e.default=j},2178,[5,946,24,14,36,66,67,1716,1068,1076,1223,1116,1074,1111,1043,1680,2179,2117,2180,2181,2182,2184,2185,2186]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(){return null}},2179,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.RemoveBrowserShortcuts=void 0;e.RemoveBrowserShortcuts=function(){return null}},2180,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.filePasteHandler=function(n){return n.map(function(n){return""}).join('')}},2181,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2])),n=t(r(d[3])),f=function(){return(0,l.createElement)(u.default,null,(0,l.createElement)(n.default,null))};e.default=f},2182,[5,946,2119,2183]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),o=function(){return(0,t.createElement)(l.Toolbar,null,['bold','italic','link'].map(function(o){return(0,t.createElement)(l.Slot,{name:"RichText.ToolbarControls."+o,key:o})}),(0,t.createElement)(l.Slot,{name:"RichText.ToolbarControls"}))};e.default=o},2183,[946,1696]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.RichTextShortcut=void 0;var n=t(r(d[1])),u=t(r(d[2])),c=t(r(d[3])),f=t(r(d[4])),o=t(r(d[5]));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,c.default)(v,t);var s,h,p=(s=v,h=l(),function(){var t,n=(0,o.default)(s);if(h){var u=(0,o.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function v(){return(0,n.default)(this,v),p.apply(this,arguments)}return(0,u.default)(v,[{key:"render",value:function(){return null}}]),v})(r(d[6]).Component);e.RichTextShortcut=s},2184,[5,7,42,57,59,56,946]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.RichTextToolbarButton=function(t){var h,s=t.name,T=t.shortcutType,f=t.shortcutCharacter,b=(0,u.default)(t,["name","shortcutType","shortcutCharacter"]),p='RichText.ToolbarControls';s&&(p+="."+s);T&&f&&(h=l.displayShortcut[T](f));return(0,o.createElement)(n.Fill,{name:p},(0,o.createElement)(n.ToolbarButton,(0,c.default)({},b,{shortcut:h})))};var o=r(d[1]),c=t(r(d[2])),u=t(r(d[3])),n=r(d[4]),l=r(d[5])},2185,[5,946,24,67,1696,1221]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.__unstableRichTextInputEvent=void 0;var n=t(r(d[1])),u=t(r(d[2])),c=t(r(d[3])),f=t(r(d[4])),o=t(r(d[5]));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,c.default)(h,t);var s,p,v=(s=h,p=l(),function(){var t,n=(0,o.default)(s);if(p){var u=(0,o.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function h(){return(0,n.default)(this,h),v.apply(this,arguments)}return(0,u.default)(h,[{key:"render",value:function(){return null}}]),h})(r(d[6]).Component);e.__unstableRichTextInputEvent=s},2186,[5,7,42,57,59,56,946]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),_=r(d[7]),p=r(d[8]),f=t(r(d[9])),D=function(t){return(0,u.uniqWith)(t,function(t,l){return t.id===l.id||t.url===l.url})};var y=(0,_.withPreferredColorScheme)(function(t){var u=t.addToGallery,_=t.allowedTypes,y=void 0===_?[]:_,E=t.labels,v=void 0===E?{}:E,b=t.icon,M=t.onSelect,A=t.__experimentalOnlyMediaLibrary,I=t.isAppender,h=t.disableMediaButtons,T=t.getStylesFromColorScheme,O=t.multiple,S=t.value,k=void 0===S?[]:S,C=t.children,V=t.height,w=t.backgroundColor,P=t.hideContent,x=(0,l.useRef)(k);x.current=k;var F=O&&u?function(t){return M(D([].concat((0,n.default)(x.current),(0,n.default)(t))))}:M,G=1===y.length,R=G&&y.includes(s.MEDIA_TYPE_IMAGE),B=G&&y.includes(s.MEDIA_TYPE_VIDEO),L=G&&y.includes(s.MEDIA_TYPE_AUDIO),U=v.title;void 0===U&&(U=(0,c.__)('Media'),R?U=(0,c.__)('Image'):B?U=(0,c.__)('Video'):L&&(U=(0,c.__)('Audio')));var Y=v.instructions;void 0===Y&&(Y=R?(0,c.__)('ADD IMAGE'):B?(0,c.__)('ADD VIDEO'):L?(0,c.__)('ADD AUDIO'):(0,c.__)('ADD IMAGE OR VIDEO'));var z=(0,c.__)('Double tap to select');R?z=(0,c.__)('Double tap to select an image'):B?z=(0,c.__)('Double tap to select a video'):L&&(z=(0,c.__)('Double tap to select an audio file'));var W=T(f.default.emptyStateTitle,f.default.emptyStateTitleDark),j=T(f.default.addMediaButton,f.default.addMediaButtonDark);if(I&&h)return null;var q=T(f.default.appender,f.default.appenderDark),H=T(f.default.emptyStateContainer,f.default.emptyStateContainerDark);return(0,l.createElement)(o.View,{style:{flex:1}},(0,l.createElement)(s.MediaUpload,{allowedTypes:y,onSelect:F,__experimentalOnlyMediaLibrary:A,multiple:O,isReplacingMedia:!1,render:function(n){var u=n.open,s=n.getMediaOptions;return(0,l.createElement)(o.TouchableWithoutFeedback,{accessibilityLabel:(0,c.sprintf)((0,c.__)('%s block. Empty'),U),accessibilityRole:'button',accessibilityHint:z,onPress:function(l){t.onFocus(l),u()}},(0,l.createElement)(o.View,{style:[[H,V&&{height:V},w&&{backgroundColor:w}],I&&q]},s(),!P&&(void 0!==I&&I?I&&!h?(0,l.createElement)(p.Icon,{icon:p.plusCircleFilled,style:j,color:j.color,size:j.size}):void 0:(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.View,{style:f.default.modalIcon},b),(0,l.createElement)(o.Text,{style:W},U),C,(0,l.createElement)(o.Text,{style:f.default.emptyStateDescription},Y)))))}}))});e.default=y},2187,[5,946,14,25,1068,1027,1073,1116,1247,2188]); -__d(function(g,r,i,a,m,e,d){m.exports={emptyStateContainer:{flexGrow:1,flexShrink:1,flexBasis:0,height:142,flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#e9eff3",paddingLeft:12,paddingRight:12,paddingTop:12,paddingBottom:12,borderTopLeftRadius:4,borderTopRightRadius:4,borderBottomLeftRadius:4,borderBottomRightRadius:4},emptyStateContainerDark:{backgroundColor:"#1e2327"},emptyStateTitle:{textAlign:"center",marginTop:4,marginBottom:16,fontSize:14,color:"#2e4453"},emptyStateTitleDark:{color:"#fff"},emptyStateDescription:{width:"100%",textAlign:"center",color:"#0087be",fontSize:14,fontWeight:"500"},modalIcon:{width:24,height:24,justifyContent:"center",alignItems:"center",fill:"#2e4453"},appender:{height:"auto",backgroundColor:"#fff",borderWidth:1,borderColor:"#e2e4e7",borderStyle:"solid",borderRadius:4},appenderDark:{backgroundColor:"#1e2327",borderWidth:1,borderColor:"#3c434a",borderStyle:"solid"},addMediaButton:{color:"#fff",backgroundColor:"#7b9ab1",borderRadius:12,overflow:"hidden",size:24},addMediaButtonDark:{color:"#1e2327",backgroundColor:"#a7aaad"}}},2188,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.MediaUpload=e.OPTION_TAKE_PHOTO_OR_VIDEO=e.OPTION_TAKE_PHOTO=e.OPTION_TAKE_VIDEO=e.MEDIA_TYPE_ANY=e.MEDIA_TYPE_AUDIO=e.MEDIA_TYPE_VIDEO=e.MEDIA_TYPE_IMAGE=void 0;var o=r(d[1]),n=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),l=t(r(d[6])),_=t(r(d[7])),p=t(r(d[8])),f=r(d[9]),v=r(d[10]),O=r(d[11]),h=r(d[12]);function y(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function P(t){for(var o=1;o0||p,text:f}}),(0,s.withDispatch)(function(t,c){var o=c.clientId,l=t('core/block-editor').updateBlockAttributes;return{onChange:function(t){l(o,{caption:t})}}})])(function(t){var n=t.accessible,s=t.accessibilityLabelCreator,f=t.onBlur,p=t.onChange,b=t.onFocus,h=t.isSelected,v=t.shouldDisplay,y=t.text,k=t.insertBlocksAfter;return(0,c.createElement)(o.View,{style:[u.default.container,v&&u.default.padding]},(0,c.createElement)(l.Caption,{accessibilityLabelCreator:s,accessible:n,isSelected:h,onBlur:f,onChange:p,onFocus:b,shouldDisplay:v,value:y,insertBlocksAfter:k}))});e.default=f},2195,[5,946,25,1073,1116,1076,2196]); -__d(function(g,r,i,a,m,e,d){m.exports={container:{flexGrow:1,flexShrink:1,flexBasis:0},padding:{paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12}}},2196,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]),o=r(d[1]),t=r(d[2]),n=r(d[3]),c=r(d[4]),s=function(s){var u=s.accessibilityLabelCreator,b=s.accessible,p=s.inlineToolbar,f=s.isSelected,v=s.onBlur,_=s.onChange,h=s.onFocus,y=s.placeholder,T=void 0===y?(0,c.__)('Write caption\u2026'):y,x=s.placeholderTextColor,C=s.shouldDisplay,S=void 0===C||C,E=s.style,A=s.value,B=s.insertBlocksAfter,O=void 0===B?function(){}:B;return(0,l.createElement)(o.View,{accessibilityLabel:u?u(A):void 0,accessibilityRole:"button",accessible:b,style:{flex:1,display:S?'flex':'none'}},(0,l.createElement)(n.RichText,{__unstableMobileNoFocusOnMount:!0,fontSize:E&&E.fontSize?E.fontSize:14,inlineToolbar:p,isSelected:f,onBlur:v,onChange:_,placeholder:T,placeholderTextColor:x,rootTagsToEliminate:['p'],style:E,tagName:"p",textAlign:"center",underlineColorAndroid:"transparent",unstableOnFocus:h,value:A,__unstableOnSplitAtEnd:function(){return O((0,t.createBlock)('core/paragraph'))},deleteEnter:!0}))};e.default=s},2197,[946,25,1223,1073,1027]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),l=t(r(d[5]));function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function s(t){for(var n=1;n0;return(0,n.createElement)(v.View,{style:S.default.videoContainer},(0,n.createElement)(P.default,(0,o.default)({},this.props,{ref:function(n){t.player=n},controls:!1,ignoreSilentSwitch:'ignore',paused:!f,onLayout:this.onVideoLayout,onFullscreenPlayerWillPresent:function(){t.setState({isFullScreen:!0})},onFullscreenPlayerDidDismiss:function(){t.setState({isFullScreen:!1})}})),h&&(0,n.createElement)(v.TouchableOpacity,{disabled:!s,onPress:this.onPressPlay,style:[u,S.default.overlayContainer]},(0,n.createElement)(v.View,{style:S.default.blackOverlay}),(0,n.createElement)(y.Icon,{icon:_.default,style:S.default.playIcon,size:S.default.playIcon.size})))}}]),b})(n.Component);e.default=R},2200,[5,946,24,7,42,60,57,59,56,1696,1027,25,2098,2201,2202]); -__d(function(g,r,i,a,m,e,d){m.exports={videoContainer:{flexGrow:1,flexShrink:1,flexBasis:0,justifyContent:"center",alignItems:"center"},overlayContainer:{justifyContent:"center",alignItems:"center",alignSelf:"center",position:"absolute"},blackOverlay:{width:"100%",height:"100%",backgroundColor:"#000",opacity:.4},playIcon:{position:"absolute",opacity:.7,size:64}}},2201,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),n=(0,t.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)(l.Path,{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm-2 14.5v-9l6 4.5z",fill:"white"}));e.default=n},2202,[946,1696]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var l=(0,n.useSelect)(function(l){var t=l('core/block-editor'),n=t.getBlockMode,u=t.getSelectedBlockClientIds,c=t.isBlockValid,o=u();return{blockClientIds:o,isValid:1===o.length?c(o[0]):null,mode:1===o.length?n(o[0]):null}},[]),f=l.blockClientIds,s=l.isValid,k=l.mode;if(0===f.length)return null;return(0,t.createElement)(t.Fragment,null,'visual'===k&&s&&(0,t.createElement)(t.Fragment,null,(0,t.createElement)(o.default,null),(0,t.createElement)(u.default.Slot,null),(0,t.createElement)(c.default.Slot,null)))};var t=r(d[1]),n=r(d[2]),u=l(r(d[3])),c=l(r(d[4])),o=l(r(d[5]))},2203,[5,946,1076,2114,2119,2204]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UngroupButton=v,e.default=void 0;var n=r(d[1]),t=r(d[2]),l=r(d[3]),c=r(d[4]),u=r(d[5]),k=r(d[6]),p=r(d[7]),s=o(r(d[8]));function v(o){var t=o.onConvertFromGroup,l=o.isUngroupable;return void 0!==l&&l?(0,n.createElement)(c.Toolbar,null,(0,n.createElement)(c.ToolbarButton,{title:(0,u.__)('Ungroup'),icon:s.default,onClick:t})):null}var B=(0,p.compose)([(0,k.withSelect)(function(o){var n=o('core/block-editor'),t=n.getSelectedBlockClientId,c=n.getBlock,u=o(l.store).getGroupingBlockName,k=t(),p=c(k),s=u(),v=p&&p.innerBlocks&&!!p.innerBlocks.length&&p.name===s;return{isUngroupable:v,clientId:k,innerBlocks:v?p.innerBlocks:[]}}),(0,k.withDispatch)(function(o,n){var l=n.clientId,c=n.innerBlocks,u=n.onToggle,k=void 0===u?t.noop:u,p=o('core/block-editor').replaceBlocks;return{onConvertFromGroup:function(){c.length&&(p(l,c),k())}}})])(v);e.default=B},2204,[5,946,1068,1223,1696,1027,1076,1116,2205]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]),t=r(d[1]),n=(0,l.createElement)(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2H15C16.1 2 17 2.9 17 4V7C17 8.1 16.1 9 15 9H9C7.9 9 7 8.1 7 7V4C7 2.9 7.9 2 9 2ZM9 7H15V4H9V7Z"}),(0,l.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H11C12.1 11 13 11.9 13 13V16C13 17.1 12.1 18 11 18H5C3.9 18 3 17.1 3 16V13C3 11.9 3.9 11 5 11ZM5 16H11V13H5V16Z"}));e.default=n},2205,[946,1696]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),f=r(d[7]),y=r(d[8]),S=r(d[9]),h=t(r(d[10])),B={top:22,bottom:22,left:22,right:22};var b=(0,s.compose)((0,c.withSelect)(function(t,o){return(0,n.default)(o),{date:(0,t(u.store).getBlockVariations)('core/columns','block')}}))(function(t){var n=t.isVisible,b=t.onClose,k=t.clientId,v=t.variations,_=(0,c.useDispatch)('core/block-editor').replaceInnerBlocks,p='ios'===l.Platform.OS,E=(0,s.usePreferredColorSchemeStyle)(h.default.cancelButton,h.default.cancelButtonDark),C=(0,o.useMemo)(function(){return(0,o.createElement)(l.TouchableWithoutFeedback,{onPress:b,hitSlop:B},(0,o.createElement)(l.View,null,p?(0,o.createElement)(l.Text,{style:E,maxFontSizeMultiplier:2},(0,f.__)('Cancel')):(0,o.createElement)(S.Icon,{icon:S.close,size:24,style:h.default.closeIcon})))},[b,E]);return(0,o.createElement)(y.BottomSheet,{isVisible:n,onClose:b,title:(0,f.__)('Select a layout'),contentStyle:h.default.contentStyle,leftButton:C},(0,o.createElement)(l.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:h.default.contentContainerStyle,style:h.default.containerStyle},v.map(function(t){return(0,o.createElement)(y.InserterButton,{item:t,key:t.name,onSelect:function(){return o=t,_(k,(0,u.createBlocksFromInnerBlocksTemplate)(o.innerBlocks)),void b();var o}})})),(0,o.createElement)(y.PanelBody,null,(0,o.createElement)(y.FooterMessageControl,{label:(0,f.__)('Note: Column layout may vary between themes and screen sizes')})))});e.default=b},2206,[5,946,2207,25,1076,1116,1223,1027,1696,1247,2208]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n){if(null==n)throw new TypeError("Cannot destructure undefined")}},2207,[]); -__d(function(g,r,i,a,m,e,d){m.exports={contentContainerStyle:{flexDirection:"row",paddingBottom:12,paddingLeft:8,paddingRight:8},containerStyle:{paddingTop:12},contentStyle:{paddingLeft:0,paddingRight:0},cancelButton:{color:"#0087be",fontSize:16},cancelButtonDark:{color:"#5198d9"},closeIcon:{color:"#87a6bc"}}},2208,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),c=r(d[3]),o=r(d[4]),s=r(d[5]),u=r(d[6]),f=r(d[7]),v=r(d[8]),y=t(r(d[9])),b=t(r(d[10]));var k=function(t){var k=t.clientId,S=t.url,p=(0,u.useSelect)(function(t){var l=t('core/block-editor').getBlock,n=t(s.store).getBlockStyles,c=l(k);return{styles:n(c.name),className:c.attributes.className||''}},[k]),_=p.styles,h=p.className,A=(0,u.useDispatch)('core/block-editor').updateBlockAttributes;if(!_||0===_.length)return null;var D=(0,o.find)(_,'isDefault')?_:[{name:'default',label:(0,f._x)('Default','block style'),isDefault:!0}].concat((0,n.default)(_)),N=(0,v.getActiveStyle)(D,h);return(0,l.createElement)(c.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:b.default.content},D.map(function(t){var n=(0,v.replaceActiveStyle)(h,N,t),c=N===t;return(0,l.createElement)(y.default,{onPress:function(){A(k,{className:n})},isActive:c,key:t.name,style:t,url:S})}))};e.default=k},2209,[5,946,14,25,1068,1223,1076,1027,2210,2212,2213]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getActiveStyle=function(t,u){for(var f,y=l(new o.default(u).values());!(f=y()).done;){var c=f.value;if(-1!==c.indexOf('is-style-')){var s=c.substring(9),v=(0,n.find)(t,{name:s});if(v)return v}}return(0,n.find)(t,'isDefault')},e.replaceActiveStyle=function(t,n,l){var u=new o.default(t);n&&u.remove('is-style-'+n.name);return u.add('is-style-'+l.name),u.value};var n=r(d[1]),o=t(r(d[2]));function l(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=u(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var l=0;return function(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function u(t,n){if(t){if("string"==typeof t)return f(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?f(t,n):void 0}}function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,l=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:'';(0,u.default)(this,t),this.value=n,this._currentValue,this._valueAsArray}return(0,l.default)(t,[{key:"entries",value:function(){var t;return(t=this._valueAsArray).entries.apply(t,arguments)}},{key:"forEach",value:function(){var t;return(t=this._valueAsArray).forEach.apply(t,arguments)}},{key:"keys",value:function(){var t;return(t=this._valueAsArray).keys.apply(t,arguments)}},{key:"values",value:function(){var t;return(t=this._valueAsArray).values.apply(t,arguments)}},{key:"toString",value:function(){return this.value}},{key:"function"==typeof Symbol?Symbol.iterator:"@@iterator",value:n.default.mark(function t(){return n.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._valueAsArray,"t0",1);case 1:return t.abrupt("return",t.t0);case 2:case"end":return t.stop()}},t,this)})},{key:"item",value:function(t){return this._valueAsArray[t]}},{key:"contains",value:function(t){return-1!==this._valueAsArray.indexOf(t)}},{key:"add",value:function(){for(var t=arguments.length,n=new Array(t),u=0;u.5?u.classList.remove('is-dark-theme'):u.classList.add('is-dark-theme')}},2214,[5,1068,1642,946,2215]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=r(d[2]),o=t(r(d[3])),l=t(r(d[4])),f=t(r(d[5])),p=function(t){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';return(0,u.map)(t,function(t){var u=t.css,v=t.baseURL,s=t.__experimentalNoWrapper,c=[];return p&&!(void 0!==s&&s)&&c.push((0,f.default)(p)),v&&c.push((0,l.default)(v)),c.length?(0,o.default)(u,(0,n.compose)(c)):u})};e.default=p},2215,[5,1068,1116,2216,2224,2225]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=r(d[2]);var f=function(t,f){try{var l=(0,u.parse)(t),o=n.default.map(l,function(t){if(!t)return t;var n=f(t);return this.update(n)});return(0,u.stringify)(o)}catch(t){return console.warn('Error while traversing the CSS: '+t),null}};e.default=f},2216,[5,2217,2218]); -__d(function(g,r,i,a,m,e,d){var t=m.exports=function(t){return new n(t)};function n(t){this.value=t}function o(t,n,o){var f=[],l=[],p=!0;return(function t(s){var h={},v=!0,k={node:o?u(s):s,node_:s,path:[].concat(f),parent:l[l.length-1],parents:l,key:f.slice(-1)[0],isRoot:0===f.length,level:f.length,circular:null,update:function(t,n){k.isRoot||(k.parent.node[k.key]=t),k.node=t,n&&(v=!1)},delete:function(t){delete k.parent.node[k.key],t&&(v=!1)},remove:function(t){y(k.parent.node)?k.parent.node.splice(k.key,1):delete k.parent.node[k.key],t&&(v=!1)},keys:null,before:function(t){h.before=t},after:function(t){h.after=t},pre:function(t){h.pre=t},post:function(t){h.post=t},stop:function(){p=!1},block:function(){v=!1}};if(!p)return k;function O(){if('object'==typeof k.node&&null!==k.node){k.keys&&k.node_===k.node||(k.keys=c(k.node)),k.isLeaf=0==k.keys.length;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:[];return function(o){return'rule'===o.type?c(c({},o),{},{selectors:o.selectors.map(function(o){return n.includes(o.trim())?o:o.match(u)?o.replace(/^(body|html|:root)/,t):t+' '+o})}):o}};e.default=l},2225,[5,66]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBlockProps=n;var o=r(d[0]);function n(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}n.save=o.__unstableGetBlockProps},2226,[1223]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Block=void 0;var o=n(r(d[1])).default.reduce(function(n,o){return n[o]=o,n},String);e.Block=o},2227,[5,2228]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=['p','div','h1','h2','h3','h4','h5','h6','ol','ul','li','figure','nav','pre','header','section','aside','footer','main'];e.default=o},2228,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=r(d[7]),p=t(r(d[8])),v=t(r(d[9])),I=t(r(d[10])),b=new l.Animated.Value(0),E=(0,s.compose)([(0,u.withSelect)(function(t){var n=t('core/block-editor'),o=n.getSelectedBlockClientId,l=n.getBlockHierarchyRootClientId,c=n.getBlockRootClientId,u=n.getBlockCount,s=n.getSettings,f=o();if(f)return{selectedClientId:f,showFloatingToolbar:!!u(l(f)),parentId:c(f),isRTL:s().isRTL}}),(0,u.withDispatch)(function(t){var n=t('core/block-editor').selectBlock;return{onNavigateUp:function(t,o){n(t,o)}}})])(function(t){var u=t.selectedClientId,s=t.parentId,E=t.showFloatingToolbar,T=t.onNavigateUp,k=t.isRTL,R=(0,n.useState)({}),w=(0,o.default)(R,2),C=w[0],h=w[1];(0,n.useEffect)(function(){l.Animated.timing(b,{toValue:E?1:0,duration:E?250:80,easing:l.Easing.ease,useNativeDriver:!0}).start()},[E]),(0,n.useEffect)(function(){E&&h({clientId:u,parentId:s})},[u]);var y=8*('android'===l.Platform.OS?-1:1),B=b.interpolate({inputRange:[0,1],outputRange:[y,0]}),S={opacity:b,transform:[{translateY:B}]},_=C.clientId,L=C.parentId,N=_&&!E,V=N?_:u,A=!!s||N&&!!L;return!!b&&(0,n.createElement)(l.Animated.View,{style:[p.default.floatingToolbar,S]},A&&(0,n.createElement)(c.Toolbar,{passedStyle:p.default.toolbar},(0,n.createElement)(c.ToolbarButton,{title:(0,f.__)('Navigate Up'),onClick:!N&&function(){return T(s)},icon:(0,n.createElement)(v.default,{isRTL:k})}),(0,n.createElement)(l.View,{style:p.default.pipe})),(0,n.createElement)(I.default,{clientId:V}))});e.default=E},2229,[5,946,36,25,1696,1076,1116,1027,2230,2231,2232]); -__d(function(g,r,i,a,m,e,d){m.exports={floatingToolbarOffset:{top:-52},floatingToolbar:{top:-52,position:"absolute",backgroundColor:"#2e2e2e",marginLeft:"auto",marginRight:"auto",minWidth:100,maxHeight:44,borderRadius:22,flexDirection:"row",zIndex:100,height:44,alignItems:"center",justifyContent:"center",alignSelf:"center"},floatingToolbarFillColor:{backgroundColor:"#2e2e2e"},floatingToolbarFillColorDark:{backgroundColor:"#2e2e2e"},toolbar:{borderLeftWidth:0,marginRight:"auto",paddingLeft:2,height:44},pipe:{marginTop:"auto",marginBottom:"auto",marginLeft:2,height:28,width:1,backgroundColor:"#e9eff3",opacity:.4}}},2230,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),n=r(d[2]),o=function(){return(0,t.createElement)(l.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,t.createElement)(l.Path,{fill:"white",fillRule:"evenodd",clipRule:"evenodd",d:"M17,11 z L15.58,12.42 L12,8.83 L12,18 L22,18 L22,20 L10,20 L10,8.83 L6.42,12.42 L5,11 L11,5 L17,11",transform:(0,n.isRTL)()?'scale(-1,1) translate(-24,0)':void 0}))};e.default=o},2231,[946,1696,1027]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=r(d[2]),n=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=t(r(d[7])),I=t(r(d[8])),k=t(r(d[9])),y=(0,c.compose)([(0,n.withSelect)(function(t,o){var l=o.clientId,n=t('core/block-editor'),c=n.getBlockRootClientId,s=n.getBlockName,f=n.getSettings,I=s(l),k=(0,u.getBlockType)(I),y=k?k.icon:{},b=c(l);if(!b)return{clientId:l,blockIcon:y};var T=s(b),p=(0,u.getBlockType)(T);return{clientId:l,blockIcon:y,rootClientId:b,rootBlockIcon:p?p.icon:{},isRTL:f().isRTL}})])(function(t){var n=t.clientId,c=t.blockIcon,u=t.rootClientId,y=t.rootBlockIcon,b=t.isRTL;return(0,o.createElement)(s.View,{style:[k.default.selectionButtonContainer,u&&k.default.densedPaddingLeft]},(0,o.createElement)(s.TouchableOpacity,{style:k.default.button,onPress:function(){},disabled:!0},u&&y&&[(0,o.createElement)(l.Icon,{key:"parent-icon",size:24,icon:y.src,fill:k.default.icon.color}),(0,o.createElement)(s.View,{key:"subdirectory-icon",style:k.default.arrow},(0,o.createElement)(I.default,{fill:k.default.arrow.color,isRTL:b}))],(0,o.createElement)(l.Icon,{size:24,icon:c.src,fill:k.default.icon.color}),(0,o.createElement)(s.Text,{maxFontSizeMultiplier:1.25,ellipsizeMode:"tail",numberOfLines:1,style:k.default.selectionButtonTitle},(0,o.createElement)(f.default,{clientId:n}))))});e.default=y},2232,[5,946,1696,1076,1116,1223,25,2233,2243,2244]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.clientId,f=(0,u.useSelect)(function(t){if(!o)return{};var l=t('core/block-editor'),u=l.getBlockName,c=l.getBlockAttributes,f=l.__experimentalGetReusableBlockTitle,b=u(o);if(!b)return{};var k=(0,n.isReusableBlock)((0,n.getBlockType)(b));return{attributes:c(o),name:b,reusableBlockTitle:k&&f(c(o).ref)}},[o]),b=f.attributes,k=f.name,s=f.reusableBlockTitle,B=(0,c.default)(o);if(!k||!B)return null;var _=(0,n.getBlockType)(k),v=(0,n.__experimentalGetBlockLabel)(_,b);if(v!==_.title)return _.title+": "+(0,l.truncate)(v,{length:15});if(s)return(0,l.truncate)(s,{length:35});return B.title};var l=r(d[1]),u=r(d[2]),n=r(d[3]),c=t(r(d[4]))},2233,[5,1068,1076,1223,2234]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(0,t.useSelect)(function(t){if(!c)return null;var l=t(o.store),u=l.getBlockName,s=l.getBlockAttributes,f=t(n.store),v=f.getBlockType,p=f.getBlockVariations,k=u(c),B=v(k);if(!B)return null;var _=p(k),b={title:B.title,icon:B.icon,description:B.description};if(!(null==_?void 0:_.length))return b;var A=s(c),y=_.find(function(t){return null==t.isActive?void 0:t.isActive(A,t.attributes)});return y?{title:y.title||B.title,icon:y.icon||B.icon,description:y.description||B.description}:b},[c])};var t=r(d[0]),n=r(d[1]),o=r(d[2])},2234,[1076,1223,2235]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=e.storeConfig=void 0;var c=o(r(d[2])),n=r(d[3]),s=o(r(d[4])),f=t(r(d[5])),p=t(r(d[6])),u=o(r(d[7]));function O(t,o){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),c.push.apply(c,n)}return c}function b(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:'',c=(0,l.default)({},n,[]);return t.forEach(function(t){var l=t.clientId,s=t.innerBlocks;c[n].push(l),(0,o.default)(c,S(s,l))}),c}function O(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';return t.reduce(function(t,c){return(0,o.default)(t,(0,l.default)({},c.clientId,n),O(c.innerBlocks,c.clientId))},{})}function T(t){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.identity,l={},u=(0,c.default)(t);u.length;){var E=u.shift(),I=E.innerBlocks,_=(0,n.default)(E,["innerBlocks"]);u.push.apply(u,(0,c.default)(I)),l[_.clientId]=o(_)}return l}function v(t){return T(t,function(t){return(0,s.omit)(t,'attributes')})}function h(t){return T(t,function(t){return t.attributes})}function L(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'',o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,s.reduce)(t[n],function(n,l){return o[l]?n:[].concat((0,c.default)(n),[l],(0,c.default)(L(t,l)))},[])}function p(t,n){return(0,s.isEqual)((0,s.keys)(t),(0,s.keys)(n))}function B(t,n){return'UPDATE_BLOCK_ATTRIBUTES'===t.type&&void 0!==n&&'UPDATE_BLOCK_ATTRIBUTES'===n.type&&(0,s.isEqual)(t.clientIds,n.clientIds)&&p(t.attributes,n.attributes)}var b=function(t){return t.reduce(function(t,n){return t[n]={},t},{})};var R=(0,s.flow)(u.combineReducers,function(t){return function(n,c){if(n&&'SAVE_REUSABLE_BLOCK_SUCCESS'===c.type){var o=c.id,l=c.updatedId;if(o===l)return n;(n=f({},n)).attributes=(0,s.mapValues)(n.attributes,function(t,c){return'core/block'===n.byClientId[c].name&&t.ref===o?f(f({},t),{},{ref:l}):t})}return t(n,c)}},function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,l=t(n,o);if(l===n)return n;l.cache=n.cache?n.cache:{};var u=function(t){return t.reduce(function(t,c){var o=c;do{t.push(o),o=n.parents[o]}while(o&&!n.controlledInnerBlocks[o]);return t},[])};switch(o.type){case'RESET_BLOCKS':l.cache=(0,s.mapValues)(T(o.blocks),function(){return{}});break;case'RECEIVE_BLOCKS':case'INSERT_BLOCKS':var E=(0,s.keys)(T(o.blocks));o.rootClientId&&!n.controlledInnerBlocks[o.rootClientId]&&E.push(o.rootClientId),l.cache=f(f({},l.cache),b(u(E)));break;case'UPDATE_BLOCK':l.cache=f(f({},l.cache),b(u([o.clientId])));break;case'UPDATE_BLOCK_ATTRIBUTES':l.cache=f(f({},l.cache),b(u(o.clientIds)));break;case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':var I=b(u(o.replacedClientIds));l.cache=f(f(f({},(0,s.omit)(l.cache,o.replacedClientIds)),(0,s.omit)(I,o.replacedClientIds)),b((0,s.keys)(T(o.blocks))));break;case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':l.cache=f(f({},(0,s.omit)(l.cache,o.removedClientIds)),b((0,s.difference)(u(o.clientIds),o.clientIds)));break;case'MOVE_BLOCKS_TO_POSITION':var _=(0,c.default)(o.clientIds);o.fromRootClientId&&_.push(o.fromRootClientId),o.toRootClientId&&_.push(o.toRootClientId),l.cache=f(f({},l.cache),b(u(_)));break;case'MOVE_BLOCKS_UP':case'MOVE_BLOCKS_DOWN':var C=[];o.rootClientId&&C.push(o.rootClientId),l.cache=f(f({},l.cache),b(u(C)));break;case'SAVE_REUSABLE_BLOCK_SUCCESS':var S=(0,s.keys)((0,s.omitBy)(l.attributes,function(t,n){return'core/block'!==l.byClientId[n].name||t.ref!==o.updatedId}));l.cache=f(f({},l.cache),b(u(S)))}return l}},function(t){return function(n,o){var l=function(t){for(var l=t,s=0;s0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return v(n.blocks);case'RECEIVE_BLOCKS':case'INSERT_BLOCKS':return f(f({},t),v(n.blocks));case'UPDATE_BLOCK':if(!t[n.clientId])return t;var c=(0,s.omit)(n.updates,'attributes');return(0,s.isEmpty)(c)?t:f(f({},t),{},(0,l.default)({},n.clientId,f(f({},t[n.clientId]),c)));case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':return n.blocks?f(f({},(0,s.omit)(t,n.replacedClientIds)),v(n.blocks)):t;case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.omit)(t,n.removedClientIds)}return t},attributes:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return h(n.blocks);case'RECEIVE_BLOCKS':case'INSERT_BLOCKS':return f(f({},t),h(n.blocks));case'UPDATE_BLOCK':return t[n.clientId]&&n.updates.attributes?f(f({},t),{},(0,l.default)({},n.clientId,f(f({},t[n.clientId]),n.updates.attributes))):t;case'UPDATE_BLOCK_ATTRIBUTES':if(n.clientIds.every(function(n){return!t[n]}))return t;var c=n.clientIds.reduce(function(c,o){return f(f({},c),{},(0,l.default)({},o,(0,s.reduce)(n.attributes,function(n,c,l){var s,u;return c!==n[l]&&((n=(s=t[o])===(u=n)?f({},s):u)[l]=c),n},t[o])))},{});return n.clientIds.every(function(n){return c[n]===t[n]})?t:f(f({},t),c);case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':return n.blocks?f(f({},(0,s.omit)(t,n.replacedClientIds)),h(n.blocks)):t;case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.omit)(t,n.removedClientIds)}return t},order:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return S(n.blocks);case'RECEIVE_BLOCKS':return f(f({},t),(0,s.omit)(S(n.blocks),''));case'INSERT_BLOCKS':var o=n.rootClientId,u=void 0===o?'':o,E=t[u]||[],I=S(n.blocks,u),C=n.index,O=void 0===C?E.length:C;return f(f(f({},t),I),{},(0,l.default)({},u,(0,_.insertAt)(E,I[u],O)));case'MOVE_BLOCKS_TO_POSITION':var T,v=n.fromRootClientId,h=void 0===v?'':v,L=n.toRootClientId,p=void 0===L?'':L,B=n.clientIds,b=n.index,R=void 0===b?t[p].length:b;if(h===p){var N=t[p].indexOf(B[0]);return f(f({},t),{},(0,l.default)({},p,(0,_.moveTo)(t[p],N,R,B.length)))}return f(f({},t),{},(T={},(0,l.default)(T,h,s.without.apply(void 0,[t[h]].concat((0,c.default)(B)))),(0,l.default)(T,p,(0,_.insertAt)(t[p],B,R)),T));case'MOVE_BLOCKS_UP':var k=n.clientIds,A=n.rootClientId,y=void 0===A?'':A,K=(0,s.first)(k),P=t[y];if(!P.length||K===(0,s.first)(P))return t;var M=P.indexOf(K);return f(f({},t),{},(0,l.default)({},y,(0,_.moveTo)(P,M,M-1,k.length)));case'MOVE_BLOCKS_DOWN':var D=n.clientIds,U=n.rootClientId,G=void 0===U?'':U,V=(0,s.first)(D),H=(0,s.last)(D),w=t[G];if(!w.length||H===(0,s.last)(w))return t;var W=w.indexOf(V);return f(f({},t),{},(0,l.default)({},G,(0,_.moveTo)(w,W,W+1,D.length)));case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':var j=n.clientIds;if(!n.blocks)return t;var x=S(n.blocks);return(0,s.flow)([function(t){return(0,s.omit)(t,n.replacedClientIds)},function(t){return f(f({},t),(0,s.omit)(x,''))},function(t){return(0,s.mapValues)(t,function(t){return(0,s.reduce)(t,function(t,n){return n===j[0]?[].concat((0,c.default)(t),(0,c.default)(x[''])):(-1===j.indexOf(n)&&t.push(n),t)},[])})}])(t);case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.flow)([function(t){return(0,s.omit)(t,n.removedClientIds)},function(t){return(0,s.mapValues)(t,function(t){return s.without.apply(void 0,[t].concat((0,c.default)(n.removedClientIds)))})}])(t)}return t},parents:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return O(n.blocks);case'RECEIVE_BLOCKS':return f(f({},t),O(n.blocks));case'INSERT_BLOCKS':return f(f({},t),O(n.blocks,n.rootClientId||''));case'MOVE_BLOCKS_TO_POSITION':return f(f({},t),n.clientIds.reduce(function(t,c){return t[c]=n.toRootClientId||'',t},{}));case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':return f(f({},(0,s.omit)(t,n.replacedClientIds)),O(n.blocks,t[n.clientIds[0]]));case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.omit)(t,n.removedClientIds)}return t},controlledInnerBlocks:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,c=n.type,o=n.clientId,s=n.hasControlledInnerBlocks;return'SET_HAS_CONTROLLED_INNER_BLOCKS'===c?f(f({},t),{},(0,l.default)({},o,s)):t}});function N(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'START_TYPING':return!0;case'STOP_TYPING':return!1}return t}function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'START_DRAGGING_BLOCKS':return n.clientIds;case'STOP_DRAGGING_BLOCKS':return[]}return t}function A(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'ENTER_FORMATTED_TEXT':return!0;case'EXIT_FORMATTED_TEXT':return!1}return t}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'CLEAR_SELECTED_BLOCK':return t.clientId?{}:t;case'SELECT_BLOCK':return n.clientId===t.clientId?t:{clientId:n.clientId};case'REPLACE_INNER_BLOCKS':case'INSERT_BLOCKS':return n.updateSelection&&n.blocks.length?{clientId:n.blocks[0].clientId}:t;case'REMOVE_BLOCKS':return n.clientIds&&n.clientIds.length&&-1!==n.clientIds.indexOf(t.clientId)?{}:t;case'REPLACE_BLOCKS':if(-1===n.clientIds.indexOf(t.clientId))return t;var c=n.indexToSelect||n.blocks.length-1,o=n.blocks[c];if(!o)return{};if(o.clientId===t.clientId)return t;var l={clientId:o.clientId};return'number'==typeof n.initialPosition&&(l.initialPosition=n.initialPosition),l}return t}function K(){var t,n,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'SELECTION_CHANGE':return{selectionStart:{clientId:o.clientId,attributeKey:o.attributeKey,offset:o.startOffset},selectionEnd:{clientId:o.clientId,attributeKey:o.attributeKey,offset:o.endOffset}};case'RESET_SELECTION':return{selectionStart:o.selectionStart,selectionEnd:o.selectionEnd};case'MULTI_SELECT':return{selectionStart:{clientId:o.start},selectionEnd:{clientId:o.end}};case'RESET_BLOCKS':var l=null==c?void 0:null==(t=c.selectionStart)?void 0:t.clientId,s=null==c?void 0:null==(n=c.selectionEnd)?void 0:n.clientId;if(!l&&!s)return c;if(!o.blocks.some(function(t){return t.clientId===l}))return{selectionStart:{},selectionEnd:{}};if(!o.blocks.some(function(t){return t.clientId===s}))return f(f({},c),{},{selectionEnd:c.selectionStart})}return{selectionStart:y(c.selectionStart,o),selectionEnd:y(c.selectionEnd,o)}}function P(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'START_MULTI_SELECT':return!0;case'STOP_MULTI_SELECT':return!1}return t}function M(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'TOGGLE_SELECTION':return n.isSelectionEnabled}return t}function D(t,n){return'REPLACE_BLOCKS'===n.type&&'number'==typeof n.initialPosition?n.initialPosition:'SELECT_BLOCK'===n.type?n.initialPosition:'REMOVE_BLOCKS'===n.type?t:'START_TYPING'===n.type?t:void 0}function U(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if('TOGGLE_BLOCK_MODE'===n.type){var c=n.clientId;return f(f({},t),{},(0,l.default)({},c,t[c]&&'html'===t[c]?'visual':'html'))}return t}function G(t,n,c){switch(n.type){case'CLEAR_SELECTED_BLOCK':case'SELECT_BLOCK':case'SELECTION_CHANGE':case'REPLACE_INNER_BLOCKS':case'INSERT_BLOCKS':case'REMOVE_BLOCKS':case'REPLACE_BLOCKS':return c}return t}function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_INSERTION_POINT':case'SHOW_INSERTION_POINT':return{rootClientId:n.rootClientId,index:n.index}}return G(t,n,null)}function H(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SHOW_INSERTION_POINT':return!0;case'HIDE_INSERTION_POINT':return!1}return G(t,n,!1)}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_TEMPLATE_VALIDITY':return f(f({},t),{},{isValid:n.isValid})}return t}function W(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I.SETTINGS_DEFAULTS,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'UPDATE_SETTINGS':return f(f({},t),n.settings)}return t}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I.PREFERENCES_DEFAULTS,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'INSERT_BLOCKS':case'REPLACE_BLOCKS':return n.blocks.reduce(function(t,c){var o=c.name,s={name:c.name};return(0,E.isReusableBlock)(c)&&(s.ref=c.attributes.ref,o+='/'+c.attributes.ref),f(f({},t),{},{insertUsage:f(f({},t.insertUsage),{},(0,l.default)({},o,{time:n.time,count:t.insertUsage[o]?t.insertUsage[o].count+1:1,insert:s}))})},t)}return t}e.blocks=R;var x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'REPLACE_BLOCKS':case'REMOVE_BLOCKS':return(0,s.omit)(t,n.clientIds);case'UPDATE_BLOCK_LIST_SETTINGS':var c=n.clientId;return n.settings?(0,s.isEqual)(t[c],n.settings)?t:f(f({},t),{},(0,l.default)({},c,n.settings)):t.hasOwnProperty(c)?(0,s.omit)(t,c):t}return t};function F(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;return'INSERT_BLOCKS'!==n.type&&('SET_NAVIGATION_MODE'===n.type?n.isNavigationMode:t)}function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;return'SET_BLOCK_MOVING_MODE'===n.type?n.hasBlockMovingClientId:'SET_NAVIGATION_MODE'===n.type?null:t}function X(t,n){switch(n.type){case'UPDATE_BLOCK':if(!n.updates.attributes)break;return(0,l.default)({},n.clientId,n.updates.attributes);case'UPDATE_BLOCK_ATTRIBUTES':return n.clientIds.reduce(function(t,c){return f(f({},t),{},(0,l.default)({},c,n.attributes))},{})}return null}function q(t,n){switch(n.type){case'MARK_AUTOMATIC_CHANGE':return'pending';case'MARK_AUTOMATIC_CHANGE_FINAL':return'pending'===t?'final':void 0;case'SELECTION_CHANGE':return'final'!==t?t:void 0;case'START_TYPING':case'STOP_TYPING':return t}}function z(t,n){switch(n.type){case'TOGGLE_BLOCK_HIGHLIGHT':var c=n.clientId;return n.isHighlighted?c:t===c?null:t;case'SELECT_BLOCK':if(n.clientId!==t)return null}return t}e.blockListSettings=x;var J=(0,u.combineReducers)({blocks:R,isTyping:N,draggedBlocks:k,isCaretWithinFormattedText:A,selection:K,isMultiSelecting:P,isSelectionEnabled:M,initialPosition:D,blocksMode:U,blockListSettings:x,insertionPoint:V,insertionPointVisibility:H,template:w,settings:W,preferences:j,lastBlockAttributesChange:X,isNavigationMode:F,hasBlockMovingClientId:Y,automaticChangeStatus:q,highlightedBlock:z});e.default=J},2236,[5,67,14,24,66,1068,1076,1223,2237,2239]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PREFERENCES_DEFAULTS",{enumerable:!0,get:function(){return o.PREFERENCES_DEFAULTS}}),e.SETTINGS_DEFAULTS=void 0;var n=t(r(d[1])),o=r(d[2]);function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function O(t){for(var o=1;o3&&void 0!==arguments[3]?arguments[3]:1,f=(0,n.default)(t);return f.splice(c,o),l(f,t.slice(c,c+o),u)};var n=t(r(d[1])),c=r(d[2]);function l(t,l,u){return[].concat((0,n.default)(t.slice(0,u)),(0,n.default)((0,c.castArray)(l)),(0,n.default)(t.slice(u)))}},2239,[5,14,1068]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockName=h,e.isBlockValid=function(t,n){var l=t.blocks.byClientId[n];return!!l&&l.isValid},e.getBlockAttributes=S,e.getBlockCount=function(t,n){return U(t,n).length},e.getSelectionStart=function(t){return t.selection.selectionStart},e.getSelectionEnd=function(t){return t.selection.selectionEnd},e.getBlockSelectionStart=function(t){return t.selection.selectionStart.clientId},e.getBlockSelectionEnd=function(t){return t.selection.selectionEnd.clientId},e.getSelectedBlockCount=function(t){var n=V(t).length;if(n)return n;return t.selection.selectionStart.clientId?1:0},e.hasSelectedBlock=function(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd;return!!l.clientId&&l.clientId===o.clientId},e.getSelectedBlockClientId=M,e.getSelectedBlock=function(t){var n=M(t);return n?C(t,n):null},e.getBlockRootClientId=L,e.getBlockHierarchyRootClientId=function(t,n){var l,o=n;do{l=o,o=t.blocks.parents[o]}while(o);return l},e.getLowestCommonAncestorWithSelectedBlock=function(t,n){for(var o,c=M(t),u=[].concat((0,l.default)(G(t,n)),[n]),s=[].concat((0,l.default)(G(t,c)),[c]),f=Math.min(u.length,s.length),k=0;k2&&void 0!==arguments[2]&&arguments[2];return(0,c.some)(U(n,l),function(l){return $(n,l)||z(n,l)||o&&t(n,l,o)})},e.isBlockWithinSelection=function(t,n){if(!n)return!1;var l=V(t),o=l.indexOf(n);return o>-1&&o2&&void 0!==arguments[2]?arguments[2]:null;return n.every(function(n){return Y(t,h(t,n),l)})},e.getBlockListSettings=ue,e.getSettings=se,e.isLastBlockChangePersistent=function(t){return t.blocks.isPersistentChange},e.__unstableIsLastBlockChangeIgnored=function(t){return t.blocks.isIgnoredChange},e.__experimentalGetLastBlockAttributeChanges=function(t){return t.lastBlockAttributesChange},e.isNavigationMode=function(t){return t.isNavigationMode},e.hasBlockMovingClientId=function(t){return t.hasBlockMovingClientId},e.didAutomaticChange=function(t){return!!t.automaticChangeStatus},e.isBlockHighlighted=function(t,n){return t.highlightedBlock===n},e.areInnerBlocksControlled=ge,e.__experimentalGetActiveBlockIdByBlockNames=e.__experimentalGetReusableBlockTitle=e.__experimentalGetParsedReusableBlock=e.__experimentalGetBlockListSettingsForBlocks=e.__experimentalGetAllowedBlocks=e.hasInserterItems=e.getBlockTransformItems=e.getInserterItems=e.canInsertBlockType=e.isAncestorMultiSelected=e.getMultiSelectedBlocks=e.getSelectedBlockClientIds=e.getBlockParentsByBlockName=e.getBlockParents=e.getBlocksByClientId=e.getGlobalBlockCount=e.getClientIdsWithDescendants=e.getClientIdsOfDescendants=e.__unstableGetBlockTree=e.__unstableGetBlockWithBlockTree=e.getBlocks=e.__unstableGetBlockWithoutInnerBlocks=e.getBlock=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),u=t(r(d[5])),s=r(d[6]),f=r(d[7]);function k(t,n){var l;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(l=v(t))||n&&t&&"number"==typeof t.length){l&&(t=l);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(l=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(l)}function v(t,n){if(t){if("string"==typeof t)return b(t,n);var l=Object.prototype.toString.call(t).slice(8,-1);return"Object"===l&&t.constructor&&(l=t.constructor.name),"Map"===l||"Set"===l?Array.from(t):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var l=0,o=new Array(n);l1&&void 0!==arguments[1]?arguments[1]:'';return(0,c.map)(U(t,n),function(n){return T(t,n)})},function(t){return[t.blocks.byClientId,t.blocks.order,t.blocks.attributes]});e.__unstableGetBlockTree=x;var O=function t(n,o){return(0,c.flatMap)(o,function(o){var c=U(n,o);return[].concat((0,l.default)(c),(0,l.default)(t(n,c)))})};e.getClientIdsOfDescendants=O;var P=(0,u.default)(function(t){var n=U(t);return[].concat((0,l.default)(n),(0,l.default)(O(t,n)))},function(t){return[t.blocks.order]});e.getClientIdsWithDescendants=P;var A=(0,u.default)(function(t,n){var l=P(t);return n?(0,c.reduce)(l,function(l,o){return t.blocks.byClientId[o].name===n?l+1:l},0):l.length},function(t){return[t.blocks.order,t.blocks.byClientId]});e.getGlobalBlockCount=A;var E=(0,u.default)(function(t,n){return(0,c.map)((0,c.castArray)(n),function(n){return C(t,n)})},function(t){return[t.blocks.byClientId,t.blocks.order,t.blocks.attributes]});function M(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd,c=l.clientId;return c&&c===o.clientId?c:null}function L(t,n){return void 0!==t.blocks.parents[n]?t.blocks.parents[n]:null}e.getBlocksByClientId=E;var G=(0,u.default)(function(t,n){for(var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=[],c=n;t.blocks.parents[c];)c=t.blocks.parents[c],o.push(c);return l?o:o.reverse()},function(t){return[t.blocks.parents]});e.getBlockParents=G;var j=(0,u.default)(function(t,n,l){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=G(t,n,o);return(0,c.map)((0,c.filter)((0,c.map)(u,function(n){return{id:n,name:h(t,n)}}),function(t){var n=t.name;return Array.isArray(l)?l.includes(n):n===l}),function(t){return t.id})},function(t){return[t.blocks.parents]});function D(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===n&&(n=M(t)),void 0===n&&(n=l<0?R(t):F(t)),!n)return null;var o=L(t,n);if(null===o)return null;var c=t.blocks.order[o],u=c.indexOf(n)+1*l;return u<0?null:u===c.length?null:c[u]}e.getBlockParentsByBlockName=j;var W=(0,u.default)(function(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd;if(void 0===l.clientId||void 0===o.clientId)return y;if(l.clientId===o.clientId)return[l.clientId];var c=L(t,l.clientId);if(null===c)return y;var u=U(t,c),s=u.indexOf(l.clientId),f=u.indexOf(o.clientId);return s>f?u.slice(f,s+1):u.slice(s,f+1)},function(t){return[t.blocks.order,t.selection.selectionStart.clientId,t.selection.selectionEnd.clientId]});function V(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd;return l.clientId===o.clientId?y:W(t)}e.getSelectedBlockClientIds=W;var N=(0,u.default)(function(t){var n=V(t);return n.length?n.map(function(n){return C(t,n)}):y},function(t){return[].concat((0,l.default)(W.getDependants(t)),[t.blocks.byClientId,t.blocks.order,t.blocks.attributes])});function R(t){return(0,c.first)(V(t))||null}function F(t){return(0,c.last)(V(t))||null}function z(t,n){return-1!==V(t).indexOf(n)}e.getMultiSelectedBlocks=N;var H=(0,u.default)(function(t,n){for(var l=n,o=!1;l&&!o;)o=z(t,l=L(t,l));return o},function(t){return[t.blocks.order,t.selection.selectionStart.clientId,t.selection.selectionEnd.clientId]});function U(t,n){return t.blocks.order[n||'']||y}function K(t,n,l){return U(t,l).indexOf(n)}function $(t,n){var l=t.selection,o=l.selectionStart,c=l.selectionEnd;return o.clientId===c.clientId&&o.clientId===n}function q(t){return!!t.draggedBlocks.length}function J(t,n){return t.draggedBlocks.includes(n)}function Q(t,n){if(!n)return t.settings.templateLock;var l=ue(t,n);return l?l.templateLock:null}e.isAncestorMultiSelected=H;var X=function(t,n){var l,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=function(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(0,c.isBoolean)(t)?t:(0,c.isArray)(t)?!(!t.includes('core/post-content')||null!==n)||t.includes(n):l};if(n&&'object'==typeof n?n=(l=n).name:l=(0,s.getBlockType)(n),!l)return!1;if(!u(se(t).allowedBlockTypes,n,!0))return!1;if(!!Q(t,o))return!1;var f=ue(t,o);if(o&&void 0===f)return!1;var k=u(null==f?void 0:f.allowedBlocks,n),v=u(l.parent,h(t,o));return null!==k&&null!==v?k||v:null!==k?k:null===v||v},Y=(0,u.default)(X,function(t,n,l){return[t.blockListSettings[l],t.blocks.byClientId[l],t.settings.allowedBlockTypes,t.settings.templateLock]});function Z(t,n){var l,o;return null!=(l=null==(o=t.preferences.insertUsage)?void 0:o[n])?l:null}e.canInsertBlockType=Y;var ee=function(t,n,l){return!!(0,s.hasBlockSupport)(n,'inserter',!0)&&X(t,n.name,l)},te=function(t){return function(n){return p(p({},t),{},{id:t.id+"-"+n.name,icon:n.icon||t.icon,title:n.title||t.title,description:n.description||t.description,category:n.category||t.category,example:n.hasOwnProperty('example')?n.example:t.example,initialAttributes:p(p({},t.initialAttributes),n.attributes),innerBlocks:n.innerBlocks,keywords:n.keywords||t.keywords})}},ne=function(t,n){if(!t)return n;var l=Date.now()-t;switch(!0){case l<36e5:return 4*n;case l<864e5:return 2*n;case l<6048e5:return n/2;default:return n/4}},re=function(t,n){var l=n.buildScope,o=void 0===l?'inserter':l;return function(n){var l=n.name,u=!1;(0,s.hasBlockSupport)(n.name,'multiple',!0)||(u=(0,c.some)(E(t,P(t)),{name:n.name}));var f=Z(t,l)||{},k=f.time,v=f.count,b=void 0===v?0:v,B={id:l,name:n.name,title:n.title,icon:n.icon,isDisabled:u,frecency:ne(k,b)};if('transform'===o)return B;var I=n.variations.filter(function(t){var n=t.scope;return!n||n.includes('inserter')});return p(p({},B),{},{initialAttributes:{},description:n.description,category:n.category,keywords:n.keywords,variations:I,example:n.example,utility:1})}},le=(0,u.default)(function(t){for(var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=re(t,{buildScope:'inserter'}),u=(0,s.getBlockTypes)().filter(function(n){return ee(t,n,o)}).map(c),f=X(t,'core/block',o)?ke(t).map(function(n){var l,o="core/block/"+n.id,c=de(t,n.id);1===c.length&&(l=(0,s.getBlockType)(c[0].name));var u=Z(t,o)||{},f=u.time,k=u.count,v=ne(f,void 0===k?0:k);return{id:o,name:'core/block',initialAttributes:{ref:n.id},title:n.title.raw,icon:l?l.icon:I,category:'reusable',keywords:[],isDisabled:!1,utility:1,frecency:v}}):[],v=u.filter(function(t){var n=t.variations;return!(void 0===n?[]:n).some(function(t){return t.isDefault})}),b=[],B=k(u);!(n=B()).done;){var p=n.value,y=p.variations,h=void 0===y?[]:y;if(h.length){var S=te(p);b.push.apply(b,(0,l.default)(h.map(S)))}}return[].concat((0,l.default)(v),b,(0,l.default)(f))},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.blocks.order,t.preferences.insertUsage,t.settings.allowedBlockTypes,t.settings.templateLock,ke(t),(0,s.getBlockTypes)()]});e.getInserterItems=le;var ie=(0,u.default)(function(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=re(t,{buildScope:'transform'}),u=(0,s.getBlockTypes)().filter(function(n){return ee(t,n,l)}).map(o),f=(0,c.mapKeys)(u,function(t){return t.name}),k=(0,s.getPossibleBlockTransformations)(n).reduce(function(t,n){return f[null==n?void 0:n.name]&&t.push(f[n.name]),t},[]);return(0,c.orderBy)(k,function(t){return f[t.name].frecency},'desc')},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.preferences.insertUsage,t.settings.allowedBlockTypes,t.settings.templateLock,(0,s.getBlockTypes)()]});e.getBlockTransformItems=ie;var oe=(0,u.default)(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!(0,c.some)((0,s.getBlockTypes)(),function(l){return ee(t,l,n)})||X(t,'core/block',n)&&ke(t).length>0},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.settings.allowedBlockTypes,t.settings.templateLock,ke(t),(0,s.getBlockTypes)()]});e.hasInserterItems=oe;var ce=(0,u.default)(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(n)return(0,c.filter)((0,s.getBlockTypes)(),function(l){return ee(t,l,n)})},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.settings.allowedBlockTypes,t.settings.templateLock,(0,s.getBlockTypes)()]});function ue(t,n){return t.blockListSettings[n]}function se(t){return t.settings}e.__experimentalGetAllowedBlocks=ce;var ae=(0,u.default)(function(t,n){return(0,c.filter)(t.blockListSettings,function(t,l){return n.includes(l)})},function(t){return[t.blockListSettings]});e.__experimentalGetBlockListSettingsForBlocks=ae;var de=(0,u.default)(function(t,n){var l=(0,c.find)(ke(t),function(t){return t.id===n});return l?(0,s.parse)('string'==typeof l.content.raw?l.content.raw:l.content):null},function(t){return[ke(t)]});e.__experimentalGetParsedReusableBlock=de;var fe=(0,u.default)(function(t,n){var l,o=(0,c.find)(ke(t),function(t){return t.id===n});return o?null==(l=o.title)?void 0:l.raw:null},function(t){return[ke(t)]});function ke(t){var n,l;return null!=(n=null==t?void 0:null==(l=t.settings)?void 0:l.__experimentalReusableBlocks)?n:y}function ge(t,n){return!!t.blocks.controlledInnerBlocks[n]}e.__experimentalGetReusableBlockTitle=fe;var ve=(0,u.default)(function(t,n){if(!n.length)return null;var l=M(t);if(n.includes(h(t,l)))return l;var o=V(t),u=j(t,l||o[0],n);return u?(0,c.last)(u):null},function(t,n){return[t.selection.selectionStart.clientId,t.selection.selectionEnd.clientId,n]});e.__experimentalGetActiveBlockIdByBlockNames=ve},2240,[5,946,14,66,1068,1175,1223,1696]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.resetBlocks=W,e.validateBlocksToTemplate=Y,e.resetSelection=function(t,n){return{type:'RESET_SELECTION',selectionStart:t,selectionEnd:n}},e.receiveBlocks=function(t){return{type:'RECEIVE_BLOCKS',blocks:t}},e.updateBlockAttributes=function(t,n){return{type:'UPDATE_BLOCK_ATTRIBUTES',clientIds:(0,s.castArray)(t),attributes:n}},e.updateBlock=function(t,n){return{type:'UPDATE_BLOCK',clientId:t,updates:n}},e.selectBlock=F,e.selectPreviousBlock=X,e.selectNextBlock=z,e.startMultiSelect=function(){return{type:'START_MULTI_SELECT'}},e.stopMultiSelect=function(){return{type:'STOP_MULTI_SELECT'}},e.multiSelect=Z,e.clearSelectedBlock=function(){return{type:'CLEAR_SELECTED_BLOCK'}},e.toggleSelection=function(){return{type:'TOGGLE_SELECTION',isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}},e.replaceBlocks=q,e.replaceBlock=function(t,n){return q(t,n)},e.moveBlocksToPosition=te,e.moveBlockToPosition=re,e.insertBlock=ne,e.insertBlocks=oe,e.__unstableSetInsertionPoint=function(t,n){return{type:'SET_INSERTION_POINT',rootClientId:t,index:n}},e.showInsertionPoint=function(t,n){return{type:'SHOW_INSERTION_POINT',rootClientId:t,index:n}},e.hideInsertionPoint=function(){return{type:'HIDE_INSERTION_POINT'}},e.setTemplateValidity=ce,e.synchronizeTemplate=ae,e.mergeBlocks=se,e.removeBlocks=ue,e.removeBlock=function(t,n){return ue([t],n)},e.replaceInnerBlocks=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:'REPLACE_INNER_BLOCKS',rootClientId:t,blocks:n,updateSelection:o,time:Date.now()}},e.toggleBlockMode=function(t){return{type:'TOGGLE_BLOCK_MODE',clientId:t}},e.startTyping=function(){return{type:'START_TYPING'}},e.stopTyping=function(){return{type:'STOP_TYPING'}},e.startDraggingBlocks=function(){return{type:'START_DRAGGING_BLOCKS',clientIds:arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]}},e.stopDraggingBlocks=function(){return{type:'STOP_DRAGGING_BLOCKS'}},e.enterFormattedText=function(){return{type:'ENTER_FORMATTED_TEXT'}},e.exitFormattedText=function(){return{type:'EXIT_FORMATTED_TEXT'}},e.selectionChange=ie,e.insertDefaultBlock=le,e.updateBlockListSettings=function(t,n){return{type:'UPDATE_BLOCK_LIST_SETTINGS',clientId:t,settings:n}},e.updateSettings=function(t){return{type:'UPDATE_SETTINGS',settings:t}},e.__unstableSaveReusableBlock=function(t,n){return{type:'SAVE_REUSABLE_BLOCK_SUCCESS',id:t,updatedId:n}},e.__unstableMarkLastChangeAsPersistent=function(){return{type:'MARK_LAST_CHANGE_AS_PERSISTENT'}},e.__unstableMarkNextChangeAsNotPersistent=function(){return{type:'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT'}},e.__unstableMarkAutomaticChange=de,e.__unstableMarkAutomaticChangeFinal=function(){return{type:'MARK_AUTOMATIC_CHANGE_FINAL'}},e.setNavigationMode=pe,e.setBlockMovingClientId=fe,e.duplicateBlocks=ke,e.insertBeforeBlock=be,e.insertAfterBlock=xe,e.toggleBlockHighlight=ge,e.flashBlock=Te,e.setHasControlledInnerBlocks=function(t,n){return{type:'SET_HAS_CONTROLLED_INNER_BLOCKS',hasControlledInnerBlocks:n,clientId:t}},e.moveBlocksUp=e.moveBlocksDown=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),s=r(d[4]),u=r(d[5]),l=r(d[6]),p=r(d[7]),f=r(d[8]),k=r(d[9]),b=r(d[10]);function x(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=T(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var c=0;return function(){return c>=t.length?{done:!0}:{done:!1,value:t[c++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function T(t,n){if(t){if("string"==typeof t)return v(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(t,n):void 0}}function v(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,c=new Array(n);o1&&void 0!==arguments[1]?arguments[1]:null,clientId:t}}function X(t){var n;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,f.controls.select('core/block-editor','getPreviousBlockClientId',t);case 2:if(!(n=o.sent)){o.next=7;break}return o.next=6,F(n,-1);case 6:return o.abrupt("return",[n]);case 7:case"end":return o.stop()}},E)}function z(t){var n;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,f.controls.select('core/block-editor','getNextBlockClientId',t);case 2:if(!(n=o.sent)){o.next=7;break}return o.next=6,F(n);case 6:return o.abrupt("return",[n]);case 7:case"end":return o.stop()}},B)}function Z(t,n){var o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,{type:'MULTI_SELECT',start:t,end:n};case 2:return c.next=4,f.controls.select('core/block-editor','getSelectedBlockCount');case 4:o=c.sent,(0,l.speak)((0,p.sprintf)((0,p._n)('%s block selected.','%s blocks selected.',o),o),'assertive');case 6:case"end":return c.stop()}},O)}function $(t,n){var o,c,s=null!=(o=null==n?void 0:null==(c=n.__experimentalPreferredStyleVariations)?void 0:c.value)?o:{};return t.map(function(t){var n,o=t.name;if(!(0,u.hasBlockSupport)(o,'defaultStylePicker',!0))return t;if(!s[o])return t;var c=null==(n=t.attributes)?void 0:n.className;if(null==c?void 0:c.includes('is-style-'))return t;var l=t.attributes,p=void 0===l?{}:l,f=s[o];return y(y({},t),{},{attributes:y(y({},p),{},{className:((c||'')+" is-style-"+f).trim()})})})}function q(t,n,o,u,l){var p,k,b;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return t=(0,s.castArray)(t),c.t0=$,c.t1=(0,s.castArray)(n),c.next=5,f.controls.select('core/block-editor','getSettings');case 5:return c.t2=c.sent,n=(0,c.t0)(c.t1,c.t2),c.next=9,f.controls.select('core/block-editor','getBlockRootClientId',(0,s.first)(t));case 9:p=c.sent,k=0;case 11:if(!(k1&&void 0!==p[1]?p[1]:'',o=p.length>2&&void 0!==p[2]?p[2]:'',s=p.length>3?p[3]:void 0,c.next=5,f.controls.select('core/block-editor','getTemplateLock',n);case 5:if('all'!==(u=c.sent)){c.next=8;break}return c.abrupt("return");case 8:if(l={type:'MOVE_BLOCKS_TO_POSITION',fromRootClientId:n,toRootClientId:o,clientIds:t,index:s},n!==o){c.next=13;break}return c.next=12,l;case 12:return c.abrupt("return");case 13:if('insert'!==u){c.next=15;break}return c.abrupt("return");case 15:return c.next=17,f.controls.select('core/block-editor','canInsertBlocks',t,o);case 17:if(!c.sent){c.next=21;break}return c.next=21,l;case 21:case"end":return c.stop()}},w)}function re(t){var n,o,s,u=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return n=u.length>1&&void 0!==u[1]?u[1]:'',o=u.length>2&&void 0!==u[2]?u[2]:'',s=u.length>3?u[3]:void 0,c.next=5,te([t],n,o,s);case 5:case"end":return c.stop()}},A)}function ne(t,n,o){return oe([t],n,o,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function oe(t,n,o){var u,l,p,k,b,T,v=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return u=!(v.length>3&&void 0!==v[3])||v[3],l=v.length>4?v[4]:void 0,c.t0=$,c.t1=(0,s.castArray)(t),c.next=6,f.controls.select('core/block-editor','getSettings');case 6:c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),p=[],k=x(t);case 10:if((b=k()).done){c.next=18;break}return T=b.value,c.next=14,f.controls.select('core/block-editor','canInsertBlockType',T.name,o);case 14:c.sent&&p.push(T);case 16:c.next=10;break;case 18:if(!p.length){c.next=20;break}return c.abrupt("return",{type:'INSERT_BLOCKS',blocks:p,index:n,rootClientId:o,time:Date.now(),updateSelection:u,meta:l});case 20:case"end":return c.stop()}},L)}function ce(t){return{type:'SET_TEMPLATE_VALIDITY',isValid:t}}function ae(){var t,n,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,{type:'SYNCHRONIZE_TEMPLATE'};case 2:return c.next=4,f.controls.select('core/block-editor','getBlocks');case 4:return t=c.sent,c.next=7,f.controls.select('core/block-editor','getTemplate');case 7:return n=c.sent,o=(0,u.synchronizeBlocksWithTemplate)(t,n),c.next=11,W(o);case 11:return c.abrupt("return",c.sent);case 12:case"end":return c.stop()}},N)}function se(t,o){var l,p,b,x,T,v,_,S,h,I,E,B,O,C,w,A,L,N,R,M,D,K,G,U,H,j,V,W,Y,X,z,Z,$,J;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return l=[t,o],c.next=3,{type:'MERGE_BLOCKS',blocks:l};case 3:return p=l[0],b=l[1],c.next=6,f.controls.select('core/block-editor','getBlock',p);case 6:if(x=c.sent,(T=(0,u.getBlockType)(x.name)).merge){c.next=12;break}return c.next=11,F(x.clientId);case 11:return c.abrupt("return");case 12:return c.next=14,f.controls.select('core/block-editor','getBlock',b);case 14:return v=c.sent,_=(0,u.getBlockType)(v.name),c.next=18,f.controls.select('core/block-editor','getSelectionStart');case 18:if(S=c.sent,h=S.clientId,I=S.attributeKey,E=S.offset,B=(h===p?T:_).attributes[I],O=(h===p||h===b)&&void 0!==I&&void 0!==E&&!!B,B||('number'==typeof I?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was "+typeof I):window.console.error('The RichText identifier prop does not match any attributes defined by the block.')),C="\x86",w=(0,u.cloneBlock)(x),A=(0,u.cloneBlock)(v),O&&(N=(L=h===p?w:A).attributes[I],R=B.multiline,M=B.__unstableMultilineWrapperTags,D=B.__unstablePreserveWhiteSpace,K=(0,k.insert)((0,k.create)({html:N,multilineTag:R,multilineWrapperTags:M,preserveWhiteSpace:D}),C,E,E),L.attributes[I]=(0,k.toHTMLString)({value:K,multilineTag:R,preserveWhiteSpace:D})),(G=x.name===v.name?[A]:(0,u.switchToBlockType)(A,x.name))&&G.length){c.next=33;break}return c.abrupt("return");case 33:if(U=T.merge(w.attributes,G[0].attributes),!O){c.next=45;break}return H=(0,s.findKey)(U,function(t){return'string'==typeof t&&-1!==t.indexOf(C)}),j=U[H],V=T.attributes[H],W=V.multiline,Y=V.__unstableMultilineWrapperTags,X=V.__unstablePreserveWhiteSpace,z=(0,k.create)({html:j,multilineTag:W,multilineWrapperTags:Y,preserveWhiteSpace:X}),Z=z.text.indexOf(C),$=(0,k.remove)(z,Z,Z+1),J=(0,k.toHTMLString)({value:$,multilineTag:W,preserveWhiteSpace:X}),U[H]=J,c.next=45,ie(x.clientId,H,Z,Z);case 45:return c.delegateYield(q([x.clientId,v.clientId],[y(y({},x),{},{attributes:y(y({},x.attributes),U)})].concat((0,n.default)(G.slice(1)))),"t0",46);case 46:case"end":return c.stop()}},P)}function ue(t){var n,o,u,l,p=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(n=!(p.length>1&&void 0!==p[1])||p[1],t&&t.length){c.next=3;break}return c.abrupt("return");case 3:return t=(0,s.castArray)(t),c.next=6,f.controls.select('core/block-editor','getBlockRootClientId',t[0]);case 6:return o=c.sent,c.next=9,f.controls.select('core/block-editor','getTemplateLock',o);case 9:if(!c.sent){c.next=12;break}return c.abrupt("return");case 12:if(!n){c.next=18;break}return c.next=15,X(t[0]);case 15:u=c.sent,c.next=21;break;case 18:return c.next=20,f.controls.select('core/block-editor','getPreviousBlockClientId',t[0]);case 20:u=c.sent;case 21:return c.next=23,{type:'REMOVE_BLOCKS',clientIds:t};case 23:return c.delegateYield(V(),"t0",24);case 24:return l=c.t0,c.abrupt("return",[u||l]);case 26:case"end":return c.stop()}},R)}function ie(t,n,o,c){return{type:'SELECTION_CHANGE',clientId:t,attributeKey:n,startOffset:o,endOffset:c}}function le(t,n,o){var c=(0,u.getDefaultBlockName)();if(c)return ne((0,u.createBlock)(c,t),o,n)}function de(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:'MARK_AUTOMATIC_CHANGE'};case 2:return t.next=4,(0,b.__unstableMarkAutomaticChangeFinalControl)();case 4:case"end":return t.stop()}},M)}function pe(){var t,n=arguments;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=!(n.length>0&&void 0!==n[0])||n[0],o.next=3,{type:'SET_NAVIGATION_MODE',isNavigationMode:t};case 3:t?(0,l.speak)((0,p.__)('You are currently in navigation mode. Navigate blocks using the Tab key and Arrow keys. Use Left and Right Arrow keys to move between nesting levels. To exit navigation mode and edit the selected block, press Enter.')):(0,l.speak)((0,p.__)('You are currently in edit mode. To return to the navigation mode, press Escape.'));case 4:case"end":return o.stop()}},D)}function fe(){var t,n=arguments;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:null,o.next=3,{type:'SET_BLOCK_MOVING_MODE',hasBlockMovingClientId:t};case 3:t&&(0,l.speak)((0,p.__)('Use the Tab key and Arrow keys to choose new block location. Use Left and Right Arrow keys to move between nesting levels. Once location is selected press Enter or Space to move the block.'));case 4:case"end":return o.stop()}},K)}function ke(t){var n,o,l,p,k,b,x=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(n=!(x.length>1&&void 0!==x[1])||x[1],t||t.length){c.next=3;break}return c.abrupt("return");case 3:return c.next=5,f.controls.select('core/block-editor','getBlocksByClientId',t);case 5:return o=c.sent,c.next=8,f.controls.select('core/block-editor','getBlockRootClientId',t[0]);case 8:if(l=c.sent,!(0,s.some)(o,function(t){return!t})){c.next=11;break}return c.abrupt("return");case 11:if(p=o.map(function(t){return t.name}),!(0,s.some)(p,function(t){return!(0,u.hasBlockSupport)(t,'multiple',!0)})){c.next=14;break}return c.abrupt("return");case 14:return c.next=16,f.controls.select('core/block-editor','getBlockIndex',(0,s.last)((0,s.castArray)(t)),l);case 16:return k=c.sent,b=o.map(function(t){return(0,u.cloneBlock)(t)}),c.next=20,oe(b,k+1,l,n);case 20:if(!(b.length>1&&n)){c.next=23;break}return c.next=23,Z((0,s.first)(b).clientId,(0,s.last)(b).clientId);case 23:return c.abrupt("return",b.map(function(t){return t.clientId}));case 24:case"end":return c.stop()}},G)}function be(t){var n,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(t){c.next=2;break}return c.abrupt("return");case 2:return c.next=4,f.controls.select('core/block-editor','getBlockRootClientId',t);case 4:return n=c.sent,c.next=7,f.controls.select('core/block-editor','getTemplateLock',n);case 7:if(!c.sent){c.next=10;break}return c.abrupt("return");case 10:return c.next=12,f.controls.select('core/block-editor','getBlockIndex',t,n);case 12:return o=c.sent,c.next=15,le({},n,o);case 15:return c.abrupt("return",c.sent);case 16:case"end":return c.stop()}},U)}function xe(t){var n,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(t){c.next=2;break}return c.abrupt("return");case 2:return c.next=4,f.controls.select('core/block-editor','getBlockRootClientId',t);case 4:return n=c.sent,c.next=7,f.controls.select('core/block-editor','getTemplateLock',n);case 7:if(!c.sent){c.next=10;break}return c.abrupt("return");case 10:return c.next=12,f.controls.select('core/block-editor','getBlockIndex',t,n);case 12:return o=c.sent,c.next=15,le({},n,o+1);case 15:return c.abrupt("return",c.sent);case 16:case"end":return c.stop()}},H)}function ge(t,n){return{type:'TOGGLE_BLOCK_HIGHLIGHT',clientId:t,isHighlighted:n}}function Te(t){return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ge(t,!0);case 2:return n.next=4,{type:'SLEEP',duration:150};case 4:return n.next=6,ge(t,!1);case 6:case"end":return n.stop()}},j)}e.moveBlocksUp=ee},2241,[5,14,66,282,1068,1223,1835,1027,1076,1074,2242]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__unstableMarkAutomaticChangeFinalControl=void 0;var t=r(d[0]);e.__unstableMarkAutomaticChangeFinalControl=function(){return{type:'MARK_AUTOMATIC_CHANGE_FINAL_CONTROL'}};var n={SLEEP:function(t){var n=t.duration;return new Promise(function(t){setTimeout(t,n)})},MARK_AUTOMATIC_CHANGE_FINAL_CONTROL:(0,t.createRegistryControl)(function(t){return function(){var n=window.requestIdleCallback;(void 0===n?function(t){return setTimeout(t,100)}:n)(function(){return t.dispatch('core/block-editor').__unstableMarkAutomaticChangeFinal()})}})};e.default=n},2242,[1076]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),v=function(t){var v=(0,n.default)({},t);return(0,l.createElement)(o.SVG,(0,n.default)({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 20 20"},v),(0,l.createElement)(o.Path,{d:"M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z",transform:(0,u.isRTL)()?'scale(-1,1) translate(-20,0)':void 0}))};e.default=v},2243,[5,946,24,1696,1027]); -__d(function(g,r,i,a,m,e,d){m.exports={selectionButtonContainer:{flexDirection:"row",alignItems:"center",justifyContent:"flex-start",paddingLeft:15,paddingRight:15,flexShrink:1},selectionButtonTitle:{color:"#fff",marginLeft:4,flexShrink:1},icon:{color:"#fff"},button:{flexDirection:"row",alignItems:"center"},arrow:{color:"rgba(255, 255, 255, 0.4)",marginTop:-4,marginLeft:4,marginRight:4},densedPaddingLeft:{paddingLeft:5}}},2244,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=r(d[2]),f=t(r(d[3])),c=t(r(d[4]));var o=(0,f.default)(function(t){var f=t.children,o=t.settings,l=(0,u.useDispatch)('core/block-editor').updateSettings;return(0,n.useEffect)(function(){l(o)},[o]),(0,c.default)(t),f});e.default=o},2245,[5,1076,946,2246,2172]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4])),s=r(d[5]),f=r(d[6]),c=r(d[7]),v=(0,f.createHigherOrderComponent)(function(t){return(0,s.withRegistry)(function(f){var v=f.useSubRegistry,y=void 0===v||v,R=f.registry,b=(0,l.default)(f,["useSubRegistry","registry"]);if(!y)return(0,u.createElement)(t,(0,o.default)({registry:R},b));var E=(0,u.useState)(null),S=(0,n.default)(E,2),_=S[0],h=S[1];return(0,u.useEffect)(function(){var t=(0,s.createRegistry)({},R);t.registerStore('core/block-editor',c.storeConfig),h(t)},[R]),_?(0,u.createElement)(s.RegistryProvider,{value:_},(0,u.createElement)(t,(0,o.default)({registry:_},b))):null})},'withRegistryProvider');e.default=v},2246,[5,946,36,24,67,1076,1116,2235]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.addAttribute=v,e.addSaveProps=j,e.withInspectorControl=void 0;var o=r(d[1]),n=t(r(d[2])),c=r(d[3]),l=r(d[4]),s=r(d[5]),u=r(d[6]),p=r(d[7]),h=r(d[8]),b=r(d[9]);function f(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function O(t){for(var o=1;o";var s=(0,u.parseWithAttributeSchema)(t,{type:'string',source:'attribute',selector:'[data-custom-class-name] > *',attribute:'class'});return s?s.trim().split(/\s+/):[]}function y(t,c,n){if((0,u.hasBlockSupport)(c,'customClassName',!0)){var l=v((0,u.getSaveContent)(c,t)),p=v(n),f=(0,o.difference)(p,l),b=(0,o.compact)([t.className].concat((0,s.default)(f))).join(' ');b?t.className=b:delete t.className}return t}(0,l.addFilter)('blocks.registerBlockType','core/custom-class-name/attribute',b),(0,l.addFilter)('blocks.getSaveContent.extraProps','core/custom-class-name/save-props',O),(0,l.addFilter)('blocks.getBlockAttributes','core/custom-class-name/addParsedDifference',y)},2248,[5,14,66,1068,1716,4,1223]); -__d(function(g,r,i,a,m,e,d){var s=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.addGeneratedClassName=o;var t=s(r(d[1])),l=r(d[2]),n=r(d[3]),c=r(d[4]);function o(s,n){return(0,c.hasBlockSupport)(n,'className',!0)&&('string'==typeof s.className?s.className=(0,l.uniq)([(0,c.getBlockDefaultClassName)(n.name)].concat((0,t.default)(s.className.split(' ')))).join(' ').trim():s.className=(0,c.getBlockDefaultClassName)(n.name)),s}(0,n.addFilter)('blocks.getSaveContent.extraProps','core/generated-class-name/save-props',o)},2249,[5,14,1068,4,1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getInlineStyles=Y,e.addSaveProps=w,e.addEditProps=B,e.withBlockControls=void 0;var o=r(d[1]),n=t(r(d[2])),c=t(r(d[3])),l=t(r(d[4])),u=r(d[5]),s=r(d[6]),p=r(d[7]),P=r(d[8]),f=r(d[9]),E=r(d[10]),y=r(d[11]),O=r(d[12]),b=t(r(d[13]));function _(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function v(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:{},o={};return Object.keys(p.__EXPERIMENTAL_STYLE_PROPERTY).forEach(function(n){var c=p.__EXPERIMENTAL_STYLE_PROPERTY[n].value,s=p.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;(0,u.has)(t,c)&&(s?s.forEach(function(s){o[n+(0,u.capitalize)(s)]=j((0,u.get)(t,[].concat((0,l.default)(c),[s])))}):o[n]=j((0,u.get)(t,c)))}),o}function w(t,o,n){if(!S(o))return t;var c=n.style;return t.style=v(v({},Y(c)),t.style),t}function B(t){if(!S(t))return t;var o=t.getEditWrapperProps;return t.getEditWrapperProps=function(n){var c={};return o&&(c=o(n)),w(c,t,n)},t}var C=(0,P.createHigherOrderComponent)(function(t){return function(n){var l=n.name,u=(0,p.hasBlockSupport)(l,O.SPACING_SUPPORT_KEY);return[(0,o.createElement)(y.TypographyPanel,(0,c.default)({key:"typography"},n)),(0,o.createElement)(f.BorderPanel,(0,c.default)({key:"border"},n)),(0,o.createElement)(E.ColorEdit,(0,c.default)({key:"colors"},n)),(0,o.createElement)(t,(0,c.default)({key:"edit"},n)),u&&(0,o.createElement)(b.default,{key:"spacing"},(0,o.createElement)(O.PaddingEdit,n))]}},'withToolbarControls');e.withBlockControls=C,(0,s.addFilter)('blocks.registerBlockType','core/style/addAttribute',function(t){return S(t)?(t.attributes.style||(0,c.default)(t.attributes,{style:{type:'object'}}),t):t}),(0,s.addFilter)('blocks.getSaveContent.extraProps','core/style/addSaveProps',w),(0,s.addFilter)('blocks.registerBlockType','core/style/addEditProps',B),(0,s.addFilter)('editor.BlockEdit','core/style/with-block-controls',C)},2250,[5,946,66,24,14,1068,4,1223,1116,2251,2254,2258,2270,2271]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BorderPanel=function(t){var l=c(t),s=v(t.name);if(l||!s)return null;return(0,n.createElement)(_.default,null,(0,n.createElement)(o.PanelBody,{title:(0,u.__)('Border settings')},(0,n.createElement)(B.BorderRadiusEdit,t)))},e.hasBorderSupport=v,e.BORDER_SUPPORT_KEY=void 0;var n=r(d[1]),l=r(d[2]),o=r(d[3]),u=r(d[4]),_=t(r(d[5])),B=r(d[6]),s='__experimentalBorder';function v(t){if('web'!==n.Platform.OS)return!1;var o=(0,l.getBlockSupport)(t,s);return!(!0!==o&&(null==o||!o.radius))}e.BORDER_SUPPORT_KEY=s;var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[(0,B.useIsBorderRadiusDisabled)(t)].every(Boolean)}},2251,[5,946,1223,1696,1027,2129,2252]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BorderRadiusEdit=function(t){var o,u=t.attributes.style,s=t.setAttributes;if(P(t))return null;return(0,n.createElement)(l.RangeControl,{value:null==u?void 0:null==(o=u.border)?void 0:o.radius,label:(0,c.__)('Border radius'),min:v,max:y,initialPosition:0,allowReset:!0,onChange:function(t){var n=O(O({},u),{},{border:O(O({},null==u?void 0:u.border),{},{radius:t})});s({style:(0,f.cleanEmptyObject)(n)})}})},e.hasBorderRadiusSupport=j,e.useIsBorderRadiusDisabled=P;var n=r(d[1]),o=t(r(d[2])),u=r(d[3]),l=r(d[4]),c=r(d[5]),s=t(r(d[6])),b=r(d[7]),f=r(d[8]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function O(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,s.default)('border.customRadius');return!j(t)||n}},2252,[5,946,66,1223,1696,1027,2127,2251,2253]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.cleanEmptyObject=void 0;var t=r(d[0]);e.cleanEmptyObject=function n(c){if(!(0,t.isObject)(c))return c;var u=(0,t.pickBy)((0,t.mapValues)(c,n),t.identity);return(0,t.isEqual)(u,{})?void 0:u}},2253,[1068]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.addSaveProps=V,e.addEditProps=A,e.ColorEdit=function(t){var u,c,s,v,b,p,j=t.name,V=t.attributes,A=(0,P.default)('color.link'),R=(0,P.default)('color.palette')||B,T=(0,P.default)('color.gradients')||B,D=(0,o.useRef)(V);if((0,o.useEffect)(function(){D.current=V},[V]),!w(j)||'web'!==o.Platform.OS)return null;var F,L=_(j),N=E(j),I=V.style,K=V.textColor,U=V.backgroundColor,W=V.gradient;if(N&&W)F=(0,C.getGradientValueBySlug)(T,W);else if(N){var Y;F=null==I?void 0:null==(Y=I.color)?void 0:Y.gradient}var H=function(o){return function(l){var u,c,s=(0,y.getColorObjectByColorValue)(R,l),v=o+'Color',b=S(S({},D.current.style),{},{color:S(S({},null==(u=D.current)?void 0:null==(c=u.style)?void 0:c.color),{},(0,n.default)({},o,(null==s?void 0:s.slug)?void 0:l))}),f=(null==s?void 0:s.slug)?s.slug:void 0,p=(0,n.default)({style:(0,O.cleanEmptyObject)(b)},v,f);t.setAttributes(p),D.current=S(S({},D.current),p)}};return(0,o.createElement)(k.default,{enableContrastChecking:'web'===o.Platform.OS&&!W&&!(null==I?void 0:null==(u=I.color)?void 0:u.gradient),clientId:t.clientId,settings:[].concat((0,l.default)(x(j)?[{label:(0,f.__)('Text Color'),onColorChange:H('text'),colorValue:(0,y.getColorObjectByAttributeValues)(R,K,null==I?void 0:null==(c=I.color)?void 0:c.text).color}]:[]),(0,l.default)(L||N?[{label:(0,f.__)('Background Color'),onColorChange:L?H('background'):void 0,colorValue:(0,y.getColorObjectByAttributeValues)(R,U,null==I?void 0:null==(s=I.color)?void 0:s.background).color,gradientValue:F,onGradientChange:N?function(o){var l,n=(0,C.getGradientSlugByValue)(T,o);if(n){var u,c,s,v=S(S({},null==(u=D.current)?void 0:u.style),{},{color:S(S({},null==(c=D.current)?void 0:null==(s=c.style)?void 0:s.color),{},{gradient:void 0})});l={style:(0,O.cleanEmptyObject)(v),gradient:n}}else{var b,f,p,y=S(S({},null==(b=D.current)?void 0:b.style),{},{color:S(S({},null==(f=D.current)?void 0:null==(p=f.style)?void 0:p.color),{},{gradient:o})});l={style:(0,O.cleanEmptyObject)(y),gradient:void 0}}t.setAttributes(l),D.current=S(S({},D.current),l)}:void 0}]:[]),(0,l.default)(A&&h(j)?[{label:(0,f.__)('Link Color'),onColorChange:function(o){var l,n=(0,y.getColorObjectByColorValue)(R,o);t.setAttributes({style:S(S({},t.attributes.style),{},{color:S(S({},null==(l=t.attributes.style)?void 0:l.color),{},{link:(null==n?void 0:n.slug)?"var:preset|color|"+n.slug:o})})})},colorValue:G(R,null==I?void 0:null==(v=I.color)?void 0:v.link),clearable:!!(null==(b=t.attributes.style)?void 0:null==(p=b.color)?void 0:p.link)}]:[]))})},e.withColorPaletteStyles=e.COLOR_SUPPORT_KEY=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),v=r(d[7]),b=r(d[8]),f=r(d[9]),p=r(d[10]),y=r(d[11]),C=r(d[12]),O=r(d[13]),k=t(r(d[14])),P=t(r(d[15]));function j(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,n)}return l}function S(t){for(var o=1;o=24?'large':'small'})?null:(0,t.createElement)(s,{backgroundColor:n,textColor:k,tinyBackgroundColor:h,tinyTextColor:C})};e.default=b},2256,[5,946,1642,1835,1027,1696]); -__d(function(g,r,i,a,m,e,d){function o(o,t){return t.getElementById('block-'+o)}Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockDOMNode=o,e.getBlockPreviewContainerDOMNode=function(t,l){var c=o(t,l);if(!c)return;return c.firstChild||c},e.isBlockFocusStop=function(o){return o.classList.contains('block-editor-block-list__block')},e.isInSameBlock=function(o,t){return o.closest('.block-editor-block-list__block')===t.closest('.block-editor-block-list__block')},e.isInsideRootBlock=function(o,t){return t.closest('.block-editor-block-list__block')===o},e.hasInnerBlocksContext=function(o){return o.classList.contains('block-editor-block-list__layout')||!!o.querySelector('.block-editor-block-list__layout')},e.getBlockClientId=function(o){for(;o&&o.nodeType!==o.ELEMENT_NODE;)o=o.parentNode;if(!o)return;var t=o.closest('.block-editor-block-list__block');if(!t)return;return t.id.slice('block-'.length)}},2257,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TypographyPanel=function(t){var l=R(t),O=Y(t.name);return l||!O?null:(0,n.createElement)(E.default,null,(0,n.createElement)(_.PanelBody,{title:(0,o.__)('Typography')},(0,n.createElement)(_.__unstableComponentSystemProvider,{__unstableNextInclude:['WPComponentsFontSizePicker']},(0,n.createElement)(u.FontFamilyEdit,t),(0,n.createElement)(c.FontSizeEdit,t),(0,n.createElement)(s.FontAppearanceEdit,t),(0,n.createElement)(T.LineHeightEdit,t),(0,n.createElement)(P.default,t))))},e.TYPOGRAPHY_SUPPORT_KEYS=void 0;var n=r(d[1]),l=r(d[2]),_=r(d[3]),o=r(d[4]),E=t(r(d[5])),P=t(r(d[6])),T=r(d[7]),s=r(d[8]),u=r(d[9]),c=r(d[10]),O=r(d[11]),S=r(d[12]),F=[T.LINE_HEIGHT_SUPPORT_KEY,c.FONT_SIZE_SUPPORT_KEY,s.FONT_STYLE_SUPPORT_KEY,s.FONT_WEIGHT_SUPPORT_KEY,u.FONT_FAMILY_SUPPORT_KEY,O.TEXT_DECORATION_SUPPORT_KEY,S.TEXT_TRANSFORM_SUPPORT_KEY];e.TYPOGRAPHY_SUPPORT_KEYS=F;var Y=function(t){return'web'===n.Platform.OS&&F.some(function(n){return(0,l.hasBlockSupport)(t,n)})};function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[(0,s.useIsFontAppearanceDisabled)(t),(0,c.useIsFontSizeDisabled)(t),(0,T.useIsLineHeightDisabled)(t),(0,u.useIsFontFamilyDisabled)(t),(0,O.useIsTextDecorationDisabled)(t),(0,S.useIsTextTransformDisabled)(t)];return n.filter(Boolean).length===n.length}},2258,[5,946,1223,1696,1027,2129,2259,2264,2265,2267,2269,2260,2262]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var s=!(0,n.useIsTextDecorationDisabled)(l),c=!(0,o.useIsTextTransformDisabled)(l);if(!s&&!c)return null;return(0,t.createElement)("div",{className:"block-editor-text-decoration-and-transform"},s&&(0,t.createElement)(n.TextDecorationEdit,l),c&&(0,t.createElement)(o.TextTransformEdit,l))};var t=r(d[0]),n=r(d[1]),o=r(d[2])},2259,[946,2260,2262]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TextDecorationEdit=function(t){var o,c=t.attributes.style,l=t.setAttributes;if(f(t))return null;return(0,n.createElement)(u.default,{value:null==c?void 0:null==(o=c.typography)?void 0:o.textDecoration,onChange:function(t){l({style:(0,p.cleanEmptyObject)(s(s({},c),{},{typography:s(s({},null==c?void 0:c.typography),{},{textDecoration:t})}))})}})},e.useIsTextDecorationDisabled=f,e.TEXT_DECORATION_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),c=r(d[3]),u=t(r(d[4])),l=t(r(d[5])),p=r(d[6]);function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,c.hasBlockSupport)(t,y),o=(0,l.default)('typography.customTextDecorations');return n||!o}e.TEXT_DECORATION_SUPPORT_KEY=y},2260,[5,946,66,1223,2261,2127,2253]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var c=o.value,v=o.onChange;return(0,n.createElement)("fieldset",{className:"block-editor-text-decoration-control"},(0,n.createElement)("legend",null,(0,l.__)('Decoration')),(0,n.createElement)("div",{className:"block-editor-text-decoration-control__buttons"},u.map(function(o){return(0,n.createElement)(t.Button,{key:o.value,icon:o.icon,isSmall:!0,isPressed:o.value===c,onClick:function(){return v(o.value===c?void 0:o.value)},"aria-label":o.name})})))};var n=r(d[0]),t=r(d[1]),o=r(d[2]),l=r(d[3]),u=[{name:(0,l.__)('Underline'),value:'underline',icon:o.formatUnderline},{name:(0,l.__)('Strikethrough'),value:'line-through',icon:o.formatStrikethrough}]},2261,[946,1696,1247,1027]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TextTransformEdit=function(t){var o,u=t.attributes.style,l=t.setAttributes;if(O(t))return null;return(0,n.createElement)(c.default,{value:null==u?void 0:null==(o=u.typography)?void 0:o.textTransform,onChange:function(t){l({style:(0,s.cleanEmptyObject)(f(f({},u),{},{typography:f(f({},null==u?void 0:u.typography),{},{textTransform:t})}))})}})},e.useIsTextTransformDisabled=O,e.TEXT_TRANSFORM_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),u=r(d[3]),c=t(r(d[4])),l=t(r(d[5])),s=r(d[6]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function f(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,u.hasBlockSupport)(t,y),o=(0,l.default)('typography.customTextTransforms');return n||!o}e.TEXT_TRANSFORM_SUPPORT_KEY=y},2262,[5,946,66,1223,2263,2127,2253]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.value,s=o.onChange;return(0,t.createElement)("fieldset",{className:"block-editor-text-transform-control"},(0,t.createElement)("legend",null,(0,l.__)('Letter case')),(0,t.createElement)("div",{className:"block-editor-text-transform-control__buttons"},c.map(function(l){return(0,t.createElement)(n.Button,{key:l.value,icon:l.icon,isSmall:!0,isPressed:u===l.value,"aria-label":l.name,onClick:function(){return s(u===l.value?void 0:l.value)}})})))};var t=r(d[0]),n=r(d[1]),l=r(d[2]),o=r(d[3]),c=[{name:(0,l.__)('Uppercase'),value:'uppercase',icon:o.formatUppercase},{name:(0,l.__)('Lowercase'),value:'lowercase',icon:o.formatLowercase},{name:(0,l.__)('Capitalize'),value:'capitalize',icon:o.formatCapitalize}]},2263,[946,1696,1027,1247]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.LineHeightEdit=function(t){var o,u=t.attributes.style;if(O(t))return null;return(0,n.createElement)(c.default,{value:null==u?void 0:null==(o=u.typography)?void 0:o.lineHeight,onChange:function(n){var o=s(s({},u),{},{typography:s(s({},null==u?void 0:u.typography),{},{lineHeight:n})});t.setAttributes({style:(0,l.cleanEmptyObject)(o)})}})},e.useIsLineHeightDisabled=O,e.LINE_HEIGHT_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),u=r(d[3]),c=t(r(d[4])),l=r(d[5]),p=t(r(d[6]));function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,p.default)('typography.customLineHeight');return!(0,u.hasBlockSupport)(t,f)||n}e.LINE_HEIGHT_SUPPORT_KEY=f},2264,[5,946,66,1223,2174,2253,2127]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.FontAppearanceEdit=function(t){var o,l,p=t.attributes.style,y=t.setAttributes,f=!h(t),O=!v(t);if(!f&&!O)return null;var b=null==p?void 0:null==(o=p.typography)?void 0:o.fontStyle,_=null==p?void 0:null==(l=p.typography)?void 0:l.fontWeight;return(0,n.createElement)(u.default,{onChange:function(t){y({style:(0,c.cleanEmptyObject)(s(s({},p),{},{typography:s(s({},null==p?void 0:p.typography),{},{fontStyle:t.fontStyle,fontWeight:t.fontWeight})}))})},hasFontStyles:f,hasFontWeights:O,value:{fontStyle:b,fontWeight:_}})},e.useIsFontStyleDisabled=h,e.useIsFontWeightDisabled=v,e.useIsFontAppearanceDisabled=function(t){var n=h(t),o=v(t);return n&&o},e.FONT_WEIGHT_SUPPORT_KEY=e.FONT_STYLE_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),u=t(r(d[4])),p=t(r(d[5])),c=r(d[6]);function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=(0,l.hasBlockSupport)(t,f),o=(0,p.default)('typography.customFontStyle');return!n||!o}function v(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).name,n=(0,l.hasBlockSupport)(t,O),o=(0,p.default)('typography.customFontWeight');return!n||!o}e.FONT_WEIGHT_SUPPORT_KEY=O},2265,[5,946,66,1223,2266,2127,2253]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var _=f.onChange,c=f.hasFontStyles,v=void 0===c||c,s=f.hasFontWeights,h=void 0===s||s,y=f.value,p=y.fontStyle,S=y.fontWeight,E=v||h,W={key:'default',name:(0,o.__)('Default'),style:{fontStyle:void 0,fontWeight:void 0}},k=function(){var n=[W];return l.forEach(function(t){var l=t.name,f=t.value;u.forEach(function(t){var u=t.name,_=t.value,c='normal'===f?u:(0,o.sprintf)((0,o.__)('%1$s %2$s'),u,l);n.push({key:f+"-"+_,name:c,style:{fontStyle:f,fontWeight:_}})})}),n},B=function(){var n=[W];return l.forEach(function(t){var o=t.name,l=t.value;n.push({key:l,name:o,style:{fontStyle:l,fontWeight:void 0}})}),n},C=function(){var n=[W];return u.forEach(function(t){var o=t.name,l=t.value;n.push({key:l,name:o,style:{fontStyle:void 0,fontWeight:l}})}),n},F=(0,n.useMemo)(function(){return v&&h?k():v?B():C()},[f.options]),M=F.find(function(n){return n.style.fontStyle===p&&n.style.fontWeight===S});return(0,n.createElement)("fieldset",{className:"components-font-appearance-control"},E&&(0,n.createElement)(t.CustomSelectControl,{className:"components-font-appearance-control__select",label:(function(){if(!v)return(0,o.__)('Font weight');if(!h)return(0,o.__)('Font style');return(0,o.__)('Appearance')})(),options:F,value:M,onChange:function(n){var t=n.selectedItem;return _(t.style)}}))};var n=r(d[0]),t=r(d[1]),o=r(d[2]),l=[{name:(0,o.__)('Regular'),value:'normal'},{name:(0,o.__)('Italic'),value:'italic'}],u=[{name:(0,o.__)('Thin'),value:'100'},{name:(0,o.__)('Extra Light'),value:'200'},{name:(0,o.__)('Light'),value:'300'},{name:(0,o.__)('Regular'),value:'400'},{name:(0,o.__)('Medium'),value:'500'},{name:(0,o.__)('Semi Bold'),value:'600'},{name:(0,o.__)('Bold'),value:'700'},{name:(0,o.__)('Extra Bold'),value:'800'},{name:(0,o.__)('Black'),value:'900'}]},2266,[946,1696,1027]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.FontFamilyEdit=function(t){var o,f=t.name,p=t.setAttributes,v=t.attributes.style,F=void 0===v?{}:v,h=(0,c.default)('typography.fontFamilies');if(b({name:f}))return null;var j=O(h,null==(o=F.typography)?void 0:o.fontFamily);return(0,n.createElement)(y.default,{className:"block-editor-hooks-font-family-control",fontFamilies:h,value:j,onChange:function(t){var n=(0,l.find)(h,function(n){var o=n.fontFamily;return o===t});p({style:(0,u.cleanEmptyObject)(s(s({},F),{},{typography:s(s({},F.typography||{}),{},{fontFamily:n?"var:preset|font-family|"+n.slug:t||void 0})}))})}})},e.useIsFontFamilyDisabled=b,e.FONT_FAMILY_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),f=r(d[4]),u=r(d[5]),c=t(r(d[6])),y=t(r(d[7]));function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,o=(0,v.default)('typography.fontSizes'),n=!!(null==o?void 0:o.length);return!(0,p.hasBlockSupport)(t,b)||!n}e.FONT_SIZE_SUPPORT_KEY=b;var P=(0,c.createHigherOrderComponent)(function(t){return function(n){var l,u=(0,v.default)('typography.fontSizes'),s=n.name,c=n.attributes,y=c.fontSize,S=c.style,O=n.wrapperProps,h=z({},n);if((0,p.hasBlockSupport)(s,b)&&y&&!(null==S?void 0:null==(l=S.typography)?void 0:l.fontSize)){var P,j=(0,f.getFontSize)(u,y,null==S?void 0:null==(P=S.typography)?void 0:P.fontSize).size;h.wrapperProps=z(z({},O),{},{style:z({fontSize:j},null==O?void 0:O.style)})}return(0,o.createElement)(t,h)}},'withFontSizeInlineStyles');(0,u.addFilter)('blocks.registerBlockType','core/font/addAttribute',function(t){return(0,p.hasBlockSupport)(t,b)?(t.attributes.fontSize||(0,l.default)(t.attributes,{fontSize:{type:'string'}}),t):t}),(0,u.addFilter)('blocks.getSaveContent.extraProps','core/font/addSaveProps',O),(0,u.addFilter)('blocks.registerBlockType','core/font/addEditProps',function(t){if(!(0,p.hasBlockSupport)(t,b))return t;var o=t.getEditWrapperProps;return t.getEditWrapperProps=function(n){var l={};return o&&(l=o(n)),O(l,t,n)},t}),(0,u.addFilter)('editor.BlockListBlock','core/font-size/with-font-size-inline-styles',P)},2269,[5,946,66,24,4,1223,2211,1116,2138,2253,2127]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.PaddingEdit=function(t){var l,c=t.name,f=t.attributes.style,v=t.setAttributes,P=(0,s.default)('spacing.units'),y=null==P?void 0:P.map(function(t){return{value:t,label:t}});if(!O(c))return null;return n.Platform.select({web:(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.__experimentalBoxControl,{values:null==f?void 0:null==(l=f.spacing)?void 0:l.padding,onChange:function(t){var n=b(b({},f),{},{spacing:{padding:t}});v({style:(0,p.cleanEmptyObject)(n)})},onChangeShowVisualizer:function(t){var n=b(b({},f),{},{visualizers:{padding:t}});v({style:(0,p.cleanEmptyObject)(n)})},label:(0,o.__)('Padding'),units:y})),native:null})},e.SPACING_SUPPORT_KEY=void 0;var n=r(d[1]),l=t(r(d[2])),o=r(d[3]),c=r(d[4]),u=r(d[5]),p=r(d[6]),s=t(r(d[7]));function f(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function b(t){for(var n=1;n1?n-1:0),f=1;f1?u-1:0),l=1;l=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function p(t,n){if(t){if("string"==typeof t)return R(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?R(t,n):void 0}}function R(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_TERMS':return _(_({},t),{},(0,u.default)({},n.taxonomy,n.terms))}return t}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_USER_QUERY':return{byId:_(_({},t.byId),(0,s.keyBy)(n.users,'id')),queries:_(_({},t.queries),{},(0,u.default)({},n.queryID,(0,s.map)(n.users,function(t){return t.id})))}}return t}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_CURRENT_USER':return n.currentUser}return t}function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_TAXONOMIES':return n.taxonomies}return t}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_CURRENT_THEME':return n.currentTheme.stylesheet}return t}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_CURRENT_THEME':return _(_({},t),{},(0,u.default)({},n.currentTheme.stylesheet,n.currentTheme))}return t}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_THEME_SUPPORTS':return _(_({},t),n.themeSupports)}return t}function D(t){return(0,s.flowRight)([(0,l.ifMatchingAction)(function(n){return n.name&&n.kind&&n.name===t.name&&n.kind===t.kind}),(0,l.replaceAction)(function(n){return _(_({},n),{},{key:t.key||v.DEFAULT_ENTITY_KEY})})])((0,c.combineReducers)({queriedData:E.reducer,edits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_ITEMS':for(var o,c=_({},t),f=function(t){var o=t[n.key],u=c[o];if(!u)return"continue";var f=Object.keys(u).reduce(function(o,c){return(0,s.isEqual)(u[c],(0,s.get)(t[c],'raw',t[c]))||n.persistedEdits&&(0,s.isEqual)(u[c],n.persistedEdits[c])||(o[c]=u[c]),o},{});Object.keys(f).length?c[o]=f:delete c[o]},l=y(n.items);!(o=l()).done;)f(o.value);return c;case'EDIT_ENTITY_RECORD':var E=_(_({},t[n.recordId]),n.edits);return Object.keys(E).forEach(function(t){void 0===E[t]&&delete E[t]}),_(_({},t),{},(0,u.default)({},n.recordId,E))}return t},saving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SAVE_ENTITY_RECORD_START':case'SAVE_ENTITY_RECORD_FINISH':return _(_({},t),{},(0,u.default)({},n.recordId,{pending:'SAVE_ENTITY_RECORD_START'===n.type,error:n.error,isAutosave:n.isAutosave}))}return t},deleting:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'DELETE_ENTITY_RECORD_START':case'DELETE_ENTITY_RECORD_FINISH':return _(_({},t),{},(0,u.default)({},n.recordId,{pending:'DELETE_ENTITY_RECORD_START'===n.type,error:n.error}))}return t}}))}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.defaultEntities,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'ADD_ENTITIES':return[].concat((0,o.default)(t),(0,o.default)(n.entities))}return t}var U=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,f=j(t.config,o),l=t.reducer;if(!l||f!==t.config){var E=(0,s.groupBy)(f,'kind');l=(0,c.combineReducers)(Object.entries(E).reduce(function(t,o){var s=(0,n.default)(o,2),f=s[0],l=s[1],E=(0,c.combineReducers)(l.reduce(function(t,n){return _(_({},t),{},(0,u.default)({},n.name,D(n)))},{}));return t[f]=E,t},{}))}var v=l(t.data,o);return v===t.data&&f===t.config&&l===t.reducer?t:{reducer:l,data:v,config:f}};e.entities=U;var k,N=[];function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'EDIT_ENTITY_RECORD':case'CREATE_UNDO_LEVEL':var u,s='CREATE_UNDO_LEVEL'===n.type,c=!s&&(n.meta.isUndo||n.meta.isRedo);if(s?n=k:c||(k=Object.keys(n.edits).some(function(t){return!n.transientEdits[t]})?n:_(_({},n),{},{edits:_(_({},k&&k.edits),n.edits)})),c){if((u=(0,o.default)(t)).offset=t.offset+(n.meta.isUndo?-1:1),!t.flattenedUndo)return u;s=!0,n=k}if(!n.meta.undo)return t;if(!s&&!Object.keys(n.edits).some(function(t){return!n.transientEdits[t]}))return(u=(0,o.default)(t)).flattenedUndo=_(_({},t.flattenedUndo),n.edits),u.offset=t.offset,u;(u=u||t.slice(0,t.offset||void 0)).offset=u.offset||0,u.pop(),s||u.push({kind:n.meta.undo.kind,name:n.meta.undo.name,recordId:n.meta.undo.recordId,edits:_(_({},t.flattenedUndo),n.meta.undo.edits)});var l=Object.values(n.meta.undo.edits).filter(function(t){return'function'!=typeof t}),E=Object.values(n.edits).filter(function(t){return'function'!=typeof t});return(0,f.default)(l,E)||u.push({kind:n.kind,name:n.name,recordId:n.recordId,edits:s?_(_({},t.flattenedUndo),n.edits):n.edits}),u}return t}function P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_EMBED_PREVIEW':var o=n.url,s=n.preview;return _(_({},t),{},(0,u.default)({},o,s))}return t}function M(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_USER_PERMISSION':return _(_({},t),{},(0,u.default)({},n.key,n.isAllowed))}return t}function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_AUTOSAVES':var o=n.postId,s=n.autosaves;return _(_({},t),{},(0,u.default)({},o,s))}return t}N.offset=0;var L=(0,c.combineReducers)({terms:I,users:b,currentTheme:w,currentUser:O,taxonomies:S,themes:C,themeSupports:A,entities:U,undo:V,embedPreviews:P,userPermissions:M,autosaves:Y,locks:h.reducer});e.default=L},2278,[5,36,14,66,1068,1076,1121,2279,2287,2292,2294]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"conservativeMapItem",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"getNormalizedCommaSeparable",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"ifMatchingAction",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"ifNotResolved",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"onSubKey",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"replaceAction",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"withWeakMapCache",{enumerable:!0,get:function(){return b.default}});var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),b=t(r(d[7]))},2279,[5,2280,2281,2282,2283,2284,2285,2286]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u){if(!t)return u;var f=!1,o={};for(var v in u)(0,n.isEqual)(t[v],u[v])?o[v]=t[v]:(f=!0,o[v]=u[v]);if(!f)return t;for(var l in t)o.hasOwnProperty(l)||(o[l]=t[l]);return o};var n=r(d[0])},2280,[1068]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t){return'string'==typeof t?t.split(','):Array.isArray(t)?t:null};e.default=t},2281,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(n){return function(t){return function(u,o){return void 0===u||n(o)?t(u,o):u}}};e.default=n},2282,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=r(d[2]),u=function(t,u){return n.default.mark(function c(){var l,f,s,v=arguments;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:for(l=v.length,f=new Array(l),s=0;s0&&void 0!==arguments[0]?arguments[0]:{},f=arguments.length>1?arguments[1]:void 0,O=f[t];if(void 0===O)return u;var b=o(u[O],f);return b===u[O]?u:c(c({},u),{},(0,n.default)({},O,b))}}};e.onSubKey=u;var f=u;e.default=f},2284,[5,66]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(n){return function(t){return function(u,f){return t(u,n(f))}}};e.default=n},2285,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]);var n=function(n){var u=new WeakMap;return function(f){var o;return u.has(f)?o=u.get(f):(o=n(f),(0,t.isObjectLike)(f)&&u.set(f,o)),o}};e.default=n},2286,[1068]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={reducer:!0};Object.defineProperty(e,"reducer",{enumerable:!0,get:function(){return c.default}});var o=r(d[1]);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var u=r(d[2]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=t(r(d[3]))},2287,[5,2288,2289,2291]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.receiveItems=s,e.removeItems=function(t,n,o){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:'REMOVE_ITEMS',itemIds:(0,c.castArray)(o),kind:t,name:n,invalidateCache:u}},e.receiveQueriedItems=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2?arguments[2]:void 0;return u(u({},s(t,c)),{},{query:n})};var n=t(r(d[1])),c=r(d[2]);function o(t,n){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),c.push.apply(c,o)}return c}function u(t){for(var c=1;c1&&void 0!==arguments[1]?arguments[1]:{},l=f.get(t);if(l){var s=l.get(n);if(void 0!==s)return s}else l=new u.default,f.set(t,l);var o=v(t,n);return l.set(n,o),o});e.getQueriedItems=o},2289,[5,1175,1084,1068,2290]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getQueryParts=b,e.default=void 0;var t=l(r(d[1])),u=r(d[2]),s=r(d[3]);function b(l){for(var b={stableKey:'',page:1,perPage:10,fields:null,include:null},c=Object.keys(l).sort(),n=0;n=c&&E0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,u=n.type,o=n.query,c=n.key,E=void 0===c?f.DEFAULT_ENTITY_KEY:c;if('RECEIVE_ITEMS'!==u)return t;var v=!o||!Array.isArray((0,l.default)(o).fields);return s(s({},t),n.items.reduce(function(n,u){var o=u[E];return n[o]=t[o]||v,n},{}))}var p=(0,u.flowRight)([(0,c.ifMatchingAction)(function(t){return'query'in t}),(0,c.replaceAction)(function(t){return t.query?s(s({},t),(0,l.default)(t.query)):t}),(0,c.onSubKey)('stableKey')])(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,o=n.type,c=n.page,l=n.perPage,E=n.key,s=void 0===E?f.DEFAULT_ENTITY_KEY:E;return'RECEIVE_ITEMS'!==o?t:v(t||[],(0,u.map)(n.items,s),c,l)}),h=(0,o.combineReducers)({items:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_ITEMS':var o=n.key||f.DEFAULT_ENTITY_KEY;return s(s({},t),n.items.reduce(function(n,u){var f=u[o];return n[f]=(0,c.conservativeMapItem)(t[f],u),n},{}));case'REMOVE_ITEMS':return(0,u.omit)(t,n.itemIds)}return t},itemIsComplete:y,queries:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_ITEMS':return p(t,n);case'REMOVE_ITEMS':var o=s({},t),c=n.itemIds.reduce(function(t,n){return t[n]=!0,t},{});return(0,u.forEach)(o,function(t,n){o[n]=(0,u.filter)(t,function(t){return!c[t]})}),o;default:return t}}});e.default=h},2291,[5,66,1068,1076,2279,2292,2290]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getKindEntities=E,e.getMethodName=e.prePersistPostType=e.kinds=e.defaultEntities=e.DEFAULT_ENTITY_KEY=void 0;var n=t(r(d[1])),s=r(d[2]),l=r(d[3]),o=r(d[4]),u=r(d[5]),p=r(d[6]),c=n.default.mark(w),_=n.default.mark(x),b=n.default.mark(E);e.DEFAULT_ENTITY_KEY='id';var v=[{label:(0,u.__)('Base'),name:'__unstableBase',kind:'root',baseURL:''},{label:(0,u.__)('Site'),name:'site',kind:'root',baseURL:'/wp/v2/settings',getTitle:function(t){return(0,s.get)(t,['title'],(0,u.__)('Site Title'))}},{label:(0,u.__)('Post Type'),name:'postType',kind:'root',key:'slug',baseURL:'/wp/v2/types'},{name:'media',kind:'root',baseURL:'/wp/v2/media',plural:'mediaItems',label:(0,u.__)('Media')},{name:'taxonomy',kind:'root',key:'slug',baseURL:'/wp/v2/taxonomies',plural:'taxonomies',label:(0,u.__)('Taxonomy')},{name:'sidebar',kind:'root',baseURL:'/wp/v2/sidebars',plural:'sidebars',transientEdits:{blocks:!0},label:(0,u.__)('Widget areas')},{name:'widget',kind:'root',baseURL:'/wp/v2/widgets',plural:'widgets',transientEdits:{blocks:!0},label:(0,u.__)('Widgets')},{label:(0,u.__)('User'),name:'user',kind:'root',baseURL:'/wp/v2/users',plural:'users'},{name:'comment',kind:'root',baseURL:'/wp/v2/comments',plural:'comments',label:(0,u.__)('Comment')},{name:'menu',kind:'root',baseURL:'/__experimental/menus',plural:'menus',label:(0,u.__)('Menu')},{name:'menuItem',kind:'root',baseURL:'/__experimental/menu-items',plural:'menuItems',label:(0,u.__)('Menu Item')},{name:'menuLocation',kind:'root',baseURL:'/__experimental/menu-locations',plural:'menuLocations',label:(0,u.__)('Menu Location'),key:'name'}];e.defaultEntities=v;var f=[{name:'postType',loadEntities:w},{name:'taxonomy',loadEntities:x}];e.kinds=f;var k=function(t,n){var s={};return'auto-draft'===(null==t?void 0:t.status)&&(n.status||s.status||(s.status='draft'),n.title&&'Auto Draft'!==n.title||s.title||(null==t?void 0:t.title)&&'Auto Draft'!==(null==t?void 0:t.title)||(s.title='')),s};function w(){var t;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,o.apiFetch)({path:'/wp/v2/types?context=edit'});case 2:return t=n.sent,n.abrupt("return",(0,s.map)(t,function(t,n){var l=['wp_template','wp_template_part'].includes(n);return{kind:'postType',baseURL:'/wp/v2/'+t.rest_base,name:n,label:t.labels.singular_name,transientEdits:{blocks:!0,selectionStart:!0,selectionEnd:!0},mergedEdits:{meta:!0},getTitle:function(t){var n;return(null==t?void 0:null==(n=t.title)?void 0:n.rendered)||(null==t?void 0:t.title)||(l?(0,s.startCase)(t.slug):String(t.id))},__unstablePrePersist:l?void 0:k}}));case 4:case"end":return n.stop()}},c)}function x(){var t;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,o.apiFetch)({path:'/wp/v2/taxonomies?context=edit'});case 2:return t=n.sent,n.abrupt("return",(0,s.map)(t,function(t,n){return{kind:'taxonomy',baseURL:'/wp/v2/'+t.rest_base,name:n,label:t.labels.singular_name}}));case 4:case"end":return n.stop()}},_)}e.prePersistPostType=k;function E(t){var o,u;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l.controls.select('core','getEntitiesByKind',t);case 2:if(!(o=n.sent)||0===o.length){n.next=5;break}return n.abrupt("return",o);case 5:if(u=(0,s.find)(f,{name:t})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,u.loadEntities();case 10:return o=n.sent,n.next=13,(0,p.addEntities)(o);case 13:return n.abrupt("return",o);case 14:case"end":return n.stop()}},b)}e.getMethodName=function(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'get',o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=(0,s.find)(v,{kind:t,name:n}),p='root'===t?'':(0,s.upperFirst)((0,s.camelCase)(t)),c=(0,s.upperFirst)((0,s.camelCase)(n))+(o?'s':'');return""+l+p+(o&&u.plural?(0,s.upperFirst)((0,s.camelCase)(u.plural)):c)}},2292,[5,282,1068,1076,2277,1027,2293]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.receiveUserQuery=function(t,n){return{type:'RECEIVE_USER_QUERY',users:(0,l.castArray)(n),queryID:t}},e.receiveCurrentUser=function(t){return{type:'RECEIVE_CURRENT_USER',currentUser:t}},e.addEntities=function(t){return{type:'ADD_ENTITIES',entities:t}},e.receiveEntityRecords=C,e.receiveCurrentTheme=function(t){return{type:'RECEIVE_CURRENT_THEME',currentTheme:t}},e.receiveThemeSupports=function(t){return{type:'RECEIVE_THEME_SUPPORTS',themeSupports:t}},e.receiveEmbedPreview=function(t,n){return{type:'RECEIVE_EMBED_PREVIEW',url:t,preview:n}},e.deleteEntityRecord=U,e.editEntityRecord=j,e.undo=N,e.redo=Y,e.__unstableCreateUndoLevel=function(){return{type:'CREATE_UNDO_LEVEL'}},e.saveEntityRecord=L,e.__experimentalBatch=V,e.saveEditedEntityRecord=F,e.receiveUploadPermissions=function(t){return{type:'RECEIVE_USER_PERMISSION',key:'create/media',isAllowed:t}},e.receiveUserPermission=function(t,n){return{type:'RECEIVE_USER_PERMISSION',key:t,isAllowed:n}},e.receiveAutosaves=M;var s=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),o=t(r(d[1])),E=t(r(d[5])),l=r(d[6]),f=r(d[7]),p=r(d[8]),v=r(d[9]),_=r(d[10]),b=r(d[11]),x=r(d[12]),y=r(d[13]),R=r(d[14]),k=r(d[15]),h=n.mark(U),T=n.mark(j),I=n.mark(N),O=n.mark(Y),w=n.mark(L),P=n.mark(V),S=n.mark(F);function A(t,n){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),s.push.apply(s,c)}return s}function D(t){for(var n=1;n4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0;return'postType'===t&&(s=(0,l.castArray)(s).map(function(t){return'auto-draft'===t.status?D(D({},t),{},{title:''}):t})),D(D({},c?(0,b.receiveQueriedItems)(s,c,o):(0,b.receiveItems)(s,o)),{},{kind:t,name:n,invalidateCache:u})}function U(t,n,s,c){var u,E,f,p,R,k,T,I,O,w,P=arguments;return o.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return u=P.length>4&&void 0!==P[4]?P[4]:{},E=u.__unstableFetch,f=void 0===E?null:E,o.next=3,(0,x.getKindEntities)(t);case 3:if(p=o.sent,R=(0,l.find)(p,{kind:t,name:n}),T=!1,R){o.next=8;break}return o.abrupt("return");case 8:return o.delegateYield((0,y.__unstableAcquireStoreLock)('core',['entities','data',t,n,s],{exclusive:!0}),"t0",9);case 9:return I=o.t0,o.prev=10,o.next=13,{type:'DELETE_ENTITY_RECORD_START',kind:t,name:n,recordId:s};case 13:if(o.prev=13,O=R.baseURL+"/"+s,c&&(O=(0,_.addQueryArgs)(O,c)),w={path:O,method:'DELETE'},!f){o.next=23;break}return o.next=20,(0,v.__unstableAwaitPromise)(f(w));case 20:T=o.sent,o.next=26;break;case 23:return o.next=25,(0,v.apiFetch)(w);case 25:T=o.sent;case 26:return o.next=28,(0,b.removeItems)(t,n,s,!0);case 28:o.next=33;break;case 30:o.prev=30,o.t1=o.catch(13),k=o.t1;case 33:return o.next=35,{type:'DELETE_ENTITY_RECORD_FINISH',kind:t,name:n,recordId:s,error:k};case 35:return o.abrupt("return",T);case 36:return o.prev=36,o.delegateYield((0,y.__unstableReleaseStoreLock)(I),"t2",38);case 38:return o.finish(36);case 39:case"end":return o.stop()}},h,null,[[10,,36,39],[13,30]])}function j(t,n,s,c){var u,E,f,v,_,b,x,y,R,k=arguments;return o.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return u=k.length>4&&void 0!==k[4]?k[4]:{},o.next=3,p.controls.select('core','getEntity',t,n);case 3:if(E=o.sent){o.next=6;break}throw new Error("The entity being edited ("+t+", "+n+") does not have a loaded config.");case 6:return f=E.transientEdits,v=void 0===f?{}:f,_=E.mergedEdits,b=void 0===_?{}:_,o.next=9,p.controls.select('core','getRawEntityRecord',t,n,s);case 9:return x=o.sent,o.next=12,p.controls.select('core','getEditedEntityRecord',t,n,s);case 12:return y=o.sent,R={kind:t,name:n,recordId:s,edits:Object.keys(c).reduce(function(t,n){var s=x[n],u=y[n],o=b[n]?D(D({},u),c[n]):c[n];return t[n]=(0,l.isEqual)(s,o)?void 0:o,t},{}),transientEdits:v},o.abrupt("return",D(D({type:'EDIT_ENTITY_RECORD'},R),{},{meta:{undo:!u.undoIgnore&&D(D({},R),{},{edits:Object.keys(c).reduce(function(t,n){return t[n]=y[n],t},{})})}}));case 15:case"end":return o.stop()}},T)}function N(){var t;return o.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p.controls.select('core','getUndoEdit');case 2:if(t=n.sent){n.next=5;break}return n.abrupt("return");case 5:return n.next=7,D(D({type:'EDIT_ENTITY_RECORD'},t),{},{meta:{isUndo:!0}});case 7:case"end":return n.stop()}},I)}function Y(){var t;return o.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p.controls.select('core','getRedoEdit');case 2:if(t=n.sent){n.next=5;break}return n.abrupt("return");case 5:return n.next=7,D(D({type:'EDIT_ENTITY_RECORD'},t),{},{meta:{isRedo:!0}});case 7:case"end":return n.stop()}},O)}function L(t,n,s){var c,_,b,R,k,h,T,I,O,P,S,A,U,N,Y,L,V,F,q,H,Q,B,K,W,z,G,J,X,Z,$=arguments;return o.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return c=$.length>3&&void 0!==$[3]?$[3]:{},_=c.isAutosave,b=void 0!==_&&_,R=c.__unstableFetch,k=void 0===R?null:R,o.next=3,(0,x.getKindEntities)(t);case 3:if(h=o.sent,T=(0,l.find)(h,{kind:t,name:n})){o.next=7;break}return o.abrupt("return");case 7:return I=T.key||x.DEFAULT_ENTITY_KEY,O=s[I],o.delegateYield((0,y.__unstableAcquireStoreLock)('core',['entities','data',t,n,O||(0,f.v4)()],{exclusive:!0}),"t0",10);case 10:P=o.t0,o.prev=11,S=0,A=Object.entries(s);case 13:if(!(S=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(u=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(u)}function s(t,n){if(t){if("string"==typeof t)return l(t,n);var u=Object.prototype.toString.call(t).slice(8,-1);return"Object"===u&&t.constructor&&(u=t.constructor.name),"Map"===u||"Set"===u?Array.from(t):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var u=0,o=new Array(n);u=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function l(t,n){if(t){if("string"==typeof t)return c(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?c(t,n):void 0}}function c(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o=t.length?{done:!0}:{done:!1,value:t[c++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function p(t,n){if(t){if("string"==typeof t)return b(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,c=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:l,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case'ENQUEUE_LOCK_REQUEST':var s=c.request;return u(u({},t),{},{requests:[s].concat((0,o.default)(t.requests))});case'GRANT_LOCK_REQUEST':var f=c.lock,p=c.request,O=p.store,v=p.path,b=[O].concat((0,o.default)(v)),y=(0,n.deepCopyLocksTreePath)(t.tree,b),h=(0,n.getNode)(y,b);return h.locks=[].concat((0,o.default)(h.locks),[f]),u(u({},t),{},{requests:t.requests.filter(function(t){return t!==p}),tree:y});case'RELEASE_LOCK':var j=c.lock,E=[j.store].concat((0,o.default)(j.path)),k=(0,n.deepCopyLocksTreePath)(t.tree,E),P=(0,n.getNode)(k,E);return P.locks=P.locks.filter(function(t){return t!==j}),u(u({},t),{},{tree:k})}return t}var p=f;e.default=p},2298,[5,14,66,2297]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createBatch",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"defaultProcessor",{enumerable:!0,get:function(){return u.default}});var n=t(r(d[1])),u=t(r(d[2]))},2299,[5,2300,2301]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default,n=0,u=[],o=new p;return{add:function(t){var s=++n;o.add(s);var l=function(t){return new Promise(function(n,l){u.push({input:t,resolve:n,reject:l}),o.delete(s)})};return(0,c.isFunction)(t)?Promise.resolve(t(l)).finally(function(){o.delete(s)}):l(t)},run:function(){var n,f,b,y,p,h,w,S,A,j,k,x,z,P;return s.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(!o.size){E.next=3;break}return E.next=3,s.default.awrap(new Promise(function(t){var n=o.subscribe(function(){o.size||(n(),t())})}));case 3:return E.prev=3,E.next=6,s.default.awrap(t(u.map(function(t){var n=t.input;return n})));case 6:if((n=E.sent).length===u.length){E.next=9;break}throw new Error('run: Array returned by processor must be same size as input array.');case 9:E.next=15;break;case 11:for(E.prev=11,E.t0=E.catch(3),f=v(u);!(b=f()).done;)y=b.value,(0,y.reject)(E.t0);throw E.t0;case 15:for(p=!0,h=v((0,c.zip)(n,u));!(w=h()).done;)S=w.value,A=(0,l.default)(S,2),j=A[0],k=A[1],x=k.resolve,z=k.reject,(null==j?void 0:j.error)?(z(j.error),p=!1):x(null!=(P=null==j?void 0:j.output)?P:j);return u=[],E.abrupt("return",p);case 19:case"end":return E.stop()}},null,null,[[3,11]],Promise)}}};var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),c=r(d[6]),f=t(r(d[7]));function v(t,n){var u;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(u=b(t))||n&&t&&"number"==typeof t.length){u&&(t=u);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(u=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(u)}function b(t,n){if(t){if("string"==typeof t)return y(t,n);var u=Object.prototype.toString.call(t).slice(8,-1);return"Object"===u&&t.constructor&&(u=t.constructor.name),"Map"===u||"Set"===u?Array.from(t):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?y(t,n):void 0}}function y(t,n){(null==n||n>t.length)&&(n=t.length);for(var u=0,o=new Array(n);u=200&&t.status<300?n.output=t.body:n.error=t.body,n}));case 6:case"end":return s.stop()}},null,null,null,Promise)};var n=t(r(d[1])),u=t(r(d[2]))},2301,[5,282,1026]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.regularFetch=function(t){return{type:'REGULAR_FETCH',url:t}},e.getDispatch=function(){return{type:'GET_DISPATCH'}},e.default=void 0;var n=t(r(d[1]));var u={REGULAR_FETCH:function(t){var u,c,o;return n.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return u=t.url,l.next=3,n.default.awrap(window.fetch(u).then(function(t){return t.json()}));case 3:return c=l.sent,o=c.data,l.abrupt("return",o);case 6:case"end":return l.stop()}},null,null,null,Promise)},GET_DISPATCH:(0,r(d[2]).createRegistryControl)(function(t){var n=t.dispatch;return function(){return n}})};e.default=u},2302,[5,282,1076]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAuthors=function(t,n){var u=(0,f.addQueryArgs)('/wp/v2/users/?who=authors&per_page=100',n);return O(t,u)},e.__unstableGetAuthor=function(t,n){return(0,o.get)(t,['users','byId',n],null)},e.getCurrentUser=function(t){return t.currentUser},e.getEntitiesByKind=function(t,n){return(0,o.filter)(t.entities.config,{kind:n})},e.getEntity=_,e.getEntityRecord=j,e.__experimentalGetEntityRecordNoResolver=function(t,n,u,o){return j(t,n,u,o)},e.hasEntityRecords=function(t,n,u,o){return Array.isArray(P(t,n,u,o))},e.getEntityRecords=P,e.getEntityRecordEdits=T,e.hasEditsForEntityRecord=D,e.isAutosavingEntityRecord=function(t,n,u,s){var c=(0,o.get)(t.entities.data,[n,u,'saving',s],{}),f=c.pending,l=c.isAutosave;return Boolean(f&&l)},e.isSavingEntityRecord=S,e.isDeletingEntityRecord=function(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'deleting',s,'pending'],!1)},e.getLastEntitySaveError=function(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'saving',s,'error'])},e.getLastEntityDeleteError=function(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'deleting',s,'error'])},e.getUndoEdit=N,e.getRedoEdit=q,e.hasUndo=function(t){return Boolean(N(t))},e.hasRedo=function(t){return Boolean(q(t))},e.getCurrentTheme=function(t){return t.themes[t.currentTheme]},e.getThemeSupports=function(t){return t.themeSupports},e.getEmbedPreview=function(t,n){return t.embedPreviews[n]},e.isPreviewEmbedFallback=function(t,n){var u=t.embedPreviews[n],o=''+n+'';if(!u)return!1;return u.html===o},e.hasUploadPermissions=function(t){return(0,c.default)("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),(0,o.defaultTo)(B(t,'create','media'),!0)},e.canUser=B,e.getAutosaves=function(t,n,u){return t.autosaves[u]},e.getAutosave=function(t,n,u,s){if(void 0===s)return;var c=t.autosaves[u];return(0,o.find)(c,{author:s})},e.__experimentalGetTemplateForLink=function(t,n){var u=P(t,'postType','wp_template',{'find-template':n});return(null==u?void 0:u.length)?u[0]:null},e.getReferenceByDistinctEdits=e.hasFetchedAutosaves=e.getEditedEntityRecord=e.getEntityRecordNonTransientEdits=e.__experimentalGetDirtyEntityRecords=e.getRawEntityRecord=e.getUserQueryResults=e.isRequestingEmbedPreview=void 0;var n=t(r(d[1])),u=t(r(d[2])),o=r(d[3]),s=r(d[4]),c=t(r(d[5])),f=r(d[6]),l=r(d[7]),v=r(d[8]),y=r(d[9]),E=r(d[10]);function p(t,n){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),u.push.apply(u,o)}return u}function h(t){for(var u=1;u0}e.getEntityRecordNonTransientEdits=k;var U=(0,u.default)(function(t,n,u,o){return h(h({},w(t,n,u,o)),T(t,n,u,o))},function(t){return[t.entities.data]});function S(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'saving',s,'pending'],!1)}function F(t){return t.undo.offset}function N(t){return t.undo[t.undo.length-2+F(t)]}function q(t){return t.undo[t.undo.length+F(t)]}function B(t,n,u,s){var c=(0,o.compact)([n,u,s]).join('/');return(0,o.get)(t,['userPermissions',c])}e.getEditedEntityRecord=U;var I=(0,s.createRegistrySelector)(function(t){return function(n,u,o){return t(l.STORE_NAME).hasFinishedResolution('getAutosaves',[u,o])}});e.hasFetchedAutosaves=I;var G=(0,u.default)(function(){return[]},function(t){return[t.undo.length,t.undo.offset,t.undo.flattenedUndo]});e.getReferenceByDistinctEdits=G},2303,[5,66,1175,1068,1076,1111,1043,2304,2287,2292,2279]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.STORE_NAME=void 0;e.STORE_NAME='core'},2304,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAuthors=D,e.__unstableGetAuthor=Q,e.getCurrentUser=K,e.getEntityRecord=M,e.getEntityRecords=z,e.getCurrentTheme=V,e.getThemeSupports=H,e.getEmbedPreview=$,e.hasUploadPermissions=B,e.canUser=J,e.getAutosaves=W,e.getAutosave=X,e.__experimentalGetTemplateForLink=Z,e.getEditedEntityRecord=e.getRawEntityRecord=void 0;var n=t(r(d[1])),s=t(r(d[2])),c=t(r(d[3])),u=r(d[4]),o=r(d[5]),l=t(r(d[6])),p=r(d[7]),f=r(d[8]),v=r(d[9]),h=r(d[10]),x=r(d[11]),y=r(d[12]),b=r(d[13]);function w(t,n){var s;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(s=E(t))||n&&t&&"number"==typeof t.length){s&&(t=s);var c=0;return function(){return c>=t.length?{done:!0}:{done:!1,value:t[c++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(s=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(s)}function E(t,n){if(t){if("string"==typeof t)return _(t,n);var s=Object.prototype.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?_(t,n):void 0}}function _(t,n){(null==n||n>t.length)&&(n=t.length);for(var s=0,c=new Array(n);s2&&void 0!==R[2]?R[2]:'',v=R.length>3?R[3]:void 0,c.next=4,(0,x.getKindEntities)(t);case 4:if(w=c.sent,E=(0,u.find)(w,{kind:t,name:s})){c.next=8;break}return c.abrupt("return");case 8:return c.delegateYield((0,b.__unstableAcquireStoreLock)('core',['entities','data',t,s,l],{exclusive:!1}),"t0",9);case 9:if(_=c.t0,c.prev=10,void 0!==v&&v._fields&&(v=T(T({},v),{},{_fields:(0,u.uniq)([].concat((0,n.default)((0,y.getNormalizedCommaSeparable)(v._fields)||[]),[E.key||x.DEFAULT_ENTITY_KEY])).join()})),k=(0,o.addQueryArgs)(E.baseURL+'/'+l,T(T({},v),{},{context:'edit'})),void 0===v){c.next=20;break}return v=T(T({},v),{},{include:[l]}),c.next=17,p.controls.select('core','hasEntityRecords',t,s,v);case 17:if(!c.sent){c.next=20;break}return c.abrupt("return");case 20:return c.next=22,(0,f.apiFetch)({path:k});case 22:return O=c.sent,c.next=25,(0,h.receiveEntityRecords)(t,s,O,v);case 25:c.next=29;break;case 27:c.prev=27,c.t1=c.catch(10);case 29:return c.prev=29,c.delegateYield((0,b.__unstableReleaseStoreLock)(_),"t2",31);case 31:return c.finish(29);case 32:case"end":return c.stop()}},A,null,[[10,27,29,32]])}var q=(0,y.ifNotResolved)(M,'getEntityRecord');e.getRawEntityRecord=q;var G=(0,y.ifNotResolved)(q,'getRawEntityRecord');function z(t,s){var l,p,v,E,_,k,O,R,S,A,j,U=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return l=U.length>2&&void 0!==U[2]?U[2]:{},c.next=3,(0,x.getKindEntities)(t);case 3:if(p=c.sent,v=(0,u.find)(p,{kind:t,name:s})){c.next=7;break}return c.abrupt("return");case 7:return c.delegateYield((0,b.__unstableAcquireStoreLock)('core',['entities','data',t,s],{exclusive:!1}),"t0",8);case 8:return E=c.t0,c.prev=9,l._fields&&(l=T(T({},l),{},{_fields:(0,u.uniq)([].concat((0,n.default)((0,y.getNormalizedCommaSeparable)(l._fields)||[]),[v.key||x.DEFAULT_ENTITY_KEY])).join()})),k=(0,o.addQueryArgs)(v.baseURL,T(T({},l),{},{context:'edit'})),c.t1=Object,c.next=15,(0,f.apiFetch)({path:k});case 15:return c.t2=c.sent,O=c.t1.values.call(c.t1,c.t2),l._fields&&(O=O.map(function(t){return l._fields.split(',').forEach(function(n){t.hasOwnProperty(n)||(t[n]=void 0)}),t})),c.next=20,(0,h.receiveEntityRecords)(t,s,O,l);case 20:if(null==(_=l)?void 0:_._fields){c.next=32;break}R=v.key||x.DEFAULT_ENTITY_KEY,S=w(O);case 23:if((A=S()).done){c.next=32;break}if(!(j=A.value)[R]){c.next=30;break}return c.next=28,{type:'START_RESOLUTION',selectorName:'getEntityRecord',args:[t,s,j[R]]};case 28:return c.next=30,{type:'FINISH_RESOLUTION',selectorName:'getEntityRecord',args:[t,s,j[R]]};case 30:c.next=23;break;case 32:return c.prev=32,c.delegateYield((0,b.__unstableReleaseStoreLock)(E),"t3",34);case 34:return c.finish(32);case 35:case"end":return c.stop()}},P,null,[[9,,32,35]])}function V(){var t;return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,f.apiFetch)({path:'/wp/v2/themes?status=active'});case 2:return t=n.sent,n.next=5,(0,h.receiveCurrentTheme)(t[0]);case 5:case"end":return n.stop()}},j)}function H(){var t;return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,f.apiFetch)({path:'/wp/v2/themes?status=active'});case 2:return t=n.sent,n.next=5,(0,h.receiveThemeSupports)(t[0].theme_supports);case 5:case"end":return n.stop()}},U)}function $(t){var n;return c.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,f.apiFetch)({path:(0,o.addQueryArgs)('/oembed/1.0/proxy',{url:t})});case 3:return n=s.sent,s.next=6,(0,h.receiveEmbedPreview)(t,n);case 6:s.next=12;break;case 8:return s.prev=8,s.t0=s.catch(0),s.next=12,(0,h.receiveEmbedPreview)(t,!1);case 12:case"end":return s.stop()}},F,null,[[0,8]])}function B(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(0,l.default)("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),t.delegateYield(J('create','media'),"t0",2);case 2:case"end":return t.stop()}},I)}function J(t,n,s){var o,l,p,v,x,y;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(o={create:'POST',read:'GET',update:'PUT',delete:'DELETE'}[t]){c.next=4;break}throw new Error("'"+t+"' is not a valid action.");case 4:return l=s?"/wp/v2/"+n+"/"+s:"/wp/v2/"+n,c.prev=5,c.next=8,(0,f.apiFetch)({path:l,method:s?'GET':'OPTIONS',parse:!1});case 8:p=c.sent,c.next=14;break;case 11:return c.prev=11,c.t0=c.catch(5),c.abrupt("return");case 14:return v=(0,u.hasIn)(p,['headers','get'])?p.headers.get('allow'):(0,u.get)(p,['headers','Allow'],''),x=(0,u.compact)([t,n,s]).join('/'),y=(0,u.includes)(v,o),c.next=19,(0,h.receiveUserPermission)(x,y);case 19:case"end":return c.stop()}},L,null,[[5,11]])}function W(t,n){var s,u,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.resolveSelect('core','getPostType',t);case 2:return s=c.sent,u=s.rest_base,c.next=6,(0,f.apiFetch)({path:"/wp/v2/"+u+"/"+n+"/autosaves?context=edit"});case 6:if(!(o=c.sent)||!o.length){c.next=10;break}return c.next=10,(0,h.receiveAutosaves)(n,o);case 10:case"end":return c.stop()}},N)}function X(t,n){return c.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,p.controls.resolveSelect('core','getAutosaves',t,n);case 2:case"end":return s.stop()}},Y)}function Z(t){var n,s;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,v.regularFetch)((0,o.addQueryArgs)(t,{'_wp-find-template':!0}));case 2:if(null!==(n=c.sent)){c.next=5;break}return c.abrupt("return");case 5:return c.next=7,M('postType','wp_template',n.id);case 7:return c.next=9,p.controls.select('core','getEntityRecord','postType','wp_template',n.id);case 9:if(!(s=c.sent)){c.next=13;break}return c.next=13,(0,h.receiveEntityRecords)('postType','wp_template',[s],{'find-template':t});case 13:case"end":return c.stop()}},C)}e.getEditedEntityRecord=G,z.shouldInvalidate=function(t,n,s){return('RECEIVE_ITEMS'===t.type||'REMOVE_ITEMS'===t.type)&&t.invalidateCache&&n===t.kind&&s===t.name}},2305,[5,14,66,282,1068,1043,1111,1076,2277,2302,2293,2292,2279,2294]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.kind,c=t.type,u=t.id,l=t.children,s=y(o,c).context.Provider;return(0,n.createElement)(s,{value:u},l)},e.useEntityId=p,e.useEntityProp=function(t,u,l,s){var f=p(t,u),b=null!=s?s:f,v=(0,c.useSelect)(function(n){var o=n('core'),c=o.getEntityRecord,s=o.getEditedEntityRecord,f=c(t,u,b),v=s(t,u,b);return f&&v?{value:v[l],fullValue:f[l]}:{}},[t,u,b,l]),y=v.value,E=v.fullValue,k=(0,c.useDispatch)('core').editEntityRecord,O=(0,n.useCallback)(function(n){k(t,u,b,(0,o.default)({},l,n))},[t,u,b,l]);return[y,O,E]},e.useEntityBlockEditor=function(t,o){var l=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).id,s=p(t,o),f=null!=l?l:s,v=(0,c.useSelect)(function(n){var c=n('core'),u=c.getEditedEntityRecord,l=u(t,o,f);return{blocks:l.blocks,content:l.content}},[t,o,f]),y=v.content,E=v.blocks,k=(0,c.useDispatch)('core'),O=k.__unstableCreateUndoLevel,j=k.editEntityRecord;(0,n.useEffect)(function(){if(y&&'function'!=typeof y&&!E){var n=(0,u.parse)(y);j(t,o,f,{blocks:n},{undoIgnore:!0})}},[y]);var P=(0,n.useCallback)(function(n,c){var l=c.selectionStart,s=c.selectionEnd,b={blocks:n,selectionStart:l,selectionEnd:s},v=E===b.blocks;if(v)return O(t,o,f);b.content=function(t){var n=t.blocks,o=void 0===n?[]:n;return(0,u.__unstableSerializeAndClean)(o)},j(t,o,f,b)},[t,o,f,E]),h=(0,n.useCallback)(function(n,c){var u=c.selectionStart,l=c.selectionEnd,s={blocks:n,selectionStart:u,selectionEnd:l};j(t,o,f,s)},[t,o,f]);return[null!=E?E:b,h,P]};var n=r(d[1]),o=t(r(d[2])),c=r(d[3]),u=r(d[4]),l=r(d[5]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function f(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:v,c=arguments.length>1?arguments[1]:void 0;return t(n,c)}})])({panels:function(t,n){switch(n.type){case'TOGGLE_PANEL_ENABLED':var u=n.panelName;return E(E({},t),{},(0,c.default)({},u,E(E({},t[u]),{},{enabled:!(0,o.get)(t,[u,'enabled'],!0)})));case'TOGGLE_PANEL_OPENED':var l=n.panelName,s=!0===t[l]||(0,o.get)(t,[l,'opened'],!1);return E(E({},t),{},(0,c.default)({},l,E(E({},t[l]),{},{opened:!s})))}return t},features:function(t,n){return'TOGGLE_FEATURE'===n.type?E(E({},t),{},(0,c.default)({},n.feature,!t[n.feature])):t},editorMode:function(t,n){return'SWITCH_MODE'===n.type?n.mode:t},hiddenBlockTypes:function(t,c){switch(c.type){case'SHOW_BLOCK_TYPES':return o.without.apply(void 0,[t].concat((0,n.default)(c.blockNames)));case'HIDE_BLOCK_TYPES':return(0,o.union)(t,c.blockNames)}return t},preferredStyleVariations:function(t,n){switch(n.type){case'UPDATE_PREFERRED_STYLE_VARIATIONS':return n.blockName?n.blockStyle?E(E({},t),{},(0,c.default)({},n.blockName,n.blockStyle)):(0,o.omit)(t,[n.blockName]):t}return t},localAutosaveInterval:function(t,n){switch(n.type){case'UPDATE_LOCAL_AUTOSAVE_INTERVAL':return n.interval}return t}});function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case'REMOVE_PANEL':if(!(0,o.includes)(t,c.panelName))return[].concat((0,n.default)(t),[c.panelName])}return t}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'OPEN_MODAL':return n.name;case'CLOSE_MODAL':return null}return t}function O(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'OPEN_PUBLISH_SIDEBAR':return!0;case'CLOSE_PUBLISH_SIDEBAR':return!1;case'TOGGLE_PUBLISH_SIDEBAR':return!t}return t}function S(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'REQUEST_META_BOX_UPDATES':return!0;case'META_BOX_UPDATES_SUCCESS':return!1;default:return t}}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_META_BOXES_PER_LOCATIONS':return n.metaBoxesPerLocation}return t}function T(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'Desktop',n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_PREVIEW_DEVICE_TYPE':return n.deviceType}return t}e.preferences=p;var y=(0,u.combineReducers)({isSaving:S,locations:h}),P=(0,u.combineReducers)({activeModal:_,metaBoxes:y,preferences:p,publishSidebarActive:O,removedPanels:f,deviceType:T,isInserterOpened:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_IS_INSERTER_OPENED':return n.value}return t},isEditingTemplate:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_IS_EDITING_TEMPLATE':return n.value}return t}});e.default=P},2320,[5,14,66,1068,1076,2321]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PREFERENCES_DEFAULTS=void 0;e.PREFERENCES_DEFAULTS={editorMode:'visual',panels:{'post-status':{opened:!0}},features:{fixedToolbar:!1,welcomeGuide:!0,fullscreenMode:!0,showIconLabels:!1,themeStyles:!0,showBlockBreadcrumbs:!0},hiddenBlockTypes:[],preferredStyleVariations:{},localAutosaveInterval:15}},2321,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.openGeneralSidebar=h,e.closeGeneralSidebar=I,e.openModal=function(t){return{type:'OPEN_MODAL',name:t}},e.closeModal=function(){return{type:'CLOSE_MODAL'}},e.openPublishSidebar=function(){return{type:'OPEN_PUBLISH_SIDEBAR'}},e.closePublishSidebar=function(){return{type:'CLOSE_PUBLISH_SIDEBAR'}},e.togglePublishSidebar=function(){return{type:'TOGGLE_PUBLISH_SIDEBAR'}},e.toggleEditorPanelEnabled=function(t){return{type:'TOGGLE_PANEL_ENABLED',panelName:t}},e.toggleEditorPanelOpened=function(t){return{type:'TOGGLE_PANEL_OPENED',panelName:t}},e.removeEditorPanel=function(t){return{type:'REMOVE_PANEL',panelName:t}},e.toggleFeature=function(t){return{type:'TOGGLE_FEATURE',feature:t}},e.switchEditorMode=L,e.togglePinnedPluginItem=function(t){return{type:'TOGGLE_PINNED_PLUGIN_ITEM',pluginName:t}},e.hideBlockTypes=function(t){return{type:'HIDE_BLOCK_TYPES',blockNames:(0,c.castArray)(t)}},e.updatePreferredStyleVariations=function(t,n){return{type:'UPDATE_PREFERRED_STYLE_VARIATIONS',blockName:t,blockStyle:n}},e.__experimentalUpdateLocalAutosaveInterval=function(t){return{type:'UPDATE_LOCAL_AUTOSAVE_INTERVAL',interval:t}},e.showBlockTypes=function(t){return{type:'SHOW_BLOCK_TYPES',blockNames:(0,c.castArray)(t)}},e.setAvailableMetaBoxesPerLocation=B,e.requestMetaBoxUpdates=M,e.metaBoxUpdatesSuccess=function(){return{type:'META_BOX_UPDATES_SUCCESS'}},e.__experimentalSetPreviewDeviceType=function(t){return{type:'SET_PREVIEW_DEVICE_TYPE',deviceType:t}},e.setIsInserterOpened=function(t){return{type:'SET_IS_INSERTER_OPENED',value:t}},e.setIsEditingTemplate=function(t){return{type:'SET_IS_EDITING_TEMPLATE',value:t}};var n=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3])),c=r(d[4]),u=r(d[5]),l=r(d[6]),p=r(d[7]),f=r(d[8]),E=r(d[9]),_=r(d[10]),y=r(d[11]);function S(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=v(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var s=0;return function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function v(t,n){if(t){if("string"==typeof t)return P(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?P(t,n):void 0}}function P(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,s=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,o=l.type,c=l.itemType,f=l.scope,p=l.item;return'SET_SINGLE_ENABLE_ITEM'===o&&c&&f?u(u({},t),{},(0,n.default)({},c,u(u({},t[c]),{},(0,n.default)({},f,p||null)))):t}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,c=o.type,f=o.itemType,p=o.scope,s=o.item,b=o.isEnable;if('SET_MULTIPLE_ENABLE_ITEM'!==c||!f||!p||!s||(0,l.get)(t,[f,p,s])===b)return t;var O=t[f]||{},E=O[p]||{};return u(u({},t),{},(0,n.default)({},f,u(u({},O),{},(0,n.default)({},p,u(u({},E),{},(0,n.default)({},s,b||!1))))))}var s=(0,o.combineReducers)({singleEnableItems:f,multipleEnableItems:p}),b=(0,o.combineReducers)({enableItems:s});e.default=b},2325,[5,66,1068,1076]); -__d(function(g,r,i,a,m,e,d){function n(n,t,o){return{type:'SET_SINGLE_ENABLE_ITEM',itemType:n,scope:t,item:o}}function t(n,t,o,u){return{type:'SET_MULTIPLE_ENABLE_ITEM',itemType:n,scope:t,item:o,isEnable:u}}Object.defineProperty(e,"__esModule",{value:!0}),e.enableComplementaryArea=function(t,o){return n('complementaryArea',t,o)},e.disableComplementaryArea=function(t){return n('complementaryArea',t,void 0)},e.pinItem=function(n,o){return t('pinnedItems',n,o,!0)},e.unpinItem=function(n,o){return t('pinnedItems',n,o,!1)}},2326,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getActiveComplementaryArea=function(n,u){return t(n,'complementaryArea',u)},e.isItemPinned=function(n,t,l){return!1!==u(n,'pinnedItems',t,l)};var n=r(d[0]);function t(t,u,l){return(0,n.get)(t.enableItems.singleEnableItems,[u,l])}function u(t,u,l,o){return(0,n.get)(t.enableItems.multipleEnableItems,[u,l,o])}},2327,[1068]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.STORE_NAME=void 0;e.STORE_NAME='core/interface'},2328,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ComplementaryArea",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"PinnedItems",{enumerable:!0,get:function(){return u.default}});var n=t(r(d[1])),u=t(r(d[2]))},2329,[5,2330,2347]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),s=t(r(d[4])),o=r(d[5]),u=r(d[6]),p=r(d[7]),f=r(d[8]),v=r(d[9]),E=t(r(d[10])),b=t(r(d[11])),h=t(r(d[12])),y=t(r(d[13])),A=r(d[14]);function C(t){var l=t.scope,c=t.children,s=t.className;return(0,n.createElement)(o.Fill,{name:"ComplementaryArea/"+l},(0,n.createElement)("div",{className:s},c))}function _(t,l,c,s,o){var p=(0,n.useRef)(!1),f=(0,n.useRef)(!1),v=(0,u.useDispatch)(A.store),E=v.enableComplementaryArea,b=v.disableComplementaryArea;(0,n.useEffect)(function(){s&&o&&!p.current?(b(t),f.current=!0):f.current&&!o&&p.current?(f.current=!1,E(t,l)):f.current&&c&&c!==l&&(f.current=!1),o!==p.current&&(p.current=o)},[s,o,t,l,c])}var P=(0,h.default)(function(t){var l=t.children,c=t.className,h=t.closeLabel,P=void 0===h?(0,p.__)('Close plugin'):h,N=t.identifier,S=t.header,L=t.headerClassName,w=t.icon,F=t.isPinnable,I=void 0===F||F,T=t.panelClassName,B=t.scope,D=t.smallScreenTitle,M=t.title,k=t.toggleShortcut,x=t.isActiveByDefault,R=t.showIconLabels,V=void 0!==R&&R,j=(0,u.useSelect)(function(t){var n=t(A.store),l=n.getActiveComplementaryArea,c=n.isItemPinned,s=l(B);return{isActive:s===N,isPinned:c(B,N),activeArea:s,isSmall:t(v.store).isViewportMatch('< medium'),isLarge:t(v.store).isViewportMatch('large')}},[N,B]),O=j.isActive,U=j.isPinned,q=j.activeArea,z=j.isSmall,G=j.isLarge;_(B,N,q,O,z);var H=(0,u.useDispatch)(A.store),J=H.enableComplementaryArea,K=H.disableComplementaryArea,Q=H.pinItem,W=H.unpinItem;return(0,n.useEffect)(function(){x&&void 0===q&&!z&&J(B,N)},[q,x,B,N,z]),(0,n.createElement)(n.Fragment,null,U&&I&&(0,n.createElement)(y.default,{scope:B},(0,n.createElement)(b.default,{scope:B,identifier:N,isPressed:O&&(!V||G),"aria-expanded":O,label:M,icon:V?f.check:w,showTooltip:!V,isTertiary:V})),O&&(0,n.createElement)(C,{className:(0,s.default)('interface-complementary-area',c),scope:B},(0,n.createElement)(E.default,{className:L,closeLabel:P,onClose:function(){return K(B)},smallScreenTitle:D,toggleButtonProps:{label:P,shortcut:k,scope:B,identifier:N}},S||(0,n.createElement)(n.Fragment,null,(0,n.createElement)("strong",null,M),I&&(0,n.createElement)(o.Button,{className:"interface-complementary-area__pin-unpin-item",icon:U?f.starFilled:f.starEmpty,label:U?(0,p.__)('Unpin from toolbar'):(0,p.__)('Pin to toolbar'),onClick:function(){return(U?W:Q)(B,N)},isPressed:U,"aria-expanded":U}))),(0,n.createElement)(o.Panel,{className:T},l)))});P.Slot=function(t){var s=t.scope,u=(0,c.default)(t,["scope"]);return(0,n.createElement)(o.Slot,(0,l.default)({name:"ComplementaryArea/"+s},u))};var N=P;e.default=N},2330,[5,946,24,67,1716,1696,1076,1027,1247,2331,2339,2340,2341,2347,2324]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"store",{enumerable:!0,get:function(){return u.store}}),Object.defineProperty(e,"ifViewportMatches",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"withViewportMatch",{enumerable:!0,get:function(){return f.default}});var n=t(r(d[1])),u=r(d[2]),o=t(r(d[3])),f=t(r(d[4]));(0,n.default)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{'<':'max-width','>=':'min-width'})},2331,[5,2332,2333,2337,2338]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3]),c=function(n,o){var u=t.Dimensions.get('window').width;if('max-width'===n)return u=o;throw new Error("Unsupported viewport operator: "+n)},f=function(f,s){var v=function(){var t=(0,n.reduce)(f,function(t,o,u){return(0,n.forEach)(s,function(n,f){var s=[f,u].join(' ');t[s]=c(n,o)}),t},{});(0,o.dispatch)(u.store).setIsMatching(t)};t.Dimensions.addEventListener('change',v),v()};e.default=f},2332,[1068,25,1076,2333]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=void 0;var c=r(d[2]),s=o(r(d[3])),u=t(r(d[4])),v=t(r(d[5])),l=(0,c.createReduxStore)('core/viewport',{reducer:s.default,actions:u,selectors:v});e.store=l,(0,c.register)(l)},2333,[32,5,1076,2334,2335,2336]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_IS_MATCHING':return n.values}return t};e.default=t},2334,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.setIsMatching=function(t){return{type:'SET_IS_MATCHING',values:t}}},2335,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isViewportMatch=function(n,t){-1===t.indexOf(' ')&&(t='>= '+t);return!!n[t]}},2336,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),u=function(t){return(0,o.createHigherOrderComponent)((0,o.compose)([(0,n.default)({isViewportMatch:t}),(0,o.ifCondition)(function(t){return t.isViewportMatch})]),'ifViewportMatches')};e.default=u},2337,[5,1116,2338]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=function(c){return(0,n.createHigherOrderComponent)((0,o.withSelect)(function(n){return(0,t.mapValues)(c,function(t){return n(u.store).isViewportMatch(t)})}),'withViewportMatch')};e.default=c},2338,[1068,1116,1076,2333]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=l(r(d[2])),c=l(r(d[3])),o=r(d[4]),s=l(r(d[5])),u=function(l){var u=l.smallScreenTitle,_=l.children,f=l.className,p=l.toggleButtonProps,v=(0,t.createElement)(s.default,(0,n.default)({icon:o.closeSmall},p));return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},u&&(0,t.createElement)("span",{className:"interface-complementary-area-header__small-title"},u),v),(0,t.createElement)("div",{className:(0,c.default)('components-panel__header','interface-complementary-area-header',f),tabIndex:-1},_,v))};e.default=u},2339,[5,946,24,1716,1247,2340]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),l=r(d[4]),u=r(d[5]),s=r(d[6]),f=r(d[7]);var v=(0,t(r(d[8])).default)(function(t){var v=t.as,p=void 0===v?u.Button:v,y=t.scope,A=t.identifier,C=t.icon,_=t.selectedIcon,b=(0,c.default)(t,["as","scope","identifier","icon","selectedIcon"]),I=p,h=(0,s.useSelect)(function(t){return t(f.store).getActiveComplementaryArea(y)===A},[A]),j=(0,s.useDispatch)(f.store),k=j.enableComplementaryArea,B=j.disableComplementaryArea;return(0,n.createElement)(I,(0,o.default)({icon:_&&h?_:C,onClick:function(){h?B(y):k(y,A)}},(0,l.omit)(b,['name'])))});e.default=v},2340,[5,946,24,67,1068,1696,1076,2324,2341]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(0,r(d[0]).withPluginContext)(function(n,t){return{icon:t.icon||n.icon,identifier:t.identifier||n.name+"/"+t.name}});e.default=n},2341,[2342]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},2342,[2343,2346]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PluginArea",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"withPluginContext",{enumerable:!0,get:function(){return u.withPluginContext}});var n=t(r(d[1])),u=r(d[2])},2343,[5,2344,2345]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),p=t(r(d[7])),f=r(d[8]),v=r(d[9]),y=r(d[10]),P=r(d[11]);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,o.default)(S,t);var R,k,C=(R=S,k=h(),function(){var t,n=(0,p.default)(R);if(k){var u=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function S(){var t;return(0,u.default)(this,S),(t=C.apply(this,arguments)).setPlugins=t.setPlugins.bind((0,s.default)(t)),t.state=t.getCurrentPluginsState(),t}return(0,l.default)(S,[{key:"getCurrentPluginsState",value:function(){return{plugins:(0,f.map)((0,P.getPlugins)(),function(t){var n=t.icon,u=t.name;return{Plugin:t.render,context:{name:u,icon:n}}})}}},{key:"componentDidMount",value:function(){(0,v.addAction)('plugins.pluginRegistered','core/plugins/plugin-area/plugins-registered',this.setPlugins),(0,v.addAction)('plugins.pluginUnregistered','core/plugins/plugin-area/plugins-unregistered',this.setPlugins)}},{key:"componentWillUnmount",value:function(){(0,v.removeAction)('plugins.pluginRegistered','core/plugins/plugin-area/plugins-registered'),(0,v.removeAction)('plugins.pluginUnregistered','core/plugins/plugin-area/plugins-unregistered')}},{key:"setPlugins",value:function(){this.setState(this.getCurrentPluginsState)}},{key:"render",value:function(){return(0,n.createElement)("div",{style:{display:'none'}},(0,f.map)(this.state.plugins,function(t){var u=t.context,l=t.Plugin;return(0,n.createElement)(y.PluginContextProvider,{key:u.name,value:u},(0,n.createElement)(l,null))}))}}]),S})(n.Component);e.default=R},2344,[5,946,7,42,60,57,59,56,1068,4,2345,2346]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.withPluginContext=e.PluginContextProvider=void 0;var t=r(d[1]),o=n(r(d[2])),u=r(d[3]),l=(0,t.createContext)({name:null,icon:null}),c=l.Consumer,P=l.Provider;e.PluginContextProvider=P;e.withPluginContext=function(n){return(0,u.createHigherOrderComponent)(function(u){return function(l){return(0,t.createElement)(c,null,function(c){return(0,t.createElement)(u,(0,o.default)({},l,n(c,l)))})}},'withPluginContext')}},2345,[5,946,24,1116]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.registerPlugin=function(t,n){if('object'!=typeof n)return console.error('No settings object provided!'),null;if('string'!=typeof t)return console.error('Plugin names must be strings.'),null;if(!/^[a-z][a-z0-9-]*$/.test(t))return console.error('Plugin names must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".'),null;p[t]&&console.error("Plugin \""+t+"\" is already registered.");if(n=(0,o.applyFilters)('plugins.registerPlugin',n,t),!(0,l.isFunction)(n.render))return console.error('The "render" property must be specified and must be a valid function.'),null;return p[t]=c({name:t,icon:u.plugins},n),(0,o.doAction)('plugins.pluginRegistered',n,t),n},e.unregisterPlugin=function(t){if(!p[t])return void console.error('Plugin "'+t+'" is not registered.');var n=p[t];return delete p[t],(0,o.doAction)('plugins.pluginUnregistered',n,t),n},e.getPlugin=function(t){return p[t]},e.getPlugins=function(){return Object.values(p)};var n=t(r(d[1])),o=r(d[2]),u=r(d[3]),l=r(d[4]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function c(t){for(var o=1;o0},e.isSavingMetaBoxes=function(t){return t.metaBoxes.isSaving},e.__experimentalGetPreviewDeviceType=function(t){return t.deviceType},e.isInserterOpened=function(t){return t.isInserterOpened},e.isEditingTemplate=function(t){return t.isEditingTemplate},e.getAllMetaBoxes=e.getActiveMetaBoxLocations=e.isPluginItemPinned=e.getActiveGeneralSidebarName=e.isPluginSidebarOpened=e.isEditorSidebarOpened=void 0;var n=t(r(d[1])),o=r(d[2]),u=r(d[3]),c=r(d[4]);var s=(0,u.createRegistrySelector)(function(t){return function(){var n=t(c.store).getActiveComplementaryArea('core/edit-post');return(0,o.includes)(['edit-post/document','edit-post/block'],n)}});e.isEditorSidebarOpened=s;var l=(0,u.createRegistrySelector)(function(t){return function(){var n=t(c.store).getActiveComplementaryArea('core/edit-post');return!!n&&!(0,o.includes)(['edit-post/document','edit-post/block'],n)}});e.isPluginSidebarOpened=l;var f=(0,u.createRegistrySelector)(function(t){return function(){return t(c.store).getActiveComplementaryArea('core/edit-post')}});function v(t){return t.preferences}function p(t,n,o){var u=v(t)[n];return void 0===u?o:u}function b(t,n){return(0,o.includes)(t.removedPanels,n)}function x(t,n){var u=p(t,'panels');return!b(t,n)&&(0,o.get)(u,[n,'enabled'],!0)}e.getActiveGeneralSidebarName=f;var P=(0,u.createRegistrySelector)(function(t){return function(n){return t(c.store).isItemPinned('core/edit-post',n)}});e.isPluginItemPinned=P;var A=(0,n.default)(function(t){return Object.keys(t.metaBoxes.locations).filter(function(n){return B(t,n)})},function(t){return[t.metaBoxes.locations]});function B(t,n){var o=M(t,n);return!!o&&0!==o.length}function M(t,n){return t.metaBoxes.locations[n]}e.getActiveMetaBoxLocations=A;var S=(0,n.default)(function(t){return(0,o.flatten)((0,o.values)(t.metaBoxes.locations))},function(t){return[t.metaBoxes.locations]});e.getAllMetaBoxes=S},2349,[5,1175,1068,1076,2323]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.VIEW_AS_PREVIEW_LINK_SELECTOR=e.VIEW_AS_LINK_SELECTOR=e.STORE_NAME=void 0;e.STORE_NAME='core/edit-post';e.VIEW_AS_LINK_SELECTOR='#wp-admin-bar-view a';e.VIEW_AS_PREVIEW_LINK_SELECTOR='#wp-admin-bar-preview a'},2350,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),p=t(r(d[8])),y=t(r(d[9])),T=t(r(d[10])),h=t(r(d[11])),v=t(r(d[12])),b=r(d[13]),w=r(d[14]),k=r(d[15]),O=r(d[16]),E=r(d[17]),M=r(d[18]),P=r(d[19]),R=r(d[20]),S=t(r(d[21])),j=r(d[22]);function B(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,s)}return n}function D(t){for(var o=1;o0){void 0===t.allowedBlockTypes&&(t.allowedBlockTypes=!0);var u=!0===t.allowedBlockTypes?(0,b.map)(c,'name'):t.allowedBlockTypes||[];t.allowedBlockTypes=b.without.apply(void 0,[u].concat((0,l.default)(s)))}return t}},{key:"componentDidMount",value:function(){var t=this;this.subscriptionParentSetFocusOnTitle=(0,P.subscribeSetFocusOnTitle)(function(){t.postTitleRef&&t.postTitleRef.focus()})}},{key:"componentWillUnmount",value:function(){this.subscriptionParentSetFocusOnTitle&&this.subscriptionParentSetFocusOnTitle.remove()}},{key:"setTitleRef",value:function(t){this.postTitleRef=t}},{key:"editorMode",value:function(t,n){return'preview'===n?(0,o.createElement)(R.Preview,{blocks:(0,O.rawHandler)({HTML:t})}):(0,o.createElement)(S.default,{setTitleRef:this.setTitleRef})}},{key:"render",value:function(){var t=this.props,l=t.settings,c=t.hasFixedToolbar,u=t.focusMode,f=t.initialEdits,p=t.hiddenBlockTypes,y=t.blockTypes,T=t.post,h=t.postId,v=t.postType,b=t.initialHtml,w=t.editorMode,E=(0,s.default)(t,["settings","hasFixedToolbar","focusMode","initialEdits","hiddenBlockTypes","blockTypes","post","postId","postType","initialHtml","editorMode"]),M=this.getEditorSettings(l,c,u,p,y),P=T||{id:h,title:{raw:E.initialTitle||''},content:{raw:(0,O.serialize)((0,O.parse)(b||''))},type:v,status:'draft',meta:[]};return(0,o.createElement)(R.SlotFillProvider,null,(0,o.createElement)(k.EditorProvider,(0,n.default)({settings:M,post:P,initialEdits:f,useSubRegistry:!1},E),this.editorMode(b,w)))}}]),j})(o.Component),_=(0,M.compose)([(0,E.withSelect)(function(t){var o=t(j.store),n=o.isFeatureActive,s=o.getEditorMode,l=o.getPreference,c=o.__experimentalGetPreviewDeviceType,u=t(O.store).getBlockTypes;return{hasFixedToolbar:n('fixedToolbar')||'Desktop'!==c(),focusMode:n('focusMode'),mode:s(),hiddenBlockTypes:l('hiddenBlockTypes'),blockTypes:u()}}),(0,E.withDispatch)(function(t){return{switchEditorMode:t(j.store).switchEditorMode}})])(x);e.default=_},2351,[5,946,24,67,14,66,7,42,60,57,59,56,1029,1068,25,2352,1223,1076,1116,945,1696,2411,2319]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={store:!0};Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),r(d[0]),r(d[1]),r(d[2]),r(d[3]);var n=r(d[4]),o=r(d[5]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var c=r(d[6]);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return c[n]}}))})},2352,[1073,2276,1074,2353,2354,2379,2408]); -__d(function(g,r,i,a,m,e,d){},2353,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=e.storeConfig=void 0;var n=o(r(d[2])),c=r(d[3]),s=r(d[4]),f=o(r(d[5])),p=t(r(d[6])),O=t(r(d[7])),u=o(r(d[8])),l=r(d[9]);function b(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function j(t){for(var o=1;o0&&void 0!==arguments[0]&&arguments[0],o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'TOGGLE_POST_TITLE_SELECTION':return o.isSelected}return t}});function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'UPDATE_CLIPBOARD':return o.clipboard}return t}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'CREATE_NOTICE':return[].concat((0,n.default)(t),[o.notice]);case'REMOVE_ALL_NOTICES':return[];case'REMOVE_NOTICE':return t.filter(function(t){return t.id!==o.id})}return t}e.postTitle=l;var v=(0,c.combineReducers)({postId:s.postId,postType:s.postType,postTitle:l,preferences:s.preferences,saving:s.saving,postLock:s.postLock,postSavingLock:s.postSavingLock,template:s.template,isReady:s.isReady,editorSettings:s.editorSettings,clipboard:p,notices:u});e.default=v},2355,[5,14,1076,2356,2357]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getPostRawValue=function(t){if(t&&'object'==typeof t&&'raw'in t)return t.raw;return t},e.hasSameKeys=T,e.isUpdatingSamePostProperty=p,e.shouldOverwriteState=function(t,n){if('RESET_EDITOR_BLOCKS'===t.type)return!t.shouldCreateUndoLevel;if(!n||t.type!==n.type)return!1;return p(t,n)},e.postId=S,e.postType=E,e.template=v,e.preferences=_,e.saving=O,e.postLock=f,e.postSavingLock=h,e.postAutosavingLock=y,e.isReady=P,e.editorSettings=A,e.default=void 0;var n=t(r(d[1])),o=r(d[2]),s=r(d[3]),c=r(d[4]);function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function l(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SETUP_EDITOR_STATE':case'RESET_POST':return n.post.id}return t}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SETUP_EDITOR_STATE':case'RESET_POST':return n.post.type}return t}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_TEMPLATE_VALIDITY':return l(l({},t),{},{isValid:n.isValid})}return t}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.PREFERENCES_DEFAULTS;switch((arguments.length>1?arguments[1]:void 0).type){case'ENABLE_PUBLISH_SIDEBAR':return l(l({},t),{},{isPublishSidebarEnabled:!0});case'DISABLE_PUBLISH_SIDEBAR':return l(l({},t),{},{isPublishSidebarEnabled:!1})}return t}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'REQUEST_POST_UPDATE_START':case'REQUEST_POST_UPDATE_FINISH':return{pending:'REQUEST_POST_UPDATE_START'===n.type,options:n.options||{}}}return t}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'UPDATE_POST_LOCK':return n.lock}return t}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;switch(s.type){case'LOCK_POST_SAVING':return l(l({},t),{},(0,n.default)({},s.lockName,!0));case'UNLOCK_POST_SAVING':return(0,o.omit)(t,s.lockName)}return t}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;switch(s.type){case'LOCK_POST_AUTOSAVING':return l(l({},t),{},(0,n.default)({},s.lockName,!0));case'UNLOCK_POST_AUTOSAVING':return(0,o.omit)(t,s.lockName)}return t}function P(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'SETUP_EDITOR_STATE':return!0;case'TEAR_DOWN_EDITOR':return!1}return t}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.EDITOR_SETTINGS_DEFAULTS,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'UPDATE_EDITOR_SETTINGS':return l(l({},t),n.settings)}return t}var I=(0,s.combineReducers)({postId:S,postType:E,preferences:_,saving:O,postLock:f,template:v,postSavingLock:h,isReady:P,editorSettings:A,postAutosavingLock:y});e.default=I},2356,[5,66,1068,1076,2357]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.EDITOR_SETTINGS_DEFAULTS=e.PREFERENCES_DEFAULTS=void 0;var n=t(r(d[1])),o=r(d[2]);function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function E(t){for(var o=1;o2)return null;if(1===o.length&&'core/embed'===(n=o[0].name)){var c,l=null==(c=o[0].attributes)?void 0:c.providerNameSlug;['youtube','vimeo'].includes(l)?n='core/video':['spotify','soundcloud'].includes(l)&&(n='core/audio')}2===o.length&&'core/paragraph'===o[1].name&&(n=o[0].name);switch(n){case'core/image':return'image';case'core/quote':case'core/pullquote':return'quote';case'core/gallery':return'gallery';case'core/video':return'video';case'core/audio':return'audio';default:return null}},e.getBlocksForSerialization=function(t){(0,k.default)('`core/editor` getBlocksForSerialization selector',{plugin:'Gutenberg',alternative:'getEditorBlocks',hint:'Blocks serialization pre-processing occurs at save time'});var n=t.editor.present.blocks.value;if(1===n.length&&(0,s.isUnmodifiedDefaultBlock)(n[0]))return[];return n},e.isPublishingPost=function(t){return K(t)&&!U(t)&&'publish'===j(t,'status')},e.isPermalinkEditable=Y,e.getPermalink=function(t){var n=Z(t);if(!n)return null;var o=n.prefix,c=n.postName,l=n.suffix;if(Y(t))return o+c+l;return o},e.getEditedPostSlug=function(t){return j(t,'slug')||(0,y.cleanForSlug)(j(t,'title'))||L(t)},e.getPermalinkParts=Z,e.isPostLocked=function(t){return t.postLock.isLocked},e.isPostSavingLocked=function(t){return Object.keys(t.postSavingLock).length>0},e.isPostAutosavingLocked=$,e.isPostLockTakeover=function(t){return t.postLock.isTakeover},e.getPostLockUser=function(t){return t.postLock.user},e.getActivePostLock=function(t){return t.postLock.activePostLock},e.canUserUseUnfilteredHTML=function(t){return(0,c.has)(O(t),['_links','wp:action-unfiltered-html'])},e.isPublishSidebarEnabled=function(t){if(t.preferences.hasOwnProperty('isPublishSidebarEnabled'))return t.preferences.isPublishSidebarEnabled;return S.PREFERENCES_DEFAULTS.isPublishSidebarEnabled},e.getEditorBlocks=ee,e.getEditorSelectionStart=function(t){return j(t,'selectionStart')},e.getEditorSelectionEnd=function(t){return j(t,'selectionEnd')},e.__unstableIsEditorReady=function(t){return t.isReady},e.getEditorSettings=te,e.getStateBeforeOptimisticTransaction=function(){return(0,k.default)("select('core/editor').getStateBeforeOptimisticTransaction",{hint:'No state history is kept on this store anymore'}),null},e.inSomeHistory=function(){return(0,k.default)("select('core/editor').inSomeHistory",{hint:'No state history is kept on this store anymore'}),!1},e.__experimentalGetDefaultTemplateTypes=tt,e.__experimentalGetTemplateInfo=function(t,n){if(!n)return{};var o=n.excerpt,l=n.slug,s=n.title,u=rt(t,l),v=u.title,f=u.description,k=(0,c.isString)(s)?s:null==s?void 0:s.rendered,p=(0,c.isString)(o)?o:null==o?void 0:o.raw;return{title:k&&k!==l?k:v||l,description:p||f}},e.__experimentalGetDefaultTemplateType=e.getBlockListSettings=e.hasInserterItems=e.getInserterItems=e.canInsertBlockType=e.getTemplateLock=e.getTemplate=e.isValidTemplate=e.isBlockInsertionPointVisible=e.getBlockInsertionPoint=e.isCaretWithinFormattedText=e.isTyping=e.getBlockMode=e.isSelectionEnabled=e.isMultiSelecting=e.hasMultiSelection=e.isBlockWithinSelection=e.hasSelectedInnerBlock=e.isBlockSelected=e.getBlockIndex=e.getBlockOrder=e.getMultiSelectedBlocksEndClientId=e.getMultiSelectedBlocksStartClientId=e.isAncestorMultiSelected=e.isBlockMultiSelected=e.isFirstMultiSelectedBlock=e.getLastMultiSelectedBlockClientId=e.getFirstMultiSelectedBlockClientId=e.getMultiSelectedBlocks=e.getMultiSelectedBlockClientIds=e.getSelectedBlocksInitialCaretPosition=e.getNextBlockClientId=e.getPreviousBlockClientId=e.getAdjacentBlockClientId=e.getBlockHierarchyRootClientId=e.getBlockRootClientId=e.getSelectedBlock=e.getSelectedBlockClientId=e.hasSelectedBlock=e.getSelectedBlockCount=e.getBlockSelectionEnd=e.getBlockSelectionStart=e.getBlockCount=e.getBlocksByClientId=e.getGlobalBlockCount=e.getClientIdsWithDescendants=e.getClientIdsOfDescendants=e.__unstableGetBlockWithoutInnerBlocks=e.getBlocks=e.getBlock=e.getBlockAttributes=e.isBlockValid=e.getBlockName=e.getEditedPostContent=e.didPostSaveRequestFail=e.didPostSaveRequestSucceed=e.isSavingPost=e.hasAutosave=e.getAutosave=e.isEditedPostAutosaveable=e.getAutosaveAttribute=e.getReferenceByDistinctEdits=e.getPostEdits=e.getCurrentPost=e.hasNonPostEntityChanges=e.isEditedPostDirty=e.hasEditorRedo=e.hasEditorUndo=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),l=t(r(d[4])),s=r(d[5]),u=r(d[6]),v=r(d[7]),f=r(d[8]),k=t(r(d[9])),p=r(d[10]),S=r(d[11]),B=r(d[12]),P=r(d[13]),y=r(d[14]);function I(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function E(t){for(var n=1;n1)return!1;var o=n[0].name;if(o!==(0,s.getDefaultBlockName)()&&o!==(0,s.getFreeformContentHandlerName)())return!1}return!J(t)}e.getAutosaveAttribute=G;var q=(0,f.createRegistrySelector)(function(t){return function(n){if(!V(n))return!1;if($(n))return!1;var o=w(n),l=L(n),s=t('core').hasFetchedAutosaves(o,l),u=(0,c.get)(t('core').getCurrentUser(),['id']),v=t('core').getAutosave(o,l,u);return!!s&&(!v||(!!_(n)||['title','excerpt'].some(function(t){return(0,P.getPostRawValue)(v[t])!==j(n,t)})))}});e.isEditedPostAutosaveable=q;var H=(0,f.createRegistrySelector)(function(t){return function(n){(0,k.default)("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:'Gutenberg'});var o=w(n),l=L(n),s=(0,c.get)(t('core').getCurrentUser(),['id']),u=t('core').getAutosave(o,l,s);return(0,c.mapValues)((0,c.pick)(u,B.AUTOSAVE_PROPERTIES),P.getPostRawValue)}});e.getAutosave=H;var z=(0,f.createRegistrySelector)(function(t){return function(n){(0,k.default)("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:'Gutenberg'});var o=w(n),l=L(n),s=(0,c.get)(t('core').getCurrentUser(),['id']);return!!t('core').getAutosave(o,l,s)}});e.hasAutosave=z;var K=(0,f.createRegistrySelector)(function(t){return function(n){var o=w(n),c=L(n);return t('core').isSavingEntityRecord('postType',o,c)}});e.isSavingPost=K;var Q=(0,f.createRegistrySelector)(function(t){return function(n){var o=w(n),c=L(n);return!t('core').getLastEntitySaveError('postType',o,c)}});e.didPostSaveRequestSucceed=Q;var X=(0,f.createRegistrySelector)(function(t){return function(n){var o=w(n),c=L(n);return!!t('core').getLastEntitySaveError('postType',o,c)}});e.didPostSaveRequestFail=X;var J=(0,f.createRegistrySelector)(function(t){return function(n){var o=L(n),c=w(n),l=t('core').getEditedEntityRecord('postType',c,o);if(l){if('function'==typeof l.content)return l.content(l);if(l.blocks)return(0,s.__unstableSerializeAndClean)(l.blocks);if(l.content)return l.content}return''}});function Y(t){var n=j(t,'permalink_template');return B.PERMALINK_POSTNAME_REGEX.test(n)}function Z(t){var o=j(t,'permalink_template');if(!o)return null;var c=j(t,'slug')||j(t,'generated_slug'),l=o.split(B.PERMALINK_POSTNAME_REGEX),s=(0,n.default)(l,2);return{prefix:s[0],postName:c,suffix:s[1]}}function $(t){return Object.keys(t.postAutosavingLock).length>0}function ee(t){return j(t,'blocks')||C}function te(t){return t.editorSettings}function re(t){return(0,f.createRegistrySelector)(function(n){return function(o){var c;(0,k.default)("`wp.data.select( 'core/editor' )."+t+'`',{alternative:"`wp.data.select( 'core/block-editor' )."+t+'`'});for(var l=arguments.length,s=new Array(l>1?l-1:0),u=1;u1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0,u=M(n,o);return c(t,u)},e.gmdate=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,u=(0,n.default)(o).utc();return c(t,u)},e.dateI18n=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0;if(!0===o)return h(t,n);!1===o&&(o=void 0);var u=M(n,o);return u.locale(s.l10n.locale),c(t,u)},e.gmdateI18n=h,e.isInTheFuture=function(t){var u=n.default.tz(o);return n.default.tz(t,o).isAfter(u)},e.getDate=function(t){if(!t)return n.default.tz(o).toDate();return n.default.tz(t,o).toDate()};var n=t(r(d[1]));r(d[2]),r(d[3]);var o='WP',u=/^[+-][0-1][0-9](:?[0-9][0-9])?$/,s={l10n:{locale:'en',months:['January','February','March','April','May','June','July','August','September','October','November','December'],monthsShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],weekdays:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],weekdaysShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],meridiem:{am:'am',pm:'pm',AM:'AM',PM:'PM'},relative:{future:'%s from now',past:'%s ago',s:'a few seconds',ss:'%d seconds',m:'a minute',mm:'%d minutes',h:'an hour',hh:'%d hours',d:'a day',dd:'%d days',M:'a month',MM:'%d months',y:'a year',yy:'%d years'}},formats:{time:'g: i a',date:'F j, Y',datetime:'F j, Y g: i a',datetimeAbbreviated:'M j, Y g: i a'},timezone:{offset:'0',string:'',abbr:''}};function l(){n.default.tz.add(n.default.tz.pack({name:o,abbrs:[o],untils:[null],offsets:[60*-s.timezone.offset||0]}))}var f={d:'DD',D:'ddd',j:'D',l:'dddd',N:'E',S:function(t){var n=t.format('D');return t.format('Do').replace(n,'')},w:'d',z:function(t){return''+parseInt(t.format('DDD'),10)-1},W:'W',F:'MMMM',m:'MM',M:'MMM',n:'M',t:function(t){return t.daysInMonth()},L:function(t){return t.isLeapYear()?'1':'0'},o:'GGGG',Y:'YYYY',y:'YY',a:'a',A:'A',B:function(t){var o=(0,n.default)(t).utcOffset(60),u=parseInt(o.format('s'),10),s=parseInt(o.format('m'),10),l=parseInt(o.format('H'),10);return parseInt((u+60*s+3600*l)/86.4,10)},g:'h',G:'H',h:'hh',H:'HH',i:'mm',s:'ss',u:'SSSSSS',v:'SSS',e:'zz',I:function(t){return t.isDST()?'1':'0'},O:'ZZ',P:'Z',T:'z',Z:function(t){var n=t.format('Z'),o='-'===n[0]?-1:1,u=n.substring(1).split(':');return o*(60*u[0]+u[1])*60},c:'YYYY-MM-DDTHH:mm:ssZ',r:'ddd, D MMM YYYY HH:mm:ss ZZ',U:'X'};function c(t){var o,u,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,l=[],c=(0,n.default)(s);for(o=0;o1&&void 0!==arguments[1]?arguments[1]:new Date,u=(0,n.default)(o).utc();return u.locale(s.l10n.locale),c(t,u)}function M(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'',u=(0,n.default)(t);return o&&!v(o)?u.tz(o):o&&v(o)?u.utcOffset(o):s.timezone.string?u.tz(s.timezone.string):u.utcOffset(s.timezone.offset)}function v(t){return'number'==typeof t||u.test(t)}l()},2360,[5,2361,2362,2363]); -__d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(){'use strict';var t,n;function s(){return t.apply(null,arguments)}function o(t){return t instanceof Array||'[object Array]'===Object.prototype.toString.call(t)}function u(t){return null!=t&&'[object Object]'===Object.prototype.toString.call(t)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(t.hasOwnProperty(n))return!1;return!0}function h(t){return void 0===t}function c(t){return'number'==typeof t||'[object Number]'===Object.prototype.toString.call(t)}function f(t){return t instanceof Date||'[object Date]'===Object.prototype.toString.call(t)}function _(t,n){var s,o=[];for(s=0;s>>0,o=0;o0)for(s=0;s=0?s?'+':'':'-')+Math.pow(10,Math.max(0,u)).toString().substr(1)+o}var $=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,J=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,q={},B={};function Q(t,n,s,o){var u=o;'string'==typeof o&&(u=function(){return this[o]()}),t&&(B[t]=u),n&&(B[n[0]]=function(){return z(u.apply(this,arguments),n[1],n[2])}),s&&(B[s]=function(){return this.localeData().ordinal(u.apply(this,arguments),t)})}function X(t){var n,s,o,u=t.match($);for(n=0,s=u.length;n=0&&J.test(t);)t=t.replace(J,o),J.lastIndex=0,s-=1;return t}var te=/\d/,ne=/\d\d/,se=/\d{3}/,ie=/\d{4}/,re=/[+-]?\d{6}/,ae=/\d\d?/,oe=/\d\d\d\d?/,ue=/\d\d\d\d\d\d?/,le=/\d{1,3}/,de=/\d{1,4}/,he=/[+-]?\d{1,6}/,ce=/\d+/,fe=/[+-]?\d+/,me=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,ye=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ge={};function ve(t,n,s){ge[t]=L(n)?n:function(t,o){return t&&s?s:n}}function pe(t,n){return y(ge,t)?ge[t](n._strict,n._locale):new RegExp(we(t.replace('\\','').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,s,o,u){return n||s||o||u})))}function we(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,'\\$&')}var Me={};function Se(t,n){var s,o=n;for('string'==typeof t&&(t=[t]),c(n)&&(o=function(t,s){s[n]=b(t)}),s=0;s68?1900:2e3)};var Le,Ue=Ne('FullYear',!0);function Ne(t,n){return function(o){return null!=o?(Ve(this,t,o),s.updateOffset(this,n),this):Ge(this,t)}}function Ge(t,n){return t.isValid()?t._d['get'+(t._isUTC?'UTC':'')+n]():NaN}function Ve(t,n,s){t.isValid()&&!isNaN(s)&&('FullYear'===n&&Fe(t.year())&&1===t.month()&&29===t.date()?t._d['set'+(t._isUTC?'UTC':'')+n](s,t.month(),Ee(s,t.month())):t._d['set'+(t._isUTC?'UTC':'')+n](s))}function Ee(t,n){if(isNaN(t)||isNaN(n))return NaN;var s,o=(n%(s=12)+s)%s;return t+=(n-o)/12,1===o?Fe(t)?29:28:31-o%7%2}Le=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n=0&&isFinite(c.getFullYear())&&c.setFullYear(t),c}function Xe(t){var n=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t),n}function Ke(t,n,s){var o=7+n-s;return-((7+Xe(t,0,o).getUTCDay()-n)%7)+o-1}function et(t,n,s,o,u){var l,h,c=1+7*(n-1)+(7+s-o)%7+Ke(t,o,u);return c<=0?h=Ce(l=t-1)+c:c>Ce(t)?(l=t+1,h=c-Ce(t)):(l=t,h=c),{year:l,dayOfYear:h}}function tt(t,n,s){var o,u,l=Ke(t.year(),n,s),h=Math.floor((t.dayOfYear()-l-1)/7)+1;return h<1?o=h+nt(u=t.year()-1,n,s):h>nt(t.year(),n,s)?(o=h-nt(t.year(),n,s),u=t.year()+1):(u=t.year(),o=h),{week:o,year:u}}function nt(t,n,s){var o=Ke(t,n,s),u=Ke(t+1,n,s);return(Ce(t)-o+u)/7}Q('w',['ww',2],'wo','week'),Q('W',['WW',2],'Wo','isoWeek'),V('week','w'),V('isoWeek','W'),j('week',5),j('isoWeek',5),ve('w',ae),ve('ww',ae,ne),ve('W',ae),ve('WW',ae,ne),De(['w','ww','W','WW'],function(t,n,s,o){n[o.substr(0,1)]=b(t)});function st(t,n){return'string'!=typeof t?t:isNaN(t)?'number'==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}function it(t,n){return'string'==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}Q('d',0,'do','day'),Q('dd',0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Q('ddd',0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Q('dddd',0,0,function(t){return this.localeData().weekdays(this,t)}),Q('e',0,0,'weekday'),Q('E',0,0,'isoWeekday'),V('day','d'),V('weekday','e'),V('isoWeekday','E'),j('day',11),j('weekday',11),j('isoWeekday',11),ve('d',ae),ve('e',ae),ve('E',ae),ve('dd',function(t,n){return n.weekdaysMinRegex(t)}),ve('ddd',function(t,n){return n.weekdaysShortRegex(t)}),ve('dddd',function(t,n){return n.weekdaysRegex(t)}),De(['dd','ddd','dddd'],function(t,n,s,o){var u=s._locale.weekdaysParse(t,o,s._strict);null!=u?n.d=u:w(s).invalidWeekday=t}),De(['d','e','E'],function(t,n,s,o){n[o]=b(t)});var rt='Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');var at='Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');var ot='Su_Mo_Tu_We_Th_Fr_Sa'.split('_');function ut(t,n,s){var o,u,l,h=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)l=p([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(l,'').toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(l,'').toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(l,'').toLocaleLowerCase();return s?'dddd'===n?-1!==(u=Le.call(this._weekdaysParse,h))?u:null:'ddd'===n?-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:null:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:null:'dddd'===n?-1!==(u=Le.call(this._weekdaysParse,h))?u:-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:null:'ddd'===n?-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:-1!==(u=Le.call(this._weekdaysParse,h))?u:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:null:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:-1!==(u=Le.call(this._weekdaysParse,h))?u:-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:null}var lt=ye;var dt=ye;var ht=ye;function ct(){function t(t,n){return n.length-t.length}var n,s,o,u,l,h=[],c=[],f=[],_=[];for(n=0;n<7;n++)s=p([2e3,1]).day(n),o=this.weekdaysMin(s,''),u=this.weekdaysShort(s,''),l=this.weekdays(s,''),h.push(o),c.push(u),f.push(l),_.push(o),_.push(u),_.push(l);for(h.sort(t),c.sort(t),f.sort(t),_.sort(t),n=0;n<7;n++)c[n]=we(c[n]),f[n]=we(f[n]),_[n]=we(_[n]);this._weekdaysRegex=new RegExp('^('+_.join('|')+')','i'),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp('^('+f.join('|')+')','i'),this._weekdaysShortStrictRegex=new RegExp('^('+c.join('|')+')','i'),this._weekdaysMinStrictRegex=new RegExp('^('+h.join('|')+')','i')}function ft(){return this.hours()%12||12}function mt(t,n){Q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)})}function _t(t,n){return n._meridiemParse}Q('H',['HH',2],0,'hour'),Q('h',['hh',2],0,ft),Q('k',['kk',2],0,function(){return this.hours()||24}),Q('hmm',0,0,function(){return''+ft.apply(this)+z(this.minutes(),2)}),Q('hmmss',0,0,function(){return''+ft.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),Q('Hmm',0,0,function(){return''+this.hours()+z(this.minutes(),2)}),Q('Hmmss',0,0,function(){return''+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),mt('a',!0),mt('A',!1),V('hour','h'),j('hour',13),ve('a',_t),ve('A',_t),ve('H',ae),ve('h',ae),ve('k',ae),ve('HH',ae,ne),ve('hh',ae,ne),ve('kk',ae,ne),ve('hmm',oe),ve('hmmss',ue),ve('Hmm',oe),ve('Hmmss',ue),Se(['H','HH'],xe),Se(['k','kk'],function(t,n,s){var o=b(t);n[xe]=24===o?0:o}),Se(['a','A'],function(t,n,s){s._isPm=s._locale.isPM(t),s._meridiem=t}),Se(['h','hh'],function(t,n,s){n[xe]=b(t),w(s).bigHour=!0}),Se('hmm',function(t,n,s){var o=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o)),w(s).bigHour=!0}),Se('hmmss',function(t,n,s){var o=t.length-4,u=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o,2)),n[Pe]=b(t.substr(u)),w(s).bigHour=!0}),Se('Hmm',function(t,n,s){var o=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o))}),Se('Hmmss',function(t,n,s){var o=t.length-4,u=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o,2)),n[Pe]=b(t.substr(u))});var yt,gt=Ne('Hours',!0),vt={calendar:{sameDay:'[Today at] LT',nextDay:'[Tomorrow at] LT',nextWeek:'dddd [at] LT',lastDay:'[Yesterday at] LT',lastWeek:'[Last] dddd [at] LT',sameElse:'L'},longDateFormat:{LTS:'h:mm:ss A',LT:'h:mm A',L:'MM/DD/YYYY',LL:'MMMM D, YYYY',LLL:'MMMM D, YYYY h:mm A',LLLL:'dddd, MMMM D, YYYY h:mm A'},invalidDate:'Invalid date',ordinal:'%d',dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:'in %s',past:'%s ago',s:'a few seconds',ss:'%d seconds',m:'a minute',mm:'%d minutes',h:'an hour',hh:'%d hours',d:'a day',dd:'%d days',M:'a month',MM:'%d months',y:'a year',yy:'%d years'},months:Ae,monthsShort:je,week:{dow:0,doy:6},weekdays:rt,weekdaysMin:ot,weekdaysShort:at,meridiemParse:/[ap]\.?m?\.?/i},pt={},wt={};function Mt(t){return t?t.toLowerCase().replace('_','-'):t}function St(t){for(var n,s,o,u,l=0;l0;){if(o=Dt(u.slice(0,n).join('-')))return o;if(s&&s.length>=n&&P(u,s,!0)>=n-1)break;n--}l++}return yt}function Dt(t){var n=null;if(!pt[t]&&void 0!==m&&m&&m.exports)try{n=yt._abbr,r('./locale/'+t),kt(n)}catch(t){}return pt[t]}function kt(t,n){var s;return t&&((s=h(n)?Ot(t):Yt(t,n))?yt=s:'undefined'!=typeof console&&console.warn&&console.warn('Locale '+t+' not found. Did you forget to load it?')),yt._abbr}function Yt(t,n){if(null!==n){var s,o=vt;if(n.abbr=t,null!=pt[t])F('defineLocaleOverride',"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=pt[t]._config;else if(null!=n.parentLocale)if(null!=pt[n.parentLocale])o=pt[n.parentLocale]._config;else{if(null==(s=Dt(n.parentLocale)))return wt[n.parentLocale]||(wt[n.parentLocale]=[]),wt[n.parentLocale].push({name:t,config:n}),null;o=s._config}return pt[t]=new N(U(o,n)),wt[t]&&wt[t].forEach(function(t){Yt(t.name,t.config)}),kt(t),pt[t]}return delete pt[t],null}function Ot(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return yt;if(!o(t)){if(n=Dt(t))return n;t=[t]}return St(t)}function Tt(t){var n,s=t._a;return s&&-2===w(t).overflow&&(n=s[Oe]<0||s[Oe]>11?Oe:s[Te]<1||s[Te]>Ee(s[Ye],s[Oe])?Te:s[xe]<0||s[xe]>24||24===s[xe]&&(0!==s[be]||0!==s[Pe]||0!==s[We])?xe:s[be]<0||s[be]>59?be:s[Pe]<0||s[Pe]>59?Pe:s[We]<0||s[We]>999?We:-1,w(t)._overflowDayOfYear&&(nTe)&&(n=Te),w(t)._overflowWeeks&&-1===n&&(n=He),w(t)._overflowWeekday&&-1===n&&(n=Re),w(t).overflow=n),t}function xt(t,n,s){return null!=t?t:null!=n?n:s}function bt(t){var n=new Date(s.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Pt(t){var n,s,o,u,l,h=[];if(!t._d){for(o=bt(t),t._w&&null==t._a[Te]&&null==t._a[Oe]&&Wt(t),null!=t._dayOfYear&&(l=xt(t._a[Ye],o[Ye]),(t._dayOfYear>Ce(l)||0===t._dayOfYear)&&(w(t)._overflowDayOfYear=!0),s=Xe(l,0,t._dayOfYear),t._a[Oe]=s.getUTCMonth(),t._a[Te]=s.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=h[n]=o[n];for(;n<7;n++)t._a[n]=h[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[xe]&&0===t._a[be]&&0===t._a[Pe]&&0===t._a[We]&&(t._nextDay=!0,t._a[xe]=0),t._d=(t._useUTC?Xe:Qe).apply(null,h),u=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xe]=24),t._w&&void 0!==t._w.d&&t._w.d!==u&&(w(t).weekdayMismatch=!0)}}function Wt(t){var n,s,o,u,l,h,c,f;if(null!=(n=t._w).GG||null!=n.W||null!=n.E)l=1,h=4,s=xt(n.GG,t._a[Ye],tt(Kt(),1,4).year),o=xt(n.W,1),((u=xt(n.E,1))<1||u>7)&&(f=!0);else{l=t._locale._week.dow,h=t._locale._week.doy;var _=tt(Kt(),l,h);s=xt(n.gg,t._a[Ye],_.year),o=xt(n.w,_.week),null!=n.d?((u=n.d)<0||u>6)&&(f=!0):null!=n.e?(u=n.e+l,(n.e<0||n.e>6)&&(f=!0)):u=l}o<1||o>nt(s,l,h)?w(t)._overflowWeeks=!0:null!=f?w(t)._overflowWeekday=!0:(c=et(s,o,u,l,h),t._a[Ye]=c.year,t._dayOfYear=c.dayOfYear)}var Ht=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Rt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ct=/Z|[+-]\d\d(?::?\d\d)?/,Ft=[['YYYYYY-MM-DD',/[+-]\d{6}-\d\d-\d\d/],['YYYY-MM-DD',/\d{4}-\d\d-\d\d/],['GGGG-[W]WW-E',/\d{4}-W\d\d-\d/],['GGGG-[W]WW',/\d{4}-W\d\d/,!1],['YYYY-DDD',/\d{4}-\d{3}/],['YYYY-MM',/\d{4}-\d\d/,!1],['YYYYYYMMDD',/[+-]\d{10}/],['YYYYMMDD',/\d{8}/],['GGGG[W]WWE',/\d{4}W\d{3}/],['GGGG[W]WW',/\d{4}W\d{2}/,!1],['YYYYDDD',/\d{7}/]],Lt=[['HH:mm:ss.SSSS',/\d\d:\d\d:\d\d\.\d+/],['HH:mm:ss,SSSS',/\d\d:\d\d:\d\d,\d+/],['HH:mm:ss',/\d\d:\d\d:\d\d/],['HH:mm',/\d\d:\d\d/],['HHmmss.SSSS',/\d\d\d\d\d\d\.\d+/],['HHmmss,SSSS',/\d\d\d\d\d\d,\d+/],['HHmmss',/\d\d\d\d\d\d/],['HHmm',/\d\d\d\d/],['HH',/\d\d/]],Ut=/^\/?Date\((\-?\d+)/i;function Nt(t){var n,s,o,u,l,h,c=t._i,f=Ht.exec(c)||Rt.exec(c);if(f){for(w(t).iso=!0,n=0,s=Ft.length;n0&&w(t).unusedInput.push(h),c=c.slice(c.indexOf(o)+o.length),_+=o.length),B[l]?(o?w(t).empty=!1:w(t).unusedTokens.push(l),ke(l,o,t)):t._strict&&!o&&w(t).unusedTokens.push(l);w(t).charsLeftOver=f-_,c.length>0&&w(t).unusedInput.push(c),t._a[xe]<=12&&!0===w(t).bigHour&&t._a[xe]>0&&(w(t).bigHour=void 0),w(t).parsedDateParts=t._a.slice(0),w(t).meridiem=t._meridiem,t._a[xe]=$t(t._locale,t._a[xe],t._meridiem),Pt(t),Tt(t)}else jt(t);else Nt(t)}function $t(t,n,s){var o;return null==s?n:null!=t.meridiemHour?t.meridiemHour(n,s):null!=t.isPM?((o=t.isPM(s))&&n<12&&(n+=12),o||12!==n||(n=0),n):n}function Jt(t){var n,s,o,u,l;if(0===t._f.length)return w(t).invalidFormat=!0,void(t._d=new Date(NaN));for(u=0;uthis?this:t:S()});function nn(t,n){var s,u;if(1===n.length&&o(n[0])&&(n=n[0]),!n.length)return Kt();for(s=n[0],u=1;u(l=nt(t,o,u))&&(n=l),Wn.call(this,t,n,s,o,u))}function Wn(t,n,s,o,u){var l=et(t,n,s,o,u),h=Xe(l.year,0,l.dayOfYear);return this.year(h.getUTCFullYear()),this.month(h.getUTCMonth()),this.date(h.getUTCDate()),this}Q(0,['gg',2],0,function(){return this.weekYear()%100}),Q(0,['GG',2],0,function(){return this.isoWeekYear()%100}),bn('gggg','weekYear'),bn('ggggg','weekYear'),bn('GGGG','isoWeekYear'),bn('GGGGG','isoWeekYear'),V('weekYear','gg'),V('isoWeekYear','GG'),j('weekYear',1),j('isoWeekYear',1),ve('G',fe),ve('g',fe),ve('GG',ae,ne),ve('gg',ae,ne),ve('GGGG',de,ie),ve('gggg',de,ie),ve('GGGGG',he,re),ve('ggggg',he,re),De(['gggg','ggggg','GGGG','GGGGG'],function(t,n,s,o){n[o.substr(0,2)]=b(t)}),De(['gg','GG'],function(t,n,o,u){n[u]=s.parseTwoDigitYear(t)}),Q('Q',0,'Qo','quarter'),V('quarter','Q'),j('quarter',7),ve('Q',te),Se('Q',function(t,n){n[Oe]=3*(b(t)-1)}),Q('D',['DD',2],'Do','date'),V('date','D'),j('date',9),ve('D',ae),ve('DD',ae,ne),ve('Do',function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient}),Se(['D','DD'],Te),Se('Do',function(t,n){n[Te]=b(t.match(ae)[0])});var Hn=Ne('Date',!0);Q('DDD',['DDDD',3],'DDDo','dayOfYear'),V('dayOfYear','DDD'),j('dayOfYear',4),ve('DDD',le),ve('DDDD',se),Se(['DDD','DDDD'],function(t,n,s){s._dayOfYear=b(t)}),Q('m',['mm',2],0,'minute'),V('minute','m'),j('minute',14),ve('m',ae),ve('mm',ae,ne),Se(['m','mm'],be);var Rn=Ne('Minutes',!1);Q('s',['ss',2],0,'second'),V('second','s'),j('second',15),ve('s',ae),ve('ss',ae,ne),Se(['s','ss'],Pe);var Cn,Fn=Ne('Seconds',!1);for(Q('S',0,0,function(){return~~(this.millisecond()/100)}),Q(0,['SS',2],0,function(){return~~(this.millisecond()/10)}),Q(0,['SSS',3],0,'millisecond'),Q(0,['SSSS',4],0,function(){return 10*this.millisecond()}),Q(0,['SSSSS',5],0,function(){return 100*this.millisecond()}),Q(0,['SSSSSS',6],0,function(){return 1e3*this.millisecond()}),Q(0,['SSSSSSS',7],0,function(){return 1e4*this.millisecond()}),Q(0,['SSSSSSSS',8],0,function(){return 1e5*this.millisecond()}),Q(0,['SSSSSSSSS',9],0,function(){return 1e6*this.millisecond()}),V('millisecond','ms'),j('millisecond',16),ve('S',le,te),ve('SS',le,ne),ve('SSS',le,se),Cn='SSSS';Cn.length<=9;Cn+='S')ve(Cn,ce);function Ln(t,n){n[We]=b(1e3*('0.'+t))}for(Cn='S';Cn.length<=9;Cn+='S')Se(Cn,Ln);var Un=Ne('Milliseconds',!1);Q('z',0,0,'zoneAbbr'),Q('zz',0,0,'zoneName');var Nn=O.prototype;function Gn(t){return t}Nn.add=Dn,Nn.calendar=function(t,n){var o=t||Kt(),u=cn(o,this).startOf('day'),l=s.calendarFormat(this,u)||'sameElse',h=n&&(L(n[l])?n[l].call(this,o):n[l]);return this.format(h||this.localeData().calendar(l,this,Kt(o)))},Nn.clone=function(){return new O(this)},Nn.diff=function(t,n,s){var o,u,l;if(!this.isValid())return NaN;if(!(o=cn(t,this)).isValid())return NaN;switch(u=6e4*(o.utcOffset()-this.utcOffset()),n=E(n)){case'year':l=Yn(this,o)/12;break;case'month':l=Yn(this,o);break;case'quarter':l=Yn(this,o)/3;break;case'second':l=(this-o)/1e3;break;case'minute':l=(this-o)/6e4;break;case'hour':l=(this-o)/36e5;break;case'day':l=(this-o-u)/864e5;break;case'week':l=(this-o-u)/6048e5;break;default:l=this-o}return s?l:x(l)},Nn.endOf=function(t){return void 0===(t=E(t))||'millisecond'===t?this:('date'===t&&(t='day'),this.startOf(t).add(1,'isoWeek'===t?'week':t).subtract(1,'ms'))},Nn.format=function(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var n=K(this,t);return this.localeData().postformat(n)},Nn.from=function(t,n){return this.isValid()&&(T(t)&&t.isValid()||Kt(t).isValid())?gn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Nn.fromNow=function(t){return this.from(Kt(),t)},Nn.to=function(t,n){return this.isValid()&&(T(t)&&t.isValid()||Kt(t).isValid())?gn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Nn.toNow=function(t){return this.to(Kt(),t)},Nn.get=function(t){return L(this[t=E(t)])?this[t]():this},Nn.invalidAt=function(){return w(this).overflow},Nn.isAfter=function(t,n){var s=T(t)?t:Kt(t);return!(!this.isValid()||!s.isValid())&&('millisecond'===(n=E(h(n)?'millisecond':n))?this.valueOf()>s.valueOf():s.valueOf()9999?K(s,n?'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'):L(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace('Z',K(s,'Z')):K(s,n?'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYY-MM-DD[T]HH:mm:ss.SSSZ')},Nn.inspect=function(){if(!this.isValid())return'moment.invalid(/* '+this._i+' */)';var t='moment',n='';this.isLocal()||(t=0===this.utcOffset()?'moment.utc':'moment.parseZone',n='Z');var s='['+t+'("]',o=0<=this.year()&&this.year()<=9999?'YYYY':'YYYYYY',u=n+'[")]';return this.format(s+o+'-MM-DD[T]HH:mm:ss.SSS'+u)},Nn.toJSON=function(){return this.isValid()?this.toISOString():null},Nn.toString=function(){return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ')},Nn.unix=function(){return Math.floor(this.valueOf()/1e3)},Nn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Nn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Nn.year=Ue,Nn.isLeapYear=function(){return Fe(this.year())},Nn.weekYear=function(t){return Pn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Nn.isoWeekYear=function(t){return Pn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Nn.quarter=Nn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Nn.month=$e,Nn.daysInMonth=function(){return Ee(this.year(),this.month())},Nn.week=Nn.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),'d')},Nn.isoWeek=Nn.isoWeeks=function(t){var n=tt(this,1,4).week;return null==t?n:this.add(7*(t-n),'d')},Nn.weeksInYear=function(){var t=this.localeData()._week;return nt(this.year(),t.dow,t.doy)},Nn.isoWeeksInYear=function(){return nt(this.year(),1,4)},Nn.date=Hn,Nn.day=Nn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=st(t,this.localeData()),this.add(t-n,'d')):n},Nn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,'d')},Nn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=it(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},Nn.dayOfYear=function(t){var n=Math.round((this.clone().startOf('day')-this.clone().startOf('year'))/864e5)+1;return null==t?n:this.add(t-n,'d')},Nn.hour=Nn.hours=gt,Nn.minute=Nn.minutes=Rn,Nn.second=Nn.seconds=Fn,Nn.millisecond=Nn.milliseconds=Un,Nn.utcOffset=function(t,n,o){var u,l=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if('string'==typeof t){if(null===(t=hn(_e,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&n&&(u=fn(this)),this._offset=t,this._isUTC=!0,null!=u&&this.add(u,'m'),l!==t&&(!n||this._changeInProgress?Sn(this,gn(t-l,'m'),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?l:fn(this)},Nn.utc=function(t){return this.utcOffset(0,t)},Nn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(fn(this),'m')),this},Nn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if('string'==typeof this._i){var t=hn(me,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Nn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Kt(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Nn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Nn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Nn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Nn.isUtc=mn,Nn.isUTC=mn,Nn.zoneAbbr=function(){return this._isUTC?'UTC':''},Nn.zoneName=function(){return this._isUTC?'Coordinated Universal Time':''},Nn.dates=H('dates accessor is deprecated. Use date instead.',Hn),Nn.months=H('months accessor is deprecated. Use month instead',$e),Nn.years=H('years accessor is deprecated. Use year instead',Ue),Nn.zone=H('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',function(t,n){return null!=t?('string'!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()}),Nn.isDSTShifted=H('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',function(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t={};if(k(t,this),(t=Bt(t))._a){var n=t._isUTC?p(t._a):Kt(t._a);this._isDSTShifted=this.isValid()&&P(t._a,n.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Vn=N.prototype;function En(t,n,s,o){var u=Ot(),l=p().set(o,n);return u[s](l,t)}function In(t,n,s){if(c(t)&&(n=t,t=void 0),t=t||'',null!=n)return En(t,n,s,'month');var o,u=[];for(o=0;o<12;o++)u[o]=En(t,o,s,'month');return u}function An(t,n,s,o){'boolean'==typeof t?(c(n)&&(s=n,n=void 0),n=n||''):(s=n=t,t=!1,c(n)&&(s=n,n=void 0),n=n||'');var u,l=Ot(),h=t?l._week.dow:0;if(null!=s)return En(n,(s+h)%7,o,'day');var f=[];for(u=0;u<7;u++)f[u]=En(n,(u+h)%7,o,'day');return f}Vn.calendar=function(t,n,s){var o=this._calendar[t]||this._calendar.sameElse;return L(o)?o.call(n,s):o},Vn.longDateFormat=function(t){var n=this._longDateFormat[t],s=this._longDateFormat[t.toUpperCase()];return n||!s?n:(this._longDateFormat[t]=s.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},Vn.invalidDate=function(){return this._invalidDate},Vn.ordinal=function(t){return this._ordinal.replace('%d',t)},Vn.preparse=Gn,Vn.postformat=Gn,Vn.relativeTime=function(t,n,s,o){var u=this._relativeTime[s];return L(u)?u(t,n,s,o):u.replace(/%d/i,t)},Vn.pastFuture=function(t,n){var s=this._relativeTime[t>0?'future':'past'];return L(s)?s(n):s.replace(/%s/i,n)},Vn.set=function(t){var n,s;for(s in t)L(n=t[s])?this[s]=n:this['_'+s]=n;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+'|'+/\d{1,2}/.source)},Vn.months=function(t,n){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ie).test(n)?'format':'standalone'][t.month()]:o(this._months)?this._months:this._months.standalone},Vn.monthsShort=function(t,n){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ie.test(n)?'format':'standalone'][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Vn.monthsParse=function(t,n,s){var o,u,l;if(this._monthsParseExact)return Ze.call(this,t,n,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(u=p([2e3,o]),s&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp('^'+this.months(u,'').replace('.','')+'$','i'),this._shortMonthsParse[o]=new RegExp('^'+this.monthsShort(u,'').replace('.','')+'$','i')),s||this._monthsParse[o]||(l='^'+this.months(u,'')+'|^'+this.monthsShort(u,''),this._monthsParse[o]=new RegExp(l.replace('.',''),'i')),s&&'MMMM'===n&&this._longMonthsParse[o].test(t))return o;if(s&&'MMM'===n&&this._shortMonthsParse[o].test(t))return o;if(!s&&this._monthsParse[o].test(t))return o}},Vn.monthsRegex=function(t){return this._monthsParseExact?(y(this,'_monthsRegex')||Be.call(this),t?this._monthsStrictRegex:this._monthsRegex):(y(this,'_monthsRegex')||(this._monthsRegex=qe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Vn.monthsShortRegex=function(t){return this._monthsParseExact?(y(this,'_monthsRegex')||Be.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,'_monthsShortRegex')||(this._monthsShortRegex=Je),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Vn.week=function(t){return tt(t,this._week.dow,this._week.doy).week},Vn.firstDayOfYear=function(){return this._week.doy},Vn.firstDayOfWeek=function(){return this._week.dow},Vn.weekdays=function(t,n){return t?o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(n)?'format':'standalone'][t.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},Vn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},Vn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},Vn.weekdaysParse=function(t,n,s){var o,u,l;if(this._weekdaysParseExact)return ut.call(this,t,n,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(u=p([2e3,1]).day(o),s&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp('^'+this.weekdays(u,'').replace('.','.?')+'$','i'),this._shortWeekdaysParse[o]=new RegExp('^'+this.weekdaysShort(u,'').replace('.','.?')+'$','i'),this._minWeekdaysParse[o]=new RegExp('^'+this.weekdaysMin(u,'').replace('.','.?')+'$','i')),this._weekdaysParse[o]||(l='^'+this.weekdays(u,'')+'|^'+this.weekdaysShort(u,'')+'|^'+this.weekdaysMin(u,''),this._weekdaysParse[o]=new RegExp(l.replace('.',''),'i')),s&&'dddd'===n&&this._fullWeekdaysParse[o].test(t))return o;if(s&&'ddd'===n&&this._shortWeekdaysParse[o].test(t))return o;if(s&&'dd'===n&&this._minWeekdaysParse[o].test(t))return o;if(!s&&this._weekdaysParse[o].test(t))return o}},Vn.weekdaysRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ct.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,'_weekdaysRegex')||(this._weekdaysRegex=lt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Vn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ct.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,'_weekdaysShortRegex')||(this._weekdaysShortRegex=dt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Vn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ct.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,'_weekdaysMinRegex')||(this._weekdaysMinRegex=ht),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Vn.isPM=function(t){return'p'===(t+'').toLowerCase().charAt(0)},Vn.meridiem=function(t,n,s){return t>11?s?'pm':'PM':s?'am':'AM'},kt('en',{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===b(t%100/10)?'th':1===n?'st':2===n?'nd':3===n?'rd':'th')}}),s.lang=H('moment.lang is deprecated. Use moment.locale instead.',kt),s.langData=H('moment.langData is deprecated. Use moment.localeData instead.',Ot);var jn=Math.abs;function Zn(t,n,s,o){var u=gn(n,s);return t._milliseconds+=o*u._milliseconds,t._days+=o*u._days,t._months+=o*u._months,t._bubble()}function zn(t){return t<0?Math.floor(t):Math.ceil(t)}function $n(t){return 4800*t/146097}function Jn(t){return 146097*t/4800}function qn(t){return function(){return this.as(t)}}var Bn=qn('ms'),Qn=qn('s'),Xn=qn('m'),Kn=qn('h'),es=qn('d'),ts=qn('w'),ns=qn('M'),ss=qn('y');function is(t){return function(){return this.isValid()?this._data[t]:NaN}}var rs=is('milliseconds'),as=is('seconds'),os=is('minutes'),us=is('hours'),ls=is('days'),ds=is('months'),hs=is('years');var cs=Math.round,fs={ss:44,s:45,m:45,h:22,d:26,M:11};function ms(t,n,s,o,u){return u.relativeTime(n||1,!!s,t,o)}function _s(t,n,s){var o=gn(t).abs(),u=cs(o.as('s')),l=cs(o.as('m')),h=cs(o.as('h')),c=cs(o.as('d')),f=cs(o.as('M')),_=cs(o.as('y')),y=u<=fs.ss&&['s',u]||u0,y[4]=s,ms.apply(null,y)}var ys=Math.abs;function gs(t){return(t>0)-(t<0)||+t}function vs(){if(!this.isValid())return this.localeData().invalidDate();var t,n,s=ys(this._milliseconds)/1e3,o=ys(this._days),u=ys(this._months);n=x((t=x(s/60))/60),s%=60,t%=60;var l=x(u/12),h=u%=12,c=o,f=n,_=t,y=s?s.toFixed(3).replace(/\.?0+$/,''):'',v=this.asSeconds();if(!v)return'P0D';var p=v<0?'-':'',w=gs(this._months)!==gs(v)?'-':'',M=gs(this._days)!==gs(v)?'-':'',S=gs(this._milliseconds)!==gs(v)?'-':'';return p+'P'+(l?w+l+'Y':'')+(h?w+h+'M':'')+(c?M+c+'D':'')+(f||_||y?'T':'')+(f?S+f+'H':'')+(_?S+_+'M':'')+(y?S+y+'S':'')}var ps=an.prototype;return ps.isValid=function(){return this._isValid},ps.abs=function(){var t=this._data;return this._milliseconds=jn(this._milliseconds),this._days=jn(this._days),this._months=jn(this._months),t.milliseconds=jn(t.milliseconds),t.seconds=jn(t.seconds),t.minutes=jn(t.minutes),t.hours=jn(t.hours),t.months=jn(t.months),t.years=jn(t.years),this},ps.add=function(t,n){return Zn(this,t,n,1)},ps.subtract=function(t,n){return Zn(this,t,n,-1)},ps.as=function(t){if(!this.isValid())return NaN;var n,s,o=this._milliseconds;if('month'===(t=E(t))||'year'===t)return n=this._days+o/864e5,s=this._months+$n(n),'month'===t?s:s/12;switch(n=this._days+Math.round(Jn(this._months)),t){case'week':return n/7+o/6048e5;case'day':return n+o/864e5;case'hour':return 24*n+o/36e5;case'minute':return 1440*n+o/6e4;case'second':return 86400*n+o/1e3;case'millisecond':return Math.floor(864e5*n)+o;default:throw new Error('Unknown unit '+t)}},ps.asMilliseconds=Bn,ps.asSeconds=Qn,ps.asMinutes=Xn,ps.asHours=Kn,ps.asDays=es,ps.asWeeks=ts,ps.asMonths=ns,ps.asYears=ss,ps.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN},ps._bubble=function(){var t,n,s,o,u,l=this._milliseconds,h=this._days,c=this._months,f=this._data;return l>=0&&h>=0&&c>=0||l<=0&&h<=0&&c<=0||(l+=864e5*zn(Jn(c)+h),h=0,c=0),f.milliseconds=l%1e3,t=x(l/1e3),f.seconds=t%60,n=x(t/60),f.minutes=n%60,s=x(n/60),f.hours=s%24,c+=u=x($n(h+=x(s/24))),h-=zn(Jn(u)),o=x(c/12),c%=12,f.days=h,f.months=c,f.years=o,this},ps.clone=function(){return gn(this)},ps.get=function(t){return t=E(t),this.isValid()?this[t+'s']():NaN},ps.milliseconds=rs,ps.seconds=as,ps.minutes=os,ps.hours=us,ps.days=ls,ps.weeks=function(){return x(this.days()/7)},ps.months=ds,ps.years=hs,ps.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var n=this.localeData(),s=_s(this,!t,n);return t&&(s=n.pastFuture(+this,s)),n.postformat(s)},ps.toISOString=vs,ps.toString=vs,ps.toJSON=vs,ps.locale=On,ps.localeData=xn,ps.toIsoString=H('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',vs),ps.lang=Tn,Q('X',0,0,'unix'),Q('x',0,0,'valueOf'),ve('x',fe),ve('X',/[+-]?\d+(\.\d{1,3})?/),Se('X',function(t,n,s){s._d=new Date(1e3*parseFloat(t,10))}),Se('x',function(t,n,s){s._d=new Date(b(t))}),s.version='2.22.1',t=Kt,s.fn=Nn,s.min=function(){return nn('isBefore',[].slice.call(arguments,0))},s.max=function(){return nn('isAfter',[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=p,s.unix=function(t){return Kt(1e3*t)},s.months=function(t,n){return In(t,n,'months')},s.isDate=f,s.locale=kt,s.invalid=S,s.duration=gn,s.isMoment=T,s.weekdays=function(t,n,s){return An(t,n,s,'weekdays')},s.parseZone=function(){return Kt.apply(null,arguments).parseZone()},s.localeData=Ot,s.isDuration=on,s.monthsShort=function(t,n){return In(t,n,'monthsShort')},s.weekdaysMin=function(t,n,s){return An(t,n,s,'weekdaysMin')},s.defineLocale=Yt,s.updateLocale=function(t,n){if(null!=n){var s,o,u=vt;null!=(o=Dt(t))&&(u=o._config),(s=new N(n=U(u,n))).parentLocale=pt[t],pt[t]=s,kt(t)}else null!=pt[t]&&(null!=pt[t].parentLocale?pt[t]=pt[t].parentLocale:null!=pt[t]&&delete pt[t]);return pt[t]},s.locales=function(){return R(pt)},s.weekdaysShort=function(t,n,s){return An(t,n,s,'weekdaysShort')},s.normalizeUnits=E,s.relativeTimeRounding=function(t){return void 0===t?cs:'function'==typeof t&&(cs=t,!0)},s.relativeTimeThreshold=function(t,n){return void 0!==fs[t]&&(void 0===n?fs[t]:(fs[t]=n,'s'===t&&(fs.ss=n-1),!0))},s.calendarFormat=function(t,n){var s=t.diff(n,'days',!0);return s<-6?'sameElse':s<-1?'lastWeek':s<0?'lastDay':s<1?'sameDay':s<2?'nextDay':s<7?'nextWeek':'sameElse'},s.prototype=Nn,s.HTML5_FMT={DATETIME_LOCAL:'YYYY-MM-DDTHH:mm',DATETIME_LOCAL_SECONDS:'YYYY-MM-DDTHH:mm:ss',DATETIME_LOCAL_MS:'YYYY-MM-DDTHH:mm:ss.SSS',DATE:'YYYY-MM-DD',TIME:'HH:mm',TIME_SECONDS:'HH:mm:ss',TIME_MS:'HH:mm:ss.SSS',WEEK:'YYYY-[W]WW',MONTH:'YYYY-MM'},s},'object'==typeof e&&void 0!==m?m.exports=n():'function'==typeof define&&define.amd?define(n):t.moment=n()},2361,[]); -__d(function(g,r,i,a,m,e,d){!(function(t,n){"use strict";'object'==typeof m&&m.exports?m.exports=n(r(d[0])):'function'==typeof define&&define.amd?define(['moment'],n):n(t.moment)})(this,function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var n,o={},s={},f={},u={},c={};t&&'string'==typeof t.version||U('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');var l=t.version.split('.'),h=+l[0],p=+l[1];function z(t){return t>96?t-87:t>64?t-29:t-48}function v(t){var n=0,o=t.split('.'),s=o[0],f=o[1]||'',u=1,c=0,l=1;for(45===t.charCodeAt(0)&&(n=1,l=-1);n3){var n=u[k(t)];if(n)return n;U("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var o,s,f,c=D(),l=c.length,h=C(c),p=[];for(s=0;s0?p[0].zone.name:void 0}function k(t){return(t||'').toLowerCase().replace(/\//g,'_')}function F(t){var n,s,f,c;for("string"==typeof t&&(t=[t]),n=0;n= 2.6.0. You are using Moment.js '+t.version+'. See momentjs.com'),O.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var n,o=+t,s=this.untils;for(n=0;ns&&Y.moveInvalidForward&&(n=s),u0&&(this._z=null),N.apply(this,arguments)}),t.tz.setDefault=function(n){return(h<2||2===h&&p<9)&&U('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js '+t.version+'.'),t.defaultZone=n?E(n):null,t};var L=t.momentProperties;return'[object Array]'===Object.prototype.toString.call(L)?(L.push('_z'),L.push('_a')):L&&(L._z=null),t})},2362,[2361]); -__d(function(g,r,i,a,m,e,d){!(function(n,t){"use strict";'object'==typeof m&&m.exports?m.exports=t(r(d[0])):'function'==typeof define&&define.amd?define(['moment'],t):t(n.moment)})(this,function(n){"use strict";if(!n.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var t='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX',o=1e-6;function s(n,s){for(var u,f='.',l='';s>0;)s-=1,n*=60,u=Math.floor(n+o),f+=t[u],n-=u,u&&(l+=f,f='');return l}function u(n,o){for(var u='',f=Math.abs(n),l=Math.floor(f),h=s(f-l,Math.min(~~o,10));l>0;)u=t[l%60]+u,l=Math.floor(l/60);return n<0&&(u='-'+u),u&&h?u+h:(h||'-'!==u)&&(u||h)||'0'}function f(n){var t,o=[],s=0;for(t=0;th.population?c.unshift(l):l.population===h.population&&s&&s[l.name]?c.unshift(l):c.push(l),p=!0);p||b.push([l])}for(u=0;uo&&(u=t,t=o,o=u),u=0;uo&&(l=Math.min(l,u+1)));return[f,l]}function j(n,t,o){var s=Array.prototype.slice,u=k(n.untils,t,o),f=s.apply(n.untils,u);return f[f.length-1]=null,{name:n.name,abbrs:s.apply(n.abbrs,u),untils:f,offsets:s.apply(n.offsets,u),population:n.population,countries:n.countries}}return n.tz.pack=p,n.tz.packBase60=u,n.tz.createLinks=w,n.tz.filterYears=j,n.tz.filterLinkPack=function(n,t,o,s){var u,f,l=n.zones,h=[];for(u=0;u0&&void 0!==arguments[0])||arguments[0]}},e.autosave=s;var n=t(r(d[1])),u=t(r(d[2])),c=r(d[3]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))});var l=n.default.mark(s);function s(){return n.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:u.default.editorDidAutosave();case 1:case"end":return t.stop()}},l)}},2368,[5,282,945,2369]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.setupEditor=R,e.__experimentalTearDownEditor=function(){return{type:'TEAR_DOWN_EDITOR'}},e.resetPost=M,e.resetAutosave=I,e.__experimentalRequestPostUpdateStart=D,e.__experimentalRequestPostUpdateFinish=U,e.updatePost=function(){return(0,u.default)("wp.data.dispatch( 'core/editor' ).updatePost",{alternative:'User the core entitires store instead'}),{type:'DO_NOTHING'}},e.setupEditorState=C,e.editPost=L,e.savePost=F,e.refreshPost=j,e.trashPost=V,e.autosave=G,e.redo=z,e.undo=H,e.createUndoLevel=function(){return{type:'CREATE_UNDO_LEVEL'}},e.updatePostLock=function(t){return{type:'UPDATE_POST_LOCK',lock:t}},e.enablePublishSidebar=function(){return{type:'ENABLE_PUBLISH_SIDEBAR'}},e.disablePublishSidebar=function(){return{type:'DISABLE_PUBLISH_SIDEBAR'}},e.lockPostSaving=function(t){return{type:'LOCK_POST_SAVING',lockName:t}},e.unlockPostSaving=function(t){return{type:'UNLOCK_POST_SAVING',lockName:t}},e.lockPostAutosaving=function(t){return{type:'LOCK_POST_AUTOSAVING',lockName:t}},e.unlockPostAutosaving=function(t){return{type:'UNLOCK_POST_AUTOSAVING',lockName:t}},e.resetEditorBlocks=K,e.updateEditorSettings=function(t){return{type:'UPDATE_EDITOR_SETTINGS',settings:t}},e.updateBlockListSettings=e.insertDefaultBlock=e.exitFormattedText=e.enterFormattedText=e.stopTyping=e.startTyping=e.toggleBlockMode=e.removeBlock=e.removeBlocks=e.mergeBlocks=e.synchronizeTemplate=e.setTemplateValidity=e.hideInsertionPoint=e.showInsertionPoint=e.insertBlocks=e.insertBlock=e.moveBlockToPosition=e.moveBlocksUp=e.moveBlocksDown=e.replaceBlock=e.replaceBlocks=e.toggleSelection=e.clearSelectedBlock=e.multiSelect=e.stopMultiSelect=e.startMultiSelect=e.selectBlock=e.updateBlockAttributes=e.updateBlock=e.receiveBlocks=e.resetBlocks=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3])),c=t(r(d[4])),l=r(d[5]),u=t(r(d[6])),p=r(d[7]),v=r(d[8]),f=r(d[9]),k=r(d[10]),E=r(d[11]),T=r(d[12]);function S(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function x(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}}}function U(){return{type:'REQUEST_POST_UPDATE_FINISH',options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function C(t){return{type:'SETUP_EDITOR_STATE',post:t}}function L(t,n){var o,s,l;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.select(E.STORE_NAME,'getCurrentPost');case 2:return o=c.sent,s=o.id,l=o.type,c.next=7,p.controls.dispatch('core','editEntityRecord','postType',l,s,t,n);case 7:case"end":return c.stop()}},y)}function F(){var t,n,s,l,u,v,f,S=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return t=S.length>0&&void 0!==S[0]?S[0]:{},c.next=3,p.controls.select(E.STORE_NAME,'isEditedPostSaveable');case 3:if(c.sent){c.next=5;break}return c.abrupt("return");case 5:return c.next=7,p.controls.select(E.STORE_NAME,'getEditedPostContent');case 7:if(c.t0=c.sent,n={content:c.t0},t.isAutosave){c.next=12;break}return c.next=12,p.controls.dispatch(E.STORE_NAME,'editPost',n,{undoIgnore:!0});case 12:return c.next=14,D(t);case 14:return c.next=16,p.controls.select(E.STORE_NAME,'getCurrentPost');case 16:return s=c.sent,c.t1=x,c.t2=x,c.t3={id:s.id},c.next=22,p.controls.select('core','getEntityRecordNonTransientEdits','postType',s.type,s.id);case 22:return c.t4=c.sent,c.t5=(0,c.t2)(c.t3,c.t4),c.t6=n,n=(0,c.t1)(c.t5,c.t6),c.next=28,p.controls.dispatch('core','saveEntityRecord','postType',s.type,n,t);case 28:return c.next=30,U(t);case 30:return c.next=32,p.controls.select('core','getLastEntitySaveError','postType',s.type,s.id);case 32:if(!(l=c.sent)){c.next=40;break}if(!(u=(0,T.getNotificationArgumentsForSaveFail)({post:s,edits:n,error:l})).length){c.next=38;break}return c.next=38,p.controls.dispatch.apply(p.controls,[k.store,'createErrorNotice'].concat((0,o.default)(u)));case 38:c.next=58;break;case 40:return c.next=42,p.controls.select(E.STORE_NAME,'getCurrentPost');case 42:return v=c.sent,c.t7=T.getNotificationArgumentsForSaveSuccess,c.t8=s,c.t9=v,c.next=48,p.controls.resolveSelect('core','getPostType',v.type);case 48:if(c.t10=c.sent,c.t11=t,c.t12={previousPost:c.t8,post:c.t9,postType:c.t10,options:c.t11},!(f=(0,c.t7)(c.t12)).length){c.next=55;break}return c.next=55,p.controls.dispatch.apply(p.controls,[k.store,'createSuccessNotice'].concat((0,o.default)(f)));case 55:if(t.isAutosave){c.next=58;break}return c.next=58,p.controls.dispatch('core/block-editor','__unstableMarkLastChangeAsPersistent');case 58:case"end":return c.stop()}},h)}function j(){var t,n,o,s;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.select(E.STORE_NAME,'getCurrentPost');case 2:return t=c.sent,c.next=5,p.controls.select(E.STORE_NAME,'getCurrentPostType');case 5:return n=c.sent,c.next=8,p.controls.resolveSelect('core','getPostType',n);case 8:return o=c.sent,c.next=11,(0,v.apiFetch)({path:"/wp/v2/"+o.rest_base+"/"+t.id+"?context=edit&_timestamp="+Date.now()});case 11:return s=c.sent,c.next=14,p.controls.dispatch(E.STORE_NAME,'resetPost',s);case 14:case"end":return c.stop()}},O)}function V(){var t,n,s;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.select(E.STORE_NAME,'getCurrentPostType');case 2:return t=c.sent,c.next=5,p.controls.resolveSelect('core','getPostType',t);case 5:return n=c.sent,c.next=8,p.controls.dispatch(k.store,'removeNotice',E.TRASH_POST_NOTICE_ID);case 8:return c.prev=8,c.next=11,p.controls.select(E.STORE_NAME,'getCurrentPost');case 11:return s=c.sent,c.next=14,(0,v.apiFetch)({path:"/wp/v2/"+n.rest_base+"/"+s.id,method:'DELETE'});case 14:return c.next=16,p.controls.dispatch(E.STORE_NAME,'savePost');case 16:c.next=22;break;case 18:return c.prev=18,c.t0=c.catch(8),c.next=22,p.controls.dispatch.apply(p.controls,[k.store,'createErrorNotice'].concat((0,o.default)((0,T.getNotificationArgumentsForTrashFail)({error:c.t0}))));case 22:case"end":return c.stop()}},B,null,[[8,18]])}function G(){var t,o,s,l,u,v,f,k,T,S=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=S.length>0&&void 0!==S[0]?S[0]:{},o=t.local,s=void 0!==o&&o,l=(0,n.default)(t,["local"]),!s){c.next=21;break}return c.next=4,p.controls.select(E.STORE_NAME,'getCurrentPost');case 4:return u=c.sent,c.next=7,p.controls.select(E.STORE_NAME,'isEditedPostNew');case 7:return v=c.sent,c.next=10,p.controls.select(E.STORE_NAME,'getEditedPostAttribute','title');case 10:return f=c.sent,c.next=13,p.controls.select(E.STORE_NAME,'getEditedPostAttribute','content');case 13:return k=c.sent,c.next=16,p.controls.select(E.STORE_NAME,'getEditedPostAttribute','excerpt');case 16:return T=c.sent,c.next=19,{type:'LOCAL_AUTOSAVE_SET',postId:u.id,isPostNew:v,title:f,content:k,excerpt:T};case 19:c.next=23;break;case 21:return c.next=23,p.controls.dispatch(E.STORE_NAME,'savePost',x({isAutosave:!0},l));case 23:case"end":return c.stop()}},A)}function z(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.controls.dispatch('core','redo');case 2:case"end":return t.stop()}},b)}function H(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.controls.dispatch('core','undo');case 2:case"end":return t.stop()}},N)}function K(t){var n,o,s,l,u,v,k,T,S=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(n=S.length>1&&void 0!==S[1]?S[1]:{},o=n.__unstableShouldCreateUndoLevel,s=n.selectionStart,l=n.selectionEnd,u={blocks:t,selectionStart:s,selectionEnd:l},!1===o){c.next=19;break}return c.next=6,p.controls.select(E.STORE_NAME,'getCurrentPost');case 6:return v=c.sent,k=v.id,T=v.type,c.next=11,p.controls.select('core','getEditedEntityRecord','postType',T,k);case 11:if(c.t0=c.sent.blocks,c.t1=u.blocks,!(c.t0===c.t1)){c.next=18;break}return c.next=17,p.controls.dispatch('core','__unstableCreateUndoLevel','postType',T,k);case 17:return c.abrupt("return",c.sent);case 18:u.content=function(t){var n=t.blocks,o=void 0===n?[]:n;return(0,f.__unstableSerializeAndClean)(o)};case 19:return c.delegateYield(L(u),"t2",20);case 20:case"end":return c.stop()}},w)}var q=function(t){return c.default.mark(function n(){var o,s,l,v=arguments;return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:for((0,u.default)("`wp.data.dispatch( 'core/editor' )."+t+'`',{alternative:"`wp.data.dispatch( 'core/block-editor' )."+t+'`'}),o=v.length,s=new Array(o),l=0;l0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'CREATE_NOTICE':return[].concat((0,n.default)((0,c.reject)(t,{id:o.notice.id})),[o.notice]);case'REMOVE_NOTICE':return(0,c.reject)(t,{id:o.id})}return t});e.default=o},2372,[5,14,1068,2373]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.onSubKey=void 0;var n=t(r(d[1]));function o(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function c(t){for(var c=1;c0&&void 0!==arguments[0]?arguments[0]:{},f=arguments.length>1?arguments[1]:void 0,O=f[t];if(void 0===O)return u;var b=o(u[O],f);return b===u[O]?u:c(c({},u),{},(0,n.default)({},O,b))}}};e.onSubKey=u;var f=u;e.default=f},2373,[5,66]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.createNotice=o,e.createSuccessNotice=function(t,n){return o('success',t,n)},e.createInfoNotice=function(t,n){return o('info',t,n)},e.createErrorNotice=function(t,n){return o('error',t,n)},e.createWarningNotice=function(t,n){return o('warning',t,n)},e.removeNotice=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.DEFAULT_CONTEXT;return{type:'REMOVE_NOTICE',id:t,context:o}};var t=r(d[0]),n=r(d[1]);function o(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.DEFAULT_STATUS,s=arguments.length>1?arguments[1]:void 0,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=c.speak,l=void 0===u||u,v=c.isDismissible,T=void 0===v||v,_=c.context,E=void 0===_?n.DEFAULT_CONTEXT:_,f=c.id,N=void 0===f?(0,t.uniqueId)(E):f,p=c.actions,D=void 0===p?[]:p,O=c.type,b=void 0===O?'default':O,x=c.__unstableHTML,y=c.icon,A=void 0===y?null:y,C=c.explicitDismiss,L=void 0!==C&&C,M=c.onDismiss,h=void 0===M?null:M;return{type:'CREATE_NOTICE',context:E,notice:{id:N,status:o,content:s=String(s),spokenMessage:l?s:null,__unstableHTML:x,isDismissible:T,actions:D,type:b,icon:A,explicitDismiss:L,onDismiss:h}}}},2374,[1068,2375]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_STATUS=e.DEFAULT_CONTEXT=void 0;e.DEFAULT_CONTEXT='global';e.DEFAULT_STATUS='info'},2375,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getNotices=function(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.DEFAULT_CONTEXT;return o[u]||n};var t=r(d[0]),n=[]},2376,[2375]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getNotificationArgumentsForSaveSuccess=function(t){var l=t.previousPost,n=t.post,o=t.postType;if((0,u.get)(t.options,['isAutosave']))return[];var _,f=['publish','private','future'],p=(0,u.includes)(f,l.status),v=(0,u.includes)(f,n.status),c=(0,u.get)(o,['viewable'],!1);p||v?p&&!v?(_=o.labels.item_reverted_to_draft,c=!1):_=!p&&v?{publish:o.labels.item_published,private:o.labels.item_published_privately,future:o.labels.item_scheduled}[n.status]:o.labels.item_updated:_=null;if(_){var b=[];return c&&b.push({label:o.labels.view_item,url:n.link}),[_,{id:s.SAVE_POST_NOTICE_ID,type:'snackbar',actions:b}]}return[]},e.getNotificationArgumentsForSaveFail=function(u){var l=u.post,n=u.edits,o=u.error;if(o&&'rest_autosave_no_changes'===o.code)return[];var _=['publish','private','future'],f=-1!==_.indexOf(l.status),p={publish:(0,t.__)('Publishing failed.'),private:(0,t.__)('Publishing failed.'),future:(0,t.__)('Scheduling failed.')},v=f||-1===_.indexOf(n.status)?(0,t.__)('Updating failed.'):p[n.status];o.message&&!/<\/?[^>]*>/.test(o.message)&&(v=[v,o.message].join(' '));return[v,{id:s.SAVE_POST_NOTICE_ID}]},e.getNotificationArgumentsForTrashFail=function(u){return[u.error.message&&'unknown_error'!==u.error.code?u.error.message:(0,t.__)('Trashing failed'),{id:s.TRASH_POST_NOTICE_ID}]};var t=r(d[0]),s=r(d[1]),u=r(d[2])},2377,[1027,2366,1068]); -__d(function(g,r,i,a,m,e,d){function t(t,o){return"wp-autosave-block-editor-post-"+(o?'auto-draft':t)}function o(o,n,s,u,c){window.sessionStorage.setItem(t(o,n),JSON.stringify({post_title:s,content:u,excerpt:c}))}Object.defineProperty(e,"__esModule",{value:!0}),e.localAutosaveGet=function(o,n){return window.sessionStorage.getItem(t(o,n))},e.localAutosaveSet=o,e.localAutosaveClear=function(o,n){window.sessionStorage.removeItem(t(o,n))},e.default=void 0;var n={LOCAL_AUTOSAVE_SET:function(t){o(t.postId,t.isPostNew,t.title,t.content,t.excerpt)}};e.default=n},2378,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var o={AutosaveMonitor:!0,PostTitle:!0,EditorHistoryRedo:!0,EditorHistoryUndo:!0,EditorProvider:!0};Object.defineProperty(e,"AutosaveMonitor",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"PostTitle",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"EditorHistoryRedo",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"EditorHistoryUndo",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"EditorProvider",{enumerable:!0,get:function(){return l.default}});var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=r(d[6]);Object.keys(b).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}}))})},2379,[5,2380,2381,2383,2384,2385,2410]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.AutosaveMonitor=void 0;var s=t(r(d[1])),o=t(r(d[2])),n=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),v=r(d[6]),l=r(d[7]),f=r(d[8]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var h=(function(t){(0,n.default)(h,t);var v,l,f=(v=h,l=p(),function(){var t,s=(0,c.default)(v);if(l){var o=(0,c.default)(this).constructor;t=Reflect.construct(s,arguments,o)}else t=s.apply(this,arguments);return(0,u.default)(this,t)});function h(t){var o;return(0,s.default)(this,h),(o=f.call(this,t)).needsAutosave=!(!t.isDirty||!t.isAutosaveable),o}return(0,o.default)(h,[{key:"componentDidMount",value:function(){this.props.disableIntervalChecks||this.setAutosaveTimer()}},{key:"componentDidUpdate",value:function(t){this.props.disableIntervalChecks?this.props.editsReference!==t.editsReference&&this.props.autosave():this.props.isDirty&&(!this.props.isAutosaving||t.isAutosaving)?this.props.editsReference!==t.editsReference&&(this.needsAutosave=!0):this.needsAutosave=!1}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timerId)}},{key:"setAutosaveTimer",value:function(){var t=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3*this.props.interval;this.timerId=setTimeout(function(){t.autosaveTimerHandler()},s)}},{key:"autosaveTimerHandler",value:function(){this.props.isAutosaveable?(this.needsAutosave&&(this.needsAutosave=!1,this.props.autosave()),this.setAutosaveTimer()):this.setAutosaveTimer(1e3)}},{key:"render",value:function(){return null}}]),h})(v.Component);e.AutosaveMonitor=h;var A=(0,l.compose)([(0,f.withSelect)(function(t,s){var o=t('core').getReferenceByDistinctEdits,n=t('core/editor'),u=n.isEditedPostDirty,c=n.isEditedPostAutosaveable,v=n.isAutosavingPost,l=n.getEditorSettings,f=s.interval,p=void 0===f?l().autosaveInterval:f;return{editsReference:o(),isDirty:u(),isAutosaveable:c(),isAutosaving:v(),interval:p}}),(0,f.withDispatch)(function(t,s){return{autosave:function(){var o=s.autosave,n=void 0===o?t('core/editor').autosave:o;n()}}})])(h);e.default=A},2380,[5,7,42,57,59,56,946,1116,1076]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),h=r(d[9]),y=r(d[10]),v=r(d[11]),S=r(d[12]),_=r(d[13]),b=r(d[14]),R=r(d[15]),k=r(d[16]),E=t(r(d[17]));function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var T=(function(t){(0,c.default)(T,t);var S,_,b=(S=T,_=P(),function(){var t,n=(0,f.default)(S);if(_){var o=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,u.default)(this,t)});function T(t){var n;return(0,o.default)(this,T),(n=b.call(this,t)).setRef=n.setRef.bind((0,l.default)(n)),n}return(0,s.default)(T,[{key:"componentDidUpdate",value:function(t){this.props.isSelected&&!t.isAnyBlockSelected&&this.props.isAnyBlockSelected&&(this.richTextRef&&this.richTextRef.blur(),this.props.onUnselect())}},{key:"componentDidMount",value:function(){this.props.innerRef&&this.props.innerRef(this)}},{key:"handleFocusOutside",value:function(){this.props.onUnselect()}},{key:"focus",value:function(){this.props.onSelect()}},{key:"onPaste",value:function(t){var n=t.value,o=t.onChange,s=t.plainText,l=(0,k.pasteHandler)({plainText:s,mode:'INLINE',tagName:'p'});if('string'==typeof l){var c=(0,y.create)({html:l});o((0,y.insert)(n,c))}}},{key:"setRef",value:function(t){this.richTextRef=t}},{key:"getTitle",value:function(t,n){return'page'===n?(0,h.isEmpty)(t)?(0,R.__)('Page title. Empty'):(0,R.sprintf)((0,R.__)('Page title. %s'),t):(0,h.isEmpty)(t)?(0,R.__)('Post title. Empty'):(0,R.sprintf)((0,R.__)('Post title. %s'),t)}},{key:"render",value:function(){var t=this,o=this.props,s=o.placeholder,l=o.style,c=o.title,u=o.focusedBorderColor,f=o.borderStyle,h=o.isDimmed,S=o.postType,_=(0,v.decodeEntities)(s),b=this.props.isSelected?u:'transparent';return(0,n.createElement)(p.View,{style:[E.default.titleContainer,f,{borderColor:b},h&&E.default.dimmed],accessible:!this.props.isSelected,accessibilityLabel:this.getTitle(c,S),accessibilityHint:(0,R.__)('Updates the title.')},(0,n.createElement)(y.__experimentalRichText,{setRef:this.setRef,accessibilityLabel:this.getTitle(c,S),tagName:'p',tagsToEliminate:['strong'],unstableOnFocus:this.props.onSelect,onBlur:this.props.onBlur,multiline:!1,style:l,styles:E.default,fontSize:24,fontWeight:'bold',deleteEnter:!0,onChange:function(n){t.props.onUpdate(n)},onPaste:this.onPaste,placeholder:_,value:c,onSelectionChange:function(){},onEnter:this.props.onEnterPress,disableEditingMenu:!0,__unstableIsSelected:this.props.isSelected,__unstableOnCreateUndoLevel:function(){}}))}}]),T})(n.Component),B=(0,b.compose)((0,S.withSelect)(function(t){var n=t('core/editor'),o=n.isPostTitleSelected,s=n.getEditedPostAttribute,l=t('core/block-editor'),c=l.getSelectedBlockClientId,u=l.getBlockRootClientId,f=c(),p=!!u(f);return{postType:s('type'),isAnyBlockSelected:!!f,isSelected:o(),isDimmed:p}}),(0,S.withDispatch)(function(t){var n=t('core/editor'),o=n.undo,s=n.redo,l=n.togglePostTitleSelection,c=t('core/block-editor'),u=c.clearSelectedBlock,f=c.insertDefaultBlock;return{onEnterPress:function(){f(void 0,void 0,0)},onUndo:o,onRedo:s,onSelect:function(){l(!0),u()},onUnselect:function(){l(!1)}}}),b.withInstanceId,_.withFocusOutside)(T);e.default=B},2381,[5,946,7,42,60,57,59,56,25,1068,1074,1657,1076,1696,1116,1027,1223,2382]); -__d(function(g,r,i,a,m,e,d){m.exports={titleContainer:{paddingLeft:12,paddingRight:16,paddingTop:12,paddingBottom:12,marginTop:24},dimmed:{opacity:1}}},2382,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),c=r(d[3]),l=r(d[4]),n=r(d[5]),f=r(d[6]),s=r(d[7]);var _=(0,o.forwardRef)(function(t,_){var v=(0,n.useSelect)(function(t){return t('core/editor').hasEditorRedo()},[]),h=(0,n.useDispatch)('core/editor').redo;return(0,o.createElement)(l.Button,(0,u.default)({},t,{ref:_,icon:s.redo,label:(0,c.__)('Redo'),shortcut:f.displayShortcut.primaryShift('z'),"aria-disabled":!v,onClick:v?h:void 0,className:"editor-history__redo"}))});e.default=_},2383,[5,946,24,1027,1696,1076,1221,1247]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=o(r(d[2])),u=r(d[3]),c=r(d[4]),l=r(d[5]),s=r(d[6]),f=r(d[7]);var _=(0,t.forwardRef)(function(o,_){var v=(0,l.useSelect)(function(o){return o('core/editor').hasEditorUndo()},[]),h=(0,l.useDispatch)('core/editor').undo;return(0,t.createElement)(c.Button,(0,n.default)({},o,{ref:_,icon:f.undo,label:(0,u.__)('Undo'),shortcut:s.displayShortcut.primary('z'),"aria-disabled":!v,onClick:v?h:void 0,className:"editor-history__undo"}))});e.default=_},2384,[5,946,24,1027,1696,1076,1221,1247]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=r(d[2]),n=o(r(d[3])),c=o(r(d[4])),p=o(r(d[5])),l=o(r(d[6])),u=o(r(d[7])),h=o(r(d[8])),b=o(r(d[9])),f=o(r(d[10])),v=t(r(d[11])),k=r(d[12]),P=r(d[13]),y=r(d[14]),T=r(d[15]),w=r(d[16]),S=r(d[17]),B=o(r(d[18]));function U(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function C(t,o){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function E(t){for(var o=1;o]*?>/gi,HTMLcommentRegExp://g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(['[',"!-@[-`{-~","\x80-\xbf\xd7\xf7","\u2000-\u2bff","\u2e00-\u2e7f",']'].join(''),'g'),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:'words'}};e.defaultSettings=t},2387,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.HTMLRegExp,'\n')}},2388,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return n.replace(t.astralRegExp,'a')}},2389,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return n.replace(t.HTMLEntityRegExp,'')}},2390,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.connectorRegExp,' ')}},2391,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.removeRegExp,'')}},2392,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.HTMLcommentRegExp,'')}},2393,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){if(t.shortcodesRegExp)return n.replace(t.shortcodesRegExp,'\n');return n}},2394,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.spaceRegExp,' ')}},2395,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return n.replace(t.HTMLEntityRegExp,'a')}},2396,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),s=r(d[3]),u=r(d[4]),l=r(d[5]),c=r(d[6]),p=r(d[7]),E=r(d[8]),v=t(r(d[9])),y=r(d[10]),f=t(r(d[11]));var _=(0,v.default)(function(t){var v=t.__unstableTemplate,_=t.post,h=t.settings,k=t.recovery,S=t.initialEdits,b=t.children,P=(0,n.useMemo)(function(){return'wp_template'===_.type?{}:{postId:_.id,postType:_.type}},[_.id,_.type]),T=(0,s.useSelect)(function(t){var n=t(y.store),o=n.getEditorSelectionStart,s=n.getEditorSelectionEnd;return{isReady:(0,n.__unstableIsEditorReady)(),selectionStart:o(),selectionEnd:s()}},[]),R=T.selectionEnd,w=T.selectionStart,B=T.isReady,I=null!=v?v:_,L=I.id,x=I.type,D=(0,l.useEntityBlockEditor)('postType',x,{id:L}),M=(0,o.default)(D,3),C=M[0],j=M[1],N=M[2],O=(0,f.default)(h,!!v),V=(0,s.useDispatch)(y.store),W=V.updatePostLock,q=V.setupEditor,z=V.updateEditorSettings,A=V.__experimentalTearDownEditor,F=(0,s.useDispatch)(E.store).createWarningNotice;return(0,n.useLayoutEffect)(function(){if(!k)return W(h.postLock),q(_,S,h.template),h.autosave&&F((0,u.__)('There is an autosave of this post that is more recent than the version below.'),{id:'autosave-exists',actions:[{label:(0,u.__)('View the autosave'),url:h.autosave.editLink}]}),function(){A()}},[]),(0,n.useEffect)(function(){z(h)},[h]),B?(0,n.createElement)(l.EntityProvider,{kind:"root",type:"site"},(0,n.createElement)(l.EntityProvider,{kind:"postType",type:_.type,id:_.id},(0,n.createElement)(c.BlockContextProvider,{value:P},(0,n.createElement)(c.BlockEditorProvider,{value:C,onChange:N,onInput:j,selectionStart:w,selectionEnd:R,settings:O,useSubRegistry:!1},b,(0,n.createElement)(p.ReusableBlocksMenuItems,null))))):null});e.default=_},2397,[5,946,36,1076,1027,2276,1073,2398,2370,2406,2354,2407]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={store:!0};Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),r(d[0]);var n=r(d[1]),o=r(d[2]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))})},2398,[2276,2399,2404]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]),t=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=void 0;var s=r(d[2]),c=t(r(d[3])),l=o(r(d[4])),u=o(r(d[5])),n=t(r(d[6])),f=(0,s.createReduxStore)('core/reusable-blocks',{actions:c,controls:l.default,reducer:u.default,selectors:n});e.store=f,(0,s.register)(f)},2399,[5,32,1076,2400,2401,2402,2403]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.__experimentalConvertBlockToStatic=s,e.__experimentalConvertBlocksToReusable=f,e.__experimentalDeleteReusableBlock=p,e.__experimentalSetEditingReusableBlock=function(t,n){return{type:'SET_EDITING_REUSABLE_BLOCK',clientId:t,isEditing:n}};var n=t(r(d[1])),c=r(d[2]),o=n.default.mark(s),u=n.default.mark(f),l=n.default.mark(p);function s(t){return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.convertBlockToStatic)(t);case 2:case"end":return n.stop()}},o)}function f(t){return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.convertBlocksToReusable)(t);case 2:case"end":return n.stop()}},u)}function p(t){return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.deleteReusableBlock)(t);case 2:case"end":return n.stop()}},l)}},2400,[5,282,2401]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.convertBlockToStatic=function(t){return{type:'CONVERT_BLOCK_TO_STATIC',clientId:t}},e.convertBlocksToReusable=function(t){return{type:'CONVERT_BLOCKS_TO_REUSABLE',clientIds:t}},e.deleteReusableBlock=function(t){return{type:'DELETE_REUSABLE_BLOCK',id:t}},e.default=void 0;var c=t(r(d[1])),n=r(d[2]),o=r(d[3]),l=r(d[4]),s=r(d[5]);var u={CONVERT_BLOCK_TO_STATIC:(0,o.createRegistryControl)(function(t){return function(c){var o=c.clientId,l=t.select('core/block-editor').getBlock(o),s=t.select('core').getEditedEntityRecord('postType','wp_block',l.attributes.ref),u=(0,n.parse)(s.content);t.dispatch('core/block-editor').replaceBlocks(l.clientId,u)}}),CONVERT_BLOCKS_TO_REUSABLE:(0,o.createRegistryControl)(function(t){return function(o){var u,p,f,_;return c.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return u=o.clientIds,p={title:(0,l.__)('Untitled Reusable Block'),content:(0,n.serialize)(t.select('core/block-editor').getBlocksByClientId(u)),status:'publish'},k.next=4,c.default.awrap(t.dispatch('core').saveEntityRecord('postType','wp_block',p));case 4:f=k.sent,_=(0,n.createBlock)('core/block',{ref:f.id}),t.dispatch('core/block-editor').replaceBlocks(u,_),t.dispatch(s.store).__experimentalSetEditingReusableBlock(_.clientId,!0);case 8:case"end":return k.stop()}},null,null,null,Promise)}}),DELETE_REUSABLE_BLOCK:(0,o.createRegistryControl)(function(t){return function(o){var l,s,u,p;return c.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(l=o.id,t.select('core').getEditedEntityRecord('postType','wp_block',l)){f.next=4;break}return f.abrupt("return");case 4:return s=t.select('core/block-editor').getBlocks(),u=s.filter(function(t){return(0,n.isReusableBlock)(t)&&t.attributes.ref===l}),(p=u.map(function(t){return t.clientId})).length&&t.dispatch('core/block-editor').removeBlocks(p),f.next=10,c.default.awrap(t.dispatch('core').deleteEntityRecord('postType','wp_block',l));case 10:case"end":return f.stop()}},null,null,null,Promise)}})};e.default=u},2401,[5,282,1223,1076,1027,2399]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.isEditingReusableBlock=u,e.default=void 0;var n=t(r(d[1]));function o(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function c(t){for(var c=1;c0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;return'SET_EDITING_REUSABLE_BLOCK'===(null==o?void 0:o.type)?c(c({},t),{},(0,n.default)({},o.clientId,o.isEditing)):t}var l=(0,r(d[2]).combineReducers)({isEditingReusableBlock:u});e.default=l},2402,[5,66,1076]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.__experimentalIsEditingReusableBlock=function(n,t){return n.isEditingReusableBlock[t]}},2403,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ReusableBlocksMenuItems",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},2404,[5,2405]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(){return null}},2405,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),n=t(r(d[3])),s=r(d[4]),l=r(d[5]),c=r(d[6]),f=r(d[7]),v=(0,l.createHigherOrderComponent)(function(t){return(0,s.withRegistry)(function(l){var v=l.useSubRegistry,y=void 0===v||v,R=l.registry,b=(0,n.default)(l,["useSubRegistry","registry"]);if(!y)return(0,o.createElement)(t,b);var E=(0,o.useState)(null),S=(0,u.default)(E,2),_=S[0],h=S[1];return(0,o.useEffect)(function(){var t=(0,s.createRegistry)({'core/block-editor':c.storeConfig},R);t.registerStore('core/editor',f.storeConfig),h(t)},[R]),_?(0,o.createElement)(s.RegistryProvider,{value:_},(0,o.createElement)(t,b)):null})},'withRegistryProvider');e.default=v},2406,[5,946,36,67,1076,1116,1073,2354]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),o=r(d[3]),l=r(d[4]),c=r(d[5]),p=r(d[6]),u=r(d[7]),f=t(r(d[8])),y=r(d[9]),b=r(d[10]),_=r(d[11]),h=r(d[12]);function v(t,n){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),s.push.apply(s,o)}return s}function P(t){for(var s=1;s1&&void 0!==x[1]?x[1]:{},l=n.isInitialSuggestions,c=n.type,u=n.subtype,_=n.page,h=n.perPage,v=x.length>2&&void 0!==x[2]?x[2]:{},P=v.disablePostFormats,U=void 0!==P&&P,O=h||l?3:20,S=[],c&&'post'!==c||S.push((0,f.default)({path:(0,y.addQueryArgs)('/wp/v2/search',{search:t,page:_,per_page:O,type:'post',subtype:u})}).catch(function(){return[]})),c&&'term'!==c||S.push((0,f.default)({path:(0,y.addQueryArgs)('/wp/v2/search',{search:t,page:_,per_page:O,type:'term',subtype:u})}).catch(function(){return[]})),U||c&&'post-format'!==c||S.push((0,f.default)({path:(0,y.addQueryArgs)('/wp/v2/search',{search:t,page:_,per_page:O,type:'post-format',subtype:u})}).catch(function(){return[]})),s.abrupt("return",Promise.all(S).then(function(t){return(0,o.map)((0,o.flatten)(t).filter(function(t){return!!t.id}).slice(0,O),function(t){return{id:t.id,url:t.url,title:(0,b.decodeEntities)(t.title)||(0,p.__)('(no title)'),type:t.subtype||t.type}})}));case 8:case"end":return s.stop()}},null,null,null,Promise)};var O=function(t,n){var s=(0,c.useSelect)(function(t){var n=t(h.store),s=n.canUserUseUnfilteredHTML,c=n.isPostTitleSelected,p=t(u.store).canUser;return{canUseUnfilteredHTML:s(),reusableBlocks:t('core').getEntityRecords('postType','wp_block',{per_page:l.Platform.select({web:-1,native:100})}),hasUploadPermissions:(0,o.defaultTo)(p('create','media'),!0),isTitleSelected:c&&c()}},[]),p=s.reusableBlocks,f=s.hasUploadPermissions,y=s.canUseUnfilteredHTML,b=s.isTitleSelected,v=(0,c.useDispatch)(h.store).undo;return(0,l.useMemo)(function(){return P(P({},(0,o.pick)(t,['__experimentalBlockDirectory','__experimentalBlockPatterns','__experimentalBlockPatternCategories','__experimentalFeatures','__experimentalGlobalStylesUserEntityId','__experimentalGlobalStylesBaseStyles','__experimentalPreferredStyleVariations','__experimentalSetIsInserterOpened','alignWide','allowedBlockTypes','availableLegacyWidgets','bodyPlaceholder','codeEditingEnabled','colors','disableCustomColors','disableCustomFontSizes','disableCustomGradients','enableCustomUnits','enableCustomLineHeight','focusMode','fontSizes','gradients','hasFixedToolbar','hasReducedUI','imageEditing','imageSizes','imageDimensions','isRTL','keepCaretInsideBlock','maxWidth','onUpdateDefaultBlockStyles','styles','template','templateLock','titlePlaceholder'])),{},{mediaUpload:f?_.mediaUpload:void 0,__experimentalReusableBlocks:p,__experimentalFetchLinkSuggestions:(0,o.partialRight)(U,t),__experimentalCanUserUseUnfilteredHTML:y,__experimentalUndo:v,__experimentalShouldInsertAtTheTop:b,outlineMode:n})},[t,f,p,y,v,b,n])};e.default=O},2407,[5,66,282,1068,946,1076,1027,2276,1026,1043,1657,2408,2354]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"mediaUpload",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},2408,[5,2409]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}},2409,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BlockControls",{enumerable:!0,get:function(){return t.BlockControls}}),Object.defineProperty(e,"BlockEdit",{enumerable:!0,get:function(){return t.BlockEdit}}),Object.defineProperty(e,"BlockFormatControls",{enumerable:!0,get:function(){return t.BlockFormatControls}}),Object.defineProperty(e,"DefaultBlockAppender",{enumerable:!0,get:function(){return t.DefaultBlockAppender}}),Object.defineProperty(e,"createCustomColorsHOC",{enumerable:!0,get:function(){return t.createCustomColorsHOC}}),Object.defineProperty(e,"getColorClassName",{enumerable:!0,get:function(){return t.getColorClassName}}),Object.defineProperty(e,"getColorObjectByAttributeValues",{enumerable:!0,get:function(){return t.getColorObjectByAttributeValues}}),Object.defineProperty(e,"getColorObjectByColorValue",{enumerable:!0,get:function(){return t.getColorObjectByColorValue}}),Object.defineProperty(e,"InspectorControls",{enumerable:!0,get:function(){return t.InspectorControls}}),Object.defineProperty(e,"PlainText",{enumerable:!0,get:function(){return t.PlainText}}),Object.defineProperty(e,"RichText",{enumerable:!0,get:function(){return t.RichText}}),Object.defineProperty(e,"RichTextShortcut",{enumerable:!0,get:function(){return t.RichTextShortcut}}),Object.defineProperty(e,"RichTextToolbarButton",{enumerable:!0,get:function(){return t.RichTextToolbarButton}}),Object.defineProperty(e,"RichTextInserterItem",{enumerable:!0,get:function(){return t.RichTextInserterItem}}),Object.defineProperty(e,"__unstableRichTextInputEvent",{enumerable:!0,get:function(){return t.__unstableRichTextInputEvent}}),Object.defineProperty(e,"MediaPlaceholder",{enumerable:!0,get:function(){return t.MediaPlaceholder}}),Object.defineProperty(e,"URLInput",{enumerable:!0,get:function(){return t.URLInput}}),Object.defineProperty(e,"withColors",{enumerable:!0,get:function(){return t.withColors}}),Object.defineProperty(e,"withFontSizes",{enumerable:!0,get:function(){return t.withFontSizes}});var t=r(d[0])},2410,[1073]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7])),h=t(r(d[8])),p=r(d[9]),y=t(r(d[10])),v=r(d[11]),b=r(d[12]),w=r(d[13]),S=r(d[14]),O=r(d[15]),A=r(d[16]),E=t(r(d[17])),I=t(r(d[18])),V=t(r(d[19])),R=t(r(d[20])),k=r(d[21]);function P(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function j(t){for(var n=1;n a',attribute:'href'},rel:{type:'string',source:'attribute',selector:'figure > a',attribute:'rel'},linkClass:{type:'string',source:'attribute',selector:'figure > a',attribute:'class'},id:{type:'number'},width:{type:'number'},height:{type:'number'},linkDestination:{type:'string'},linkTarget:{type:'string',source:'attribute',selector:'figure > a',attribute:'target'}},o=[{attributes:h,save:function(t){var n,h=t.attributes,o=h.url,f=h.alt,p=h.caption,b=h.align,y=h.href,E=h.width,v=h.height,w=h.id,N=(0,s.default)((n={},(0,u.default)(n,"align"+b,b),(0,u.default)(n,'is-resized',E||v),n)),x=(0,l.createElement)("img",{src:o,alt:f,className:w?"wp-image-"+w:null,width:E,height:v});return(0,l.createElement)("figure",{className:N},y?(0,l.createElement)("a",{href:y},x):x,!c.RichText.isEmpty(p)&&(0,l.createElement)(c.RichText.Content,{tagName:"figcaption",value:p}))}},{attributes:h,save:function(t){var n=t.attributes,u=n.url,s=n.alt,h=n.caption,o=n.align,f=n.href,p=n.width,b=n.height,y=n.id,E=(0,l.createElement)("img",{src:u,alt:s,className:y?"wp-image-"+y:null,width:p,height:b});return(0,l.createElement)("figure",{className:o?"align"+o:null},f?(0,l.createElement)("a",{href:f},E):E,!c.RichText.isEmpty(h)&&(0,l.createElement)(c.RichText.Content,{tagName:"figcaption",value:h}))}},{attributes:h,save:function(t){var u=t.attributes,s=u.url,h=u.alt,o=u.caption,f=u.align,p=u.href,b=u.width,y=u.height,E=b||y?{width:b,height:y}:{},v=(0,l.createElement)("img",(0,n.default)({src:s,alt:h},E)),w={};return b?w={width:b}:'left'!==f&&'right'!==f||(w={maxWidth:'50%'}),(0,l.createElement)("figure",{className:f?"align"+f:null,style:w},p?(0,l.createElement)("a",{href:p},v):v,!c.RichText.isEmpty(o)&&(0,l.createElement)(c.RichText.Content,{tagName:"figcaption",value:o}))}}];e.default=o},2427,[5,946,24,66,1716,1073]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ImageEdit=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),p=t(r(d[7])),h=t(r(d[8])),f=t(r(d[9])),S=t(r(d[10])),b=r(d[11]),v=r(d[12]),y=r(d[13]),U=r(d[14]),I=r(d[15]),k=r(d[16]),P=r(d[17]),E=r(d[18]),_=r(d[19]),A=r(d[20]),M=r(d[21]),C=t(r(d[22])),O=r(d[23]),L=r(d[24]);function w(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function F(t){for(var n=1;n a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,__experimentalBorder:{radius:!0}},editorStyle:"wp-block-image-editor",style:"wp-block-image"}},2432,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f,o=t.attributes,h=o.url,v=o.alt,E=o.caption,p=o.align,N=o.href,k=o.rel,_=o.linkClass,w=o.width,y=o.height,z=o.id,P=o.linkTarget,T=o.sizeSlug,b=o.title,x=(0,c.isEmpty)(k)?void 0:k,B=(0,s.default)((f={},(0,n.default)(f,"align"+p,p),(0,n.default)(f,"size-"+T,T),(0,n.default)(f,'is-resized',w||y),f)),C=(0,l.createElement)("img",{src:h,alt:v,className:z?"wp-image-"+z:null,width:w,height:y,title:b}),R=(0,l.createElement)(l.Fragment,null,N?(0,l.createElement)("a",{className:_,href:N,target:P,rel:x},C):C,!u.RichText.isEmpty(E)&&(0,l.createElement)(u.RichText.Content,{tagName:"figcaption",value:E}));if('left'===p||'right'===p||'center'===p)return(0,l.createElement)("div",u.useBlockProps.save(),(0,l.createElement)("figure",{className:B},R));return(0,l.createElement)("figure",u.useBlockProps.save({className:B}),R)};var l=r(d[1]),n=t(r(d[2])),s=t(r(d[3])),c=r(d[4]),u=r(d[5])},2433,[5,946,66,1716,1068,1073]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.stripFirstImage=u,e.default=void 0;var n=t(r(d[1])),o=r(d[2]),c=r(d[3]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function s(t){for(var o=1;o'+(0,n.__)('In quoting others, we cite ourselves.')+'

',citation:'Julio Cort\xe1zar',className:'is-style-large'}},styles:[{name:'default',label:(0,n._x)('Default','block style'),isDefault:!0},{name:'large',label:(0,n._x)('Large','block style')}],transforms:p.default,edit:c.default,save:f.default,merge:function(t,o){var n=o.value,l=o.citation;return l||(l=t.citation),v(v({},t),{},n&&'

'!==n?{value:t.value+n,citation:l}:{citation:l})},deprecated:u.default};e.settings=y},2445,[5,66,1027,1247,2446,2447,2448,2449,2450]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),c=r(d[3]),u=r(d[4]);function o(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);l&&(c=c.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,c)}return n}function s(t){for(var l=1;l"+o+"

",anchor:n})}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,n=t.citation,c=t.anchor;return(0,l.createBlock)('core/quote',{value:o,citation:n,anchor:c})}},{type:'prefix',prefix:'>',transform:function(t){return(0,l.createBlock)('core/quote',{value:"

"+t+"

"})}},{type:'raw',isMatch:function(t){var o,n=(o=!1,function(t){return'P'===t.nodeName||(o||'CITE'!==t.nodeName?void 0:(o=!0,!0))});return'BLOCKQUOTE'===t.nodeName&&Array.from(t.childNodes).every(n)},schema:function(t){var o=t.phrasingContentSchema;return{blockquote:{children:{p:{children:o},cite:{children:o}}}}}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,n=t.citation,p=[];return o&&'

'!==o&&p.push.apply(p,(0,c.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),n&&'

'!==n&&p.push((0,l.createBlock)('core/paragraph',{content:n})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.value,c=t.citation,p=(0,n.default)(t,["value","citation"]);if('

'===o)return(0,l.createBlock)('core/heading',{content:c});var h=(0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028"),s=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:h[0]})});if(!c&&1===h.length)return s;var v=h.slice(1);return[s,(0,l.createBlock)('core/quote',f(f({},p),{},{citation:c,value:(0,u.toHTMLString)({value:v.length?(0,u.join)(h.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,n=t.citation,c=t.anchor;return(0,l.createBlock)('core/pullquote',{value:o,citation:n,anchor:c})}}]};e.default=h},2450,[5,66,67,14,1223,1074]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return o.default}}),e.settings=e.name=void 0;var l=r(d[1]),s=r(d[2]),n=t(r(d[3])),u=t(r(d[4])),o=t(r(d[5])),_=t(r(d[6])),c=t(r(d[7])),f=o.default.name;e.name=f;var p={title:(0,l._x)('Gallery','block title'),description:(0,l.__)('Display multiple images in a rich gallery.'),icon:s.gallery,keywords:[(0,l.__)('images'),(0,l.__)('photos')],example:{attributes:{columns:2,images:[{url:'https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg'},{url:'https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg'}]}},transforms:c.default,edit:u.default,save:_.default,deprecated:n.default};e.settings=p},2451,[5,1027,1247,2452,2454,2465,2466,2467]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4]),s=r(d[5]),o=r(d[6]);function p(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);l&&(u=u.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,u)}return n}function b(t){for(var l=1;l0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))}},{attributes:{images:{type:'array',default:[],source:'query',selector:'ul.wp-block-gallery .blocks-gallery-item',query:{url:{source:'attribute',selector:'img',attribute:'src'},alt:{source:'attribute',selector:'img',attribute:'alt',default:''},id:{source:'attribute',selector:'img',attribute:'data-id'},link:{source:'attribute',selector:'img',attribute:'data-link'},caption:{type:'array',source:'children',selector:'figcaption'}}},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'}},isEligible:function(t){var l=t.images,n=t.ids;return l&&l.length>0&&(!n&&l||n&&l&&n.length!==l.length||(0,c.some)(l,function(t,l){return!t&&null!==n[l]||parseInt(t,10)!==n[l]}))},migrate:function(t){return b(b({},t),{},{ids:(0,c.map)(t.images,function(t){var l=t.id;return l?parseInt(l,10):null})})},supports:{align:!0},save:function(t){var n=t.attributes,u=n.images,c=n.columns,p=void 0===c?(0,o.defaultColumnsNumber)(n):c,b=n.imageCrop,f=n.linkTo;return(0,l.createElement)("ul",{className:"columns-"+p+" "+(b?'is-cropped':'')},u.map(function(t){var n;switch(f){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,t.caption&&t.caption.length>0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))}},{attributes:{images:{type:'array',default:[],source:'query',selector:'div.wp-block-gallery figure.blocks-gallery-image img',query:{url:{source:'attribute',attribute:'src'},alt:{source:'attribute',attribute:'alt',default:''},id:{source:'attribute',attribute:'data-id'}}},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'},align:{type:'string',default:'none'}},supports:{align:!0},save:function(t){var n=t.attributes,c=n.images,s=n.columns,p=void 0===s?(0,o.defaultColumnsNumber)(n):s,b=n.align,f=n.imageCrop,y=n.linkTo,k=(0,u.default)("columns-"+p,{alignnone:'none'===b,'is-cropped':f});return(0,l.createElement)("div",{className:k},c.map(function(t){var n;switch(y){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id});return(0,l.createElement)("figure",{key:t.id||t.url,className:"blocks-gallery-image"},n?(0,l.createElement)("a",{href:n},u):u)}))}}];e.default=f},2452,[5,946,66,1716,1068,1073,2453]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultColumnsNumber=function(l){return Math.min(3,l.images.length)},e.pickRelevantMediaFiles=void 0;var l=r(d[0]);e.pickRelevantMediaFiles=function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'large',n=(0,l.pick)(t,['alt','id','link','caption']);n.url=(0,l.get)(t,['sizes',u,'url'])||(0,l.get)(t,['media_details','sizes',u,'source_url'])||t.url;var s=(0,l.get)(t,['sizes','full','url'])||(0,l.get)(t,['media_details','sizes','full','source_url']);return s&&(n.fullUrl=s),n}},2453,[1068]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=r(d[7]),p=r(d[8]),v=r(d[9]),b=r(d[10]),_=r(d[11]),h=r(d[12]),E=r(d[13]),I=r(d[14]),w=r(d[15]),y=r(d[16]),O=t(r(d[17])),S=r(d[18]);function N(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function T(t){for(var n=1;n0&&(0,s.every)(R,function(t){var n=t.url;return(0,_.isBlobURL)(n)})){var t=(0,s.map)(R,function(t){var n=t.url;return(0,_.getBlobByURL)(n)});(0,s.forEach)(R,function(t){var n=t.url;return(0,_.revokeBlobURL)(n)}),D({filesList:t,onFileChange:te,allowedTypes:['image']})}},[]),(0,n.useEffect)(function(){f||H()},[f]),(0,n.useEffect)(function(){var t,n,o,l,u,c;G||(Y(),Z({linkTo:(null==(t=window)?void 0:null==(n=t.wp)?void 0:null==(o=n.media)?void 0:null==(l=o.view)?void 0:null==(u=l.settings)?void 0:null==(c=u.defaultProps)?void 0:c.link)||S.LINK_DESTINATION_NONE}))},[G]);var ne=!!R.length,re=(0,n.createElement)(v.MediaPlaceholder,{addToGallery:ne,isAppender:ne,disableMediaButtons:ne&&!f,icon:!ne&&w.sharedIcon,labels:{title:!ne&&(0,b.__)('Gallery'),instructions:!ne&&k},onSelect:te,accept:"image/*",allowedTypes:M,multiple:!0,value:R,onError:function(t){N.removeAllNotices(),N.createErrorNotice(t)},notices:ne?void 0:E,onFocus:L}),ie=(0,v.useBlockProps)();if(!ne)return(0,n.createElement)(I.View,ie,re);var oe=(0,s.map)((0,s.filter)(j,function(t){var n=t.slug;return(0,s.some)(z,function(t){return t[n]})}),function(t){var n=t.name;return{value:t.slug,label:n}}),ae=ne&&!(0,s.isEmpty)(oe);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.InspectorControls,null,(0,n.createElement)(p.PanelBody,{title:(0,b.__)('Gallery settings')},R.length>1&&(0,n.createElement)(p.RangeControl,(0,o.default)({label:(0,b.__)('Columns'),value:F,onChange:function(t){Z({columns:t})},min:1,max:Math.min(P,R.length)},A,{required:!0})),(0,n.createElement)(p.ToggleControl,{label:(0,b.__)('Crop images'),checked:!!U,onChange:function(){Z({imageCrop:!U})},help:function(t){return t?(0,b.__)('Thumbnails are cropped to align.'):(0,b.__)('Thumbnails are not cropped.')}}),(0,n.createElement)(p.SelectControl,{label:(0,b.__)('Link to'),value:G,onChange:function(t){Z({linkTo:t})},options:C}),ae&&(0,n.createElement)(p.SelectControl,{label:(0,b.__)('Image size'),value:K,options:oe,onChange:function(t){Z({images:(0,s.map)(R,function(n){if(!n.id)return n;var o=(0,s.get)(z,[parseInt(n.id,10),t]);return T(T({},n),o&&{url:o})}),sizeSlug:t})}}))),E,(0,n.createElement)(O.default,(0,o.default)({},t,{selectedImage:q,mediaPlaceholder:re,onMoveBackward:function(t){return function(){0!==t&&$(t,t-1)}},onMoveForward:function(t){return function(){t!==R.length-1&&$(t,t+1)}},onRemoveImage:function(t){return function(){var n=(0,s.filter)(R,function(n,o){return t!==o});H(),Z({images:n,columns:u.columns?Math.min(n.length,u.columns):u.columns})}},onSelectImage:function(t){return function(){H(t)}},onDeselectImage:function(){return function(){H()}},onSetImageAttributes:function(t,n){R[t]&&Z({images:[].concat((0,l.default)(R.slice(0,t)),[T(T({},R[t]),n)],(0,l.default)(R.slice(t+1)))})},onFocusGalleryCaption:function(){H()},blockProps:ie})))});e.default=D},2454,[5,946,24,14,66,36,1068,1116,1696,1073,1027,2435,1076,2331,1250,2455,2453,2457,2464]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.sharedIcon=void 0;var n=r(d[1]),t=o(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),f=o(r(d[6])),h=(0,c.withPreferredColorScheme)(function(o){var c=(0,o.getStylesFromColorScheme)(f.default.icon,f.default.iconDark);return(0,n.createElement)(l.Icon,(0,t.default)({icon:u.gallery},c))}),v=(0,n.createElement)(h,null);e.sharedIcon=v},2455,[5,946,24,1696,1116,1247,2456]); -__d(function(g,r,i,a,m,e,d){m.exports={icon:{fill:"#2e4453"},iconDark:{fill:"#fff"}}},2456,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Gallery=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),c=r(d[4]),s=t(r(d[5])),u=r(d[6]),f=t(r(d[7])),p=t(r(d[8])),v=r(d[9]),y=r(d[10]),S=r(d[11]),b=r(d[12]),k=r(d[13]).alignmentHelpers.isFullWidth,B=function(t){var B=(0,l.useState)(!1),I=(0,n.default)(B,2),E=I[0],_=I[1];(0,l.useEffect)(S.mediaUploadSync,[]);var h=(0,b.useSelect)(function(t){return!!t('core/block-editor').getSettings().isRTL},[]),w=t.clientId,C=t.selectedImage,F=t.mediaPlaceholder,M=t.onBlur,G=t.onMoveBackward,A=t.onMoveForward,L=t.onRemoveImage,R=t.onSelectImage,T=t.onSetImageAttributes,N=t.onFocusGalleryCaption,P=t.attributes,V=t.isSelected,W=t.isNarrow,$=t.onFocus,j=t.insertBlocksAfter,x=P.align,H=P.columns,O=void 0===H?(0,u.defaultColumnsNumber)(P):H,U=P.imageCrop,q=P.images,z=W?Math.min(O,2):Math.min(O,4),D=function(t){return function(){E&&_(!1),R(t)()}};return(0,l.createElement)(o.View,{style:{flex:1}},(0,l.createElement)(p.default,{columns:z,spacing:15,style:V?f.default.galleryTilesContainerSelected:void 0},q.map(function(t,n){var o=(0,v.sprintf)((0,v.__)('image %1$d of %2$d in gallery'),n+1,q.length);return(0,l.createElement)(s.default,{key:t.id||t.url,url:t.url,alt:t.alt,id:parseInt(t.id,10),isCropped:U,isFirstItem:0===n,isLastItem:n+1===q.length,isSelected:V&&C===n,isBlockSelected:V,onMoveBackward:G(n),onMoveForward:A(n),onRemove:L(n),onSelect:D(n),onSelectBlock:$,setAttributes:function(t){return T(n,t)},caption:t.caption,"aria-label":o,isRTL:h})})),(0,l.createElement)(o.View,{style:k(x)&&f.default.fullWidth},F),(0,l.createElement)(y.BlockCaption,{clientId:w,isSelected:E,accessible:!0,accessibilityLabelCreator:function(t){return(0,c.isEmpty)(t)?'Gallery caption. Empty':(0,v.sprintf)((0,v.__)('Gallery caption. %s'),t)},onFocus:function(){E||_(!0),N()},onBlur:M,insertBlocksAfter:j}))};e.Gallery=B;var I=B;e.default=I},2457,[5,946,36,25,1068,2458,2453,2461,2462,1027,1073,945,1076,1696]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),p=t(r(d[7])),h=r(d[8]),f=r(d[9]),S=r(d[10]),y=r(d[11]),b=r(d[12]),v=r(d[13]),C=r(d[14]),M=r(d[15]),U=r(d[16]),I=t(r(d[17])),P=t(r(d[18]));function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var F=h.StyleSheet.compose,w=F(P.default.separator,{borderRightWidth:h.StyleSheet.hairlineWidth}),E=F(P.default.button,{aspectRatio:1}),R=(function(t){(0,c.default)(_,t);var M,F,R=(M=_,F=k(),function(){var t,o=(0,p.default)(M);if(F){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,u.default)(this,t)});function _(){var t;return(0,l.default)(this,_),(t=R.apply(this,arguments)).onSelectImage=t.onSelectImage.bind((0,s.default)(t)),t.onSelectCaption=t.onSelectCaption.bind((0,s.default)(t)),t.onMediaPressed=t.onMediaPressed.bind((0,s.default)(t)),t.onCaptionChange=t.onCaptionChange.bind((0,s.default)(t)),t.onSelectMedia=t.onSelectMedia.bind((0,s.default)(t)),t.updateMediaProgress=t.updateMediaProgress.bind((0,s.default)(t)),t.finishMediaUploadWithSuccess=t.finishMediaUploadWithSuccess.bind((0,s.default)(t)),t.finishMediaUploadWithFailure=t.finishMediaUploadWithFailure.bind((0,s.default)(t)),t.renderContent=t.renderContent.bind((0,s.default)(t)),t.state={captionSelected:!1,isUploadInProgress:!1,didUploadFail:!1},t}return(0,n.default)(_,[{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onMediaPressed",value:function(){var t=this.props,o=t.id,l=t.url,n=t.isSelected,s=this.state,c=s.captionSelected,u=s.isUploadInProgress,p=s.didUploadFail;this.onSelectImage(),u?(0,S.requestImageUploadCancelDialog)(o):p||o&&'file:'===(0,C.getProtocol)(l)?(0,S.requestImageFailedRetryDialog)(o):n&&!c&&(0,S.requestImageFullscreenPreview)(l)}},{key:"onSelectImage",value:function(){this.props.isBlockSelected||this.props.onSelectBlock(),this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onSelectMedia",value:function(t){(0,this.props.setAttributes)(t)}},{key:"onCaptionChange",value:function(t){(0,this.props.setAttributes)({caption:t})}},{key:"componentDidUpdate",value:function(t){var o=this.props,l=o.isSelected,n=o.image,s=o.url;n&&!s&&this.props.setAttributes({url:n.source_url,alt:n.alt_text}),this.state.captionSelected&&!l&&t.isSelected&&this.setState({captionSelected:!1})}},{key:"updateMediaProgress",value:function(){this.state.isUploadInProgress||this.setState({isUploadInProgress:!0})}},{key:"finishMediaUploadWithSuccess",value:function(t){this.setState({isUploadInProgress:!1,didUploadFail:!1}),this.props.setAttributes({id:t.mediaServerId,url:t.mediaUrl})}},{key:"finishMediaUploadWithFailure",value:function(){this.setState({isUploadInProgress:!1,didUploadFail:!0})}},{key:"renderContent",value:function(t){var l=this.props,n=l.url,s=l.isFirstItem,c=l.isLastItem,u=l.isSelected,p=l.caption,f=l.onRemove,S=l.onMoveForward,C=l.onMoveBackward,M=l['aria-label'],k=l.isCropped,F=l.getStylesFromColorScheme,R=l.isRTL,_=this.state,W=_.isUploadInProgress,L=_.captionSelected,D=t.isUploadFailed,V=t.retryMessage,B=k?'cover':'contain',x=F(P.default.captionPlaceholder,P.default.captionPlaceholderDark),T=!D&&u,A=!D&&!u&&!!p,q=A?P.default.captionExpandedContainer:P.default.captionContainer,z=A?P.default.captionExpanded:P.default.caption,O=[{destructiveButton:!0,id:'removeImage',label:(0,b.__)('Remove'),onPress:f,separated:!0,value:'removeImage'}];return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y.Image,{alt:M,height:P.default.image.height,isSelected:u,isUploadFailed:D,isUploadInProgress:W,mediaPickerOptions:O,onSelectMediaUploadOption:this.onSelectMedia,resizeMode:B,url:n,retryMessage:V,retryIcon:U.warning}),!W&&u&&(0,o.createElement)(h.View,{style:P.default.toolbarContainer},(0,o.createElement)(h.View,{style:P.default.toolbar},(0,o.createElement)(h.View,{style:P.default.moverButtonContainer},(0,o.createElement)(I.default,{style:E,icon:R?U.arrowRight:U.arrowLeft,iconSize:15,onClick:s?void 0:C,accessibilityLabel:(0,b.__)('Move Image Backward'),"aria-disabled":s,disabled:!u}),(0,o.createElement)(h.View,{style:w}),(0,o.createElement)(I.default,{style:E,icon:R?U.arrowLeft:U.arrowRight,iconSize:15,onClick:c?void 0:S,accessibilityLabel:(0,b.__)('Move Image Forward'),"aria-disabled":c,disabled:!u})))),!W&&(T||A)&&(0,o.createElement)(h.View,{style:q},(0,o.createElement)(h.ScrollView,{nestedScrollEnabled:!0,keyboardShouldPersistTaps:"handled",bounces:!1},(0,o.createElement)(v.Caption,{inlineToolbar:!0,isSelected:L,onChange:this.onCaptionChange,onFocus:this.onSelectCaption,placeholder:u?(0,b.__)('Write caption\u2026'):null,placeholderTextColor:x.color,style:z,value:p}))))}},{key:"render",value:function(){var t=this.props,l=t.id,n=t.onRemove,s=t.getStylesFromColorScheme,c=t.isSelected,u=s(P.default.galleryImageContainer,P.default.galleryImageContainerDark);return(0,o.createElement)(h.TouchableWithoutFeedback,{onPress:this.onMediaPressed,accessible:!c,accessibilityLabel:this.accessibilityLabelImageContainer(),accessibilityRole:'imagebutton'},(0,o.createElement)(h.View,{style:u},(0,o.createElement)(v.MediaUploadProgress,{mediaId:l,onUpdateMediaProgress:this.updateMediaProgress,onFinishMediaUploadWithSuccess:this.finishMediaUploadWithSuccess,onFinishMediaUploadWithFailure:this.finishMediaUploadWithFailure,onMediaUploadStateReset:n,renderContent:this.renderContent})))}},{key:"accessibilityLabelImageContainer",value:function(){var t=this.props,o=t.caption,l=t['aria-label'];return(0,f.isEmpty)(o)?l:l+'. '+(0,b.sprintf)((0,b.__)('Image caption. %s'),o)}}]),_})(o.Component),_=(0,M.withPreferredColorScheme)(R);e.default=_},2458,[5,946,7,42,60,57,59,56,25,1068,945,1696,1027,1073,1043,1116,1247,2459,2460]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Button=s,e.default=void 0;var l=r(d[1]),o=r(d[2]),c=r(d[3]),n=t(r(d[4]));function s(t){var s=t.icon,u=t.iconSize,b=void 0===u?24:u,f=t.onClick,v=t.disabled,y=t['aria-disabled'],p=t.accessibilityLabel,_=void 0===p?'button':p,O=t.style,S=o.StyleSheet.compose(n.default.buttonActive,O),h=v||y,z=(h?n.default.buttonDisabled:n.default.button).fill;return(0,l.createElement)(o.TouchableOpacity,{style:S,activeOpacity:.7,accessibilityLabel:_,accessibilityRole:'button',onPress:f,disabled:h},(0,l.createElement)(c.Icon,{icon:s,fill:z,size:b}))}var u=s;e.default=u},2459,[5,946,25,1696,2460]); -__d(function(g,r,i,a,m,e,d){m.exports={galleryImageContainer:{flexGrow:1,flexShrink:1,flexBasis:0,height:150,overflow:"hidden",backgroundColor:"#e9eff3"},galleryImageContainerDark:{backgroundColor:"#1d2327"},image:{height:"100%"},button:{fill:"#f6f7f7",width:30},buttonDisabled:{fill:"#8e9196"},buttonActive:{flexDirection:"row",justifyContent:"center",alignItems:"center",borderRadius:6,borderColor:"#3c434a",backgroundColor:"#3c434a"},moverButtonContainer:{flexDirection:"row",alignItems:"center",borderRadius:3,backgroundColor:"#3c434a"},separator:{borderRightColor:"#8e9196",borderRightWidth:1,height:20},toolbarContainer:{position:"absolute"},toolbar:{paddingTop:5,paddingRight:5,paddingBottom:5,paddingLeft:5,flexDirection:"row",justifyContent:"space-between"},captionContainer:{flexGrow:1,flexShrink:1,flexBasis:0,flexDirection:"row",alignItems:"flex-end",position:"absolute",bottom:2,left:2,right:2,top:45},caption:{fontSize:12,backgroundColor:"rgba(0, 0, 0, 0.4)",color:"#fff",fontFamily:"Noto Serif",textAlign:"center",paddingTop:8,paddingBottom:8},captionPlaceholder:{color:"#ccc"},captionExpandedContainer:{maxHeight:150,position:"absolute",bottom:0,left:0,right:0,paddingTop:8,paddingBottom:10,paddingLeft:2,paddingRight:2,backgroundColor:"rgba(0, 0, 0, 0.4)"},captionExpanded:{fontSize:12,backgroundColor:"#0000",color:"#fff",fontFamily:"Noto Serif",textAlign:"center"}}},2460,[]); -__d(function(g,r,i,a,m,e,d){m.exports={galleryTilesContainerSelected:{marginBottom:16},fullWidth:{marginLeft:16,marginRight:16}}},2461,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=r(d[2]),o=t(r(d[3]));var u=function(t){var u=t.columns,c=t.children,f=t.spacing,p=void 0===f?10:f,h=t.style,v=l.StyleSheet.compose,s=n.Children.count(c)-1,y=Math.floor(s/u),S=n.Children.map(c,function(t,c){var f=Math.floor(c/u),h=f===y?s%u+1:u,v=c%u;return(0,n.createElement)(l.View,{style:[o.default.tileStyle,{width:100/h+"%",paddingLeft:p*(v/h),paddingRight:p*(1-(v+1)/h),paddingTop:0===f?0:p/2,paddingBottom:f===y?0:p/2}]},t)}),_=v(o.default.containerStyle,h);return(0,n.createElement)(l.View,{style:_},S)};e.default=u},2462,[5,946,25,2463]); -__d(function(g,r,i,a,m,e,d){m.exports={containerStyle:{flexDirection:"row",flexWrap:"wrap"},tileStyle:{overflow:"hidden",flexDirection:"row",alignItems:"center",borderColor:"transparent"}}},2463,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LINK_DESTINATION_ATTACHMENT=e.LINK_DESTINATION_MEDIA=e.LINK_DESTINATION_NONE=void 0;e.LINK_DESTINATION_NONE='none';e.LINK_DESTINATION_MEDIA='file';e.LINK_DESTINATION_ATTACHMENT='post'},2464,[]); -__d(function(t,e,r,i,l,a,s){l.exports={apiVersion:2,name:"core/gallery",category:"media",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"}},2465,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){var u=s.attributes,o=u.images,p=u.columns,N=void 0===p?(0,c.defaultColumnsNumber)(u):p,f=u.imageCrop,E=u.caption,T=u.linkTo,k="columns-"+N+" "+(f?'is-cropped':'');return(0,l.createElement)("figure",t.useBlockProps.save({className:k}),(0,l.createElement)("ul",{className:"blocks-gallery-grid"},o.map(function(c){var s;switch(T){case n.LINK_DESTINATION_MEDIA:s=c.fullUrl||c.url;break;case n.LINK_DESTINATION_ATTACHMENT:s=c.link}var u=(0,l.createElement)("img",{src:c.url,alt:c.alt,"data-id":c.id,"data-full-url":c.fullUrl,"data-link":c.link,className:c.id?"wp-image-"+c.id:null});return(0,l.createElement)("li",{key:c.id||c.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,s?(0,l.createElement)("a",{href:s},u):u,!t.RichText.isEmpty(c.caption)&&(0,l.createElement)(t.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:c.caption})))})),!t.RichText.isEmpty(E)&&(0,l.createElement)(t.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:E}))};var l=r(d[0]),t=r(d[1]),c=r(d[2]),n=r(d[3])},2466,[946,1073,2453,2464]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=r(d[4]),l=function(t){return t?t.split(',').map(function(t){return parseInt(t,10)}):[]},s={from:[{type:'block',isMultiBlock:!0,blocks:['core/image'],transform:function(o){var u=o[0],c=u.align,l=u.sizeSlug;c=(0,t.every)(o,['align',c])?c:void 0,l=(0,t.every)(o,['sizeSlug',l])?l:void 0;var s=(0,t.filter)(o,function(t){return t.url});return(0,n.createBlock)('core/gallery',{images:s.map(function(n){var o=n.id,u=n.url,c=n.alt,l=n.caption;return{id:(0,t.toString)(o),url:u,alt:c,caption:l}}),ids:s.map(function(t){var n=t.id;return parseInt(n,10)}),align:c,sizeSlug:l})}},{type:'shortcode',tag:'gallery',attributes:{images:{type:'array',shortcode:function(n){var o=n.named.ids;return l(o).map(function(n){return{id:(0,t.toString)(n)}})}},ids:{type:'array',shortcode:function(t){var n=t.named.ids;return l(n)}},columns:{type:'number',shortcode:function(t){var n=t.named.columns;return parseInt(void 0===n?'3':n,10)}},linkTo:{type:'string',shortcode:function(t){var n=t.named.link;return void 0===n?c.LINK_DESTINATION_ATTACHMENT:n}}},isMatch:function(t){return void 0!==t.named.ids}},{type:'files',isMatch:function(n){return 1!==n.length&&(0,t.every)(n,function(t){return 0===t.type.indexOf('image/')})},transform:function(t){return(0,n.createBlock)('core/gallery',{images:t.map(function(t){return(0,u.pickRelevantMediaFiles)({url:(0,o.createBlobURL)(t)})})})}}],to:[{type:'block',blocks:['core/image'],transform:function(t){var o=t.images,u=t.align,c=t.sizeSlug,l=t.ids;return o.length>0?o.map(function(t,o){var s=t.url,f=t.alt,p=t.caption;return(0,n.createBlock)('core/image',{id:l[o],url:s,alt:f,caption:p,align:u,sizeSlug:c})}):(0,n.createBlock)('core/image',{align:u})}}]};e.default=s},2467,[1068,1223,2435,2453,2464]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),c=t(r(d[4])),s=l.default.name;e.name=s;var u={title:(0,o._x)('Archives','block title'),description:(0,o.__)('Display a monthly archive of your posts.'),icon:n.archive,example:{},edit:c.default};e.settings=u},2468,[5,1247,1027,2469,2470]); -__d(function(e,o,t,s,a,i,r){a.exports={apiVersion:2,name:"core/archives",category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"}},2469,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u=t.attributes,p=t.setAttributes,_=u.showPostCounts,h=u.displayAsDropdown;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.InspectorControls,null,(0,n.createElement)(o.PanelBody,{title:(0,l.__)('Archives settings')},(0,n.createElement)(o.ToggleControl,{label:(0,l.__)('Display as dropdown'),checked:h,onChange:function(){return p({displayAsDropdown:!h})}}),(0,n.createElement)(o.ToggleControl,{label:(0,l.__)('Show post counts'),checked:_,onChange:function(){return p({showPostCounts:!_})}}))),(0,n.createElement)("div",(0,s.useBlockProps)(),(0,n.createElement)(o.Disabled,null,(0,n.createElement)(c.default,{block:"core/archives",attributes:u}))))};var n=r(d[1]),o=r(d[2]),l=r(d[3]),s=r(d[4]),c=t(r(d[5]))},2470,[5,946,1696,1027,1073,2471]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),u=t(r(d[3])),c=t(r(d[4])),f=r(d[5]),l=t(r(d[6])),p=t(r(d[7]));function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function w(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,P.addQueryArgs)("/wp/v2/block-renderer/"+t,S(S({context:'edit'},null!==n?{attributes:n}:{}),o))}var j=(function(t){(0,c.default)(b,t);var f,v,P=(f=b,v=O(),function(){var t,n=(0,p.default)(f);if(v){var o=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,u.default)(this,t)});function b(t){var n;return(0,s.default)(this,b),(n=P.call(this,t)).state={response:null},n}return(0,l.default)(b,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=(0,h.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(t){(0,h.isEqual)(t,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(t){var n=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var o=t.block,s=t.attributes,l=void 0===s?null:s,c=t.httpMethod,u=void 0===c?'GET':c,p=t.urlQueryArgs,f='POST'===u,h=R(o,f?null:l,void 0===p?{}:p),v=f?{attributes:l}:null,P=this.currentFetchRequest=(0,y.default)({path:h,data:v,method:f?'POST':'GET'}).then(function(t){n.isStillMounted&&P===n.currentFetchRequest&&t&&n.setState({response:t.rendered})}).catch(function(t){n.isStillMounted&&P===n.currentFetchRequest&&n.setState({response:{error:!0,errorMsg:t.message}})});return P}}},{key:"render",value:function(){var t=this.state.response,s=this.props,l=s.className,c=s.EmptyResponsePlaceholder,u=s.ErrorResponsePlaceholder,p=s.LoadingResponsePlaceholder;return''===t?(0,n.createElement)(c,(0,o.default)({response:t},this.props)):t?t.error?(0,n.createElement)(u,(0,o.default)({response:t},this.props)):(0,n.createElement)(n.RawHTML,{key:"html",className:l},t):(0,n.createElement)(p,(0,o.default)({response:t},this.props))}}]),b})(n.Component);e.ServerSideRender=j,j.defaultProps={EmptyResponsePlaceholder:function(t){var o=t.className;return(0,n.createElement)(b.Placeholder,{className:o},(0,v.__)('Block rendered as empty.'))},ErrorResponsePlaceholder:function(t){var o=t.response,s=t.className,l=(0,v.sprintf)((0,v.__)('Error loading block: %s'),o.errorMsg);return(0,n.createElement)(b.Placeholder,{className:s},l)},LoadingResponsePlaceholder:function(t){var o=t.className;return(0,n.createElement)(b.Placeholder,{className:o},(0,n.createElement)(b.Spinner,null))}};var k=j;e.default=k},2472,[5,946,24,7,42,57,59,56,66,1068,1027,1026,1043,1696]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),u=t(r(d[3])),_=t(r(d[4])),l=t(r(d[5])),s=t(r(d[6])),c=t(r(d[7])),f=l.default.name;e.name=f;var p={title:(0,n._x)('Audio','block title'),description:(0,n.__)('Embed a simple audio player.'),keywords:[(0,n.__)('music'),(0,n.__)('sound'),(0,n.__)('podcast'),(0,n.__)('recording')],icon:o.audio,transforms:c.default,deprecated:u.default,edit:_.default,save:s.default};e.settings=p},2473,[5,1027,1247,2474,2475,2477,2478,2479]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),u=[{attributes:{src:{type:'string',source:'attribute',selector:'audio',attribute:'src'},caption:{type:'string',source:'html',selector:'figcaption'},id:{type:'number'},autoplay:{type:'boolean',source:'attribute',selector:'audio',attribute:'autoplay'},loop:{type:'boolean',source:'attribute',selector:'audio',attribute:'loop'},preload:{type:'string',source:'attribute',selector:'audio',attribute:'preload'}},supports:{align:!0},save:function(u){var l=u.attributes,c=l.autoplay,s=l.caption,n=l.loop,p=l.preload,b=l.src;return(0,t.createElement)("figure",null,(0,t.createElement)("audio",{controls:"controls",src:b,autoPlay:c,loop:n,preload:p}),!o.RichText.isEmpty(s)&&(0,t.createElement)(o.RichText.Content,{tagName:"figcaption",value:s}))}}];e.default=u},2474,[946,1073]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),s=r(d[5]),u=r(d[6]),p=r(d[7]),f=r(d[8]),_=r(d[9]),E=r(d[10]),b=t(r(d[11])),v=['audio'];var y=(0,p.withNotices)(function(t){var y=t.attributes,h=t.noticeOperations,M=t.setAttributes,C=t.isSelected,S=t.noticeUI,U=t.insertBlocksAfter,B=t.onFocus,P=t.onBlur,A=t.clientId,F=y.id,k=y.autoplay,I=y.loop,T=y.preload,w=y.src,N=(0,o.useState)(!1),R=(0,l.default)(N,2),L=R[0],O=R[1],W=function(t){var o=t.mediaId,n=t.mediaUrl;M({id:o,src:n})},V=function(){G((0,_.__)('Error'))};function j(t){return function(o){M((0,n.default)({},t,o))}}function G(t){h.removeAllNotices(),h.createErrorNotice(t)}function q(t){t&&t.url?M({src:t.url,id:t.id}):M({src:void 0,id:void 0})}if(!w)return(0,o.createElement)(u.View,null,(0,o.createElement)(f.MediaPlaceholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:E.audio}),onSelect:q,onSelectURL:function(){},accept:"audio/*",allowedTypes:v,value:y,notices:S,onError:G,onFocus:B}));function x(t){return(0,o.createElement)(f.BlockControls,null,(0,o.createElement)(p.ToolbarGroup,null,(0,o.createElement)(p.ToolbarButton,{title:(0,_.__)('Replace audio'),icon:E.replace,onClick:t})))}function z(t,n){return(0,o.createElement)(f.MediaUploadProgress,{mediaId:F,onUpdateMediaProgress:this.updateMediaProgress,onFinishMediaUploadWithSuccess:W,onFinishMediaUploadWithFailure:V,onMediaUploadStateReset:W,containerStyle:b.default.progressContainer,progressBarStyle:b.default.progressBar,spinnerStyle:b.default.spinner,renderContent:function(l){var c=l.isUploadInProgress,s=l.isUploadFailed,u=l.retryMessage;return(0,o.createElement)(o.Fragment,null,!L&&x(t),n(),(0,o.createElement)(p.AudioPlayer,{isUploadInProgress:c,isUploadFailed:s,retryMessage:u,attributes:y,isSelected:C}))}})}return(0,o.createElement)(c.TouchableWithoutFeedback,{accessible:!C,onPress:function(){O(!1)},disabled:!C},(0,o.createElement)(u.View,null,(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(p.PanelBody,{title:(0,_.__)('Audio settings')},(0,o.createElement)(p.ToggleControl,{label:(0,_.__)('Autoplay'),onChange:j('autoplay'),checked:k}),(0,o.createElement)(p.ToggleControl,{label:(0,_.__)('Loop'),onChange:j('loop'),checked:I}),(0,o.createElement)(p.SelectControl,{label:(0,_.__)('Preload'),value:T||'',onChange:function(t){return M({preload:t||void 0})},options:[{value:'',label:(0,_.__)('Browser default')},{value:'auto',label:(0,_.__)('Auto')},{value:'metadata',label:(0,_.__)('Metadata')},{value:'none',label:(0,_.__)('None')}]}))),(0,o.createElement)(f.MediaUpload,{allowedTypes:v,isReplacingMedia:!0,onSelect:q,render:function(t){return z(t.open,t.getMediaOptions)}}),(0,o.createElement)(f.BlockCaption,{accessible:!0,accessibilityLabelCreator:function(t){return(0,s.isEmpty)(t)?(0,_.__)('Audio caption. Empty'):(0,_.sprintf)((0,_.__)('Audio caption. %s'),t)},clientId:A,isSelected:L,onFocus:function(){L||O(!0)},onBlur:P,insertBlocksAfter:U})))});e.default=y},2475,[5,946,66,36,25,1068,1250,1696,1073,1027,1247,2476]); -__d(function(g,r,i,a,m,e,d){m.exports={progressContainer:{borderRadius:4,overflow:"hidden"},progressBar:{height:4,marginBottom:-4},spinner:{height:4}}},2476,[]); -__d(function(t,e,o,r,a,i,u){a.exports={apiVersion:2,name:"core/audio",category:"media",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"}},2477,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var c=l.attributes,n=c.autoplay,u=c.caption,p=c.loop,s=c.preload,f=c.src;return f&&(0,t.createElement)("figure",o.useBlockProps.save(),(0,t.createElement)("audio",{controls:"controls",src:f,autoPlay:n,loop:p,preload:s}),!o.RichText.isEmpty(u)&&(0,t.createElement)(o.RichText.Content,{tagName:"figcaption",value:u}))};var t=r(d[0]),o=r(d[1])},2478,[946,1073]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),n={from:[{type:'files',isMatch:function(t){return 1===t.length&&0===t[0].type.indexOf('audio/')},transform:function(n){var u=n[0];return(0,o.createBlock)('core/audio',{src:(0,t.createBlobURL)(u)})}},{type:'shortcode',tag:'audio',attributes:{src:{type:'string',shortcode:function(t){var o=t.named,n=o.src,u=o.mp3,c=o.m4a,s=o.ogg,p=o.wav,f=o.wma;return n||u||c||s||p||f}},loop:{type:'string',shortcode:function(t){return t.named.loop}},autoplay:{type:'string',shortcode:function(t){return t.named.autoplay}},preload:{type:'string',shortcode:function(t){return t.named.preload}}}}]};e.default=n},2479,[2435,1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=t(r(d[1])),o=r(d[2]),l=r(d[3]),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),f=t(r(d[7]));function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function p(t){for(var o=1;o0?A+V+j:0,N=F||!F&&y&&''!==y?40:I,H=F||!F&&y&&''!==y?'':b||(0,S.__)('Add text\u2026'),G=this.getBackgroundColor(),U=this.getTextColor();return(0,n.createElement)(p.View,{onLayout:this.onLayout},this.getPlaceholderWidth(H),(0,n.createElement)(B.default,{borderRadiusValue:A,backgroundColor:G,isSelected:s},s&&(0,n.createElement)(p.View,{pointerEvents:"none",style:[R.default.outline,{borderRadius:D,borderColor:G}]}),(0,n.createElement)(v.RichText,{setRef:this.setRef,placeholder:H,value:y,onChange:this.onChangeText,style:L(L({},_.richText),{},{color:U}),textAlign:w,placeholderTextColor:R.default.placeholderTextColor.color,identifier:"text",tagName:"p",minWidth:N,maxWidth:P,id:u,isSelected:F,withoutInteractiveFormatting:!0,unstableOnFocus:function(){return t.onToggleButtonFocus(!0)},__unstableMobileNoFocusOnMount:!s,selectionColor:U,onBlur:function(){t.onSetMaxWidth()},onReplace:c,onRemove:this.onRemove,onMerge:h})),s&&(0,n.createElement)(v.BlockControls,null,(0,n.createElement)(k.ToolbarGroup,null,(0,n.createElement)(k.ToolbarButton,{title:(0,S.__)('Edit link'),icon:x.link,onClick:this.onShowLinkSettings,isActive:W}))),this.getLinkSettings(!1),(0,n.createElement)(C.default,this.props),(0,n.createElement)(v.InspectorControls,null,(0,n.createElement)(k.PanelBody,{title:(0,S.__)('Border Settings')},(0,n.createElement)(k.RangeControl,{label:(0,S.__)('Border Radius'),minimumValue:0,maximumValue:50,value:A,onChange:this.onChangeBorderRadius})),(0,n.createElement)(k.PanelBody,{title:(0,S.__)('Link Settings')},this.getLinkSettings(!0))))}}]),W})(n.Component),P=(0,b.compose)([b.withInstanceId,v.withGradient,(0,v.withColors)('backgroundColor',{textColor:'color'}),(0,y.withSelect)(function(t,n){var o=n.clientId,l=t('core/edit-post').isEditorSidebarOpened,s=t('core/block-editor'),u=s.getSelectedBlockClientId,c=s.getBlockCount,h=s.getBlockRootClientId,f=(0,s.getSettings)().maxWidth,p=h(o),b=u(),S=c(p);return{selectedId:b,editorSidebarOpened:l(),numOfButtons:S,maxWidth:f}}),(0,y.withDispatch)(function(t){return{closeSettingsBottomSheet:function(){t('core/edit-post').closeGeneralSidebar()}}})])(E);e.default=P},2482,[5,946,66,7,42,60,57,59,56,25,1116,1027,1073,1696,1076,1247,2483,2484,2485,2486,2487,2488]); -__d(function(g,r,i,a,m,e,d){m.exports={richTextWrapper:{overflow:"visible",alignSelf:"flex-start"},outline:{borderLeftWidth:1,borderRightWidth:1,borderTopWidth:1,borderBottomWidth:1,position:"absolute",left:-5,right:-5,top:-5,bottom:-5},linearGradient:{position:"absolute",left:0,right:0,top:0,bottom:0},defaultButton:{borderRadius:4,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:4,borderWidth:1,marginTop:32,marginRight:32,marginBottom:32,marginLeft:32,backgroundColor:"#595959",color:"#fff"},clearLinkButton:{color:"#d94f4f"},placeholderTextColor:{color:"rgba(255, 255, 255, 0.43)"},placeholder:{fontFamily:"Noto Serif",minHeight:22,fontSize:16,display:"none"},linkSettingsPanel:{paddingLeft:0,paddingRight:0}}},2483,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),u=t(r(d[4]));var c=function(t){var c=t.children,s=t.borderRadiusValue,f=t.backgroundColor,b=o.colorsUtils.isGradient,v=[u.default.richTextWrapper,{borderRadius:s,backgroundColor:f}];return(0,l.createElement)(n.View,{style:v},b(f)&&(0,l.createElement)(o.Gradient,{gradientValue:f,angleCenter:{x:.5,y:.5},style:[u.default.linearGradient,{borderRadius:s}]}),c)};e.default=c},2484,[5,946,25,1696,2483]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=r(d[6]);function v(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function f(t){for(var o=1;o2&&void 0!==arguments[2]&&arguments[2],N=o.backgroundColor,O=o.textColor,p=o.gradient,A=o.style,B=(0,n.getColorClassName)('background-color',N),G=(0,n.__experimentalGetGradientClass)(p),V=(0,n.getColorClassName)('color',O),M=(0,t.default)(V,G,(f={},(0,l.default)(f,B,!(null==A?void 0:null==(c=A.color)?void 0:c.gradient)&&!!B),(0,l.default)(f,'has-text-color',O||(null==A?void 0:null==(v=A.color)?void 0:v.text)),(0,l.default)(f,'has-background',N||(null==A?void 0:null==(b=A.color)?void 0:b.background)||p||(null==A?void 0:null==(s=A.color)?void 0:s.gradient)),f)),P=(null==A?void 0:null==(C=A.color)?void 0:C.background)||(null==A?void 0:null==(k=A.color)?void 0:k.text)||(null==A?void 0:null==(x=A.color)?void 0:x.gradient)?{background:(null==A?void 0:null==(_=A.color)?void 0:_.gradient)?A.color.gradient:void 0,backgroundColor:(null==A?void 0:null==(y=A.color)?void 0:y.background)?A.color.background:void 0,color:(null==A?void 0:null==(h=A.color)?void 0:h.text)?A.color.text:void 0}:{};if(j){if(N){var q=(0,n.getColorObjectByAttributeValues)(u,N);P.backgroundColor=q.color}if(O){var w=(0,n.getColorObjectByAttributeValues)(u,O);P.color=w.color}}return{className:M||void 0,style:P}};var l=o(r(d[1])),t=o(r(d[2])),n=r(d[3])},2486,[5,66,1716,1073]); -__d(function(g,r,i,a,m,e,d){m.exports={richText:{marginTop:10,marginRight:16,marginBottom:10,marginLeft:16,backgroundColor:"transparent"}}},2487,[]); -__d(function(g,r,i,a,m,e,d){m.exports={richText:{backgroundColor:"transparent",paddingLeft:16,paddingRight:16,marginTop:10,marginRight:16,marginBottom:10,marginLeft:16}}},2488,[]); -__d(function(t,e,r,o,i,a,s){i.exports={apiVersion:2,name:"core/button",category:"design",parent:["core/buttons"],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},style:{type:"object"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,reusable:!1,__experimentalSelector:".wp-block-button > a"},editorStyle:"wp-block-button-editor",style:"wp-block-button"}},2489,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var s=t.attributes,f=t.className,p=s.borderRadius,O=s.linkTarget,y=s.rel,j=s.text,v=s.title,w=s.url,h=s.width,P=(0,u.default)(s),_=(0,c.default)('wp-block-button__link',P.className,{'no-border-radius':0===p}),k=b({borderRadius:p?p+'px':void 0},P.style),N=(0,c.default)(f,(0,o.default)({},"has-custom-width wp-block-button__width-"+h,h));return(0,n.createElement)("div",l.useBlockProps.save({className:N}),(0,n.createElement)(l.RichText.Content,{tagName:"a",className:_,href:w,title:v,style:k,value:j,target:O,rel:y}))};var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),l=r(d[4]),u=t(r(d[5]));function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function b(t){for(var n=1;n"]+\s*)$/m,'$1//$2')}},2502,[1068]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n={from:[{type:'enter',regExp:/^```$/,transform:function(){return(0,t.createBlock)('core/code')}},{type:'block',blocks:['core/html'],transform:function(n){var c=n.content;return(0,t.createBlock)('core/code',{content:c})}},{type:'raw',isMatch:function(t){return'PRE'===t.nodeName&&1===t.children.length&&'CODE'===t.firstChild.nodeName},schema:{pre:{children:{code:{children:{'#text':{}}}}}}}]};e.default=n},2503,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),p=t(r(d[7])),f=t(r(d[8])),_=c.default.name;e.name=_;var b={title:(0,n._x)('Columns','block title'),icon:o.columns,description:(0,n.__)('Add a block that displays content in multiple columns, then add whatever content blocks you\u2019d like.'),variations:p.default,example:{innerBlocks:[{name:'core/column',innerBlocks:[{name:'core/paragraph',attributes:{content:(0,n.__)('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.')}},{name:'core/image',attributes:{url:'https://s.w.org/images/core/5.3/Windbuchencom.jpg'}},{name:'core/paragraph',attributes:{content:(0,n.__)('Suspendisse commodo neque lacus, a dictum orci interdum et.')}}]},{name:'core/column',innerBlocks:[{name:'core/paragraph',attributes:{content:(0,n.__)('Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.')}},{name:'core/paragraph',attributes:{content:(0,n.__)('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.')}}]}]},deprecated:s.default,edit:u.default,save:l.default,transforms:f.default};e.settings=b},2504,[5,1027,1247,2505,2506,2513,2514,2507,2515]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),u=t(r(d[4])),c=r(d[5]),s=r(d[6]);function f(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function b(t){for(var o=1;o=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(n)}function v(t,o){if(t){if("string"==typeof t)return p(t,o);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,o):void 0}}function p(t,o){(null==o||o>t.length)&&(o=t.length);for(var n=0,l=new Array(o);nc,I=(v(f)||{}).verticalAlignment;if(A&&b){var W=(0,E.toWidthPrecision)(100/u),S=(0,E.getRedistributedColumnWidths)(B,100-W);B=[].concat((0,o.default)((0,E.getMappedColumnWidths)(B,S)),(0,o.default)((0,s.times)(u-c,function(){return(0,C.createBlock)('core/column',{width:W,verticalAlignment:I})})))}else if(A)B=[].concat((0,o.default)(B),(0,o.default)((0,s.times)(u-c,function(){return(0,C.createBlock)('core/column',{verticalAlignment:I})})));else if(B=(0,s.dropRight)(B,c-u),b){var w=(0,E.getRedistributedColumnWidths)(B,100);B=(0,E.getMappedColumnWidths)(B,w)}k(f,B)},onAddNextColumn:function(){var c=n.clientId,u=t('core/block-editor'),s=u.replaceInnerBlocks,f=u.selectBlock,k=l.select('core/block-editor'),h=k.getBlocks,p=(0,k.getBlockAttributes)(c).verticalAlignment,v=h(c),B=(0,C.createBlock)('core/column',{verticalAlignment:p});s(c,[].concat((0,o.default)(v),[B]),!0),f(B.clientId)},onDeleteBlock:function(){var l=n.clientId;(0,t('core/block-editor').removeBlock)(l)}}})(function(t){var l=t.attributes,o=t.updateAlignment,s=t.updateColumns,p=t.columnCount,C=t.isSelected,b=t.onDeleteBlock,U=t.innerColumns,O=t.updateInnerColumnWidth,R=t.editorSidebarOpened,x=(0,v.useResizeObserver)(),D=(0,c.default)(x,2),M=D[0],V=D[1],z=(0,n.useState)(y),F=(0,c.default)(z,2),N=F[0],H=F[1],T=Math.floor(u.Dimensions.get('window').width),j=(0,n.useContext)(k.GlobalStylesContext),G=l.verticalAlignment,L=l.align,q=(V||{}).width;(0,n.useEffect)(function(){0===p&&s(p,p||w)},[]),(0,n.useEffect)(function(){q&&(0,I.getColumnsInRow)(q,p)!==N&&H((0,I.getColumnsInRow)(q,p))},[q,p]);var J=(0,n.useMemo)(function(){return(0,I.getContentWidths)(N,q,p,U,j)},[q,N,p,U,j]),K=(0,n.useCallback)(function(){s(p,p+1)},[p]),Q=function(t,n,l){var o=(0,E.getWidthWithUnit)(t,n);O(o,l)},X=function(t,n,l){var o=parseFloat((0,E.getWidths)(U)[n]),c=(0,E.getWidthWithUnit)(o,t);O(c,l)},Y=function(t,n,l){!(0,E.isPercentageUnit)(n)&&n&&Q(t,n,l)};return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(h.InspectorControls,null,(0,n.createElement)(k.PanelBody,{title:(0,f.__)('Columns Settings')},(0,n.createElement)(k.RangeControl,{label:(0,f.__)('Number of columns'),icon:B.columns,value:p,onChange:function(t){return s(p,t)},min:y,max:p+1,type:"stepper"}),R&&C?U.map(function(t,l){var o=((0,k.getValueAndUnit)(t.attributes.width)||{}).valueUnit,c=void 0===o?'%':o;return(0,n.createElement)(k.UnitControl,{label:"Column "+(l+1),key:t.clientId+"-"+(0,E.getWidths)(U).length,min:1,max:(0,E.isPercentageUnit)(c)||!c?100:void 0,decimalNum:1,value:(0,E.getWidths)(U)[l],onChange:function(n){Y(n,c,t.clientId)},onUnitChange:function(n){return X(n,l,t.clientId)},onComplete:function(n){Q(n,c,t.clientId)},unit:c,units:E.CSS_UNITS,preview:(0,n.createElement)(W.default,{columnWidths:(0,E.getWidths)(U,!1),selectedColumnIndex:l})})}):null),(0,n.createElement)(k.PanelBody,null,(0,n.createElement)(k.FooterMessageControl,{label:(0,f.__)('Note: Column layout may vary between themes and screen sizes')}))),(0,n.createElement)(h.BlockControls,null,(0,n.createElement)(h.BlockVerticalAlignmentToolbar,{onChange:o,value:G})),(0,n.createElement)(u.View,{style:C&&A.default.innerBlocksSelected},M,q&&(0,n.createElement)(h.InnerBlocks,{renderAppender:function(){var t=q===T;return C?(0,n.createElement)(u.View,{style:(P(T,'mobile')||t)&&A.default.columnAppender},(0,n.createElement)(h.InnerBlocks.ButtonBlockAppender,{onAddBlock:K})):null},orientation:N>1?'horizontal':void 0,horizontal:!0,allowedBlocks:S,contentResizeMode:"stretch",onAddBlock:K,onDeleteBlock:1===p?b:void 0,blockWidth:q,contentStyle:J,parentWidth:_(L)&&0===p?T:(0,I.calculateContainerWidth)(q,N)})))}),O=function(t){var o=t.clientId,u=t.isSelected,f=(0,p.useSelect)(function(t){var n,l=t('core/block-editor'),c=l.getBlockCount,u=l.getBlock,f=l.getBlockParents,k=l.getBlockAttributes,h=t('core/edit-post').isEditorSidebarOpened,p=u(o),v=null==p?void 0:p.innerBlocks,C=(0,s.map)(v,function(t){return t.innerBlocks.length}),B=f(o,!0);return{columnCount:c(o),isDefaultColumns:!(0,s.compact)(C).length,innerColumns:v,hasParents:!!B.length,parentBlockAlignment:null==(n=k(B[0]))?void 0:n.align,editorSidebarOpened:h()}},[o]),k=f.columnCount,v=f.isDefaultColumns,C=f.innerColumns,B=void 0===C?[]:C,A=f.hasParents,E=f.parentBlockAlignment,I=f.editorSidebarOpened,W=(0,n.useState)(!1),S=(0,c.default)(W,2),w=S[0],y=S[1];return(0,n.useEffect)(function(){u&&v&&(0,s.delay)(function(){return y(!0)},100)},[]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(U,(0,l.default)({columnCount:k,innerColumns:B,hasParents:A,parentBlockAlignment:E,editorSidebarOpened:I},t)),(0,n.createElement)(h.BlockVariationPicker,{variations:b.default,onClose:function(){return y(!1)},clientId:o,isVisible:w}))};e.default=O},2506,[5,946,24,14,36,25,1068,1027,1696,1073,1076,1116,1223,1247,2507,2508,2509,2510,2511]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t=r(d[1]),l=r(d[2]),n=[{name:'one-column-full',title:(0,l.__)('100'),description:(0,l.__)('One column'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"})),innerBlocks:[['core/column']],scope:['block']},{name:'two-columns-equal',title:(0,l.__)('50 / 50'),description:(0,l.__)('Two columns; equal split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[['core/column'],['core/column']],scope:['block']},{name:'two-columns-one-third-two-thirds',title:(0,l.__)('30 / 70'),description:(0,l.__)('Two columns; one-third, two-thirds split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[['core/column',{width:'33.33%'}],['core/column',{width:'66.66%'}]],scope:['block']},{name:'two-columns-two-thirds-one-third',title:(0,l.__)('70 / 30'),description:(0,l.__)('Two columns; two-thirds, one-third split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[['core/column',{width:'66.66%'}],['core/column',{width:'33.33%'}]],scope:['block']},{name:'three-columns-equal',title:(0,l.__)('33 / 33 / 33'),description:(0,l.__)('Three columns; equal split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[['core/column'],['core/column'],['core/column']],scope:['block']},{name:'three-columns-wider-center',title:(0,l.__)('25 / 50 / 25'),description:(0,l.__)('Three columns; wide center column'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[['core/column',{width:'25%'}],['core/column',{width:'50%'}],['core/column',{width:'25%'}]],scope:['block']}];e.default=n},2507,[946,1696,1027]); -__d(function(g,r,i,a,m,e,d){m.exports={columnsContainer:{minWidth:32,marginLeft:16},innerBlocksSelected:{marginBottom:16},columnMargin:{marginTop:8,marginRight:8,marginBottom:8,marginLeft:8},columnAppender:{marginLeft:16,marginRight:16}}},2508,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getEffectiveColumnWidth=s,e.getTotalColumnsWidth=c,e.getColumnWidths=h,e.getRedistributedColumnWidths=function(t,n){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,o=c(t,u);return(0,l.mapValues)(h(t,u),function(t){var u=n*t/o;return f(u)})},e.hasExplicitPercentColumnWidths=function(t){return t.every(function(t){var n=t.attributes.width;return Number.isFinite((null==n?void 0:null==n.endsWith?void 0:n.endsWith('%'))?parseFloat(n):n)})},e.getMappedColumnWidths=function(t,n){return t.map(function(t){return(0,l.merge)({},t,{attributes:{width:n[t.clientId]}})})},e.getWidths=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.map(function(u){var l=u.attributes.width||100/t.length;return n?parseFloat(l):l})},e.getWidthWithUnit=function(t,n){t=0>parseFloat(t)?'0':t,b(n)&&(t=Math.min(t,100));return""+t+n},e.isPercentageUnit=b,e.CSS_UNITS=e.toWidthPrecision=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=r(d[3]),o=r(d[4]),v=r(d[5]),f=function(t){var n=parseFloat(t);return Number.isFinite(n)?parseFloat(n.toFixed(2)):void 0};function s(t,n){var u=t.attributes.width;return f(void 0===u?100/n:u)}function c(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length;return(0,l.sumBy)(t,function(t){return s(t,n)})}function h(t){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length;return t.reduce(function(t,o){var v=s(o,l);return(0,u.default)(t,(0,n.default)({},o.clientId,v))},{})}e.toWidthPrecision=f;var p='web'===v.Platform.OS,_=[{value:'%',label:p?'%':(0,o.__)('Percentage (%)'),default:''},{value:'px',label:p?'px':(0,o.__)('Pixels (px)'),default:''},{value:'em',label:p?'em':(0,o.__)('Relative to parent font size (em)'),default:''},{value:'rem',label:p?'rem':(0,o.__)('Relative to root font size (rem)'),default:''},{value:'vw',label:p?'vw':(0,o.__)('Viewport width (vw)'),default:''}];function b(t){return'%'===t}e.CSS_UNITS=_},2509,[5,66,24,1068,1027,946]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getContentWidths=e.calculateContainerWidth=e.getColumnsInRow=void 0;var n,o,u=r(d[1]),l=r(d[2]),c=t(r(d[3])),f=null==(n=c.default.columnsContainer)?void 0:n.minWidth,h=null==(o=c.default.columnsContainer)?void 0:o.marginLeft;e.getColumnsInRow=function(t,n){if(t)return t_?v[n]:0}).reduce(function(t,n){return t+n},0),R=N(C,t),w=N(n,t)/t,L=w;return c.forEach(function(l){var c=l.attributes,M=l.clientId,v=(0,u.convertUnitToMobile)({width:n},h,c.width||s[M]),E=v/n,A=v/T*R;if(1===o&&n>u.ALIGNMENT_BREAKPOINTS.medium)w=E*R;else if(t>1)if(n>u.ALIGNMENT_BREAKPOINTS.medium){if(A<=f?w=f:A>f&&(w=v/W*R),L=w,Math.round(T)Snow Patrol
'),align:'center'}}]},transforms:f.default,save:u.default,edit:s.default,deprecated:l.default};e.settings=p},2521,[5,1027,1247,2522,2524,2527,2528,2529]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=t(r(d[4])),s=r(d[5]),u=r(d[6]),p=r(d[7]),b=r(d[8]);function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function v(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:[]).some(function(n){return t.match(n)})};e.matchesPatterns=h;var P=function(t){var n;return null==(n=(0,f.getBlockVariations)(b))?void 0:n.find(function(n){var o=n.patterns;return h(t,o)})};e.findMoreSuitableBlock=P;var y=function(t){return t&&t.includes('class="wp-embedded-content"')};e.isFromWordPress=y;e.getPhotoHtml=function(t){var o=t.thumbnail_url||t.url,c=(0,n.createElement)("p",null,(0,n.createElement)("img",{src:o,alt:t.title,width:"100%"}));return(0,n.renderToString)(c)};e.createUpgradedEmbedBlock=function(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=t.preview,l=t.attributes,s=(l=void 0===l?{}:l).url,v=l.providerNameSlug,h=l.type;if(s&&(0,f.getBlockType)(b)){var O=P(s),w='wordpress'===v||h===c.WP_EMBED_TYPE;if(!w&&O&&(O.attributes.providerNameSlug!==v||!v))return(0,f.createBlock)(b,p({url:s},O.attributes));var E=null==(n=(0,f.getBlockVariations)(b))?void 0:n.find(function(t){return'wordpress'===t.name});if(E&&u&&y(u.html)&&!w)return(0,f.createBlock)(b,p(p({url:s},E.attributes),o))}};var O=function(t){var n=c.ASPECT_RATIOS.reduce(function(t,n){return t[n.className]=!1,t},{'wp-has-aspect-ratio':!1});return(0,l.default)(t,n)};function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return O(n);var o=document.implementation.createHTMLDocument('');o.body.innerHTML=t;var u=o.body.querySelector('iframe');if(u&&u.height&&u.width)for(var s=(u.width/u.height).toFixed(2),f=0;f=v.ratio)return(0,l.default)(O(n),v.className,'wp-has-aspect-ratio')}return n}e.removeAspectRatioClasses=O;var E=(0,s.default)(function(t,n,o,l){var s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!t)return{};var f={},v=t.type,p=void 0===v?'rich':v,b=t.html,h=t.provider_name,P=(0,u.kebabCase)((h||n).toLowerCase());return y(b)&&(p=c.WP_EMBED_TYPE),(b||'photo'===p)&&(f.type=p,f.providerNameSlug=P),f.className=w(b,o,l&&s),f});e.getAttributesFromPreview=E},2532,[5,946,66,2533,1068,2534,1029,1223,2535]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.WP_EMBED_TYPE=e.ASPECT_RATIOS=void 0;e.ASPECT_RATIOS=[{ratio:'2.33',className:'wp-embed-aspect-21-9'},{ratio:'2.00',className:'wp-embed-aspect-18-9'},{ratio:'1.78',className:'wp-embed-aspect-16-9'},{ratio:'1.33',className:'wp-embed-aspect-4-3'},{ratio:'1.00',className:'wp-embed-aspect-1-1'},{ratio:'0.56',className:'wp-embed-aspect-9-16'},{ratio:'0.50',className:'wp-embed-aspect-1-2'}];e.WP_EMBED_TYPE='wp-embed'},2533,[]); -__d(function(g,r,i,a,m,e,d){!(function(){'use strict';var n=(function(){function n(){}function t(n,t){for(var o=t.length,f=0;f0&&(0,n.createElement)(f.View,{style:[x,s.getStyleForAlignment(E)]},(0,n.createElement)(S.RichText,{withoutInteractiveFormatting:!0,__unstableMobileNoFocusOnMount:!0,rootTagsToEliminate:['p'],tagName:"p",textAlign:"center",minWidth:L,maxWidth:s.state.maxWidth,deleteEnter:!0,style:U.default.buttonText,value:_,placeholder:P,unstableOnFocus:function(){return s.setState({isButtonFocused:!0})},onBlur:function(){return s.setState({isButtonFocused:!1})},selectionColor:U.default.buttonText.color,placeholderTextColor:U.default.placeholderTextColor.color,underlineColorAndroid:"transparent",onChange:s.onChangeDownloadButtonText}))))}})}},{key:"render",value:function(){var t=this;return this.props.attributes.href?(0,n.createElement)(S.MediaUpload,{allowedTypes:[S.MEDIA_TYPE_ANY],isReplacingMedia:!0,onSelect:this.onSelectFile,render:function(n){var o=n.open,l=n.getMediaOptions;return t.getFileComponent(o,l)}}):(0,n.createElement)(S.MediaPlaceholder,{icon:(0,n.createElement)(S.BlockIcon,{icon:y.file}),labels:{title:(0,C.__)('File'),instructions:(0,C.__)('CHOOSE A FILE')},onSelect:this.onSelectFile,onFocus:this.props.onFocus,allowedTypes:[S.MEDIA_TYPE_ANY]})}}]),T})(n.Component);e.FileEdit=x;var T=(0,k.compose)([(0,F.withSelect)(function(t,n){var o=n.attributes,l=o.id,s=o.href,u=t('core/edit-post').isEditorSidebarOpened;return{media:l&&'file:'!==(0,w.getProtocol)(s)?t('core').getMedia(l):void 0,isSidebarOpened:u()}}),(0,F.withDispatch)(function(t){var n=t('core/edit-post').openGeneralSidebar;return{openSidebar:function(){return n('edit-post/block')}}}),k.withPreferredColorScheme])(x);e.default=T},2547,[5,946,24,7,42,60,57,59,56,25,945,1073,1696,1247,1027,1116,1076,1043,2548]); -__d(function(g,r,i,a,m,e,d){m.exports={container:{marginTop:2},defaultButton:{borderRadius:4,paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,marginTop:16,backgroundColor:"#595959"},buttonText:{backgroundColor:"transparent",color:"#fff",paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16,fontSize:16},disabledButton:{opacity:.45},uploadFailedText:{color:"#fff",fontSize:14,marginTop:5},retryContainer:{flexGrow:1,flexShrink:1,flexBasis:0,backgroundColor:"\"rgba(0, 0, 0, 0.5)\""},actionButton:{color:"#2271b1"},actionButtonDark:{color:"#5198d9"},dimmedActionButton:{color:"#2271b1",opacity:.45},dimmedActionButtonDark:{opacity:.45,color:"#5198d9"},errorContainer:{flexDirection:"row",alignItems:"center",paddingTop:4},errorIcon:{marginLeft:-4},uploadFailed:{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,color:"#d94f4f"},placeholderTextColor:{color:"rgba(255, 255, 255, 0.43)"},placeholder:{fontFamily:"Noto Serif",minHeight:22,fontSize:16,display:"none"}}},2548,[]); -__d(function(t,e,o,r,a,n,i){a.exports={apiVersion:2,name:"core/file",category:"media",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-file-editor",style:"wp-block-file"}},2549,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var l=o.attributes,c=l.href,u=l.fileName,f=l.textLinkHref,s=l.textLinkTarget,h=l.showDownloadButton,v=l.downloadButtonText;return c&&(0,t.createElement)("div",n.useBlockProps.save(),!n.RichText.isEmpty(u)&&(0,t.createElement)("a",{href:f,target:s,rel:!!s&&'noreferrer noopener'},(0,t.createElement)(n.RichText.Content,{value:u})),h&&(0,t.createElement)("a",{href:c,className:"wp-block-file__button",download:!0},(0,t.createElement)(n.RichText.Content,{value:v})))};var t=r(d[0]),n=r(d[1])},2550,[946,1073]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=r(d[0]),o=r(d[1]),t=r(d[2]),n=r(d[3]),f={from:[{type:'files',isMatch:function(c){return c.length>0},priority:15,transform:function(c){var n=[];return c.forEach(function(c){var f=(0,o.createBlobURL)(c);n.push((0,t.createBlock)('core/file',{href:f,fileName:c.name,textLinkHref:f}))}),n}},{type:'block',blocks:['core/audio'],transform:function(c){return(0,t.createBlock)('core/file',{href:c.src,fileName:c.caption,textLinkHref:c.src,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/video'],transform:function(c){return(0,t.createBlock)('core/file',{href:c.src,fileName:c.caption,textLinkHref:c.src,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/image'],transform:function(c){return(0,t.createBlock)('core/file',{href:c.url,fileName:c.caption,textLinkHref:c.url,id:c.id,anchor:c.anchor})}}],to:[{type:'block',blocks:['core/audio'],isMatch:function(o){var t=o.id;if(!t)return!1;var f=(0,(0,n.select)('core').getMedia)(t);return!!f&&(0,c.includes)(f.mime_type,'audio')},transform:function(c){return(0,t.createBlock)('core/audio',{src:c.href,caption:c.fileName,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/video'],isMatch:function(o){var t=o.id;if(!t)return!1;var f=(0,(0,n.select)('core').getMedia)(t);return!!f&&(0,c.includes)(f.mime_type,'video')},transform:function(c){return(0,t.createBlock)('core/video',{src:c.href,caption:c.fileName,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/image'],isMatch:function(o){var t=o.id;if(!t)return!1;var f=(0,(0,n.select)('core').getMedia)(t);return!!f&&(0,c.includes)(f.mime_type,'image')},transform:function(c){return(0,t.createBlock)('core/image',{url:c.href,caption:c.fileName,id:c.id,anchor:c.anchor})}}]};e.default=f},2551,[1068,2435,1223,1076]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var o=r(d[1]),n=r(d[2]),u=t(r(d[3])),l=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=l.default.name;e.name=f;var _={title:(0,o._x)('Custom HTML','block title'),description:(0,o.__)('Add custom HTML code and preview it as you edit.'),icon:n.html,keywords:[(0,o.__)('embed')],example:{attributes:{content:''+(0,o.__)('Welcome to the wonderful world of blocks\u2026')+''}},edit:u.default,save:s.default,transforms:c.default};e.settings=_},2552,[5,1027,1247,2553,2554,2555,2556]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var p=t.attributes,_=t.setAttributes,f=t.isSelected,v=(0,n.useState)(),E=(0,o.default)(v,2),h=E[0],y=E[1],k=(0,b.useSelect)(function(t){return["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat((0,l.default)((0,s.transformStyles)(t('core/block-editor').getSettings().styles)))},[]);return(0,n.createElement)("div",(0,s.useBlockProps)({className:'block-library-html__edit'}),(0,n.createElement)(s.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,null,(0,n.createElement)(u.ToolbarButton,{className:"components-tab-button",isPressed:!h,onClick:function(){y(!1)}},(0,n.createElement)("span",null,"HTML")),(0,n.createElement)(u.ToolbarButton,{className:"components-tab-button",isPressed:h,onClick:function(){y(!0)}},(0,n.createElement)("span",null,(0,c.__)('Preview'))))),(0,n.createElement)(u.Disabled.Consumer,null,function(t){return h||t?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.SandBox,{html:p.content,styles:k}),!f&&(0,n.createElement)("div",{className:"block-library-html__preview-overlay"})):(0,n.createElement)(s.PlainText,{value:p.content,onChange:function(t){return _({content:t})},placeholder:(0,c.__)('Write HTML\u2026'),"aria-label":(0,c.__)('HTML')})}))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),s=r(d[5]),u=r(d[6]),b=r(d[7])},2553,[5,946,14,36,1027,1073,1696,1076]); -__d(function(t,e,s,o,r,a,c){r.exports={apiVersion:2,name:"core/html",category:"widgets",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-html-editor"}},2554,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.content)};var t=r(d[0])},2555,[946]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t={from:[{type:'block',blocks:['core/code'],transform:function(t){var c=t.content;return(0,o.createBlock)('core/html',{content:c})}}]};e.default=t},2556,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return _.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=r(d[2]),o=t(r(d[3])),l=t(r(d[4])),_=t(r(d[5])),u=t(r(d[6])),c=t(r(d[7])),b=_.default.name;e.name=b;var f={title:(0,n._x)('Media & Text','block title'),description:(0,n.__)('Set media and words side-by-side for a richer layout.'),icon:s.mediaAndText,keywords:[(0,n.__)('image'),(0,n.__)('video')],example:{attributes:{mediaType:'image',mediaUrl:'https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg'},innerBlocks:[{name:'core/paragraph',attributes:{content:(0,n.__)('The wren
Earns his living
Noiselessly.')}},{name:'core/paragraph',attributes:{content:(0,n.__)('\u2014 Kobayashi Issa (\u4e00\u8336)')}}]},transforms:c.default,edit:l.default,save:u.default,deprecated:o.default};e.settings=f},2557,[5,1027,1247,2558,2564,2565,2566,2568]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),c=r(d[4]),s=r(d[5]),u=r(d[6]);function f(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,n)}return l}function b(t){for(var o=1;oAlice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • '}},transforms:b.default,merge:function(t,l){var n=l.values;return n&&'
  • '!==n?p(p({},t),{},{values:t.values+n}):t},edit:u.default,save:c.default};e.settings=v},2578,[5,66,1027,1247,2579,2581,2582,2583]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var s=t.attributes,O=t.setAttributes,h=t.mergeBlocks,v=t.onReplace,I=t.isSelected,R=s.ordered,T=s.values,k=s.type,C=s.reversed,E=s.start,S=R?'ol':'ul',j=(0,u.useBlockProps)();return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.RichText,(0,o.default)({identifier:"values",multiline:"li",__unstableMultilineRootTag:S,tagName:S,onChange:function(t){return O({values:t})},value:T,"aria-label":(0,l.__)('List text'),placeholder:(0,l.__)('Write list\u2026'),onMerge:h,onSplit:function(t){return(0,c.createBlock)(f.name,L(L({},s),{},{values:t}))},__unstableOnSplitMiddle:function(){return(0,c.createBlock)('core/paragraph')},onReplace:v,onRemove:function(){return v([])},start:E,reversed:C,type:k},j),function(t){var o=t.value,s=t.onChange,c=t.onFocus;return(0,n.createElement)(n.Fragment,null,I&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.RichTextShortcut,{type:"primary",character:"[",onUse:function(){s((0,b.__unstableOutdentListItems)(o))}}),(0,n.createElement)(u.RichTextShortcut,{type:"primary",character:"]",onUse:function(){s((0,b.__unstableIndentListItems)(o,{type:S}))}}),(0,n.createElement)(u.RichTextShortcut,{type:"primary",character:"m",onUse:function(){s((0,b.__unstableIndentListItems)(o,{type:S}))}}),(0,n.createElement)(u.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){s((0,b.__unstableOutdentListItems)(o))}})),(0,n.createElement)(u.BlockControls,null,(0,n.createElement)(_.ToolbarGroup,{controls:[{icon:(0,l.isRTL)()?p.formatListBulletsRTL:p.formatListBullets,title:(0,l.__)('Unordered'),describedBy:(0,l.__)('Convert to unordered list'),isActive:(0,b.__unstableIsActiveListType)(o,'ul',S),onClick:function(){s((0,b.__unstableChangeListType)(o,{type:'ul'})),c(),(0,b.__unstableIsListRootSelected)(o)&&O({ordered:!1})}},{icon:(0,l.isRTL)()?p.formatListNumberedRTL:p.formatListNumbered,title:(0,l.__)('Ordered'),describedBy:(0,l.__)('Convert to ordered list'),isActive:(0,b.__unstableIsActiveListType)(o,'ol',S),onClick:function(){s((0,b.__unstableChangeListType)(o,{type:'ol'})),c(),(0,b.__unstableIsListRootSelected)(o)&&O({ordered:!0})}},{icon:(0,l.isRTL)()?p.formatOutdentRTL:p.formatOutdent,title:(0,l.__)('Outdent'),describedBy:(0,l.__)('Outdent list item'),shortcut:(0,l._x)('Backspace','keyboard key'),isDisabled:!(0,b.__unstableCanOutdentListItems)(o),onClick:function(){s((0,b.__unstableOutdentListItems)(o)),c()}},{icon:(0,l.isRTL)()?p.formatIndentRTL:p.formatIndent,title:(0,l.__)('Indent'),describedBy:(0,l.__)('Indent list item'),shortcut:(0,l._x)('Space','keyboard key'),isDisabled:!(0,b.__unstableCanIndentListItems)(o),onClick:function(){s((0,b.__unstableIndentListItems)(o,{type:S})),c()}}]})))}),R&&(0,n.createElement)(y.default,{setAttributes:O,ordered:R,reversed:C,start:E}))};var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),l=r(d[4]),c=r(d[5]),u=r(d[6]),_=r(d[7]),b=r(d[8]),p=r(d[9]),f=r(d[10]),y=t(r(d[11]));function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function L(t){for(var n=1;n1?n:(0,c.replace)(n,/\n/g,c.__UNSTABLE_LINE_SEPARATOR)}),c.__UNSTABLE_LINE_SEPARATOR),multilineTag:'li'}),anchor:t.anchor})}},{type:'block',blocks:['core/quote','core/pullquote'],transform:function(t){var o=t.value,l=t.anchor;return(0,n.createBlock)('core/list',{values:(0,c.toHTMLString)({value:(0,c.create)({html:o,multilineTag:'p'}),multilineTag:'li'}),anchor:l})}},{type:'raw',selector:'ol,ul',schema:function(t){return{ol:s(t).ol,ul:s(t).ul}},transform:function(t){var o={ordered:'OL'===t.nodeName,anchor:''===t.id?void 0:t.id};if(o.ordered){var l=t.getAttribute('type');l&&(o.type=l),null!==t.getAttribute('reversed')&&(o.reversed=!0);var c=parseInt(t.getAttribute('start'),10);isNaN(c)||1===c&&!o.reversed||(o.start=c)}return(0,n.createBlock)('core/list',p(p({},(0,n.getBlockAttributes)('core/list',t.outerHTML)),o))}}].concat((0,o.default)(['*','-'].map(function(t){return{type:'prefix',prefix:t,transform:function(t){return(0,n.createBlock)('core/list',{values:"
  • "+t+"
  • "})}}})),(0,o.default)(['1.','1)'].map(function(t){return{type:'prefix',prefix:t,transform:function(t){return(0,n.createBlock)('core/list',{ordered:!0,values:"
  • "+t+"
  • "})}}}))),to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.values;return(0,c.split)((0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),c.__UNSTABLE_LINE_SEPARATOR).map(function(t){return(0,n.createBlock)('core/paragraph',{content:(0,c.toHTMLString)({value:t})})})}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.values;return(0,c.split)((0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),c.__UNSTABLE_LINE_SEPARATOR).map(function(t){return(0,n.createBlock)('core/heading',{content:(0,c.toHTMLString)({value:t})})})}},{type:'block',blocks:['core/quote'],transform:function(t){var o=t.values,l=t.anchor;return(0,n.createBlock)('core/quote',{value:(0,c.toHTMLString)({value:(0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),multilineTag:'p'}),anchor:l})}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.values,l=t.anchor;return(0,n.createBlock)('core/pullquote',{value:(0,c.toHTMLString)({value:(0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),multilineTag:'p'}),anchor:l})}}]};e.default=f},2583,[5,14,66,1223,1074]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=s.default.name;e.name=c;var f={name:c,title:(0,n._x)('Unsupported','block title'),description:(0,n.__)('Your site doesn\u2019t include support for this block.'),__experimentalLabel:function(t,n){if('accessibility'===n.context){var l=t.originalName,s=l?(0,o.getBlockType)(l):void 0;return s?s.settings.title||l:''}},edit:l.default,save:u.default};e.settings=f},2584,[5,1027,1223,2585,2587,2588]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.UnsupportedBlockEdit=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),p=t(r(d[7])),h=r(d[8]),f=r(d[9]),k=r(d[10]),b=r(d[11]),S=r(d[12]),B=r(d[13]),y=r(d[14]),E=r(d[15]),_=r(d[16]),v=r(d[17]),H=t(r(d[18]));function I(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var F=['core/block'],T=(function(t){(0,c.default)(T,t);var b,_,F=(b=T,_=I(),function(){var t,o=(0,p.default)(b);if(_){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,u.default)(this,t)});function T(t){var o;return(0,l.default)(this,T),(o=F.call(this,t)).state={showHelp:!1},o.toggleSheet=o.toggleSheet.bind((0,s.default)(o)),o.closeSheet=o.closeSheet.bind((0,s.default)(o)),o.requestFallback=o.requestFallback.bind((0,s.default)(o)),o.onHelpButtonPressed=o.onHelpButtonPressed.bind((0,s.default)(o)),o}return(0,n.default)(T,[{key:"toggleSheet",value:function(){this.setState({showHelp:!this.state.showHelp})}},{key:"closeSheet",value:function(){this.setState({showHelp:!1})}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout)}},{key:"renderHelpIcon",value:function(){var t=this.props.getStylesFromColorScheme(H.default.infoIcon,H.default.infoIconDark);return(0,o.createElement)(h.TouchableHighlight,{onPress:this.onHelpButtonPressed,style:H.default.helpIconContainer,accessibilityLabel:(0,y.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,y.__)('Tap here to show help')},(0,o.createElement)(k.Icon,{className:"unsupported-icon-help",label:(0,y.__)('Help icon'),icon:E.help,color:t.color}))}},{key:"onHelpButtonPressed",value:function(){this.props.isSelected||this.props.selectBlock(),this.toggleSheet()}},{key:"requestFallback",value:function(){this.props.canEnableUnsupportedBlockEditor&&!1===this.props.isUnsupportedBlockEditorSupported?(this.toggleSheet(),this.setState({sendButtonPressMessage:!0})):(this.toggleSheet(),this.setState({sendFallbackMessage:!0}))}},{key:"renderSheet",value:function(t,l){var n=this,s=this.props,c=s.getStylesFromColorScheme,u=s.attributes,p=s.clientId,b=s.isUnsupportedBlockEditorSupported,S=s.canEnableUnsupportedBlockEditor,B=s.isEditableInUnsupportedBlockEditor,_=c(H.default.infoText,H.default.infoTextDark),I=c(H.default.infoTitle,H.default.infoTitleDark),F=c(H.default.infoDescription,H.default.infoDescriptionDark),T=c(H.default.infoSheetIcon,H.default.infoSheetIconDark),D=(0,y.__)("'%s' is not fully-supported"),w=(0,y.sprintf)(D,t),P=(0,v.applyFilters)('native.missing_block_detail',(0,y.__)('We are working hard to add more blocks with each release.')),U=(0,v.applyFilters)('native.missing_block_action_button',(0,y.__)('Edit using web editor')),C=c(H.default.actionButton,H.default.actionButtonDark);return(0,o.createElement)(k.BottomSheet,{isVisible:this.state.showHelp,hideHeader:!0,onClose:this.closeSheet,onModalHide:function(){n.state.sendFallbackMessage?(n.timeout=setTimeout(function(){var o='core/freeform'===l?u.content:u.originalContent;(0,f.requestUnsupportedBlockFallback)(o,p,l,t)},100),n.setState({sendFallbackMessage:!1})):n.state.sendButtonPressMessage&&(n.timeout=setTimeout(function(){(0,f.sendActionButtonPressedAction)(f.actionButtons.missingBlockAlertActionButton)},100),n.setState({sendButtonPressMessage:!1}))}},(0,o.createElement)(h.View,{style:H.default.infoContainer},(0,o.createElement)(k.Icon,{icon:E.help,color:T.color,size:H.default.infoSheetIcon.size}),(0,o.createElement)(h.Text,{style:[_,I]},w),B&&(0,o.createElement)(h.Text,{style:[_,F]},P)),(b||S)&&B&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(k.BottomSheet.Cell,{label:U,separatorType:"topFullWidth",onPress:this.requestFallback,labelStyle:C}),(0,o.createElement)(k.BottomSheet.Cell,{label:(0,y.__)('Dismiss'),separatorType:"topFullWidth",onPress:this.toggleSheet,labelStyle:C})))}},{key:"render",value:function(){var t=this.props.attributes.originalName,l=this.props,n=l.getStylesFromColorScheme,s=l.preferredColorScheme,c=S.coreBlocks[t],u=c?c.settings.title:t,p=n(H.default.unsupportedBlockMessage,H.default.unsupportedBlockMessageDark),f=n(H.default.unsupportedBlockSubtitle,H.default.unsupportedBlockSubtitleDark),b=(0,o.createElement)(h.Text,{style:f},(0,y.__)('Unsupported')),_=c?(0,B.normalizeIconObject)(c.settings.icon):E.plugins,v=n(H.default.unsupportedBlockIcon,H.default.unsupportedBlockIconDark),I="unsupported-icon-"+s;return(0,o.createElement)(h.TouchableWithoutFeedback,{disabled:!this.props.isSelected,accessibilityLabel:(0,y.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,y.__)('Tap here to show help'),onPress:this.toggleSheet},(0,o.createElement)(h.View,{style:n(H.default.unsupportedBlock,H.default.unsupportedBlockDark)},this.renderHelpIcon(),(0,o.createElement)(k.Icon,{className:I,icon:_&&_.src?_.src:_,color:v.color}),(0,o.createElement)(h.Text,{style:p},u),b,this.renderSheet(u,t)))}}]),T})(o.Component);e.UnsupportedBlockEdit=T;var D=(0,b.compose)([(0,_.withSelect)(function(t,o){var l=o.attributes,n=t('core/block-editor').getSettings;return{isUnsupportedBlockEditorSupported:!0===n('capabilities').unsupportedBlockEditor,canEnableUnsupportedBlockEditor:!0===n('capabilities').canEnableUnsupportedBlockEditor,isEditableInUnsupportedBlockEditor:!F.includes(l.originalName)}}),(0,_.withDispatch)(function(t,o){var l=t('core/block-editor').selectBlock;return{selectBlock:function(){l(o.clientId)}}}),b.withPreferredColorScheme])(T);e.default=D},2585,[5,946,7,42,60,57,59,56,25,945,1696,1116,2419,1223,1027,1247,1076,4,2586]); -__d(function(g,r,i,a,m,e,d){m.exports={content:{paddingTop:8,paddingBottom:0,paddingLeft:24,paddingRight:24,alignItems:"center",justifyContent:"space-evenly"},helpIconContainer:{position:"absolute",top:0,right:0,height:48,width:48,paddingTop:12,paddingRight:12,justifyContent:"flex-start",alignItems:"flex-end"},infoContainer:{flexDirection:"column",alignItems:"center",justifyContent:"flex-end"},infoIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#4f748e"},infoIconDark:{color:"#a7aaad"},infoSheetIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#87a6bc"},infoSheetIconDark:{color:"#a7aaad"},infoText:{textAlign:"center",color:"#2e4453"},infoTextDark:{color:"#fff"},infoTitle:{paddingTop:8,paddingBottom:12,fontSize:20,fontWeight:"bold",color:"#2e4453"},infoTitleDark:{color:"#fff"},infoDescription:{paddingBottom:24,fontSize:16,color:"#4f748e"},infoDescriptionDark:{color:"#a7aaad"},unsupportedBlock:{backgroundColor:"#e9eff3",paddingTop:24,paddingBottom:24,paddingLeft:8,paddingRight:8,borderTopLeftRadius:4,borderTopRightRadius:4,borderBottomLeftRadius:4,borderBottomRightRadius:4,alignItems:"center",justifyContent:"center"},unsupportedBlockDark:{backgroundColor:"#1e2327"},unsupportedBlockIcon:{color:"#2e4453"},unsupportedBlockIconDark:{color:"#fff"},unsupportedBlockMessage:{marginTop:4,textAlign:"center",color:"#2e4453",fontSize:14,fontWeight:"600"},unsupportedBlockMessageDark:{color:"#fff"},unsupportedBlockSubtitle:{marginTop:2,textAlign:"center",color:"#4f748e",fontSize:12},unsupportedBlockSubtitleDark:{color:"#a7aaad"},actionButton:{color:"#2271b1"},actionButtonDark:{color:"#5198d9"}}},2586,[]); -__d(function(t,e,i,s,n,r,a){n.exports={apiVersion:2,name:"core/missing",category:"text",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}}},2587,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.originalContent)};var t=r(d[0])},2588,[946]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),s=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=s.default.name;e.name=f;var _={title:(0,n._x)('More','block title'),description:(0,n.__)('Content before this block will be shown in the excerpt on your archives page.'),keywords:[(0,n.__)('read more')],icon:o.more,example:{},__experimentalLabel:function(t,n){if('accessibility'===n.context)return t.customText},transforms:u.default,edit:l.default,save:c.default};e.settings=_},2589,[5,1027,1247,2590,2592,2593,2594]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.MoreEdit=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),s=r(d[7]),h=t(r(d[8])),p=r(d[9]),v=r(d[10]),y=t(r(d[11]));function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,f.default)(_,t);var v,R,S=(v=_,R=x(),function(){var t,n=(0,c.default)(v);if(R){var u=(0,c.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function _(){var t;return(0,u.default)(this,_),(t=S.apply(this,arguments)).state={defaultText:(0,p.__)('Read more')},t}return(0,o.default)(_,[{key:"render",value:function(){var t=this.props,u=t.attributes,o=t.getStylesFromColorScheme,f=u.customText,l=this.state.defaultText,c=f||l,p=o(y.default.moreText,y.default.moreTextDark),v=o(y.default.moreLine,y.default.moreLineDark);return(0,n.createElement)(s.View,null,(0,n.createElement)(h.default,{text:c,marginLeft:0,marginRight:0,textStyle:p,lineStyle:v}))}}]),_})(n.Component);e.MoreEdit=R;var S=(0,v.withPreferredColorScheme)(R);e.default=S},2590,[5,946,7,42,57,59,56,25,1439,1027,1116,2591]); -__d(function(g,r,i,a,m,e,d){m.exports={moreLine:{backgroundColor:"#c8d7e1",height:2},moreLineDark:{backgroundColor:"#646970"},moreText:{color:"#87a6bc",textDecorationStyle:"solid",textTransform:"uppercase"},moreTextDark:{color:"#a7aaad"}}},2591,[]); -__d(function(e,t,o,s,r,a,i){r.exports={apiVersion:2,name:"core/more",category:"design",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1},editorStyle:"wp-block-more-editor"}},2592,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var c=o.attributes,u=c.customText,x=c.noTeaser,l=u?"\x3c!--more "+u+"--\x3e":'\x3c!--more--\x3e',s=x?'\x3c!--noteaser--\x3e':'';return(0,t.createElement)(t.RawHTML,null,(0,n.compact)([l,s]).join('\n'))};var t=r(d[0]),n=r(d[1])},2593,[946,1068]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'raw',schema:{'wp-block':{attributes:['data-block']}},isMatch:function(t){return t.dataset&&'core/more'===t.dataset.block},transform:function(o){var c=o.dataset,n=c.customText,s=c.noTeaser,u={};return n&&(u.customText=n),''===s&&(u.noTeaser=!0),(0,t.createBlock)('core/more',u)}}]};e.default=o},2594,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),u=t(r(d[4])),_=t(r(d[5])),f=t(r(d[6])),p=u.default.name;e.name=p;var s={title:(0,n._x)('Page Break','block title'),description:(0,n.__)('Separate your content into a multi-page experience.'),icon:o.pageBreak,keywords:[(0,n.__)('next page'),(0,n.__)('pagination')],example:{},transforms:f.default,edit:l.default,save:_.default};e.settings=s},2595,[5,1027,1247,2596,2598,2599,2600]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.NextPageEdit=f,e.default=void 0;var l=r(d[1]),c=r(d[2]),n=t(r(d[3])),s=r(d[4]),o=r(d[5]),u=t(r(d[6]));function f(t){var o=t.attributes,f=t.isSelected,x=t.onFocus,b=t.getStylesFromColorScheme,_=o.customText,p=void 0===_?(0,s.__)('Page break'):_,v=o.customText||'',y=f?['selected']:[],S=b(u.default.nextpageText,u.default.nextpageTextDark),k=b(u.default.nextpageLine,u.default.nextpageLineDark);return(0,l.createElement)(c.View,{accessible:!0,accessibilityLabel:(0,s.sprintf)((0,s.__)('Page break block. %s'),v),accessibilityStates:y,onAccessibilityTap:x},(0,l.createElement)(n.default,{text:p,marginLeft:0,marginRight:0,textStyle:S,lineStyle:k}))}var x=(0,o.withPreferredColorScheme)(f);e.default=x},2596,[5,946,25,1439,1027,1116,2597]); -__d(function(g,r,i,a,m,e,d){m.exports={nextpageLine:{backgroundColor:"#c8d7e1",height:2},nextpageLineDark:{backgroundColor:"#646970"},nextpageText:{color:"#87a6bc",textDecorationStyle:"solid",textTransform:"uppercase"},nextpageTextDark:{color:"#a7aaad"}}},2597,[]); -__d(function(e,t,o,s,a,n,p){a.exports={apiVersion:2,name:"core/nextpage",category:"design",parent:["core/post-content"],supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-nextpage-editor"}},2598,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.createElement)(n.RawHTML,null,'\x3c!--nextpage--\x3e')};var n=r(d[0])},2599,[946]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'raw',schema:{'wp-block':{attributes:['data-block']}},isMatch:function(t){return t.dataset&&'core/nextpage'===t.dataset.block},transform:function(){return(0,t.createBlock)('core/nextpage',{})}}]};e.default=o},2600,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=l.default.name;e.name=f;var p={title:(0,n._x)('Preformatted','block title'),description:(0,n.__)('Add text that respects your spacing and tabs, and also allows styling.'),icon:o.preformatted,example:{attributes:{content:(0,n.__)('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;')}},transforms:u.default,edit:s.default,save:c.default,merge:function(t,n){return{content:t.content+n.content}}};e.settings=p},2601,[5,1027,1247,2602,2605,2606,2607]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.PreformattedEdit=b,e.default=void 0;var o=r(d[1]),c=t(r(d[2])),n=r(d[3]),f=r(d[4]),l=t(r(d[5])),u=t(r(d[6]));function p(t,o){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),c.push.apply(c,n)}return c}function O(t){for(var o=1;o'+(0,l.__)('One of the hardest things to do in technology is disrupt yourself.')+'

    ',citation:(0,l.__)('Matt Mullenweg')}},styles:[{name:'default',label:(0,l._x)('Default','block style'),isDefault:!0},{name:u.SOLID_COLOR_STYLE_NAME,label:(0,l.__)('Solid color')}],transforms:c.default,edit:s.default,save:_.default,deprecated:n.default};e.settings=v},2608,[5,1027,1247,2609,2610,2611,2616,2617,2618]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SOLID_COLOR_CLASS=e.SOLID_COLOR_STYLE_NAME=void 0;e.SOLID_COLOR_STYLE_NAME='solid-color';e.SOLID_COLOR_CLASS="is-style-solid-color"},2609,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),n=t(r(d[4])),u=r(d[5]),s=r(d[6]),f=r(d[7]),C=r(d[8]);function b(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,c)}return l}function v(t){for(var o=1;o"+o+"

    ",anchor:n})}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,n=t.citation,p=[];return o&&'

    '!==o&&p.push.apply(p,(0,c.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),n&&'

    '!==n&&p.push((0,l.createBlock)('core/paragraph',{content:n})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.value,c=t.citation,p=(0,n.default)(t,["value","citation"]);if('

    '===o)return(0,l.createBlock)('core/heading',{content:c});var s=(0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028"),h=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:s[0]})});if(!c&&1===s.length)return h;var v=s.slice(1);return[h,(0,l.createBlock)('core/pullquote',f(f({},p),{},{citation:c,value:(0,u.toHTMLString)({value:v.length?(0,u.join)(s.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}}]};e.default=s},2618,[5,66,67,14,1223,1074]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),o=t(r(d[3])),l=s.default.name;e.name=l;var u={title:(0,n._x)('Reusable Block','block title'),description:(0,n.__)('Create and save content to reuse across your site. Update the block, and the changes apply everywhere it\u2019s used.'),edit:o.default};e.settings=u},2619,[5,1027,2620,2621]); -__d(function(e,t,r,o,s,a,i){s.exports={apiVersion:2,name:"core/block",category:"reusable",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"}},2620,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var k=t.attributes.ref,_=t.clientId,v=t.isSelected,P=['postType','wp_block',k],R=(0,l.useState)(!1),T=(0,o.default)(R,2),B=T[0],I=T[1],w=(0,E.usePreferredColorSchemeStyle)(y.default.infoText,y.default.infoTextDark),C=(0,E.usePreferredColorSchemeStyle)(y.default.infoTitle,y.default.infoTitleDark),x=(0,E.usePreferredColorSchemeStyle)(y.default.infoSheetIcon,y.default.infoSheetIconDark),D=(0,E.usePreferredColorSchemeStyle)(y.default.spinner,y.default.spinnerDark),H=(0,u.useSelect)(function(t){var l,o,n=t('core/block-editor'),s=n.getSettings;return{reusableBlock:(l=t('core')).getEditedEntityRecord.apply(l,P),hasResolved:t('core').hasFinishedResolution('getEditedEntityRecord',P),isSaving:(o=t('core')).isSavingEntityRecord.apply(o,P),canUserUpdate:t('core').canUser('update','blocks',k),isEditing:t(p.store).__experimentalIsEditingReusableBlock(_),settings:s()}},[k,_]),V=H.reusableBlock,z=H.hasResolved,F=H.isEditing,O=H.settings,U=(0,s.useEntityBlockEditor)('postType','wp_block',{id:k}),W=(0,o.default)(U,3),A=W[0],L=W[1],j=W[2];function M(){I(!1)}if(!z)return(0,l.createElement)(n.View,{style:D},(0,l.createElement)(n.ActivityIndicator,{animating:!0}));if(!V)return(0,l.createElement)(n.Text,null,(0,f.__)('Block has been deleted or is unavailable.'));var q=V.title,G=(0,l.createElement)(b.BlockEditorProvider,{settings:O,value:A,onChange:j,onInput:L},(0,l.createElement)(b.BlockList,{withFooter:!1,marginHorizontal:0}));F||(G=(0,l.createElement)(c.Disabled,null,G));return(0,l.createElement)(n.TouchableWithoutFeedback,{disabled:!v,accessibilityLabel:(0,f.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,f.__)('Tap here to show help'),onPress:function(){I(!0)}},(0,l.createElement)(n.View,null,v&&(0,l.createElement)(S.default,{title:q}),G,(J='android'===n.Platform.OS?(0,f.__)("Reusable blocks aren't editable on WordPress for Android"):(0,f.__)("Reusable blocks aren't editable on WordPress for iOS"),(0,l.createElement)(c.BottomSheet,{isVisible:B,hideHeader:!0,onClose:M},(0,l.createElement)(n.View,{style:y.default.infoContainer},(0,l.createElement)(c.Icon,{icon:h.help,color:x.color,size:y.default.infoSheetIcon.size}),(0,l.createElement)(n.Text,{style:[w,C]},J))))));var J};var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),s=r(d[4]),c=r(d[5]),u=r(d[6]),f=r(d[7]),b=r(d[8]),E=r(d[9]),h=r(d[10]),p=r(d[11]),y=t(r(d[12])),S=t(r(d[13]))},2621,[5,946,36,25,2276,1696,1076,1027,1073,1116,1247,2398,2622,2623]); -__d(function(g,r,i,a,m,e,d){m.exports={titleContainer:{flexDirection:"row",alignItems:"center",paddingBottom:12},title:{fontWeight:"bold",color:"#0009",flexGrow:1,flexShrink:1},titleDark:{color:"#fff9"},separator:{backgroundColor:"#e8eaeb",height:1,position:"absolute",left:-11,right:-11,bottom:0},separatorDark:{backgroundColor:"#3c434a"},lockIconContainer:{justifyContent:"flex-start",alignItems:"flex-end",paddingRight:8},lockIcon:{color:"#0009"},lockIconDark:{color:"#fff9"},helpIconContainer:{justifyContent:"flex-start",alignItems:"flex-end"},infoIcon:{color:"#0009"},infoIconDark:{color:"#fff9"},infoContainer:{flexDirection:"column",alignItems:"center",justifyContent:"flex-end"},infoSheetIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#87a6bc"},infoSheetIconDark:{color:"#a7aaad"},infoText:{textAlign:"center",color:"#2e4453"},infoTextDark:{color:"#fff"},infoTitle:{paddingTop:8,paddingBottom:12,fontSize:20,fontWeight:"bold",color:"#2e4453"},infoTitleDark:{color:"#fff"},spinner:{height:48,borderWidth:1,borderRadius:2,borderColor:"#e8eaeb",justifyContent:"center"},spinnerDark:{borderColor:"#3c434a"}}},2622,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),c=r(d[4]),f=r(d[5]),u=r(d[6]),s=t(r(d[7]));var k=(0,f.withPreferredColorScheme)(function(t){var f=t.getStylesFromColorScheme,k=t.title,y=f(s.default.lockIcon,s.default.lockIconDark),I=f(s.default.title,s.default.titleDark),_=f(s.default.infoIcon,s.default.infoIconDark),E=f(s.default.separator,s.default.separatorDark);return(0,l.createElement)(n.View,{style:s.default.titleContainer},(0,l.createElement)(n.View,{style:s.default.lockIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Lock icon'),icon:u.lock,size:16,style:y})),(0,l.createElement)(n.Text,{numberOfLines:1,style:I},k),(0,l.createElement)(n.View,{style:s.default.helpIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Help icon'),icon:u.help,size:20,style:_})),(0,l.createElement)(n.View,{style:E}))});e.default=k},2623,[5,946,25,1696,1027,1116,1247,2622]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),f=t(r(d[4])),l=s.default.name;e.name=l;var _={title:(0,o._x)('RSS','block title'),description:(0,o.__)('Display entries from any RSS or Atom feed.'),icon:n.rss,keywords:[(0,o.__)('atom'),(0,o.__)('feed')],example:{attributes:{feedURL:'https://wordpress.org'}},edit:f.default};e.settings=_},2624,[5,1247,1027,2625,2626]); -__d(function(e,t,l,o,a,s,p){a.exports={apiVersion:2,name:"core/rss",category:"widgets",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"}},2625,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var E=t.attributes,h=t.setAttributes,C=(0,n.useState)(!E.feedURL),v=(0,o.default)(C,2),y=v[0],k=v[1],L=E.blockLayout,R=E.columns,x=E.displayAuthor,S=E.displayDate,w=E.displayExcerpt,D=E.excerptLength,T=E.feedURL,U=E.itemsToShow;function A(t){return function(){var n=E[t];h((0,l.default)({},t,!n))}}var P=(0,c.useBlockProps)();if(y)return(0,n.createElement)("div",P,(0,n.createElement)(u.Placeholder,{icon:s.rss,label:"RSS"},(0,n.createElement)("form",{onSubmit:function(t){t.preventDefault(),T&&k(!1)},className:"wp-block-rss__placeholder-form"},(0,n.createElement)(u.TextControl,{placeholder:(0,_.__)('Enter URL here\u2026'),value:T,onChange:function(t){return h({feedURL:t})},className:"wp-block-rss__placeholder-input"}),(0,n.createElement)(u.Button,{isPrimary:!0,type:"submit"},(0,_.__)('Use URL')))));var B=[{icon:s.edit,title:(0,_.__)('Edit RSS URL'),onClick:function(){return k(!0)}},{icon:s.list,title:(0,_.__)('List view'),onClick:function(){return h({blockLayout:'list'})},isActive:'list'===L},{icon:s.grid,title:(0,_.__)('Grid view'),onClick:function(){return h({blockLayout:'grid'})},isActive:'grid'===L}];return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,{controls:B})),(0,n.createElement)(c.InspectorControls,null,(0,n.createElement)(u.PanelBody,{title:(0,_.__)('RSS settings')},(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Number of items'),value:U,onChange:function(t){return h({itemsToShow:t})},min:f,max:b,required:!0}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display author'),checked:x,onChange:A('displayAuthor')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display date'),checked:S,onChange:A('displayDate')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display excerpt'),checked:w,onChange:A('displayExcerpt')}),w&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Max number of words in excerpt'),value:D,onChange:function(t){return h({excerptLength:t})},min:10,max:100,required:!0}),'grid'===L&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Columns'),value:R,onChange:function(t){return h({columns:t})},min:2,max:6,required:!0}))),(0,n.createElement)("div",P,(0,n.createElement)(u.Disabled,null,(0,n.createElement)(p.default,{block:"core/rss",attributes:E}))))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),u=r(d[5]),s=r(d[6]),_=r(d[7]),p=t(r(d[8])),f=1,b=10},2626,[5,946,66,36,1073,1696,1247,1027,2471]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=l.default.name;e.name=c;var f={title:(0,n._x)('Search','block title'),description:(0,n.__)('Help visitors find your content.'),icon:o.search,keywords:[(0,n.__)('find')],example:{},variations:u.default,edit:s.default};e.settings=f},2627,[5,1027,1247,2628,2629,2631]); -__d(function(t,e,o,n,i,r,s){i.exports={apiVersion:2,name:"core/search",category:"widgets",attributes:{label:{type:"string"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:""},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"}},2628,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.className,E=t.attributes,k=t.setAttributes,C=t.toggleSelection,I=t.isSelected,x=E.label,B=E.showLabel,y=E.placeholder,N=E.width,U=E.widthUnit,P=E.align,T=E.buttonText,O=E.buttonPosition,M=E.buttonUseIcon,S="wp-block-search__width-"+(0,c.useInstanceId)(l.__experimentalUnitControl),W=function(){return(0,n.createElement)("input",{className:"wp-block-search__input","aria-label":(0,b.__)('Optional placeholder text'),placeholder:y?void 0:(0,b.__)('Optional placeholder\u2026'),value:y,onChange:function(t){return k({placeholder:t.target.value})}})},F=function(){return(0,n.createElement)(n.Fragment,null,M&&(0,n.createElement)(u.Button,{icon:s.search,className:"wp-block-search__button"}),!M&&(0,n.createElement)(l.RichText,{className:"wp-block-search__button","aria-label":(0,b.__)('Button text'),placeholder:(0,b.__)('Add button text\u2026'),withoutInteractiveFormatting:!0,value:T,onChange:function(t){return k({buttonText:t})}}))},R=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,null,(0,n.createElement)(u.ToolbarButton,{title:(0,b.__)('Toggle search label'),icon:_.toggleLabel,onClick:function(){k({showLabel:!B})},className:B?'is-pressed':void 0}),(0,n.createElement)(u.DropdownMenu,{icon:(function(){switch(O){case'button-inside':return _.buttonInside;case'button-outside':return _.buttonOutside;case'no-button':return _.noButton;case'button-only':return _.buttonOnly}})(),label:(0,b.__)('Change button position')},function(t){var o=t.onClose;return(0,n.createElement)(u.MenuGroup,{className:"wp-block-search__button-position-menu"},(0,n.createElement)(u.MenuItem,{icon:_.noButton,onClick:function(){k({buttonPosition:'no-button'}),o()}},(0,b.__)('No Button')),(0,n.createElement)(u.MenuItem,{icon:_.buttonOutside,onClick:function(){k({buttonPosition:'button-outside'}),o()}},(0,b.__)('Button Outside')),(0,n.createElement)(u.MenuItem,{icon:_.buttonInside,onClick:function(){k({buttonPosition:'button-inside'}),o()}},(0,b.__)('Button Inside')))}),'no-button'!==O&&(0,n.createElement)(u.ToolbarButton,{title:(0,b.__)('Use button with icon'),icon:_.buttonWithIcon,onClick:function(){k({buttonUseIcon:!M})},className:M?'is-pressed':void 0}))),(0,n.createElement)(l.InspectorControls,null,(0,n.createElement)(u.PanelBody,{title:(0,b.__)('Display Settings')},(0,n.createElement)(u.BaseControl,{label:(0,b.__)('Width'),id:S},(0,n.createElement)(l.__experimentalUnitControl,{id:S,min:"220px",onChange:function(t){var n='%'===U&&parseInt(t,10)>100?100:t;k({width:parseInt(n,10)})},onUnitChange:function(t){k({width:'%'===t?p:w,widthUnit:t})},style:{maxWidth:80},value:""+N+U,unit:U,units:f}),(0,n.createElement)(u.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":(0,b.__)('Percentage Width')},[25,50,75,100].map(function(t){return(0,n.createElement)(u.Button,{key:t,isSmall:!0,isPrimary:t+"%"==""+N+U,onClick:function(){return k({width:t,widthUnit:'%'})}},t,"%")})))))),z=(0,l.useBlockProps)({className:(0,o.default)(v,'button-inside'===O?'wp-block-search__button-inside':void 0,'button-outside'===O?'wp-block-search__button-outside':void 0,'no-button'===O?'wp-block-search__no-button':void 0,'button-only'===O?'wp-block-search__button-only':void 0,M||'no-button'===O?void 0:'wp-block-search__text-button',M&&'no-button'!==O?'wp-block-search__icon-button':void 0)});return(0,n.createElement)("div",z,R,B&&(0,n.createElement)(l.RichText,{className:"wp-block-search__label","aria-label":(0,b.__)('Label text'),placeholder:(0,b.__)('Add label\u2026'),withoutInteractiveFormatting:!0,value:x,onChange:function(t){return k({label:t})}}),(0,n.createElement)(u.ResizableBox,{size:{width:""+N+U},className:"wp-block-search__inside-wrapper",minWidth:h,enable:(function(){if('button-only'===O)return{};return{right:'right'!==P,left:'right'===P}})(),onResizeStart:function(t,n,o){k({width:parseInt(o.offsetWidth,10),widthUnit:'px'}),C(!1)},onResizeStop:function(t,n,o,l){k({width:parseInt(N+l.width,10)}),C(!0)},showHandle:I},('button-inside'===O||'button-outside'===O)&&(0,n.createElement)(n.Fragment,null,W(),F()),'button-only'===O&&F(),'no-button'===O&&W()))};var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),b=r(d[7]),_=r(d[8]),h=220,p=50,w=350,f=[{value:'%',label:'%',default:p},{value:'px',label:'px',default:w}]},2629,[5,946,1716,1073,1696,1116,1247,1027,2630]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.toggleLabel=e.buttonWithIcon=e.noButton=e.buttonInside=e.buttonOutside=e.buttonOnly=void 0;var t=r(d[0]),o=r(d[1]),n=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"}));e.buttonOnly=n;var l=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,t.createElement)(o.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"}));e.buttonOutside=l;var h=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,t.createElement)(o.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"}));e.buttonInside=h;var c=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}));e.noButton=c;var w=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,t.createElement)(o.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"}));e.buttonWithIcon=w;var s=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,t.createElement)(o.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));e.toggleLabel=s},2630,[946,1696]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),u=[{name:'default',isDefault:!0,attributes:{buttonText:(0,t.__)('Search'),label:(0,t.__)('Search')}}];e.default=u},2631,[1027]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return o.default}}),e.settings=e.name=void 0;var l=r(d[1]),s=r(d[2]),n=t(r(d[3])),o=t(r(d[4])),_=t(r(d[5])),u=t(r(d[6])),f=o.default.name;e.name=f;var b={title:(0,l._x)('Separator','block title'),description:(0,l.__)('Create a break between ideas or sections with a horizontal separator.'),icon:s.separator,keywords:[(0,l.__)('horizontal-line'),'hr',(0,l.__)('divider')],example:{attributes:{customColor:'#065174',className:'is-style-wide'}},styles:[{name:'default',label:(0,l.__)('Default'),isDefault:!0},{name:'wide',label:(0,l.__)('Wide Line')},{name:'dots',label:(0,l.__)('Dots')}],transforms:u.default,edit:n.default,save:_.default};e.settings=b},2632,[5,1027,1247,2633,2635,2636,2637]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4]),u=r(d[5]),n=o(r(d[6]));var f=(0,u.withColors)('color',{textColor:'color'})(function(o){var f=o.color,v=o.setColor,C=o.className;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(s.HorizontalRule,(0,u.useBlockProps)({className:(0,c.default)(C,(0,t.default)({'has-background':f.color},f.class,f.class)),style:{backgroundColor:f.color,color:f.color}})),(0,l.createElement)(n.default,{color:f,setColor:v}))});e.default=f},2633,[5,946,66,1716,1696,1073,2634]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(){return null};e.default=u},2634,[]); -__d(function(r,t,e,o,s,a,i){s.exports={apiVersion:2,name:"core/separator",category:"design",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},editorStyle:"wp-block-separator-editor",style:"wp-block-separator"}},2635,[]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u,n=o.attributes,f=n.color,v=n.customColor,C=(0,s.getColorClassName)('background-color',f),b=(0,s.getColorClassName)('color',f),k=(0,c.default)((u={'has-text-color has-background':f||v},(0,t.default)(u,C,C),(0,t.default)(u,b,b),u)),_={backgroundColor:C?void 0:v,color:b?void 0:v};return(0,l.createElement)("hr",s.useBlockProps.save({className:k,style:_}))};var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4])},2636,[5,946,66,1716,1073]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'enter',regExp:/^-{3,}$/,transform:function(){return(0,t.createBlock)('core/separator')}},{type:'raw',selector:'hr',schema:{hr:{}}}]};e.default=o},2637,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=c.default.name;e.name=f;var _={title:(0,n._x)('Shortcode','block title'),description:(0,n.__)('Insert additional custom elements with a WordPress shortcode.'),icon:o.shortcode,transforms:u.default,edit:s.default,save:l.default};e.settings=_},2638,[5,1027,1247,2639,2641,2642,2643]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ShortcodeEdit=h,e.default=void 0;var o=r(d[1]),l=r(d[2]),c=r(d[3]),u=r(d[4]),n=r(d[5]),f=t(r(d[6]));function h(t){var n=t.attributes,h=t.setAttributes,s=t.onFocus,S=t.onBlur,_=t.getStylesFromColorScheme,b=_(f.default.blockTitle,f.default.blockTitleDark),k=_(f.default.blockShortcode,f.default.blockShortcodeDark),p=_(f.default.placeholder,f.default.placeholderDark);return(0,o.createElement)(l.View,null,(0,o.createElement)(l.Text,{style:b},(0,c.__)('Shortcode')),(0,o.createElement)(u.PlainText,{value:n.text,style:k,multiline:!0,underlineColorAndroid:"transparent",onChange:function(t){return h({text:t})},placeholder:(0,c.__)('Add a shortcode\u2026'),"aria-label":(0,c.__)('Shortcode'),isSelected:t.isSelected,onFocus:s,onBlur:S,autoCorrect:!1,autoComplete:"off",placeholderTextColor:p.color}))}var s=(0,n.withPreferredColorScheme)(h);e.default=s},2639,[5,946,25,1027,1073,1116,2640]); -__d(function(g,r,i,a,m,e,d){m.exports={blockTitle:{fontWeight:"500",fontSize:10,color:"#87a6bc",textTransform:"uppercase",letterSpacing:.4,paddingBottom:4},blockTitleDark:{color:"#646970"},blockShortcode:{fontFamily:"menlo",fontWeight:"400",fontSize:14,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,borderRadius:4,backgroundColor:"#f3f6f8"},blockShortcodeDark:{color:"#fff",backgroundColor:"#101517"},placeholder:{fontFamily:"menlo",fontWeight:"400",fontSize:14,color:"#87a6bc"},placeholderDark:{color:"#646970"}}},2640,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.text)};var t=r(d[0])},2641,[946]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'shortcode',tag:'[a-z][a-z0-9_-]*',attributes:{text:{type:'string',shortcode:function(o,n){var u=n.content;return(0,t.removep)((0,t.autop)(u))}}},priority:20}]};e.default=o},2642,[1652]); -__d(function(t,e,o,s,r,c,a){r.exports={apiVersion:2,name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"}},2643,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),u=c.default.name;e.name=u;var f={title:(0,n._x)('Spacer','block title'),description:(0,n.__)('Add white space between blocks and customize its height.'),icon:o.resizeCornerNE,edit:s.default,save:l.default};e.settings=f},2644,[5,1027,1247,2645,2646,2647]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),s=r(d[4]),c=r(d[5]),u=r(d[6]),p=r(d[7]),h=r(d[8]),f=r(d[9]),b=(0,p.compose)([(0,h.withDispatch)(function(t){var o=t('core/block-editor').toggleSelection;return{onResizeStart:function(){return o(!1)},onResizeStop:function(){return o(!0)}}}),p.withInstanceId])(function(t){var p=t.attributes,h=t.isSelected,b=t.setAttributes,_=t.onResizeStart,S=t.onResizeStop,R=(0,o.useState)(!1),v=(0,n.default)(R,2),z=v[0],x=v[1],E=p.height,w=function(t){b({height:t})};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(f.View,(0,c.useBlockProps)(),(0,o.createElement)(u.ResizableBox,{className:(0,l.default)('block-library-spacer__resize-container',{'is-selected':h}),size:{height:E},minHeight:1,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:function(){_.apply(void 0,arguments),x(!0)},onResizeStop:function(t,o,n,l){S();var s=Math.min(parseInt(E+l.height,10),500);w(s),x(!1)},showHandle:h,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:'y',position:'bottom',isVisible:z}})),(0,o.createElement)(c.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:(0,s.__)('Spacer settings')},(0,o.createElement)(u.RangeControl,{label:(0,s.__)('Height in pixels'),min:1,max:Math.max(500,E),value:E,onChange:w}))))});e.default=b},2645,[5,946,36,1716,1027,1073,1696,1116,1076,1250]); -__d(function(e,t,r,o,p,s,a){p.exports={apiVersion:2,name:"core/spacer",category:"design",attributes:{height:{type:"number",default:100}},supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"}},2646,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var l=u.attributes;return(0,t.createElement)("div",n.useBlockProps.save({style:{height:l.height},'aria-hidden':!0}))};var t=r(d[0]),n=r(d[1])},2647,[946,1073]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),l=r(d[2]),s=r(d[3]),o=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),h=c.default.name;e.name=h;var v={title:(0,l._x)('Subheading (deprecated)','block title'),description:(0,l.__)('This block is deprecated. Please use the Paragraph block instead.'),icon:(0,n.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(s.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),transforms:f.default,edit:o.default,save:u.default};e.settings=v},2648,[5,946,1027,1696,2649,2650,2651,2652]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u=t.attributes,s=t.setAttributes,b=t.className,h=u.align,v=u.content,_=u.placeholder;return(0,l.default)('The Subheading block',{alternative:'the Paragraph block',plugin:'Gutenberg'}),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.BlockControls,null,(0,n.createElement)(o.AlignmentToolbar,{value:h,onChange:function(t){s({align:t})}})),(0,n.createElement)("div",(0,o.useBlockProps)(),(0,n.createElement)(o.RichText,{tagName:"p",value:v,onChange:function(t){s({content:t})},style:{textAlign:h},className:b,"aria-label":(0,c.__)('Subheading text'),placeholder:_||(0,c.__)('Write subheading\u2026')})))};var n=r(d[1]),l=t(r(d[2])),c=r(d[3]),o=r(d[4])},2649,[5,946,1111,1027,1073]); -__d(function(e,t,r,s,o,i,n){o.exports={apiVersion:2,name:"core/subhead",category:"text",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}},supports:{inserter:!1,multiple:!1},editorStyle:"wp-block-subhead-editor",style:"wp-block-subhead"}},2650,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var u=l.attributes,c=u.align,o=u.content;return(0,t.createElement)("p",n.useBlockProps.save({style:{textAlign:c}}),(0,t.createElement)(n.RichText.Content,{value:o}))};var t=r(d[0]),n=r(d[1])},2651,[946,1073]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t={to:[{type:'block',blocks:['core/paragraph'],transform:function(t){return(0,o.createBlock)('core/paragraph',t)}}]};e.default=t},2652,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),l=r(d[2]),c=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),_=t(r(d[6])),u=t(r(d[7])),b=s.default.name;e.name=b;var f={title:(0,n._x)('Table','block title'),description:(0,n.__)('Insert a table \u2014 perfect for sharing charts and data.'),icon:l.blockTable,example:{attributes:{head:[{cells:[{content:(0,n.__)('Version'),tag:'th'},{content:(0,n.__)('Jazz Musician'),tag:'th'},{content:(0,n.__)('Release Date'),tag:'th'}]}],body:[{cells:[{content:'5.2',tag:'td'},{content:'Jaco Pastorius',tag:'td'},{content:(0,n.__)('May 7, 2019'),tag:'td'}]},{cells:[{content:'5.1',tag:'td'},{content:'Betty Carter',tag:'td'},{content:(0,n.__)('February 21, 2019'),tag:'td'}]},{cells:[{content:'5.0',tag:'td'},{content:'Bebo Vald\xe9s',tag:'td'},{content:(0,n.__)('December 6, 2018'),tag:'td'}]}]}},styles:[{name:'regular',label:(0,n._x)('Default','block style'),isDefault:!0},{name:'stripes',label:(0,n.__)('Stripes')}],transforms:u.default,edit:o.default,save:_.default,deprecated:c.default};e.settings=f},2653,[5,1027,1247,2654,2655,2657,2658,2659]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),s=r(d[3]),l=[{attributes:{hasFixedLayout:{type:'boolean',default:!1},backgroundColor:{type:'string'},head:{type:'array',default:[],source:'query',selector:'thead tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},body:{type:'array',default:[],source:'query',selector:'tbody tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},foot:{type:'array',default:[],source:'query',selector:'tfoot tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}}},supports:{align:!0},save:function(t){var l=t.attributes,c=l.hasFixedLayout,n=l.head,y=l.body,p=l.foot,f=l.backgroundColor;if(!n.length&&!y.length&&!p.length)return null;var h=(0,s.getColorClassName)('background-color',f),b=(0,u.default)(h,{'has-fixed-layout':c,'has-background':!!h}),v=function(t){var u=t.type,l=t.rows;if(!l.length)return null;var c="t"+u;return(0,o.createElement)(c,null,l.map(function(t,u){var l=t.cells;return(0,o.createElement)("tr",{key:u},l.map(function(t,u){var l=t.content,c=t.tag,n=t.scope;return(0,o.createElement)(s.RichText.Content,{tagName:c,value:l,key:u,scope:'th'===c?n:void 0})}))}))};return(0,o.createElement)("table",{className:b},(0,o.createElement)(v,{type:"head",rows:n}),(0,o.createElement)(v,{type:"body",rows:y}),(0,o.createElement)(v,{type:"foot",rows:p}))}}];e.default=l},2654,[5,946,1716,1073]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=r(d[6]),b=r(d[7]),f=r(d[8]),_=r(d[9]),p=r(d[10]),h=r(d[11]);function C(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function y(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:0;if(z){var n=z.columnIndex+t;O((0,h.insertColumn)(c,{columnIndex:n})),J({rowIndex:0,columnIndex:n,type:'cell'})}}(0,n.useEffect)(function(){N||J()},[N]);var X=['head','body','foot'].filter(function(t){return!(0,h.isEmptyTableSection)(c[t])}),Y=[{icon:_.tableRowBefore,title:(0,b.__)('Insert row before'),isDisabled:!z,onClick:function(){U(0)}},{icon:_.tableRowAfter,title:(0,b.__)('Insert row after'),isDisabled:!z,onClick:function(){U(1)}},{icon:_.tableRowDelete,title:(0,b.__)('Delete row'),isDisabled:!z,onClick:function(){if(z){var t=z.sectionName,n=z.rowIndex;J(),O((0,h.deleteRow)(c,{sectionName:t,rowIndex:n}))}}},{icon:_.tableColumnBefore,title:(0,b.__)('Insert column before'),isDisabled:!z,onClick:function(){V(0)}},{icon:_.tableColumnAfter,title:(0,b.__)('Insert column after'),isDisabled:!z,onClick:function(){V(1)}},{icon:_.tableColumnDelete,title:(0,b.__)('Delete column'),isDisabled:!z,onClick:function(){if(z){var t=z.sectionName,n=z.columnIndex;J(),O((0,h.deleteColumn)(c,{sectionName:t,columnIndex:n}))}}}],Z=['head','body','foot'].map(function(t){return(0,n.createElement)(I,{name:t,key:t},c[t].map(function(o,c){var b=o.cells;return(0,n.createElement)("tr",{key:c},b.map(function(o,b){var f=o.content,_=o.tag,p=o.scope,h=o.align;return(0,n.createElement)(s.RichText,{tagName:_,key:b,className:(0,u.default)((0,l.default)({},"has-text-align-"+h,h),'wp-block-table__cell-content'),scope:'th'===_?p:void 0,value:f,onChange:K,unstableOnFocus:function(){J({sectionName:t,rowIndex:c,columnIndex:b,type:'cell'})},"aria-label":x[t],placeholder:w[t]})}))}))}),$=!X.length;return(0,n.createElement)("figure",(0,s.useBlockProps)(),!$&&(0,n.createElement)(s.BlockControls,null,(0,n.createElement)(f.ToolbarGroup,null,(0,n.createElement)(f.ToolbarItem,null,function(t){return(0,n.createElement)(f.DropdownMenu,{hasArrowIndicator:!0,icon:_.table,toggleProps:t,label:(0,b.__)('Edit table'),controls:Y})})),(0,n.createElement)(s.AlignmentToolbar,{label:(0,b.__)('Change column alignment'),alignmentControls:v,value:(function(){if(z)return(0,h.getCellAttribute)(c,z,'align')})(),onChange:function(t){return Q(t)}})),!$&&(0,n.createElement)(s.InspectorControls,null,(0,n.createElement)(f.PanelBody,{title:(0,b.__)('Table settings'),className:"blocks-table-settings"},(0,n.createElement)(f.ToggleControl,{label:(0,b.__)('Fixed width table cells'),checked:!!T,onChange:function(){O({hasFixedLayout:!T})}}),(0,n.createElement)(f.ToggleControl,{label:(0,b.__)('Header section'),checked:!(!P||!P.length),onChange:function(){O((0,h.toggleSection)(c,'head'))}}),(0,n.createElement)(f.ToggleControl,{label:(0,b.__)('Footer section'),checked:!(!j||!j.length),onChange:function(){O((0,h.toggleSection)(c,'foot'))}})),(0,n.createElement)(s.PanelColorSettings,{title:(0,b.__)('Color settings'),initialOpen:!1,colorSettings:[{value:C.color,onChange:E,label:(0,b.__)('Background color'),disableCustomColors:!0,colors:k}]})),!$&&(0,n.createElement)("table",{className:(0,u.default)(C.class,{'has-fixed-layout':T,'has-background':!!C.color})},Z),!$&&(0,n.createElement)(s.RichText,{tagName:"figcaption","aria-label":(0,b.__)('Table caption text'),placeholder:(0,b.__)('Write caption\u2026'),value:D,onChange:function(t){return O({caption:t})},unstableOnFocus:function(){return J()},__unstableOnSplitAtEnd:function(){return S((0,p.createBlock)('core/paragraph'))}}),$&&(0,n.createElement)(f.Placeholder,{label:(0,b.__)('Table'),icon:(0,n.createElement)(s.BlockIcon,{icon:_.blockTable,showColors:!0}),instructions:(0,b.__)('Insert a table for sharing data.')},(0,n.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(t){t.preventDefault(),O((0,h.createTable)({rowCount:parseInt(R,10)||2,columnCount:parseInt(M,10)||2}))}},(0,n.createElement)(f.TextControl,{type:"number",label:(0,b.__)('Column count'),value:M,onChange:function(t){G(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(f.TextControl,{type:"number",label:(0,b.__)('Row count'),value:R,onChange:function(t){F(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(f.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},(0,b.__)('Create Table')))))});e.default=O},2655,[5,946,66,36,67,1716,1073,1027,1696,1247,1223,2656]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createTable=function(t){var n=t.rowCount,o=t.columnCount;return{body:(0,c.times)(n,function(){return{cells:(0,c.times)(o,function(){return{content:'',tag:'td'}})}})}},e.getFirstRow=s,e.getCellAttribute=function(t,n,o){var l=n.sectionName,u=n.rowIndex,f=n.columnIndex;return(0,c.get)(t,[l,u,'cells',f,o])},e.updateSelectedCell=function(t,n,o){if(!n)return t;var l=(0,c.pick)(t,['head','body','foot']),u=n.sectionName,f=n.rowIndex;return(0,c.mapValues)(l,function(t,c){return u&&u!==c?t:t.map(function(t,l){return f&&f!==l?t:{cells:t.cells.map(function(t,u){var f={sectionName:c,columnIndex:u,rowIndex:l};return p(f,n)?o(t):t})}})})},e.isCellSelected=p,e.insertRow=b,e.deleteRow=function(t,o){var c=o.sectionName,l=o.rowIndex;return(0,n.default)({},c,t[c].filter(function(t,n){return n!==l}))},e.insertColumn=function(t,n){var l=n.columnIndex,u=(0,c.pick)(t,['head','body','foot']);return(0,c.mapValues)(u,function(t,n){return y(t)?t:t.map(function(t){return h(t)||t.cells.length=o?t.cells.filter(function(t,n){return n!==o}):t.cells}}).filter(function(t){return t.cells.length})})},e.toggleSection=function(t,o){if(!y(t[o]))return(0,n.default)({},o,[]);var l=(0,c.get)(t,['body',0,'cells','length'],1);return b(t,{sectionName:o,rowIndex:0,columnCount:l})},e.isEmptyTableSection=y,e.isEmptyRow=h;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function u(t){for(var o=1;o table"},editorStyle:"wp-block-table-editor",style:"wp-block-table"}},2657,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u=t.attributes,s=u.hasFixedLayout,f=u.head,v=u.body,h=u.foot,p=u.backgroundColor,y=u.caption;if(!f.length&&!v.length&&!h.length)return null;var E=(0,c.getColorClassName)('background-color',p),b=(0,o.default)(E,{'has-fixed-layout':s,'has-background':!!E}),k=!c.RichText.isEmpty(y),x=function(t){var u=t.type,s=t.rows;if(!s.length)return null;var f="t"+u;return(0,n.createElement)(f,null,s.map(function(t,u){var s=t.cells;return(0,n.createElement)("tr",{key:u},s.map(function(t,u){var s=t.content,f=t.tag,v=t.scope,h=t.align,p=(0,o.default)((0,l.default)({},"has-text-align-"+h,h));return(0,n.createElement)(c.RichText.Content,{className:p||void 0,"data-align":h,tagName:f,value:s,key:u,scope:'th'===f?v:void 0})}))}))};return(0,n.createElement)("figure",c.useBlockProps.save(),(0,n.createElement)("table",{className:''===b?void 0:b},(0,n.createElement)(x,{type:"head",rows:f}),(0,n.createElement)(x,{type:"body",rows:v}),(0,n.createElement)(x,{type:"foot",rows:h})),k&&(0,n.createElement)(c.RichText.Content,{tagName:"figcaption",value:y}))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4])},2658,[5,946,66,1716,1073]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t){var l=t.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:l,attributes:['scope']},td:{allowEmpty:!0,children:l}}}}},l={from:[{type:'raw',selector:'table',schema:function(l){return{table:{children:{thead:{allowEmpty:!0,children:t(l)},tfoot:{allowEmpty:!0,children:t(l)},tbody:{allowEmpty:!0,children:t(l)}}}}}}]};e.default=l},2659,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),l=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),o=t(r(d[5])),f=s.default.name;e.name=f;var c={title:(0,n._x)('Text Columns (deprecated)','block title'),description:(0,n.__)('This block is deprecated. Please use the Columns block instead.'),transforms:o.default,getEditWrapperProps:function(t){var n=t.width;if('wide'===n||'full'===n)return{'data-align':n}},edit:l.default,save:u.default};e.settings=c},2660,[5,1027,2661,2662,2663,2664]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var h=n.attributes,C=n.setAttributes,b=h.width,v=h.content,_=h.columns;return(0,f.default)('The Text Columns block',{alternative:'the Columns block',plugin:'Gutenberg'}),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(s.BlockControls,null,(0,t.createElement)(s.BlockAlignmentToolbar,{value:b,onChange:function(n){return C({width:n})},controls:['center','wide','full']})),(0,t.createElement)(s.InspectorControls,null,(0,t.createElement)(u.PanelBody,null,(0,t.createElement)(u.RangeControl,{label:(0,c.__)('Columns'),value:_,onChange:function(n){return C({columns:n})},min:2,max:4,required:!0}))),(0,t.createElement)("div",(0,s.useBlockProps)({className:"align"+b+" columns-"+_}),(0,o.times)(_,function(n){return(0,t.createElement)("div",{className:"wp-block-column",key:"column-"+n},(0,t.createElement)(s.RichText,{tagName:"p",value:(0,o.get)(v,[n,'children']),onChange:function(t){C({content:[].concat((0,l.default)(v.slice(0,n)),[{children:t}],(0,l.default)(v.slice(n+1)))})},"aria-label":(0,c.sprintf)((0,c.__)('Column %d text'),n+1),placeholder:(0,c.__)('New Column')}))})))};var t=r(d[1]),l=n(r(d[2])),o=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=n(r(d[7]))},2661,[5,946,14,1068,1027,1696,1073,1111]); -__d(function(e,t,r,o,n,s,c){n.exports={apiVersion:2,name:"core/text-columns",icon:"columns",category:"design",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1},editorStyle:"wp-block-text-columns-editor",style:"wp-block-text-columns"}},2662,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var u=l.attributes,o=u.width,s=u.content,v=u.columns;return(0,t.createElement)("div",c.useBlockProps.save({className:"align"+o+" columns-"+v}),(0,n.times)(v,function(l){return(0,t.createElement)("div",{className:"wp-block-column",key:"column-"+l},(0,t.createElement)(c.RichText.Content,{tagName:"p",value:(0,n.get)(s,[l,'children'])}))}))};var t=r(d[0]),n=r(d[1]),c=r(d[2])},2663,[946,1068,1073]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=r(d[0]),o={to:[{type:'block',blocks:['core/columns'],transform:function(o){var n=o.className,l=o.columns,t=o.content,u=o.width;return(0,c.createBlock)('core/columns',{align:'wide'===u||'full'===u?u:void 0,className:n,columns:l},t.map(function(o){var n=o.children;return(0,c.createBlock)('core/column',{},[(0,c.createBlock)('core/paragraph',{content:n})])}))}}]};e.default=o},2664,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),f=t(r(d[6])),u=t(r(d[7])),p=c.default.name;e.name=p;var _={title:(0,n._x)('Verse','block title'),description:(0,n.__)('Insert poetry. Use special spacing formats. Or quote song lyrics.'),icon:o.verse,example:{attributes:{content:(0,n.__)('WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.')}},keywords:[(0,n.__)('poetry'),(0,n.__)('poem')],transforms:u.default,deprecated:s.default,merge:function(t,n){return{content:t.content+n.content}},edit:l.default,save:f.default};e.settings=_},2665,[5,1027,1247,2666,2667,2668,2669,2670]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),l=[{attributes:{content:{type:'string',source:'html',selector:'pre',default:''},textAlign:{type:'string'}},save:function(l){var u=l.attributes,o=u.textAlign,c=u.content;return(0,t.createElement)(n.RichText.Content,{tagName:"pre",style:{textAlign:o},value:c})}}];e.default=l},2666,[946,1073]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=t.attributes,v=t.setAttributes,_=t.mergeBlocks,h=f.textAlign,p=f.content,x=(0,s.useBlockProps)({className:(0,c.default)((0,o.default)({},"has-text-align-"+h,h))});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.BlockControls,null,(0,n.createElement)(s.AlignmentToolbar,{value:h,onChange:function(t){v({textAlign:t})}})),(0,n.createElement)(s.RichText,(0,l.default)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:p,onChange:function(t){v({content:t})},"aria-label":(0,u.__)('Verse text'),placeholder:(0,u.__)('Write verse\u2026'),onMerge:_,textAlign:h},x)))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=r(d[5]),s=r(d[6])},2667,[5,946,24,66,1716,1027,1073]); -__d(function(e,t,r,o,s,n,i){s.exports={apiVersion:2,name:"core/verse",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}},supports:{anchor:!0,__experimentalFontFamily:!0,fontSize:!0},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"}},2668,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.attributes,s=o.textAlign,f=o.content,v=(0,u.default)((0,l.default)({},"has-text-align-"+s,s));return(0,n.createElement)("pre",c.useBlockProps.save({className:v}),(0,n.createElement)(c.RichText.Content,{value:f}))};var n=r(d[1]),l=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},2669,[5,946,66,1716,1073]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),c={from:[{type:'block',blocks:['core/paragraph'],transform:function(c){return(0,o.createBlock)('core/verse',c)}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(c){return(0,o.createBlock)('core/paragraph',c)}}]};e.default=c},2670,[1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return _.default}}),e.settings=e.name=void 0;var o=r(d[1]),n=r(d[2]),s=t(r(d[3])),_=t(r(d[4])),l=t(r(d[5])),u=t(r(d[6])),c=_.default.name;e.name=c;var f={title:(0,o._x)('Video','block title'),description:(0,o.__)('Embed a video from your media library or upload a new one.'),icon:n.video,keywords:[(0,o.__)('movie')],example:{attributes:{src:'https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm',caption:(0,o.__)('Wood thrush singing in Central Park, NYC.')}},transforms:u.default,edit:s.default,save:l.default};e.settings=f},2671,[5,1027,1247,2672,2676,2677,2679]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),p=t(r(d[7])),f=t(r(d[8])),h=t(r(d[9])),y=r(d[10]),S=r(d[11]),v=r(d[12]),b=r(d[13]),U=r(d[14]),C=r(d[15]),P=r(d[16]),E=r(d[17]),M=r(d[18]),k=r(d[19]),I=t(r(d[20])),O=t(r(d[21])),F=t(r(d[22]));function V(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,s)}return n}function w(t){for(var o=1;o0&&b,l&&(0,o.createElement)(y.Text,{style:I.default.uploadFailedText},u)))}}),(0,o.createElement)(C.BlockCaption,{accessible:!0,accessibilityLabelCreator:function(t){return(0,S.isEmpty)(t)?(0,P.__)('Video caption. Empty'):(0,P.sprintf)((0,P.__)('Video caption. %s'),t)},clientId:this.props.clientId,isSelected:this.state.isCaptionSelected,onFocus:this.onFocusCaption,onBlur:this.props.onBlur,insertBlocksAfter:this.props.insertBlocksAfter}))):(0,o.createElement)(y.View,{style:{flex:1}},(0,o.createElement)(C.MediaPlaceholder,{allowedTypes:[C.MEDIA_TYPE_VIDEO],onSelect:this.onSelectMediaUploadOption,icon:this.getIcon(_),onFocus:this.props.onFocus}))}}],[{key:"getDerivedStateFromProps",value:function(t,o){return{isCaptionSelected:t.isSelected&&o.isCaptionSelected}}}]),j})(o.Component),W=(0,U.withPreferredColorScheme)(j);e.default=W},2672,[5,946,66,24,7,42,60,57,59,56,25,1068,945,1696,1116,1073,1027,1043,4,1247,2673,2674,2675]); -__d(function(g,r,i,a,m,e,d){m.exports={video:{width:"100%"},videoContainer:{flexGrow:1,flexShrink:1,flexBasis:0,backgroundColor:"#000"},placeholderContainer:{flexGrow:1,flexShrink:1,flexBasis:0,justifyContent:"center",alignItems:"center",backgroundColor:"#f3f6f8"},placeholderContainerDark:{backgroundColor:"#1d2327"},placeholderIcon:{justifyContent:"center",alignItems:"center",fill:"#2e4453",backgroundColor:"#e9eff3"},uploadFailedText:{color:"#2e4453",fontSize:14,marginTop:5},modalIcon:{width:40,height:40,justifyContent:"center",alignItems:"center"},modalIconRetry:{width:80,height:80,justifyContent:"center",alignItems:"center"},container:{flexGrow:1,flexShrink:1,flexBasis:0},containerFocused:{flexGrow:1,flexShrink:1,flexBasis:0,borderColor:"#00aadc",borderWidth:2,borderStyle:"solid"},icon:{fill:"#2e4453",width:"100%",height:"100%"},iconDark:{fill:"#fff"},iconUploading:{fill:"#c8d7e1",width:"100%",height:"100%"},iconUploadingDark:{fill:"#3c434a"}}},2673,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),c=(0,t.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(l.Path,{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),(0,t.createElement)(l.Path,{d:"M0 0h24v24H0z",fill:"none"}));e.default=c},2674,[946,1696]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),t=l(r(d[2])),n=r(d[3]),u=r(d[4]),c=[{value:'auto',label:(0,n.__)('Auto')},{value:'metadata',label:(0,n.__)('Metadata')},{value:'none',label:(0,n.__)('None')}],s=function(l){var s=l.setAttributes,_=l.attributes,p=_.autoplay,b=_.controls,y=_.loop,C=_.muted,f=_.playsInline,h=_.preload,v=(0,o.useCallback)(function(l){return l?(0,n.__)('Note: Autoplaying videos may cause usability issues for some visitors.'):null},[]),k=(0,o.useMemo)(function(){var l=function(l){return function(o){s((0,t.default)({},l,o))}};return{autoplay:l('autoplay'),loop:l('loop'),muted:l('muted'),controls:l('controls'),playsInline:l('playsInline')}},[]),E=(0,o.useCallback)(function(l){s({preload:l})},[]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Autoplay'),onChange:k.autoplay,checked:p,help:v}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Loop'),onChange:k.loop,checked:y}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Muted'),onChange:k.muted,checked:C}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Playback controls'),onChange:k.controls,checked:b}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Play inline'),onChange:k.playsInline,checked:f}),(0,o.createElement)(u.SelectControl,{label:(0,n.__)('Preload'),value:h,onChange:E,options:c}))};e.default=s},2675,[5,946,66,1027,1696]); -__d(function(t,e,o,r,a,i,s){a.exports={apiVersion:2,name:"core/video",category:"media",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"},tracks:{type:"array",items:{type:"object"},default:[]}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-video-editor",style:"wp-block-video"}},2676,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var c=t.attributes,s=c.autoplay,u=c.caption,p=c.controls,v=c.loop,f=c.muted,y=c.poster,E=c.preload,_=c.src,k=c.playsInline,P=c.tracks;return(0,o.createElement)("figure",l.useBlockProps.save(),_&&(0,o.createElement)("video",{autoPlay:s,controls:p,loop:v,muted:f,poster:y,preload:'metadata'!==E?E:void 0,src:_,playsInline:k},(0,o.createElement)(n.default,{tracks:P})),!l.RichText.isEmpty(u)&&(0,o.createElement)(l.RichText.Content,{tagName:"figcaption",value:u}))};var o=r(d[1]),l=r(d[2]),n=t(r(d[3]))},2677,[5,946,1073,2678]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var c=t.tracks;return(void 0===c?[]:c).map(function(t){return(0,n.createElement)("track",(0,u.default)({key:t.src},t))})};var n=r(d[1]),u=t(r(d[2]))},2678,[5,946,24]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),n={from:[{type:'files',isMatch:function(t){return 1===t.length&&0===t[0].type.indexOf('video/')},transform:function(n){var c=n[0];return(0,o.createBlock)('core/video',{src:(0,t.createBlobURL)(c)})}},{type:'shortcode',tag:'video',attributes:{src:{type:'string',shortcode:function(t){var o=t.named,n=o.src,c=o.mp4,u=o.m4v,s=o.webm,p=o.ogv,f=o.flv;return n||c||u||s||p||f}},poster:{type:'string',shortcode:function(t){return t.named.poster}},loop:{type:'string',shortcode:function(t){return t.named.loop}},autoplay:{type:'string',shortcode:function(t){return t.named.autoplay}},preload:{type:'string',shortcode:function(t){return t.named.preload}}}}]};e.default=n},2679,[2435,1223]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),u=t(r(d[3])),l=t(r(d[4])),s=u.default.name;e.name=s;var c={title:(0,n._x)('Tag Cloud','block title'),description:(0,n.__)('A cloud of your most used tags.'),icon:o.tag,example:{},edit:l.default};e.settings=c},2680,[5,1027,1247,2681,2682]); -__d(function(t,o,e,a,s,i,l){s.exports={apiVersion:2,name:"core/tag-cloud",category:"widgets",attributes:{taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"}},2681,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),_=r(d[7]),f=t(r(d[8]));var b=(0,c.withSelect)(function(t){return{taxonomies:t('core').getTaxonomies({per_page:-1})}})(function(t){var c,b,v=t.attributes,h=t.setAttributes,p=t.taxonomies,C=v.taxonomy,E=v.showTagCounts,x=(0,o.createElement)(_.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:(0,s.__)('Tag Cloud settings')},(0,o.createElement)(u.SelectControl,{label:(0,s.__)('Taxonomy'),options:(c={label:(0,s.__)('- Select -'),value:'',disabled:!0},b=(0,l.map)((0,l.filter)(p,'show_cloud'),function(t){return{value:t.slug,label:t.name}}),[c].concat((0,n.default)(b))),value:C,onChange:function(t){return h({taxonomy:t})}}),(0,o.createElement)(u.ToggleControl,{label:(0,s.__)('Show post counts'),checked:E,onChange:function(){return h({showTagCounts:!E})}})));return(0,o.createElement)(o.Fragment,null,x,(0,o.createElement)("div",(0,_.useBlockProps)(),(0,o.createElement)(f.default,{key:"tag-cloud",block:"core/tag-cloud",attributes:v})))});e.default=b},2682,[5,946,14,1068,1696,1076,1027,1073,2471]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var s=r(d[1]),n=r(d[2]),l=t(r(d[3])),c=t(r(d[4])),o=t(r(d[5])),u=c.default.name;e.name=u;var f={title:(0,s._x)('Classic','block title'),description:(0,s.__)('Use the classic WordPress editor.'),icon:n.classic,edit:l.default,save:o.default};e.settings=f},2683,[5,1027,1247,2684,2685,2686]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4]));function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function O(t){for(var n=1;no.indexOf(t)?c:t},void 0),u=t.map(function(t){return(0,n.createBlock)(t.name,t.attributes,t.innerBlocks)});return(0,n.createBlock)('core/group',{align:c},u)}}}]},edit:l.default,save:s.default,deprecated:u.default};e.settings=p},2687,[5,1027,1223,1247,2688,2689,2691,2692]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=o(r(d[2])),l=o(r(d[3])),c=r(d[4]),u=r(d[5]);function s(o,t){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})),n.push.apply(n,l)}return n}function C(o){for(var t=1;tn.length)&&(t=n.length);for(var l=0,o=new Array(t);l"']/g,jn=RegExp(wn.source),An=RegExp(mn.source),kn=/<%-([\s\S]+?)%>/g,zn=/<%([\s\S]+?)%>/g,On=/<%=([\s\S]+?)%>/g,In=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rn=/^\w*$/,En=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,Ln=RegExp(Sn.source),Wn=/^\s+|\s+$/g,Cn=/^\s+/,Tn=/\s+$/,Un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,$n=/,? & /,Dn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mn=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nn=/\w*$/,Pn=/^[-+]0x[0-9a-f]+$/i,Zn=/^0b[01]+$/i,qn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Vn=/^(?:0|[1-9]\d*)$/,Gn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hn=/($^)/,Jn=/['\n\r\u2028\u2029\\]/g,Yn="[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]",Qn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Xn="(?:\\ud83c[\\udde6-\\uddff]){2}",nt="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?"+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Xn,nt].join('|')+")[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"),rt='(?:'+["[\\u2700-\\u27bf]",Xn,nt].join('|')+')'+tt,et='(?:'+["[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?",Qn,Xn,nt,"[\\ud800-\\udfff]"].join('|')+')',ut=RegExp("['\u2019]",'g'),it=RegExp(Qn,'g'),ot=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+et+tt,'g'),ft=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde]",'$'].join('|')+')',"(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",'$'].join('|')+')',"[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?","[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",'\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])','\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])','\\d+',rt].join('|'),'g'),at=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),ct=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,lt=['Array','Buffer','DataView','Date','Error','Float32Array','Float64Array','Function','Int8Array','Int16Array','Int32Array','Map','Math','Object','Promise','RegExp','Set','String','Symbol','TypeError','Uint8Array','Uint8ClampedArray','Uint16Array','Uint32Array','WeakMap','_','clearTimeout','isFinite','parseInt','setTimeout'],st=-1,ht={};ht[cn]=ht[ln]=ht[sn]=ht[hn]=ht[pn]=ht[vn]=ht[_n]=ht[gn]=ht[dn]=!0,ht[D]=ht[M]=ht[fn]=ht[N]=ht[an]=ht[P]=ht[q]=ht[K]=ht[G]=ht[H]=ht[Y]=ht[X]=ht[nn]=ht[tn]=ht[un]=!1;var pt={};pt[D]=pt[M]=pt[fn]=pt[an]=pt[N]=pt[P]=pt[cn]=pt[ln]=pt[sn]=pt[hn]=pt[pn]=pt[G]=pt[H]=pt[Y]=pt[X]=pt[nn]=pt[tn]=pt[rn]=pt[vn]=pt[_n]=pt[gn]=pt[dn]=!0,pt[q]=pt[K]=pt[un]=!1;var vt={'\\':'\\',"'":"'",'\n':'n','\r':'r',"\u2028":'u2028',"\u2029":'u2029'},_t=parseFloat,gt=parseInt,dt='object'==typeof n&&n&&n.Object===Object&&n,yt='object'==typeof self&&self&&self.Object===Object&&self,xt=dt||yt||Function('return this')(),bt='object'==typeof i&&i&&!i.nodeType&&i,wt=bt&&'object'==typeof u&&u&&!u.nodeType&&u,mt=wt&&wt.exports===bt,jt=mt&&dt.process,At=(function(){try{var n=wt&&wt.require&&wt.require('util').types;return n||jt&&jt.binding&&jt.binding('util')}catch(n){}})(),kt=At&&At.isArrayBuffer,zt=At&&At.isDate,Ot=At&&At.isMap,It=At&&At.isRegExp,Rt=At&&At.isSet,Et=At&&At.isTypedArray;function St(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Lt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function $t(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function lr(n,t){for(var r=n.length;r--&&Ht(t,n[r],0)>-1;);return r}function sr(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}var hr=nr({'\xc0':'A','\xc1':'A','\xc2':'A','\xc3':'A','\xc4':'A','\xc5':'A','\xe0':'a','\xe1':'a','\xe2':'a','\xe3':'a','\xe4':'a','\xe5':'a','\xc7':'C','\xe7':'c','\xd0':'D','\xf0':'d','\xc8':'E','\xc9':'E','\xca':'E','\xcb':'E','\xe8':'e','\xe9':'e','\xea':'e','\xeb':'e','\xcc':'I','\xcd':'I','\xce':'I','\xcf':'I','\xec':'i','\xed':'i','\xee':'i','\xef':'i','\xd1':'N','\xf1':'n','\xd2':'O','\xd3':'O','\xd4':'O','\xd5':'O','\xd6':'O','\xd8':'O','\xf2':'o','\xf3':'o','\xf4':'o','\xf5':'o','\xf6':'o','\xf8':'o','\xd9':'U','\xda':'U','\xdb':'U','\xdc':'U','\xf9':'u','\xfa':'u','\xfb':'u','\xfc':'u','\xdd':'Y','\xfd':'y','\xff':'y','\xc6':'Ae','\xe6':'ae','\xde':'Th','\xfe':'th','\xdf':'ss',"\u0100":'A',"\u0102":'A',"\u0104":'A',"\u0101":'a',"\u0103":'a',"\u0105":'a',"\u0106":'C',"\u0108":'C',"\u010a":'C',"\u010c":'C',"\u0107":'c',"\u0109":'c',"\u010b":'c',"\u010d":'c',"\u010e":'D',"\u0110":'D',"\u010f":'d',"\u0111":'d',"\u0112":'E',"\u0114":'E',"\u0116":'E',"\u0118":'E',"\u011a":'E',"\u0113":'e',"\u0115":'e',"\u0117":'e',"\u0119":'e',"\u011b":'e',"\u011c":'G',"\u011e":'G',"\u0120":'G',"\u0122":'G',"\u011d":'g',"\u011f":'g',"\u0121":'g',"\u0123":'g',"\u0124":'H',"\u0126":'H',"\u0125":'h',"\u0127":'h',"\u0128":'I',"\u012a":'I',"\u012c":'I',"\u012e":'I',"\u0130":'I',"\u0129":'i',"\u012b":'i',"\u012d":'i',"\u012f":'i',"\u0131":'i',"\u0134":'J',"\u0135":'j',"\u0136":'K',"\u0137":'k',"\u0138":'k',"\u0139":'L',"\u013b":'L',"\u013d":'L',"\u013f":'L',"\u0141":'L',"\u013a":'l',"\u013c":'l',"\u013e":'l',"\u0140":'l',"\u0142":'l',"\u0143":'N',"\u0145":'N',"\u0147":'N',"\u014a":'N',"\u0144":'n',"\u0146":'n',"\u0148":'n',"\u014b":'n',"\u014c":'O',"\u014e":'O',"\u0150":'O',"\u014d":'o',"\u014f":'o',"\u0151":'o',"\u0154":'R',"\u0156":'R',"\u0158":'R',"\u0155":'r',"\u0157":'r',"\u0159":'r',"\u015a":'S',"\u015c":'S',"\u015e":'S',"\u0160":'S',"\u015b":'s',"\u015d":'s',"\u015f":'s',"\u0161":'s',"\u0162":'T',"\u0164":'T',"\u0166":'T',"\u0163":'t',"\u0165":'t',"\u0167":'t',"\u0168":'U',"\u016a":'U',"\u016c":'U',"\u016e":'U',"\u0170":'U',"\u0172":'U',"\u0169":'u',"\u016b":'u',"\u016d":'u',"\u016f":'u',"\u0171":'u',"\u0173":'u',"\u0174":'W',"\u0175":'w',"\u0176":'Y',"\u0177":'y',"\u0178":'Y',"\u0179":'Z',"\u017b":'Z',"\u017d":'Z',"\u017a":'z',"\u017c":'z',"\u017e":'z',"\u0132":'IJ',"\u0133":'ij',"\u0152":'Oe',"\u0153":'oe',"\u0149":"'n","\u017f":'s'}),pr=nr({'&':'&','<':'<','>':'>','"':'"',"'":'''});function vr(n){return'\\'+vt[n]}function _r(n,r){return null==n?t:n[r]}function gr(n){return at.test(n)}function dr(n){return ct.test(n)}function yr(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}function xr(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function br(n,t){return function(r){return n(t(r))}}function wr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r','"':'"',''':"'"});function Rr(n){for(var t=ot.lastIndex=0;ot.test(n);)++t;return t}function Er(n){return n.match(ot)||[]}function Sr(n){return n.match(ft)||[]}var Lr=(function n(u){var i,Dn=(u=null==u?xt:Lr.defaults(xt.Object(),u,Lr.pick(xt,lt))).Array,Yn=u.Date,Qn=u.Error,Xn=u.Function,nt=u.Math,tt=u.Object,rt=u.RegExp,et=u.String,ot=u.TypeError,ft=Dn.prototype,at=Xn.prototype,ct=tt.prototype,vt=u['__core-js_shared__'],dt=at.toString,yt=ct.hasOwnProperty,bt=0,wt=(i=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||''))?'Symbol(src)_1.'+i:'',jt=ct.toString,At=dt.call(tt),Zt=xt._,qt=rt('^'+dt.call(yt).replace(Sn,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$'),nr=mt?u.Buffer:t,Ar=u.Symbol,Rr=u.Uint8Array,Er=nr?nr.allocUnsafe:t,Wr=br(tt.getPrototypeOf,tt),Cr=tt.create,Tr=ct.propertyIsEnumerable,Ur=ft.splice,Br=Ar?"function"==typeof Ar?Ar.isConcatSpreadable:"@@isConcatSpreadable":t,$r=Ar?"function"==typeof Ar?Ar.iterator:"@@iterator":t,Dr=Ar?"function"==typeof Ar?Ar.toStringTag:"@@toStringTag":t,Mr=(function(){try{var n=co(tt,'defineProperty');return n({},'',{}),n}catch(n){}})(),Fr=u.clearTimeout!==xt.clearTimeout&&u.clearTimeout,Nr=Yn&&Yn.now!==xt.Date.now&&Yn.now,Pr=u.setTimeout!==xt.setTimeout&&u.setTimeout,Zr=nt.ceil,qr=nt.floor,Kr=tt.getOwnPropertySymbols,Vr=nr?nr.isBuffer:t,Gr=u.isFinite,Hr=ft.join,Jr=br(tt.keys,tt),Yr=nt.max,Qr=nt.min,Xr=Yn.now,ne=u.parseInt,te=nt.random,re=ft.reverse,ee=co(u,'DataView'),ue=co(u,'Map'),ie=co(u,'Promise'),oe=co(u,'Set'),fe=co(u,'WeakMap'),ae=co(tt,'create'),ce=fe&&new fe,le={},se=Ko(ee),he=Ko(ue),pe=Ko(ie),ve=Ko(oe),_e=Ko(fe),ge=Ar?"function"==typeof Ar?Ar.prototype:"@@prototype":t,de=ge?ge.valueOf:t,ye=ge?ge.toString:t;function xe(n){if(sa(n)&&!na(n)&&!(n instanceof je)){if(n instanceof me)return n;if(yt.call(n,'__wrapped__'))return Go(n)}return new me(n)}var be=(function(){function n(){}return function(r){if(!la(r))return{};if(Cr)return Cr(r);n.prototype=r;var e=new n;return n.prototype=t,e}})();function we(){}function me(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function je(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=T,this.__views__=[]}function Ae(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=r?n:r)),n}function Ne(n,r,e,u,i,o){var f,a=r&l,c=r&s,p=r&h;if(e&&(f=i?e(n,u,i,o):e(n)),f!==t)return f;if(!la(n))return n;var v=na(n);if(v){if(f=yo(n),!a)return bi(n,f)}else{var _=po(n),g=_==K||_==V;if(ua(n))return hi(n,a);if(_==Y||_==D||g&&!i){if(f=c||g?{}:xo(n),!a)return c?ji(n,$e(f,n)):mi(n,Be(f,n))}else{if(!pt[_])return i?n:{};f=bo(n,_,a)}}o||(o=new Ie);var d=o.get(n);if(d)return d;o.set(n,f),ga(n)?n.forEach(function(t){f.add(Ne(t,r,e,t,n,o))}):ha(n)&&n.forEach(function(t,u){f.set(u,Ne(t,r,e,u,n,o))});var y=v?t:(p?c?ro:to:c?Na:Fa)(n);return Wt(y||n,function(t,u){y&&(t=n[u=t]),Ce(f,u,Ne(t,r,e,u,n,o))}),f}function Pe(n){var t=Fa(n);return function(r){return Ze(r,n,t)}}function Ze(n,r,e){var u=e.length;if(null==n)return!u;for(n=tt(n);u--;){var i=e[u],o=r[i],f=n[i];if(f===t&&!(i in n)||!o(f))return!1}return!0}function qe(n,r,e){if('function'!=typeof n)throw new ot(o);return Do(function(){n.apply(t,e)},r)}function Ke(n,t,e,u){var i=-1,o=Bt,f=!0,a=n.length,c=[],l=t.length;if(!a)return c;e&&(t=Dt(t,or(e))),u?(o=$t,f=!1):t.length>=r&&(o=ar,f=!1,t=new Oe(t));n:for(;++i-1},ke.prototype.set=function(n,t){var r=this.__data__,e=Te(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(ue||ke),string:new Ae}},ze.prototype.delete=function(n){var t=fo(this,n).delete(n);return this.size-=t?1:0,t},ze.prototype.get=function(n){return fo(this,n).get(n)},ze.prototype.has=function(n){return fo(this,n).has(n)},ze.prototype.set=function(n,t){var r=fo(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Oe.prototype.add=Oe.prototype.push=function(n){return this.__data__.set(n,f),this},Oe.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.clear=function(){this.__data__=new ke,this.size=0},Ie.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Ie.prototype.get=function(n){return this.__data__.get(n)},Ie.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.set=function(n,t){var r=this.__data__;if(r instanceof ke){var e=r.__data__;if(!ue||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new ze(e)}return r.set(n,t),this.size=r.size,this};var Ve=zi(ru),Ge=zi(eu,!0);function He(n,t){var r=!0;return Ve(n,function(n,e,u){return r=!!t(n,e,u)}),r}function Je(n,r,e){for(var u=-1,i=n.length;++ui?0:i+e),(u=u===t||u>i?i:Aa(u))<0&&(u+=i),u=e>u?0:ka(u);e0&&r(f)?t>1?Xe(f,t-1,r,e,u):Mt(u,f):e||(u[u.length]=f)}return u}var nu=Oi(),tu=Oi(!0);function ru(n,t){return n&&nu(n,t,Fa)}function eu(n,t){return n&&tu(n,t,Fa)}function uu(n,t){return Ut(t,function(t){return fa(n[t])})}function iu(n,r){for(var e=0,u=(r=ai(r,n)).length;null!=n&&et}function cu(n,t){return null!=n&&yt.call(n,t)}function lu(n,t){return null!=n&&t in tt(n)}function su(n,t,r){return n>=Qr(t,r)&&n=120&&s.length>=120)?new Oe(f&&s):t}s=n[0];var h=-1,p=a[0];n:for(;++h-1;)f!==n&&Ur.call(f,a,1),Ur.call(n,a,1);return n}function Tu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;jo(u)?Ur.call(n,u,1):ni(n,u)}}return n}function Uu(n,t){return n+qr(te()*(t-n+1))}function Bu(n,t,r,e){for(var u=-1,i=Yr(Zr((t-n)/(r||1)),0),o=Dn(i);i--;)o[e?i:++u]=n,n+=r;return o}function $u(n,t){var r='';if(!n||t<1||t>L)return r;do{t%2&&(r+=n),(t=qr(t/2))&&(n+=n)}while(t);return r}function Du(n,t){return Mo(Co(n,t,pc),n+'')}function Mu(n){return Ee(Ja(n))}function Fu(n,t){var r=Ja(n);return Po(r,Fe(t,0,r.length))}function Nu(n,r,e,u){if(!la(n))return n;for(var i=-1,o=(r=ai(r,n)).length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=Dn(u);++e>>1,o=n[i];null!==o&&!ya(o)&&(r?o<=t:o=r){var l=t?null:qi(n);if(l)return mr(l);f=!1,i=ar,c=new Oe}else c=t?[]:a;n:for(;++u=u?n:Ku(n,r,e)}var si=Fr||function(n){return xt.clearTimeout(n)};function hi(n,t){if(t)return n.slice();var r=n.length,e=Er?Er(r):new n.constructor(r);return n.copy(e),e}function pi(n){var t=new n.constructor(n.byteLength);return new Rr(t).set(new Rr(n)),t}function vi(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}function _i(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function gi(n,r){if(n!==r){var e=n!==t,u=null===n,i=n==n,o=ya(n),f=r!==t,a=null===r,c=r==r,l=ya(r);if(!a&&!l&&!o&&n>r||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n=f?a:a*('desc'==r[e]?-1:1)}return n.index-t.index}function yi(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=Yr(i-o,0),l=Dn(a+c),s=!e;++f1?e[i-1]:t,f=i>2?e[2]:t;for(o=n.length>3&&'function'==typeof o?(i--,o):t,f&&Ao(e[0],e[1],f)&&(o=i<3?t:o,i=1),r=tt(r);++u-1?i[o?r[f]:f]:t}}function Ci(n){return no(function(r){var e=r.length,u=e,i=me.prototype.thru;for(n&&r.reverse();u--;){var f=r[u];if('function'!=typeof f)throw new ot(o);if(i&&!a&&'wrapper'==uo(f))var a=new me([],!0)}for(u=a?u:e;++u1&&g.reverse(),s&&c<_&&(g.length=c),this&&this!==xt&&this instanceof t&&(A=y||Si(A)),A.apply(j,g)}}function Ui(n,t){return function(r,e){return pu(r,n,t(e),{})}}function Bi(n,r){return function(e,u){var i;if(e===t&&u===t)return r;if(e!==t&&(i=e),u!==t){if(i===t)return u;'string'==typeof e||'string'==typeof u?(e=Qu(e),u=Qu(u)):(e=Yu(e),u=Yu(u)),i=n(e,u)}return i}}function $i(n){return no(function(t){return t=Dt(t,or(oo())),Du(function(r){var e=this;return n(t,function(n){return St(n,e,r)})})})}function Di(n,r){var e=(r=r===t?' ':Qu(r)).length;if(e<2)return e?$u(r,n):r;var u=$u(r,Zr(n/zr(r)));return gr(r)?li(Or(u),0,n).join(''):u.slice(0,n)}function Mi(n,t,r,e){var u=t&_,i=Si(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=Dn(c+f),s=this&&this!==xt&&this instanceof t?i:n;++aa))return!1;var l=o.get(n);if(l&&o.get(r))return l==r;var s=-1,h=!0,_=e&v?new Oe:t;for(o.set(n,r),o.set(r,n);++s1?'& ':'')+t[e],t=t.join(r>2?', ':' '),n.replace(Un,'{\n/* [wrapped with '+t+'] */\n')}function mo(n){return na(n)||Xf(n)||!!(Br&&n&&n[Br])}function jo(n,t){var r=typeof n;return!!(t=null==t?L:t)&&('number'==r||'symbol'!=r&&Vn.test(n))&&n>-1&&n%1==0&&n0){if(++r>=O)return arguments[0]}else r=0;return n.apply(t,arguments)}}function Po(n,r){var e=-1,u=n.length,i=u-1;for(r=r===t?u:r;++e1?n[r-1]:t;return _f(n,e='function'==typeof e?(n.pop(),e):t)});function mf(n){var t=xe(n);return t.__chain__=!0,t}function jf(n,t){return t(n)}var Af=no(function(n){var r=n.length,e=r?n[0]:0,u=this.__wrapped__,i=function(t){return Me(t,n)};return!(r>1||this.__actions__.length)&&u instanceof je&&jo(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:jf,args:[i],thisArg:t}),new me(u,this.__chain__).thru(function(n){return r&&!n.length&&n.push(t),n})):this.thru(i)});var kf=Ai(function(n,t,r){yt.call(n,r)?++n[r]:De(n,r,1)});var zf=Wi(Qo),Of=Wi(Xo);function If(n,t){return(na(n)?Wt:Ve)(n,oo(t,3))}function Rf(n,t){return(na(n)?Ct:Ge)(n,oo(t,3))}var Ef=Ai(function(n,t,r){yt.call(n,r)?n[r].push(t):De(n,r,[t])});var Sf=Du(function(n,t,r){var e=-1,u='function'==typeof t,i=ra(n)?Dn(n.length):[];return Ve(n,function(n){i[++e]=u?St(t,n,r):vu(n,t,r)}),i}),Lf=Ai(function(n,t,r){De(n,r,t)});function Wf(n,t){return(na(n)?Dt:Au)(n,oo(t,3))}var Cf=Ai(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var Tf=Du(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Ao(n,t[0],t[1])?t=[]:r>2&&Ao(t[0],t[1],t[2])&&(t=[t[0]]),Eu(n,Xe(t,1),[])}),Uf=Nr||function(){return xt.Date.now()};function Bf(n,r,e){return r=e?t:r,r=n&&null==r?n.length:r,Vi(n,m,t,t,t,t,r)}function $f(n,r){var e;if('function'!=typeof r)throw new ot(o);return n=Aa(n),function(){return--n>0&&(e=r.apply(this,arguments)),n<=1&&(r=t),e}}var Df=Du(function(n,t,r){var e=_;if(r.length){var u=wr(r,io(Df));e|=b}return Vi(n,e,t,r,u)}),Mf=Du(function(n,t,r){var e=3;if(r.length){var u=wr(r,io(Mf));e|=b}return Vi(t,e,n,r,u)});function Ff(n,r,e){var u,i,f,a,c,l,s=0,h=!1,p=!1,v=!0;if('function'!=typeof n)throw new ot(o);function _(r){var e=u,o=i;return u=i=t,s=r,a=n.apply(o,e)}function g(n){return s=n,c=Do(x,r),h?_(n):a}function d(n){var t=r-(n-l);return p?Qr(t,f-(n-s)):t}function y(n){var e=n-l;return l===t||e>=r||e<0||p&&n-s>=f}function x(){var n=Uf();if(y(n))return b(n);c=Do(x,d(n))}function b(n){return c=t,v&&u?_(n):(u=i=t,a)}function w(){var n=Uf(),e=y(n);if(u=arguments,i=this,l=n,e){if(c===t)return g(l);if(p)return si(c),c=Do(x,r),_(l)}return c===t&&(c=Do(x,r)),a}return r=za(r)||0,la(e)&&(h=!!e.leading,f=(p='maxWait'in e)?Yr(za(e.maxWait)||0,r):f,v='trailing'in e?!!e.trailing:v),w.cancel=function(){c!==t&&si(c),s=0,u=l=i=c=t},w.flush=function(){return c===t?a:b(Uf())},w}var Nf=Du(function(n,t){return qe(n,1,t)}),Pf=Du(function(n,t,r){return qe(n,za(t)||0,r)});function Zf(n,t){if('function'!=typeof n||null!=t&&'function'!=typeof t)throw new ot(o);var r=function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Zf.Cache||ze),r}function qf(n){if('function'!=typeof n)throw new ot(o);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Zf.Cache=ze;var Kf=ci(function(n,t){var r=(t=1==t.length&&na(t[0])?Dt(t[0],or(oo())):Dt(Xe(t,1),or(oo()))).length;return Du(function(e){for(var u=-1,i=Qr(e.length,r);++u=t}),Xf=_u((function(){return arguments})())?_u:function(n){return sa(n)&&yt.call(n,'callee')&&!Tr.call(n,'callee')},na=Dn.isArray,ta=kt?or(kt):function(n){return sa(n)&&fu(n)==fn};function ra(n){return null!=n&&ca(n.length)&&!fa(n)}function ea(n){return sa(n)&&ra(n)}var ua=Vr||zc,ia=zt?or(zt):function(n){return sa(n)&&fu(n)==P};function oa(n){if(!sa(n))return!1;var t=fu(n);return t==q||t==Z||'string'==typeof n.message&&'string'==typeof n.name&&!va(n)}function fa(n){if(!la(n))return!1;var t=fu(n);return t==K||t==V||t==F||t==Q}function aa(n){return'number'==typeof n&&n==Aa(n)}function ca(n){return'number'==typeof n&&n>-1&&n%1==0&&n<=L}function la(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}function sa(n){return null!=n&&'object'==typeof n}var ha=Ot?or(Ot):function(n){return sa(n)&&po(n)==G};function pa(n){return'number'==typeof n||sa(n)&&fu(n)==H}function va(n){if(!sa(n)||fu(n)!=Y)return!1;var t=Wr(n);if(null===t)return!0;var r=yt.call(t,'constructor')&&t.constructor;return'function'==typeof r&&r instanceof r&&dt.call(r)==At}var _a=It?or(It):function(n){return sa(n)&&fu(n)==X};var ga=Rt?or(Rt):function(n){return sa(n)&&po(n)==nn};function da(n){return'string'==typeof n||!na(n)&&sa(n)&&fu(n)==tn}function ya(n){return'symbol'==typeof n||sa(n)&&fu(n)==rn}var xa=Et?or(Et):function(n){return sa(n)&&ca(n.length)&&!!ht[fu(n)]};var ba=Ni(ju),wa=Ni(function(n,t){return n<=t});function ma(n){if(!n)return[];if(ra(n))return da(n)?Or(n):bi(n);if($r&&n[$r])return yr(n[$r]());var t=po(n);return(t==G?xr:t==nn?mr:Ja)(n)}function ja(n){return n?(n=za(n))===S||n===-1/0?(n<0?-1:1)*W:n==n?n:0:0===n?n:0}function Aa(n){var t=ja(n),r=t%1;return t==t?r?t-r:t:0}function ka(n){return n?Fe(Aa(n),0,T):0}function za(n){if('number'==typeof n)return n;if(ya(n))return C;if(la(n)){var t='function'==typeof n.valueOf?n.valueOf():n;n=la(t)?t+'':t}if('string'!=typeof n)return 0===n?n:+n;n=n.replace(Wn,'');var r=Zn.test(n);return r||Kn.test(n)?gt(n.slice(2),r?2:8):Pn.test(n)?C:+n}function Oa(n){return wi(n,Na(n))}function Ia(n){return null==n?'':Qu(n)}var Ra=ki(function(n,t){if(Io(t)||ra(t))wi(t,Fa(t),n);else for(var r in t)yt.call(t,r)&&Ce(n,r,t[r])}),Ea=ki(function(n,t){wi(t,Na(t),n)}),Sa=ki(function(n,t,r,e){wi(t,Na(t),n,e)}),La=ki(function(n,t,r,e){wi(t,Fa(t),n,e)}),Wa=no(Me);var Ca=Du(function(n,r){n=tt(n);var e=-1,u=r.length,i=u>2?r[2]:t;for(i&&Ao(r[0],r[1],i)&&(u=1);++e1),t}),wi(n,ro(n),r),e&&(r=Ne(r,7,Ji));for(var u=t.length;u--;)ni(r,t[u]);return r});var Ka=no(function(n,t){return null==n?{}:Su(n,t)});function Va(n,t){if(null==n)return{};var r=Dt(ro(n),function(n){return[n]});return t=oo(t),Lu(n,r,function(n,r){return t(n,r[0])})}var Ga=Ki(Fa),Ha=Ki(Na);function Ja(n){return null==n?[]:fr(n,Fa(n))}var Ya=Ei(function(n,t,r){return t=t.toLowerCase(),n+(r?Qa(t):t)});function Qa(n){return oc(Ia(n).toLowerCase())}function Xa(n){return(n=Ia(n))&&n.replace(Gn,hr).replace(it,'')}var nc=Ei(function(n,t,r){return n+(r?'-':'')+t.toLowerCase()}),tc=Ei(function(n,t,r){return n+(r?' ':'')+t.toLowerCase()}),rc=Ri('toLowerCase');var ec=Ei(function(n,t,r){return n+(r?'_':'')+t.toLowerCase()});var uc=Ei(function(n,t,r){return n+(r?' ':'')+oc(t)});var ic=Ei(function(n,t,r){return n+(r?' ':'')+t.toUpperCase()}),oc=Ri('toUpperCase');function fc(n,r,e){return n=Ia(n),(r=e?t:r)===t?dr(n)?Sr(n):Kt(n):n.match(r)||[]}var ac=Du(function(n,r){try{return St(n,t,r)}catch(n){return oa(n)?n:new Qn(n)}}),cc=no(function(n,t){return Wt(t,function(t){t=qo(t),De(n,t,Df(n[t],n))}),n});function lc(n){return function(){return n}}var sc=Ci(),hc=Ci(!0);function pc(n){return n}function vc(n){return bu('function'==typeof n?n:Ne(n,l))}var _c=Du(function(n,t){return function(r){return vu(r,n,t)}}),gc=Du(function(n,t){return function(r){return vu(n,r,t)}});function dc(n,t,r){var e=Fa(t),u=uu(t,e);null!=r||la(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=uu(t,Fa(t)));var i=!(la(r)&&'chain'in r&&!r.chain),o=fa(n);return Wt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=bi(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Mt([this.value()],arguments))})}),n}function yc(){}var xc=$i(Dt),bc=$i(Tt),wc=$i(Pt);function mc(n){return ko(n)?Xt(qo(n)):Wu(n)}var jc=Fi(),Ac=Fi(!0);function kc(){return[]}function zc(){return!1}var Oc=Bi(function(n,t){return n+t},0),Ic=Zi('ceil'),Rc=Bi(function(n,t){return n/t},1),Ec=Zi('floor');var Sc,Lc=Bi(function(n,t){return n*t},1),Wc=Zi('round'),Cc=Bi(function(n,t){return n-t},0);return xe.after=function(n,t){if('function'!=typeof t)throw new ot(o);return n=Aa(n),function(){if(--n<1)return t.apply(this,arguments)}},xe.ary=Bf,xe.assign=Ra,xe.assignIn=Ea,xe.assignInWith=Sa,xe.assignWith=La,xe.at=Wa,xe.before=$f,xe.bind=Df,xe.bindAll=cc,xe.bindKey=Mf,xe.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return na(n)?n:[n]},xe.chain=mf,xe.chunk=function(n,r,e){r=(e?Ao(n,r,e):r===t)?1:Yr(Aa(r),0);var u=null==n?0:n.length;if(!u||r<1)return[];for(var i=0,o=0,f=Dn(Zr(u/r));i>>0)?(n=Ia(n))&&('string'==typeof r||null!=r&&!_a(r))&&!(r=Qu(r))&&gr(n)?li(Or(n),0,e):n.split(r,e):[]},xe.spread=function(n,t){if('function'!=typeof n)throw new ot(o);return t=null==t?0:Yr(Aa(t),0),Du(function(r){var e=r[t],u=li(r,0,t);return e&&Mt(u,e),St(n,this,u)})},xe.tail=function(n){var t=null==n?0:n.length;return t?Ku(n,1,t):[]},xe.take=function(n,r,e){return n&&n.length?Ku(n,0,(r=e||r===t?1:Aa(r))<0?0:r):[]},xe.takeRight=function(n,r,e){var u=null==n?0:n.length;return u?Ku(n,(r=u-(r=e||r===t?1:Aa(r)))<0?0:r,u):[]},xe.takeRightWhile=function(n,t){return n&&n.length?ri(n,oo(t,3),!1,!0):[]},xe.takeWhile=function(n,t){return n&&n.length?ri(n,oo(t,3)):[]},xe.tap=function(n,t){return t(n),n},xe.throttle=function(n,t,r){var e=!0,u=!0;if('function'!=typeof n)throw new ot(o);return la(r)&&(e='leading'in r?!!r.leading:e,u='trailing'in r?!!r.trailing:u),Ff(n,t,{leading:e,maxWait:t,trailing:u})},xe.thru=jf,xe.toArray=ma,xe.toPairs=Ga,xe.toPairsIn=Ha,xe.toPath=function(n){return na(n)?Dt(n,qo):ya(n)?[n]:bi(Zo(Ia(n)))},xe.toPlainObject=Oa,xe.transform=function(n,t,r){var e=na(n),u=e||ua(n)||xa(n);if(t=oo(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:la(n)&&fa(i)?be(Wr(n)):{}}return(u?Wt:ru)(n,function(n,e,u){return t(r,n,e,u)}),r},xe.unary=function(n){return Bf(n,1)},xe.union=sf,xe.unionBy=hf,xe.unionWith=pf,xe.uniq=function(n){return n&&n.length?Xu(n):[]},xe.uniqBy=function(n,t){return n&&n.length?Xu(n,oo(t,2)):[]},xe.uniqWith=function(n,r){return r='function'==typeof r?r:t,n&&n.length?Xu(n,t,r):[]},xe.unset=function(n,t){return null==n||ni(n,t)},xe.unzip=vf,xe.unzipWith=_f,xe.update=function(n,t,r){return null==n?n:ti(n,t,fi(r))},xe.updateWith=function(n,r,e,u){return u='function'==typeof u?u:t,null==n?n:ti(n,r,fi(e),u)},xe.values=Ja,xe.valuesIn=function(n){return null==n?[]:fr(n,Na(n))},xe.without=gf,xe.words=fc,xe.wrap=function(n,t){return Vf(fi(t),n)},xe.xor=df,xe.xorBy=yf,xe.xorWith=xf,xe.zip=bf,xe.zipObject=function(n,t){return ii(n||[],t||[],Ce)},xe.zipObjectDeep=function(n,t){return ii(n||[],t||[],Nu)},xe.zipWith=wf,xe.entries=Ga,xe.entriesIn=Ha,xe.extend=Ea,xe.extendWith=Sa,dc(xe,xe),xe.add=Oc,xe.attempt=ac,xe.camelCase=Ya,xe.capitalize=Qa,xe.ceil=Ic,xe.clamp=function(n,r,e){return e===t&&(e=r,r=t),e!==t&&(e=(e=za(e))==e?e:0),r!==t&&(r=(r=za(r))==r?r:0),Fe(za(n),r,e)},xe.clone=function(n){return Ne(n,h)},xe.cloneDeep=function(n){return Ne(n,5)},xe.cloneDeepWith=function(n,r){return Ne(n,5,r='function'==typeof r?r:t)},xe.cloneWith=function(n,r){return Ne(n,h,r='function'==typeof r?r:t)},xe.conformsTo=function(n,t){return null==t||Ze(n,t,Fa(t))},xe.deburr=Xa,xe.defaultTo=function(n,t){return null==n||n!=n?t:n},xe.divide=Rc,xe.endsWith=function(n,r,e){n=Ia(n),r=Qu(r);var u=n.length,i=e=e===t?u:Fe(Aa(e),0,u);return(e-=r.length)>=0&&n.slice(e,i)==r},xe.eq=Jf,xe.escape=function(n){return(n=Ia(n))&&An.test(n)?n.replace(mn,pr):n},xe.escapeRegExp=function(n){return(n=Ia(n))&&Ln.test(n)?n.replace(Sn,'\\$&'):n},xe.every=function(n,r,e){var u=na(n)?Tt:He;return e&&Ao(n,r,e)&&(r=t),u(n,oo(r,3))},xe.find=zf,xe.findIndex=Qo,xe.findKey=function(n,t){return Vt(n,oo(t,3),ru)},xe.findLast=Of,xe.findLastIndex=Xo,xe.findLastKey=function(n,t){return Vt(n,oo(t,3),eu)},xe.floor=Ec,xe.forEach=If,xe.forEachRight=Rf,xe.forIn=function(n,t){return null==n?n:nu(n,oo(t,3),Na)},xe.forInRight=function(n,t){return null==n?n:tu(n,oo(t,3),Na)},xe.forOwn=function(n,t){return n&&ru(n,oo(t,3))},xe.forOwnRight=function(n,t){return n&&eu(n,oo(t,3))},xe.get=Ua,xe.gt=Yf,xe.gte=Qf,xe.has=function(n,t){return null!=n&&go(n,t,cu)},xe.hasIn=Ba,xe.head=tf,xe.identity=pc,xe.includes=function(n,t,r,e){n=ra(n)?n:Ja(n),r=r&&!e?Aa(r):0;var u=n.length;return r<0&&(r=Yr(u+r,0)),da(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Ht(n,t,r)>-1},xe.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Aa(r);return u<0&&(u=Yr(e+u,0)),Ht(n,t,u)},xe.inRange=function(n,r,e){return r=ja(r),e===t?(e=r,r=0):e=ja(e),su(n=za(n),r,e)},xe.invoke=Ma,xe.isArguments=Xf,xe.isArray=na,xe.isArrayBuffer=ta,xe.isArrayLike=ra,xe.isArrayLikeObject=ea,xe.isBoolean=function(n){return!0===n||!1===n||sa(n)&&fu(n)==N},xe.isBuffer=ua,xe.isDate=ia,xe.isElement=function(n){return sa(n)&&1===n.nodeType&&!va(n)},xe.isEmpty=function(n){if(null==n)return!0;if(ra(n)&&(na(n)||'string'==typeof n||'function'==typeof n.splice||ua(n)||xa(n)||Xf(n)))return!n.length;var t=po(n);if(t==G||t==nn)return!n.size;if(Io(n))return!wu(n).length;for(var r in n)if(yt.call(n,r))return!1;return!0},xe.isEqual=function(n,t){return gu(n,t)},xe.isEqualWith=function(n,r,e){var u=(e='function'==typeof e?e:t)?e(n,r):t;return u===t?gu(n,r,t,e):!!u},xe.isError=oa,xe.isFinite=function(n){return'number'==typeof n&&Gr(n)},xe.isFunction=fa,xe.isInteger=aa,xe.isLength=ca,xe.isMap=ha,xe.isMatch=function(n,t){return n===t||yu(n,t,ao(t))},xe.isMatchWith=function(n,r,e){return e='function'==typeof e?e:t,yu(n,r,ao(r),e)},xe.isNaN=function(n){return pa(n)&&n!=+n},xe.isNative=function(n){if(Oo(n))throw new Qn(e);return xu(n)},xe.isNil=function(n){return null==n},xe.isNull=function(n){return null===n},xe.isNumber=pa,xe.isObject=la,xe.isObjectLike=sa,xe.isPlainObject=va,xe.isRegExp=_a,xe.isSafeInteger=function(n){return aa(n)&&n>=-9007199254740991&&n<=L},xe.isSet=ga,xe.isString=da,xe.isSymbol=ya,xe.isTypedArray=xa,xe.isUndefined=function(n){return n===t},xe.isWeakMap=function(n){return sa(n)&&po(n)==un},xe.isWeakSet=function(n){return sa(n)&&fu(n)==on},xe.join=function(n,t){return null==n?'':Hr.call(n,t)},xe.kebabCase=nc,xe.last=of,xe.lastIndexOf=function(n,r,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==t&&(i=(i=Aa(e))<0?Yr(u+i,0):Qr(i,u-1)),r==r?kr(n,r,i):Gt(n,Yt,i,!0)},xe.lowerCase=tc,xe.lowerFirst=rc,xe.lt=ba,xe.lte=wa,xe.max=function(n){return n&&n.length?Je(n,pc,au):t},xe.maxBy=function(n,r){return n&&n.length?Je(n,oo(r,2),au):t},xe.mean=function(n){return Qt(n,pc)},xe.meanBy=function(n,t){return Qt(n,oo(t,2))},xe.min=function(n){return n&&n.length?Je(n,pc,ju):t},xe.minBy=function(n,r){return n&&n.length?Je(n,oo(r,2),ju):t},xe.stubArray=kc,xe.stubFalse=zc,xe.stubObject=function(){return{}},xe.stubString=function(){return''},xe.stubTrue=function(){return!0},xe.multiply=Lc,xe.nth=function(n,r){return n&&n.length?Ru(n,Aa(r)):t},xe.noConflict=function(){return xt._===this&&(xt._=Zt),this},xe.noop=yc,xe.now=Uf,xe.pad=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Di(qr(u),r)+n+Di(Zr(u),r)},xe.padEnd=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;return t&&er){var u=n;n=r,r=u}if(e||n%1||r%1){var i=te();return Qr(n+i*(r-n+_t('1e-'+((i+'').length-1))),r)}return Uu(n,r)},xe.reduce=function(n,t,r){var e=na(n)?Ft:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ve)},xe.reduceRight=function(n,t,r){var e=na(n)?Nt:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ge)},xe.repeat=function(n,r,e){return r=(e?Ao(n,r,e):r===t)?1:Aa(r),$u(Ia(n),r)},xe.replace=function(){var n=arguments,t=Ia(n[0]);return n.length<3?t:t.replace(n[1],n[2])},xe.result=function(n,r,e){var u=-1,i=(r=ai(r,n)).length;for(i||(i=1,n=t);++uL)return[];var r=T,e=Qr(n,T);t=oo(t),n-=T;for(var u=ur(e,t);++r=o)return n;var a=e-zr(u);if(a<1)return u;var c=f?li(f,0,a).join(''):n.slice(0,a);if(i===t)return c+u;if(f&&(a+=c.length-a),_a(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=rt(i.source,Ia(Nn.exec(i))+'g')),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===t?a:h)}}else if(n.indexOf(Qu(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},xe.unescape=function(n){return(n=Ia(n))&&jn.test(n)?n.replace(wn,Ir):n},xe.uniqueId=function(n){var t=++bt;return Ia(n)+t},xe.upperCase=ic,xe.upperFirst=oc,xe.each=If,xe.eachRight=Rf,xe.first=tf,dc(xe,(Sc={},ru(xe,function(n,t){yt.call(xe.prototype,t)||(Sc[t]=n)}),Sc),{chain:!1}),xe.VERSION="4.17.15",Wt(['bind','bindKey','curry','curryRight','partial','partialRight'],function(n){xe[n].placeholder=xe}),Wt(['drop','take'],function(n,r){je.prototype[n]=function(e){e=e===t?1:Yr(Aa(e),0);var u=this.__filtered__&&!r?new je(this):this.clone();return u.__filtered__?u.__takeCount__=Qr(e,u.__takeCount__):u.__views__.push({size:Qr(e,T),type:n+(u.__dir__<0?'Right':'')}),u},je.prototype[n+'Right']=function(t){return this.reverse()[n](t).reverse()}}),Wt(['filter','map','takeWhile'],function(n,t){var r=t+1,e=r==R||3==r;je.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:oo(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Wt(['head','last'],function(n,t){var r='take'+(t?'Right':'');je.prototype[n]=function(){return this[r](1).value()[0]}}),Wt(['initial','tail'],function(n,t){var r='drop'+(t?'':'Right');je.prototype[n]=function(){return this.__filtered__?new je(this):this[r](1)}}),je.prototype.compact=function(){return this.filter(pc)},je.prototype.find=function(n){return this.filter(n).head()},je.prototype.findLast=function(n){return this.reverse().find(n)},je.prototype.invokeMap=Du(function(n,t){return'function'==typeof n?new je(this):this.map(function(r){return vu(r,n,t)})}),je.prototype.reject=function(n){return this.filter(qf(oo(n)))},je.prototype.slice=function(n,r){n=Aa(n);var e=this;return e.__filtered__&&(n>0||r<0)?new je(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),r!==t&&(e=(r=Aa(r))<0?e.dropRight(-r):e.take(r-n)),e)},je.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},je.prototype.toArray=function(){return this.take(T)},ru(je.prototype,function(n,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=xe[u?'take'+('last'==r?'Right':''):r],o=u||/^find/.test(r);i&&(xe.prototype[r]=function(){var r=this.__wrapped__,f=u?[1]:arguments,a=r instanceof je,c=f[0],l=a||na(r),s=function(n){var t=i.apply(xe,Mt([n],f));return u&&h?t[0]:t};l&&e&&'function'==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){r=_?r:new je(this);var g=n.apply(r,f);return g.__actions__.push({func:jf,args:[s],thisArg:t}),new me(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),Wt(['pop','push','shift','sort','splice','unshift'],function(n){var t=ft[n],r=/^(?:push|sort|unshift)$/.test(n)?'tap':'thru',e=/^(?:pop|shift)$/.test(n);xe.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(na(u)?u:[],n)}return this[r](function(r){return t.apply(na(r)?r:[],n)})}}),ru(je.prototype,function(n,t){var r=xe[t];if(r){var e=r.name+'';yt.call(le,e)||(le[e]=[]),le[e].push({name:t,func:r})}}),le[Ti(t,g).name]=[{name:'wrapper',func:t}],je.prototype.clone=function(){var n=new je(this.__wrapped__);return n.__actions__=bi(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=bi(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=bi(this.__views__),n},je.prototype.reverse=function(){if(this.__filtered__){var n=new je(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},je.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=na(n),e=t<0,u=r?n.length:0,i=vo(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Qr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return ei(n,this.__actions__);var v=[];n:for(;a--&&h=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},xe.prototype.plant=function(n){for(var r,e=this;e instanceof we;){var u=Go(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},xe.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof je){var r=n;return this.__actions__.length&&(r=new je(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new me(r,this.__chain__)}return this.thru(lf)},xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},xe.prototype.first=xe.prototype.head,$r&&(xe.prototype[$r]=function(){return this}),xe})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Lr,define(function(){return Lr})):wt?((wt.exports=Lr)._=Lr,bt._=Lr):xt._=Lr}).call(this)},2763,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),c={'contact-info':{available:!1},story:{available:!0}};e.default=function(l){if(l.isJetpackActive){var s,n,p,v,u,k,b,f,_,y=(n=(s=l).isJetpackActive,p=void 0!==n&&n,v=s.userData,u=void 0===v?null:v,k=s.siteFragment,b=void 0===k?null:k,f=s.blogId,_={available_blocks:c,jetpack:{is_active:p},siteFragment:b,tracksUserData:u,wpcomBlogId:f},g.window[t.JETPACK_DATA_PATH]=_,_);return setTimeout(function(){!0!==(0,o.select)('core/block-editor').getSettings('capabilities').mediaFilesCollectionBlock?(0,o.dispatch)('core/edit-post').hideBlockTypes(['jetpack/story']):(0,o.dispatch)('core/edit-post').showBlockTypes(['jetpack/story'])}),r(d[2]),y}}},2764,[2765,1076,2767]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,t.get)('object'==typeof window?window:null,[n],null)},e.JETPACK_DATA_PATH=void 0;var t=r(d[0]),n='Jetpack_Editor_Initial_State';e.JETPACK_DATA_PATH=n},2765,[2766]); -__d(function(n,t,r,e,u,i,o){(function(){var t,r=200,e='Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',o='Expected a function',f='__lodash_hash_undefined__',a=500,c='__lodash_placeholder__',l=1,s=2,h=4,p=1,v=2,_=1,g=2,d=4,y=8,x=16,b=32,w=64,m=128,j=256,A=512,k=30,z='...',O=800,I=16,R=1,E=2,S=1/0,L=9007199254740991,W=1.7976931348623157e308,C=NaN,T=4294967295,U=4294967294,B=2147483647,$=[['ary',m],['bind',_],['bindKey',g],['curry',y],['curryRight',x],['flip',A],['partial',b],['partialRight',w],['rearg',j]],D='[object Arguments]',M='[object Array]',F='[object AsyncFunction]',N='[object Boolean]',P='[object Date]',Z='[object DOMException]',q='[object Error]',K='[object Function]',V='[object GeneratorFunction]',G='[object Map]',H='[object Number]',J='[object Null]',Y='[object Object]',Q='[object Proxy]',X='[object RegExp]',nn='[object Set]',tn='[object String]',rn='[object Symbol]',en='[object Undefined]',un='[object WeakMap]',on='[object WeakSet]',fn='[object ArrayBuffer]',an='[object DataView]',cn='[object Float32Array]',ln='[object Float64Array]',sn='[object Int8Array]',hn='[object Int16Array]',pn='[object Int32Array]',vn='[object Uint8Array]',_n='[object Uint8ClampedArray]',gn='[object Uint16Array]',dn='[object Uint32Array]',yn=/\b__p \+= '';/g,xn=/\b(__p \+=) '' \+/g,bn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wn=/&(?:amp|lt|gt|quot|#39);/g,mn=/[&<>"']/g,jn=RegExp(wn.source),An=RegExp(mn.source),kn=/<%-([\s\S]+?)%>/g,zn=/<%([\s\S]+?)%>/g,On=/<%=([\s\S]+?)%>/g,In=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rn=/^\w*$/,En=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,Ln=RegExp(Sn.source),Wn=/^\s+|\s+$/g,Cn=/^\s+/,Tn=/\s+$/,Un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,$n=/,? & /,Dn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mn=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nn=/\w*$/,Pn=/^[-+]0x[0-9a-f]+$/i,Zn=/^0b[01]+$/i,qn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Vn=/^(?:0|[1-9]\d*)$/,Gn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hn=/($^)/,Jn=/['\n\r\u2028\u2029\\]/g,Yn="[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]",Qn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Xn="(?:\\ud83c[\\udde6-\\uddff]){2}",nt="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?"+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Xn,nt].join('|')+")[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"),rt='(?:'+["[\\u2700-\\u27bf]",Xn,nt].join('|')+')'+tt,et='(?:'+["[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?",Qn,Xn,nt,"[\\ud800-\\udfff]"].join('|')+')',ut=RegExp("['\u2019]",'g'),it=RegExp(Qn,'g'),ot=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+et+tt,'g'),ft=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde]",'$'].join('|')+')',"(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",'$'].join('|')+')',"[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?","[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",'\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])','\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])','\\d+',rt].join('|'),'g'),at=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),ct=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,lt=['Array','Buffer','DataView','Date','Error','Float32Array','Float64Array','Function','Int8Array','Int16Array','Int32Array','Map','Math','Object','Promise','RegExp','Set','String','Symbol','TypeError','Uint8Array','Uint8ClampedArray','Uint16Array','Uint32Array','WeakMap','_','clearTimeout','isFinite','parseInt','setTimeout'],st=-1,ht={};ht[cn]=ht[ln]=ht[sn]=ht[hn]=ht[pn]=ht[vn]=ht[_n]=ht[gn]=ht[dn]=!0,ht[D]=ht[M]=ht[fn]=ht[N]=ht[an]=ht[P]=ht[q]=ht[K]=ht[G]=ht[H]=ht[Y]=ht[X]=ht[nn]=ht[tn]=ht[un]=!1;var pt={};pt[D]=pt[M]=pt[fn]=pt[an]=pt[N]=pt[P]=pt[cn]=pt[ln]=pt[sn]=pt[hn]=pt[pn]=pt[G]=pt[H]=pt[Y]=pt[X]=pt[nn]=pt[tn]=pt[rn]=pt[vn]=pt[_n]=pt[gn]=pt[dn]=!0,pt[q]=pt[K]=pt[un]=!1;var vt={'\\':'\\',"'":"'",'\n':'n','\r':'r',"\u2028":'u2028',"\u2029":'u2029'},_t=parseFloat,gt=parseInt,dt='object'==typeof n&&n&&n.Object===Object&&n,yt='object'==typeof self&&self&&self.Object===Object&&self,xt=dt||yt||Function('return this')(),bt='object'==typeof i&&i&&!i.nodeType&&i,wt=bt&&'object'==typeof u&&u&&!u.nodeType&&u,mt=wt&&wt.exports===bt,jt=mt&&dt.process,At=(function(){try{var n=wt&&wt.require&&wt.require('util').types;return n||jt&&jt.binding&&jt.binding('util')}catch(n){}})(),kt=At&&At.isArrayBuffer,zt=At&&At.isDate,Ot=At&&At.isMap,It=At&&At.isRegExp,Rt=At&&At.isSet,Et=At&&At.isTypedArray;function St(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Lt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function $t(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function lr(n,t){for(var r=n.length;r--&&Ht(t,n[r],0)>-1;);return r}function sr(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}var hr=nr({'\xc0':'A','\xc1':'A','\xc2':'A','\xc3':'A','\xc4':'A','\xc5':'A','\xe0':'a','\xe1':'a','\xe2':'a','\xe3':'a','\xe4':'a','\xe5':'a','\xc7':'C','\xe7':'c','\xd0':'D','\xf0':'d','\xc8':'E','\xc9':'E','\xca':'E','\xcb':'E','\xe8':'e','\xe9':'e','\xea':'e','\xeb':'e','\xcc':'I','\xcd':'I','\xce':'I','\xcf':'I','\xec':'i','\xed':'i','\xee':'i','\xef':'i','\xd1':'N','\xf1':'n','\xd2':'O','\xd3':'O','\xd4':'O','\xd5':'O','\xd6':'O','\xd8':'O','\xf2':'o','\xf3':'o','\xf4':'o','\xf5':'o','\xf6':'o','\xf8':'o','\xd9':'U','\xda':'U','\xdb':'U','\xdc':'U','\xf9':'u','\xfa':'u','\xfb':'u','\xfc':'u','\xdd':'Y','\xfd':'y','\xff':'y','\xc6':'Ae','\xe6':'ae','\xde':'Th','\xfe':'th','\xdf':'ss',"\u0100":'A',"\u0102":'A',"\u0104":'A',"\u0101":'a',"\u0103":'a',"\u0105":'a',"\u0106":'C',"\u0108":'C',"\u010a":'C',"\u010c":'C',"\u0107":'c',"\u0109":'c',"\u010b":'c',"\u010d":'c',"\u010e":'D',"\u0110":'D',"\u010f":'d',"\u0111":'d',"\u0112":'E',"\u0114":'E',"\u0116":'E',"\u0118":'E',"\u011a":'E',"\u0113":'e',"\u0115":'e',"\u0117":'e',"\u0119":'e',"\u011b":'e',"\u011c":'G',"\u011e":'G',"\u0120":'G',"\u0122":'G',"\u011d":'g',"\u011f":'g',"\u0121":'g',"\u0123":'g',"\u0124":'H',"\u0126":'H',"\u0125":'h',"\u0127":'h',"\u0128":'I',"\u012a":'I',"\u012c":'I',"\u012e":'I',"\u0130":'I',"\u0129":'i',"\u012b":'i',"\u012d":'i',"\u012f":'i',"\u0131":'i',"\u0134":'J',"\u0135":'j',"\u0136":'K',"\u0137":'k',"\u0138":'k',"\u0139":'L',"\u013b":'L',"\u013d":'L',"\u013f":'L',"\u0141":'L',"\u013a":'l',"\u013c":'l',"\u013e":'l',"\u0140":'l',"\u0142":'l',"\u0143":'N',"\u0145":'N',"\u0147":'N',"\u014a":'N',"\u0144":'n',"\u0146":'n',"\u0148":'n',"\u014b":'n',"\u014c":'O',"\u014e":'O',"\u0150":'O',"\u014d":'o',"\u014f":'o',"\u0151":'o',"\u0154":'R',"\u0156":'R',"\u0158":'R',"\u0155":'r',"\u0157":'r',"\u0159":'r',"\u015a":'S',"\u015c":'S',"\u015e":'S',"\u0160":'S',"\u015b":'s',"\u015d":'s',"\u015f":'s',"\u0161":'s',"\u0162":'T',"\u0164":'T',"\u0166":'T',"\u0163":'t',"\u0165":'t',"\u0167":'t',"\u0168":'U',"\u016a":'U',"\u016c":'U',"\u016e":'U',"\u0170":'U',"\u0172":'U',"\u0169":'u',"\u016b":'u',"\u016d":'u',"\u016f":'u',"\u0171":'u',"\u0173":'u',"\u0174":'W',"\u0175":'w',"\u0176":'Y',"\u0177":'y',"\u0178":'Y',"\u0179":'Z',"\u017b":'Z',"\u017d":'Z',"\u017a":'z',"\u017c":'z',"\u017e":'z',"\u0132":'IJ',"\u0133":'ij',"\u0152":'Oe',"\u0153":'oe',"\u0149":"'n","\u017f":'s'}),pr=nr({'&':'&','<':'<','>':'>','"':'"',"'":'''});function vr(n){return'\\'+vt[n]}function _r(n,r){return null==n?t:n[r]}function gr(n){return at.test(n)}function dr(n){return ct.test(n)}function yr(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}function xr(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function br(n,t){return function(r){return n(t(r))}}function wr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r','"':'"',''':"'"});function Rr(n){for(var t=ot.lastIndex=0;ot.test(n);)++t;return t}function Er(n){return n.match(ot)||[]}function Sr(n){return n.match(ft)||[]}var Lr=(function n(u){var i,Dn=(u=null==u?xt:Lr.defaults(xt.Object(),u,Lr.pick(xt,lt))).Array,Yn=u.Date,Qn=u.Error,Xn=u.Function,nt=u.Math,tt=u.Object,rt=u.RegExp,et=u.String,ot=u.TypeError,ft=Dn.prototype,at=Xn.prototype,ct=tt.prototype,vt=u['__core-js_shared__'],dt=at.toString,yt=ct.hasOwnProperty,bt=0,wt=(i=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||''))?'Symbol(src)_1.'+i:'',jt=ct.toString,At=dt.call(tt),Zt=xt._,qt=rt('^'+dt.call(yt).replace(Sn,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$'),nr=mt?u.Buffer:t,Ar=u.Symbol,Rr=u.Uint8Array,Er=nr?nr.allocUnsafe:t,Wr=br(tt.getPrototypeOf,tt),Cr=tt.create,Tr=ct.propertyIsEnumerable,Ur=ft.splice,Br=Ar?"function"==typeof Ar?Ar.isConcatSpreadable:"@@isConcatSpreadable":t,$r=Ar?"function"==typeof Ar?Ar.iterator:"@@iterator":t,Dr=Ar?"function"==typeof Ar?Ar.toStringTag:"@@toStringTag":t,Mr=(function(){try{var n=co(tt,'defineProperty');return n({},'',{}),n}catch(n){}})(),Fr=u.clearTimeout!==xt.clearTimeout&&u.clearTimeout,Nr=Yn&&Yn.now!==xt.Date.now&&Yn.now,Pr=u.setTimeout!==xt.setTimeout&&u.setTimeout,Zr=nt.ceil,qr=nt.floor,Kr=tt.getOwnPropertySymbols,Vr=nr?nr.isBuffer:t,Gr=u.isFinite,Hr=ft.join,Jr=br(tt.keys,tt),Yr=nt.max,Qr=nt.min,Xr=Yn.now,ne=u.parseInt,te=nt.random,re=ft.reverse,ee=co(u,'DataView'),ue=co(u,'Map'),ie=co(u,'Promise'),oe=co(u,'Set'),fe=co(u,'WeakMap'),ae=co(tt,'create'),ce=fe&&new fe,le={},se=Ko(ee),he=Ko(ue),pe=Ko(ie),ve=Ko(oe),_e=Ko(fe),ge=Ar?"function"==typeof Ar?Ar.prototype:"@@prototype":t,de=ge?ge.valueOf:t,ye=ge?ge.toString:t;function xe(n){if(sa(n)&&!na(n)&&!(n instanceof je)){if(n instanceof me)return n;if(yt.call(n,'__wrapped__'))return Go(n)}return new me(n)}var be=(function(){function n(){}return function(r){if(!la(r))return{};if(Cr)return Cr(r);n.prototype=r;var e=new n;return n.prototype=t,e}})();function we(){}function me(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function je(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=T,this.__views__=[]}function Ae(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=r?n:r)),n}function Ne(n,r,e,u,i,o){var f,a=r&l,c=r&s,p=r&h;if(e&&(f=i?e(n,u,i,o):e(n)),f!==t)return f;if(!la(n))return n;var v=na(n);if(v){if(f=yo(n),!a)return bi(n,f)}else{var _=po(n),g=_==K||_==V;if(ua(n))return hi(n,a);if(_==Y||_==D||g&&!i){if(f=c||g?{}:xo(n),!a)return c?ji(n,$e(f,n)):mi(n,Be(f,n))}else{if(!pt[_])return i?n:{};f=bo(n,_,a)}}o||(o=new Ie);var d=o.get(n);if(d)return d;o.set(n,f),ga(n)?n.forEach(function(t){f.add(Ne(t,r,e,t,n,o))}):ha(n)&&n.forEach(function(t,u){f.set(u,Ne(t,r,e,u,n,o))});var y=v?t:(p?c?ro:to:c?Na:Fa)(n);return Wt(y||n,function(t,u){y&&(t=n[u=t]),Ce(f,u,Ne(t,r,e,u,n,o))}),f}function Pe(n){var t=Fa(n);return function(r){return Ze(r,n,t)}}function Ze(n,r,e){var u=e.length;if(null==n)return!u;for(n=tt(n);u--;){var i=e[u],o=r[i],f=n[i];if(f===t&&!(i in n)||!o(f))return!1}return!0}function qe(n,r,e){if('function'!=typeof n)throw new ot(o);return Do(function(){n.apply(t,e)},r)}function Ke(n,t,e,u){var i=-1,o=Bt,f=!0,a=n.length,c=[],l=t.length;if(!a)return c;e&&(t=Dt(t,or(e))),u?(o=$t,f=!1):t.length>=r&&(o=ar,f=!1,t=new Oe(t));n:for(;++i-1},ke.prototype.set=function(n,t){var r=this.__data__,e=Te(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(ue||ke),string:new Ae}},ze.prototype.delete=function(n){var t=fo(this,n).delete(n);return this.size-=t?1:0,t},ze.prototype.get=function(n){return fo(this,n).get(n)},ze.prototype.has=function(n){return fo(this,n).has(n)},ze.prototype.set=function(n,t){var r=fo(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Oe.prototype.add=Oe.prototype.push=function(n){return this.__data__.set(n,f),this},Oe.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.clear=function(){this.__data__=new ke,this.size=0},Ie.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Ie.prototype.get=function(n){return this.__data__.get(n)},Ie.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.set=function(n,t){var r=this.__data__;if(r instanceof ke){var e=r.__data__;if(!ue||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new ze(e)}return r.set(n,t),this.size=r.size,this};var Ve=zi(ru),Ge=zi(eu,!0);function He(n,t){var r=!0;return Ve(n,function(n,e,u){return r=!!t(n,e,u)}),r}function Je(n,r,e){for(var u=-1,i=n.length;++ui?0:i+e),(u=u===t||u>i?i:Aa(u))<0&&(u+=i),u=e>u?0:ka(u);e0&&r(f)?t>1?Xe(f,t-1,r,e,u):Mt(u,f):e||(u[u.length]=f)}return u}var nu=Oi(),tu=Oi(!0);function ru(n,t){return n&&nu(n,t,Fa)}function eu(n,t){return n&&tu(n,t,Fa)}function uu(n,t){return Ut(t,function(t){return fa(n[t])})}function iu(n,r){for(var e=0,u=(r=ai(r,n)).length;null!=n&&et}function cu(n,t){return null!=n&&yt.call(n,t)}function lu(n,t){return null!=n&&t in tt(n)}function su(n,t,r){return n>=Qr(t,r)&&n=120&&s.length>=120)?new Oe(f&&s):t}s=n[0];var h=-1,p=a[0];n:for(;++h-1;)f!==n&&Ur.call(f,a,1),Ur.call(n,a,1);return n}function Tu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;jo(u)?Ur.call(n,u,1):ni(n,u)}}return n}function Uu(n,t){return n+qr(te()*(t-n+1))}function Bu(n,t,r,e){for(var u=-1,i=Yr(Zr((t-n)/(r||1)),0),o=Dn(i);i--;)o[e?i:++u]=n,n+=r;return o}function $u(n,t){var r='';if(!n||t<1||t>L)return r;do{t%2&&(r+=n),(t=qr(t/2))&&(n+=n)}while(t);return r}function Du(n,t){return Mo(Co(n,t,pc),n+'')}function Mu(n){return Ee(Ja(n))}function Fu(n,t){var r=Ja(n);return Po(r,Fe(t,0,r.length))}function Nu(n,r,e,u){if(!la(n))return n;for(var i=-1,o=(r=ai(r,n)).length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=Dn(u);++e>>1,o=n[i];null!==o&&!ya(o)&&(r?o<=t:o=r){var l=t?null:qi(n);if(l)return mr(l);f=!1,i=ar,c=new Oe}else c=t?[]:a;n:for(;++u=u?n:Ku(n,r,e)}var si=Fr||function(n){return xt.clearTimeout(n)};function hi(n,t){if(t)return n.slice();var r=n.length,e=Er?Er(r):new n.constructor(r);return n.copy(e),e}function pi(n){var t=new n.constructor(n.byteLength);return new Rr(t).set(new Rr(n)),t}function vi(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}function _i(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function gi(n,r){if(n!==r){var e=n!==t,u=null===n,i=n==n,o=ya(n),f=r!==t,a=null===r,c=r==r,l=ya(r);if(!a&&!l&&!o&&n>r||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n=f?a:a*('desc'==r[e]?-1:1)}return n.index-t.index}function yi(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=Yr(i-o,0),l=Dn(a+c),s=!e;++f1?e[i-1]:t,f=i>2?e[2]:t;for(o=n.length>3&&'function'==typeof o?(i--,o):t,f&&Ao(e[0],e[1],f)&&(o=i<3?t:o,i=1),r=tt(r);++u-1?i[o?r[f]:f]:t}}function Ci(n){return no(function(r){var e=r.length,u=e,i=me.prototype.thru;for(n&&r.reverse();u--;){var f=r[u];if('function'!=typeof f)throw new ot(o);if(i&&!a&&'wrapper'==uo(f))var a=new me([],!0)}for(u=a?u:e;++u1&&g.reverse(),s&&c<_&&(g.length=c),this&&this!==xt&&this instanceof t&&(A=y||Si(A)),A.apply(j,g)}}function Ui(n,t){return function(r,e){return pu(r,n,t(e),{})}}function Bi(n,r){return function(e,u){var i;if(e===t&&u===t)return r;if(e!==t&&(i=e),u!==t){if(i===t)return u;'string'==typeof e||'string'==typeof u?(e=Qu(e),u=Qu(u)):(e=Yu(e),u=Yu(u)),i=n(e,u)}return i}}function $i(n){return no(function(t){return t=Dt(t,or(oo())),Du(function(r){var e=this;return n(t,function(n){return St(n,e,r)})})})}function Di(n,r){var e=(r=r===t?' ':Qu(r)).length;if(e<2)return e?$u(r,n):r;var u=$u(r,Zr(n/zr(r)));return gr(r)?li(Or(u),0,n).join(''):u.slice(0,n)}function Mi(n,t,r,e){var u=t&_,i=Si(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=Dn(c+f),s=this&&this!==xt&&this instanceof t?i:n;++aa))return!1;var l=o.get(n),s=o.get(r);if(l&&s)return l==r&&s==n;var h=-1,_=!0,g=e&v?new Oe:t;for(o.set(n,r),o.set(r,n);++h1?'& ':'')+t[e],t=t.join(r>2?', ':' '),n.replace(Un,'{\n/* [wrapped with '+t+'] */\n')}function mo(n){return na(n)||Xf(n)||!!(Br&&n&&n[Br])}function jo(n,t){var r=typeof n;return!!(t=null==t?L:t)&&('number'==r||'symbol'!=r&&Vn.test(n))&&n>-1&&n%1==0&&n0){if(++r>=O)return arguments[0]}else r=0;return n.apply(t,arguments)}}function Po(n,r){var e=-1,u=n.length,i=u-1;for(r=r===t?u:r;++e1?n[r-1]:t;return _f(n,e='function'==typeof e?(n.pop(),e):t)});function mf(n){var t=xe(n);return t.__chain__=!0,t}function jf(n,t){return t(n)}var Af=no(function(n){var r=n.length,e=r?n[0]:0,u=this.__wrapped__,i=function(t){return Me(t,n)};return!(r>1||this.__actions__.length)&&u instanceof je&&jo(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:jf,args:[i],thisArg:t}),new me(u,this.__chain__).thru(function(n){return r&&!n.length&&n.push(t),n})):this.thru(i)});var kf=Ai(function(n,t,r){yt.call(n,r)?++n[r]:De(n,r,1)});var zf=Wi(Qo),Of=Wi(Xo);function If(n,t){return(na(n)?Wt:Ve)(n,oo(t,3))}function Rf(n,t){return(na(n)?Ct:Ge)(n,oo(t,3))}var Ef=Ai(function(n,t,r){yt.call(n,r)?n[r].push(t):De(n,r,[t])});var Sf=Du(function(n,t,r){var e=-1,u='function'==typeof t,i=ra(n)?Dn(n.length):[];return Ve(n,function(n){i[++e]=u?St(t,n,r):vu(n,t,r)}),i}),Lf=Ai(function(n,t,r){De(n,r,t)});function Wf(n,t){return(na(n)?Dt:Au)(n,oo(t,3))}var Cf=Ai(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var Tf=Du(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Ao(n,t[0],t[1])?t=[]:r>2&&Ao(t[0],t[1],t[2])&&(t=[t[0]]),Eu(n,Xe(t,1),[])}),Uf=Nr||function(){return xt.Date.now()};function Bf(n,r,e){return r=e?t:r,r=n&&null==r?n.length:r,Vi(n,m,t,t,t,t,r)}function $f(n,r){var e;if('function'!=typeof r)throw new ot(o);return n=Aa(n),function(){return--n>0&&(e=r.apply(this,arguments)),n<=1&&(r=t),e}}var Df=Du(function(n,t,r){var e=_;if(r.length){var u=wr(r,io(Df));e|=b}return Vi(n,e,t,r,u)}),Mf=Du(function(n,t,r){var e=3;if(r.length){var u=wr(r,io(Mf));e|=b}return Vi(t,e,n,r,u)});function Ff(n,r,e){var u,i,f,a,c,l,s=0,h=!1,p=!1,v=!0;if('function'!=typeof n)throw new ot(o);function _(r){var e=u,o=i;return u=i=t,s=r,a=n.apply(o,e)}function g(n){return s=n,c=Do(x,r),h?_(n):a}function d(n){var t=r-(n-l);return p?Qr(t,f-(n-s)):t}function y(n){var e=n-l;return l===t||e>=r||e<0||p&&n-s>=f}function x(){var n=Uf();if(y(n))return b(n);c=Do(x,d(n))}function b(n){return c=t,v&&u?_(n):(u=i=t,a)}function w(){var n=Uf(),e=y(n);if(u=arguments,i=this,l=n,e){if(c===t)return g(l);if(p)return si(c),c=Do(x,r),_(l)}return c===t&&(c=Do(x,r)),a}return r=za(r)||0,la(e)&&(h=!!e.leading,f=(p='maxWait'in e)?Yr(za(e.maxWait)||0,r):f,v='trailing'in e?!!e.trailing:v),w.cancel=function(){c!==t&&si(c),s=0,u=l=i=c=t},w.flush=function(){return c===t?a:b(Uf())},w}var Nf=Du(function(n,t){return qe(n,1,t)}),Pf=Du(function(n,t,r){return qe(n,za(t)||0,r)});function Zf(n,t){if('function'!=typeof n||null!=t&&'function'!=typeof t)throw new ot(o);var r=function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Zf.Cache||ze),r}function qf(n){if('function'!=typeof n)throw new ot(o);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Zf.Cache=ze;var Kf=ci(function(n,t){var r=(t=1==t.length&&na(t[0])?Dt(t[0],or(oo())):Dt(Xe(t,1),or(oo()))).length;return Du(function(e){for(var u=-1,i=Qr(e.length,r);++u=t}),Xf=_u((function(){return arguments})())?_u:function(n){return sa(n)&&yt.call(n,'callee')&&!Tr.call(n,'callee')},na=Dn.isArray,ta=kt?or(kt):function(n){return sa(n)&&fu(n)==fn};function ra(n){return null!=n&&ca(n.length)&&!fa(n)}function ea(n){return sa(n)&&ra(n)}var ua=Vr||zc,ia=zt?or(zt):function(n){return sa(n)&&fu(n)==P};function oa(n){if(!sa(n))return!1;var t=fu(n);return t==q||t==Z||'string'==typeof n.message&&'string'==typeof n.name&&!va(n)}function fa(n){if(!la(n))return!1;var t=fu(n);return t==K||t==V||t==F||t==Q}function aa(n){return'number'==typeof n&&n==Aa(n)}function ca(n){return'number'==typeof n&&n>-1&&n%1==0&&n<=L}function la(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}function sa(n){return null!=n&&'object'==typeof n}var ha=Ot?or(Ot):function(n){return sa(n)&&po(n)==G};function pa(n){return'number'==typeof n||sa(n)&&fu(n)==H}function va(n){if(!sa(n)||fu(n)!=Y)return!1;var t=Wr(n);if(null===t)return!0;var r=yt.call(t,'constructor')&&t.constructor;return'function'==typeof r&&r instanceof r&&dt.call(r)==At}var _a=It?or(It):function(n){return sa(n)&&fu(n)==X};var ga=Rt?or(Rt):function(n){return sa(n)&&po(n)==nn};function da(n){return'string'==typeof n||!na(n)&&sa(n)&&fu(n)==tn}function ya(n){return'symbol'==typeof n||sa(n)&&fu(n)==rn}var xa=Et?or(Et):function(n){return sa(n)&&ca(n.length)&&!!ht[fu(n)]};var ba=Ni(ju),wa=Ni(function(n,t){return n<=t});function ma(n){if(!n)return[];if(ra(n))return da(n)?Or(n):bi(n);if($r&&n[$r])return yr(n[$r]());var t=po(n);return(t==G?xr:t==nn?mr:Ja)(n)}function ja(n){return n?(n=za(n))===S||n===-1/0?(n<0?-1:1)*W:n==n?n:0:0===n?n:0}function Aa(n){var t=ja(n),r=t%1;return t==t?r?t-r:t:0}function ka(n){return n?Fe(Aa(n),0,T):0}function za(n){if('number'==typeof n)return n;if(ya(n))return C;if(la(n)){var t='function'==typeof n.valueOf?n.valueOf():n;n=la(t)?t+'':t}if('string'!=typeof n)return 0===n?n:+n;n=n.replace(Wn,'');var r=Zn.test(n);return r||Kn.test(n)?gt(n.slice(2),r?2:8):Pn.test(n)?C:+n}function Oa(n){return wi(n,Na(n))}function Ia(n){return null==n?'':Qu(n)}var Ra=ki(function(n,t){if(Io(t)||ra(t))wi(t,Fa(t),n);else for(var r in t)yt.call(t,r)&&Ce(n,r,t[r])}),Ea=ki(function(n,t){wi(t,Na(t),n)}),Sa=ki(function(n,t,r,e){wi(t,Na(t),n,e)}),La=ki(function(n,t,r,e){wi(t,Fa(t),n,e)}),Wa=no(Me);var Ca=Du(function(n,r){n=tt(n);var e=-1,u=r.length,i=u>2?r[2]:t;for(i&&Ao(r[0],r[1],i)&&(u=1);++e1),t}),wi(n,ro(n),r),e&&(r=Ne(r,7,Ji));for(var u=t.length;u--;)ni(r,t[u]);return r});var Ka=no(function(n,t){return null==n?{}:Su(n,t)});function Va(n,t){if(null==n)return{};var r=Dt(ro(n),function(n){return[n]});return t=oo(t),Lu(n,r,function(n,r){return t(n,r[0])})}var Ga=Ki(Fa),Ha=Ki(Na);function Ja(n){return null==n?[]:fr(n,Fa(n))}var Ya=Ei(function(n,t,r){return t=t.toLowerCase(),n+(r?Qa(t):t)});function Qa(n){return oc(Ia(n).toLowerCase())}function Xa(n){return(n=Ia(n))&&n.replace(Gn,hr).replace(it,'')}var nc=Ei(function(n,t,r){return n+(r?'-':'')+t.toLowerCase()}),tc=Ei(function(n,t,r){return n+(r?' ':'')+t.toLowerCase()}),rc=Ri('toLowerCase');var ec=Ei(function(n,t,r){return n+(r?'_':'')+t.toLowerCase()});var uc=Ei(function(n,t,r){return n+(r?' ':'')+oc(t)});var ic=Ei(function(n,t,r){return n+(r?' ':'')+t.toUpperCase()}),oc=Ri('toUpperCase');function fc(n,r,e){return n=Ia(n),(r=e?t:r)===t?dr(n)?Sr(n):Kt(n):n.match(r)||[]}var ac=Du(function(n,r){try{return St(n,t,r)}catch(n){return oa(n)?n:new Qn(n)}}),cc=no(function(n,t){return Wt(t,function(t){t=qo(t),De(n,t,Df(n[t],n))}),n});function lc(n){return function(){return n}}var sc=Ci(),hc=Ci(!0);function pc(n){return n}function vc(n){return bu('function'==typeof n?n:Ne(n,l))}var _c=Du(function(n,t){return function(r){return vu(r,n,t)}}),gc=Du(function(n,t){return function(r){return vu(n,r,t)}});function dc(n,t,r){var e=Fa(t),u=uu(t,e);null!=r||la(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=uu(t,Fa(t)));var i=!(la(r)&&'chain'in r&&!r.chain),o=fa(n);return Wt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=bi(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Mt([this.value()],arguments))})}),n}function yc(){}var xc=$i(Dt),bc=$i(Tt),wc=$i(Pt);function mc(n){return ko(n)?Xt(qo(n)):Wu(n)}var jc=Fi(),Ac=Fi(!0);function kc(){return[]}function zc(){return!1}var Oc=Bi(function(n,t){return n+t},0),Ic=Zi('ceil'),Rc=Bi(function(n,t){return n/t},1),Ec=Zi('floor');var Sc,Lc=Bi(function(n,t){return n*t},1),Wc=Zi('round'),Cc=Bi(function(n,t){return n-t},0);return xe.after=function(n,t){if('function'!=typeof t)throw new ot(o);return n=Aa(n),function(){if(--n<1)return t.apply(this,arguments)}},xe.ary=Bf,xe.assign=Ra,xe.assignIn=Ea,xe.assignInWith=Sa,xe.assignWith=La,xe.at=Wa,xe.before=$f,xe.bind=Df,xe.bindAll=cc,xe.bindKey=Mf,xe.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return na(n)?n:[n]},xe.chain=mf,xe.chunk=function(n,r,e){r=(e?Ao(n,r,e):r===t)?1:Yr(Aa(r),0);var u=null==n?0:n.length;if(!u||r<1)return[];for(var i=0,o=0,f=Dn(Zr(u/r));i>>0)?(n=Ia(n))&&('string'==typeof r||null!=r&&!_a(r))&&!(r=Qu(r))&&gr(n)?li(Or(n),0,e):n.split(r,e):[]},xe.spread=function(n,t){if('function'!=typeof n)throw new ot(o);return t=null==t?0:Yr(Aa(t),0),Du(function(r){var e=r[t],u=li(r,0,t);return e&&Mt(u,e),St(n,this,u)})},xe.tail=function(n){var t=null==n?0:n.length;return t?Ku(n,1,t):[]},xe.take=function(n,r,e){return n&&n.length?Ku(n,0,(r=e||r===t?1:Aa(r))<0?0:r):[]},xe.takeRight=function(n,r,e){var u=null==n?0:n.length;return u?Ku(n,(r=u-(r=e||r===t?1:Aa(r)))<0?0:r,u):[]},xe.takeRightWhile=function(n,t){return n&&n.length?ri(n,oo(t,3),!1,!0):[]},xe.takeWhile=function(n,t){return n&&n.length?ri(n,oo(t,3)):[]},xe.tap=function(n,t){return t(n),n},xe.throttle=function(n,t,r){var e=!0,u=!0;if('function'!=typeof n)throw new ot(o);return la(r)&&(e='leading'in r?!!r.leading:e,u='trailing'in r?!!r.trailing:u),Ff(n,t,{leading:e,maxWait:t,trailing:u})},xe.thru=jf,xe.toArray=ma,xe.toPairs=Ga,xe.toPairsIn=Ha,xe.toPath=function(n){return na(n)?Dt(n,qo):ya(n)?[n]:bi(Zo(Ia(n)))},xe.toPlainObject=Oa,xe.transform=function(n,t,r){var e=na(n),u=e||ua(n)||xa(n);if(t=oo(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:la(n)&&fa(i)?be(Wr(n)):{}}return(u?Wt:ru)(n,function(n,e,u){return t(r,n,e,u)}),r},xe.unary=function(n){return Bf(n,1)},xe.union=sf,xe.unionBy=hf,xe.unionWith=pf,xe.uniq=function(n){return n&&n.length?Xu(n):[]},xe.uniqBy=function(n,t){return n&&n.length?Xu(n,oo(t,2)):[]},xe.uniqWith=function(n,r){return r='function'==typeof r?r:t,n&&n.length?Xu(n,t,r):[]},xe.unset=function(n,t){return null==n||ni(n,t)},xe.unzip=vf,xe.unzipWith=_f,xe.update=function(n,t,r){return null==n?n:ti(n,t,fi(r))},xe.updateWith=function(n,r,e,u){return u='function'==typeof u?u:t,null==n?n:ti(n,r,fi(e),u)},xe.values=Ja,xe.valuesIn=function(n){return null==n?[]:fr(n,Na(n))},xe.without=gf,xe.words=fc,xe.wrap=function(n,t){return Vf(fi(t),n)},xe.xor=df,xe.xorBy=yf,xe.xorWith=xf,xe.zip=bf,xe.zipObject=function(n,t){return ii(n||[],t||[],Ce)},xe.zipObjectDeep=function(n,t){return ii(n||[],t||[],Nu)},xe.zipWith=wf,xe.entries=Ga,xe.entriesIn=Ha,xe.extend=Ea,xe.extendWith=Sa,dc(xe,xe),xe.add=Oc,xe.attempt=ac,xe.camelCase=Ya,xe.capitalize=Qa,xe.ceil=Ic,xe.clamp=function(n,r,e){return e===t&&(e=r,r=t),e!==t&&(e=(e=za(e))==e?e:0),r!==t&&(r=(r=za(r))==r?r:0),Fe(za(n),r,e)},xe.clone=function(n){return Ne(n,h)},xe.cloneDeep=function(n){return Ne(n,5)},xe.cloneDeepWith=function(n,r){return Ne(n,5,r='function'==typeof r?r:t)},xe.cloneWith=function(n,r){return Ne(n,h,r='function'==typeof r?r:t)},xe.conformsTo=function(n,t){return null==t||Ze(n,t,Fa(t))},xe.deburr=Xa,xe.defaultTo=function(n,t){return null==n||n!=n?t:n},xe.divide=Rc,xe.endsWith=function(n,r,e){n=Ia(n),r=Qu(r);var u=n.length,i=e=e===t?u:Fe(Aa(e),0,u);return(e-=r.length)>=0&&n.slice(e,i)==r},xe.eq=Jf,xe.escape=function(n){return(n=Ia(n))&&An.test(n)?n.replace(mn,pr):n},xe.escapeRegExp=function(n){return(n=Ia(n))&&Ln.test(n)?n.replace(Sn,'\\$&'):n},xe.every=function(n,r,e){var u=na(n)?Tt:He;return e&&Ao(n,r,e)&&(r=t),u(n,oo(r,3))},xe.find=zf,xe.findIndex=Qo,xe.findKey=function(n,t){return Vt(n,oo(t,3),ru)},xe.findLast=Of,xe.findLastIndex=Xo,xe.findLastKey=function(n,t){return Vt(n,oo(t,3),eu)},xe.floor=Ec,xe.forEach=If,xe.forEachRight=Rf,xe.forIn=function(n,t){return null==n?n:nu(n,oo(t,3),Na)},xe.forInRight=function(n,t){return null==n?n:tu(n,oo(t,3),Na)},xe.forOwn=function(n,t){return n&&ru(n,oo(t,3))},xe.forOwnRight=function(n,t){return n&&eu(n,oo(t,3))},xe.get=Ua,xe.gt=Yf,xe.gte=Qf,xe.has=function(n,t){return null!=n&&go(n,t,cu)},xe.hasIn=Ba,xe.head=tf,xe.identity=pc,xe.includes=function(n,t,r,e){n=ra(n)?n:Ja(n),r=r&&!e?Aa(r):0;var u=n.length;return r<0&&(r=Yr(u+r,0)),da(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Ht(n,t,r)>-1},xe.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Aa(r);return u<0&&(u=Yr(e+u,0)),Ht(n,t,u)},xe.inRange=function(n,r,e){return r=ja(r),e===t?(e=r,r=0):e=ja(e),su(n=za(n),r,e)},xe.invoke=Ma,xe.isArguments=Xf,xe.isArray=na,xe.isArrayBuffer=ta,xe.isArrayLike=ra,xe.isArrayLikeObject=ea,xe.isBoolean=function(n){return!0===n||!1===n||sa(n)&&fu(n)==N},xe.isBuffer=ua,xe.isDate=ia,xe.isElement=function(n){return sa(n)&&1===n.nodeType&&!va(n)},xe.isEmpty=function(n){if(null==n)return!0;if(ra(n)&&(na(n)||'string'==typeof n||'function'==typeof n.splice||ua(n)||xa(n)||Xf(n)))return!n.length;var t=po(n);if(t==G||t==nn)return!n.size;if(Io(n))return!wu(n).length;for(var r in n)if(yt.call(n,r))return!1;return!0},xe.isEqual=function(n,t){return gu(n,t)},xe.isEqualWith=function(n,r,e){var u=(e='function'==typeof e?e:t)?e(n,r):t;return u===t?gu(n,r,t,e):!!u},xe.isError=oa,xe.isFinite=function(n){return'number'==typeof n&&Gr(n)},xe.isFunction=fa,xe.isInteger=aa,xe.isLength=ca,xe.isMap=ha,xe.isMatch=function(n,t){return n===t||yu(n,t,ao(t))},xe.isMatchWith=function(n,r,e){return e='function'==typeof e?e:t,yu(n,r,ao(r),e)},xe.isNaN=function(n){return pa(n)&&n!=+n},xe.isNative=function(n){if(Oo(n))throw new Qn(e);return xu(n)},xe.isNil=function(n){return null==n},xe.isNull=function(n){return null===n},xe.isNumber=pa,xe.isObject=la,xe.isObjectLike=sa,xe.isPlainObject=va,xe.isRegExp=_a,xe.isSafeInteger=function(n){return aa(n)&&n>=-9007199254740991&&n<=L},xe.isSet=ga,xe.isString=da,xe.isSymbol=ya,xe.isTypedArray=xa,xe.isUndefined=function(n){return n===t},xe.isWeakMap=function(n){return sa(n)&&po(n)==un},xe.isWeakSet=function(n){return sa(n)&&fu(n)==on},xe.join=function(n,t){return null==n?'':Hr.call(n,t)},xe.kebabCase=nc,xe.last=of,xe.lastIndexOf=function(n,r,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==t&&(i=(i=Aa(e))<0?Yr(u+i,0):Qr(i,u-1)),r==r?kr(n,r,i):Gt(n,Yt,i,!0)},xe.lowerCase=tc,xe.lowerFirst=rc,xe.lt=ba,xe.lte=wa,xe.max=function(n){return n&&n.length?Je(n,pc,au):t},xe.maxBy=function(n,r){return n&&n.length?Je(n,oo(r,2),au):t},xe.mean=function(n){return Qt(n,pc)},xe.meanBy=function(n,t){return Qt(n,oo(t,2))},xe.min=function(n){return n&&n.length?Je(n,pc,ju):t},xe.minBy=function(n,r){return n&&n.length?Je(n,oo(r,2),ju):t},xe.stubArray=kc,xe.stubFalse=zc,xe.stubObject=function(){return{}},xe.stubString=function(){return''},xe.stubTrue=function(){return!0},xe.multiply=Lc,xe.nth=function(n,r){return n&&n.length?Ru(n,Aa(r)):t},xe.noConflict=function(){return xt._===this&&(xt._=Zt),this},xe.noop=yc,xe.now=Uf,xe.pad=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Di(qr(u),r)+n+Di(Zr(u),r)},xe.padEnd=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;return t&&er){var u=n;n=r,r=u}if(e||n%1||r%1){var i=te();return Qr(n+i*(r-n+_t('1e-'+((i+'').length-1))),r)}return Uu(n,r)},xe.reduce=function(n,t,r){var e=na(n)?Ft:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ve)},xe.reduceRight=function(n,t,r){var e=na(n)?Nt:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ge)},xe.repeat=function(n,r,e){return r=(e?Ao(n,r,e):r===t)?1:Aa(r),$u(Ia(n),r)},xe.replace=function(){var n=arguments,t=Ia(n[0]);return n.length<3?t:t.replace(n[1],n[2])},xe.result=function(n,r,e){var u=-1,i=(r=ai(r,n)).length;for(i||(i=1,n=t);++uL)return[];var r=T,e=Qr(n,T);t=oo(t),n-=T;for(var u=ur(e,t);++r=o)return n;var a=e-zr(u);if(a<1)return u;var c=f?li(f,0,a).join(''):n.slice(0,a);if(i===t)return c+u;if(f&&(a+=c.length-a),_a(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=rt(i.source,Ia(Nn.exec(i))+'g')),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===t?a:h)}}else if(n.indexOf(Qu(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},xe.unescape=function(n){return(n=Ia(n))&&jn.test(n)?n.replace(wn,Ir):n},xe.uniqueId=function(n){var t=++bt;return Ia(n)+t},xe.upperCase=ic,xe.upperFirst=oc,xe.each=If,xe.eachRight=Rf,xe.first=tf,dc(xe,(Sc={},ru(xe,function(n,t){yt.call(xe.prototype,t)||(Sc[t]=n)}),Sc),{chain:!1}),xe.VERSION="4.17.20",Wt(['bind','bindKey','curry','curryRight','partial','partialRight'],function(n){xe[n].placeholder=xe}),Wt(['drop','take'],function(n,r){je.prototype[n]=function(e){e=e===t?1:Yr(Aa(e),0);var u=this.__filtered__&&!r?new je(this):this.clone();return u.__filtered__?u.__takeCount__=Qr(e,u.__takeCount__):u.__views__.push({size:Qr(e,T),type:n+(u.__dir__<0?'Right':'')}),u},je.prototype[n+'Right']=function(t){return this.reverse()[n](t).reverse()}}),Wt(['filter','map','takeWhile'],function(n,t){var r=t+1,e=r==R||3==r;je.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:oo(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Wt(['head','last'],function(n,t){var r='take'+(t?'Right':'');je.prototype[n]=function(){return this[r](1).value()[0]}}),Wt(['initial','tail'],function(n,t){var r='drop'+(t?'':'Right');je.prototype[n]=function(){return this.__filtered__?new je(this):this[r](1)}}),je.prototype.compact=function(){return this.filter(pc)},je.prototype.find=function(n){return this.filter(n).head()},je.prototype.findLast=function(n){return this.reverse().find(n)},je.prototype.invokeMap=Du(function(n,t){return'function'==typeof n?new je(this):this.map(function(r){return vu(r,n,t)})}),je.prototype.reject=function(n){return this.filter(qf(oo(n)))},je.prototype.slice=function(n,r){n=Aa(n);var e=this;return e.__filtered__&&(n>0||r<0)?new je(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),r!==t&&(e=(r=Aa(r))<0?e.dropRight(-r):e.take(r-n)),e)},je.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},je.prototype.toArray=function(){return this.take(T)},ru(je.prototype,function(n,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=xe[u?'take'+('last'==r?'Right':''):r],o=u||/^find/.test(r);i&&(xe.prototype[r]=function(){var r=this.__wrapped__,f=u?[1]:arguments,a=r instanceof je,c=f[0],l=a||na(r),s=function(n){var t=i.apply(xe,Mt([n],f));return u&&h?t[0]:t};l&&e&&'function'==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){r=_?r:new je(this);var g=n.apply(r,f);return g.__actions__.push({func:jf,args:[s],thisArg:t}),new me(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),Wt(['pop','push','shift','sort','splice','unshift'],function(n){var t=ft[n],r=/^(?:push|sort|unshift)$/.test(n)?'tap':'thru',e=/^(?:pop|shift)$/.test(n);xe.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(na(u)?u:[],n)}return this[r](function(r){return t.apply(na(r)?r:[],n)})}}),ru(je.prototype,function(n,t){var r=xe[t];if(r){var e=r.name+'';yt.call(le,e)||(le[e]=[]),le[e].push({name:t,func:r})}}),le[Ti(t,g).name]=[{name:'wrapper',func:t}],je.prototype.clone=function(){var n=new je(this.__wrapped__);return n.__actions__=bi(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=bi(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=bi(this.__views__),n},je.prototype.reverse=function(){if(this.__filtered__){var n=new je(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},je.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=na(n),e=t<0,u=r?n.length:0,i=vo(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Qr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return ei(n,this.__actions__);var v=[];n:for(;a--&&h=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},xe.prototype.plant=function(n){for(var r,e=this;e instanceof we;){var u=Go(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},xe.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof je){var r=n;return this.__actions__.length&&(r=new je(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new me(r,this.__chain__)}return this.thru(lf)},xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},xe.prototype.first=xe.prototype.head,$r&&(xe.prototype[$r]=function(){return this}),xe})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Lr,define(function(){return Lr})):wt?((wt.exports=Lr)._=Lr,bt._=Lr):xt._=Lr}).call(this)},2766,[]); -__d(function(g,r,i,a,m,e,d){r(d[0]),r(d[1]),r(d[2])},2767,[2768,2783,2813]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]),l=t(r(d[2])),c=r(d[3]),n=r(d[4]),u=r(d[5]),s=r(d[6]);(0,s.isSimpleSite)()||(0,s.isAtomicSite)()||(0,c.registerBlockCollection)('jetpack',{title:'Jetpack',icon:(0,o.createElement)(u.JetpackLogo,null)}),(0,c.setCategories)([].concat((0,l.default)((0,c.getCategories)().filter(function(t){return'earn'!==t.slug})),[{slug:'earn',title:(0,n.__)('Earn','jetpack'),icon:(0,o.createElement)(u.JetpackLogo,null)}])),(0,c.setCategories)([].concat((0,l.default)((0,c.getCategories)().filter(function(t){return'grow'!==t.slug})),[{slug:'grow',title:(0,n.__)('Grow','jetpack'),icon:(0,o.createElement)(u.JetpackLogo,null)}]))},2768,[2769,946,2770,1223,1027,2776,2782]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n){return n&&n.__esModule?n:{default:n}}},2769,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3]);m.exports=function(c){return n(c)||t(c)||o(c)||u()}},2770,[2771,2773,2774,2775]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);m.exports=function(t){if(Array.isArray(t))return n(t)}},2771,[2772]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){(null==t||t>n.length)&&(t=n.length);for(var l=0,o=new Array(t);l2&&void 0!==arguments[2]?arguments[2]:[],u=(0,l.default)(t),b=u.available,O=u.details,j=s(u.unavailableReason,O);if(!b&&!j)return!1;var v=(0,o.registerBlockType)("jetpack/"+t,p(p({},n),{},{title:f.includes(t)?n.title+" (beta)":n.title,edit:n.edit,example:j?void 0:n.example}));return c.forEach(function(t){return(0,o.registerBlockType)("jetpack/"+t.name,t.settings)}),v};var n=t(r(d[1])),o=r(d[2]),c=t(r(d[3])),l=t(r(d[4]));function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function p(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:24,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'0 0 24 24';return(0,t.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:o,height:v,viewBox:h},(0,t.createElement)(n.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),l)};e.default=l},2791,[946,1696]); -__d(function(g,r,i,a,m,e,d){m.exports={placeholder:{color:"#87a6bc"},placeholderDark:{color:"#646970"},blockEditorPlainText:{flexGrow:1,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"transparent",shadowOpacity:1,fontSize:16,fontFamily:"Noto Serif",borderWidth:0,borderColor:"black",borderStyle:"solid",color:"#1e1e1e",textDecorationColor:"#016087"},blockEditorPlainTextDark:{color:"#fff",textDecorationColor:"#5198d9"}}},2792,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var s=r(d[1]),c=r(d[2]),n=r(d[3]),l=t(r(d[4])),o=t(r(d[5])),p=t(r(d[6]));e.name='address';var u={title:(0,c.__)('Address','jetpack'),description:(0,c.__)('Lets you add a physical address with Schema markup.','jetpack'),keywords:[(0,c._x)('location','block search term','jetpack'),(0,c._x)('direction','block search term','jetpack'),(0,c._x)('place','block search term','jetpack')],icon:(0,p.default)((0,s.createElement)(s.Fragment,null,(0,s.createElement)(n.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),(0,s.createElement)(n.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:'grow',attributes:{address:{type:'string',default:''},addressLine2:{type:'string',default:''},addressLine3:{type:'string',default:''},city:{type:'string',default:''},region:{type:'string',default:''},postal:{type:'string',default:''},country:{type:'string',default:''},linkToGoogleMaps:{type:'boolean',default:!1}},parent:['jetpack/contact-info'],edit:l.default,save:o.default};e.settings=u},2793,[2769,946,1027,1696,2794,2803,2791]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),p=t(r(d[7])),f=t(r(d[8])),y=r(d[9]),h=r(d[10]),v=r(d[11]),k=r(d[12]),b=r(d[13]),_=t(r(d[14])),j=t(r(d[15]));function O(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function P(t){for(var n=1;n254)return!1;if(!t.test(n))return!1;var u=n.split("@");return!(u[0].length>64)&&!u[1].split(".").some(function(t){return t.length>63})}},2807,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),l=r(d[2]),n=t(r(d[3])),c=t(r(d[4]));function u(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,n)}return l}function f(t){for(var l=1;l\x3c!-- wp:jetpack/email {\"email\":\"me@wordpress.org\"} --\x3e\n\n\x3c!-- /wp:jetpack/email --\x3e\n\n\x3c!-- wp:jetpack/phone {\"phone\":\"+1\"} --\x3e\n\n\x3c!-- /wp:jetpack/phone --\x3e\n\n\x3c!-- wp:jetpack/address {\"address\":\"Random Street\"} --\x3e\n
    Random Street
    \n\x3c!-- /wp:jetpack/address --\x3e\n\x3c!-- /wp:jetpack/contact-info --\x3e\n\n\x3c!-- wp:jetpack/story {\"mediaFiles\":[{\"alt\":\"\",\"caption\":\"\",\"id\":320,\"link\":\"https://cldup.com/n48GTQmw7s.jpg\",\"mime\":\"image/jpeg\",\"type\":\"image\",\"url\":\"https://cldup.com/n48GTQmw7s.jpg\"},{\"alt\":\"\",\"caption\":\"\",\"id\":321,\"link\":\"https://cldup.com/u2kdydrlQv.jpg\",\"mime\":\"image/jpeg\",\"type\":\"image\",\"url\":\"https://cldup.com/u2kdydrlQv.jpg\"},{\"alt\":\"\",\"caption\":\"\",\"id\":319,\"link\":\"https://cldup.com/fi7gqyUrbL.jpg\",\"mime\":\"image/jpeg\",\"type\":\"image\",\"url\":\"https://cldup.com/fi7gqyUrbL.jpg\"}]} --\x3e\n
    \n\x3c!-- /wp:jetpack/story --\x3e\n\n\x3c!-- wp:jetpack/story --\x3e\n
    \n\x3c!-- /wp:jetpack/story --\x3e\n\n\x3c!-- wp:jetpack/story {\"mediaFiles\":[]}} --\x3e\n
    \n\x3c!-- /wp:jetpack/story --\x3e\n"},2827,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]);(0,n.addFilter)('native.missing_block_detail','native/missing_block',function(n){var c=(0,t.select)('core/block-editor').getSettings,s=!0===c('capabilities').unsupportedBlockEditor,l=!0===c('capabilities').canEnableUnsupportedBlockEditor,b=(0,o.__)('You can edit this block using the web version of the editor.');return!1===s&&l?b+'\n\n'+(0,o.__)('Note: You must allow WordPress.com login to edit this block in the mobile editor.'):s?b:n}),(0,n.addFilter)('native.missing_block_action_button','native/missing_block',function(n){var c=(0,t.select)('core/block-editor').getSettings,s=!0===c('capabilities').unsupportedBlockEditor,l=!0===c('capabilities').canEnableUnsupportedBlockEditor;return!1===s&&l?(0,o.__)('Open Jetpack Security settings'):n})},2828,[1076,1027,4]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,c){var l=(0,n.default)(c);switch(c){case'vertical':case'vertical-inverted':return t.height*l;case'horizontal':case'horizontal-inverted':return t.width*l}};var n=t(r(d[1]))},2031,[5,2032]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){switch(t){case'vertical':return 1;case'vertical-inverted':return-1;case'horizontal':return n.I18nManager.isRTL?-1:1;case'horizontal-inverted':return n.I18nManager.isRTL?1:-1}};var n=r(d[0])},2032,[25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])).createContext(void 0);e.default=o},2033,[32,71]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])).createContext(!1);e.default=o},2034,[32,71]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])).createContext(void 0);e.default=o},2035,[32,71]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),c=n(r(d[5])),s=n(r(d[6])),p=t(r(d[7])),f=r(d[8]);function T(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var y=(function(t){(0,l.default)(h,t);var n,p,y=(n=h,p=T(),function(){var t,u=(0,s.default)(n);if(p){var o=(0,s.default)(this).constructor;t=Reflect.construct(u,arguments,o)}else t=u.apply(this,arguments);return(0,c.default)(this,t)});function h(){var t;(0,u.default)(this,h);for(var n=arguments.length,o=new Array(n),l=0;l0&&void 0!==arguments[0]?arguments[0]:o;t.LayoutAnimation.configureNext(t.LayoutAnimation.create(n,t.LayoutAnimation.Types.easeInEaseOut,t.LayoutAnimation.Properties.opacity))};var t=r(d[0]),o=300},2045,[25]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),u=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7])),y=t(r(d[8])),h=t(r(d[9])),b=r(d[10]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=(function(t){(0,c.default)(C,t);var v,_,k=(v=C,_=p(),function(){var t,n=(0,h.default)(v);if(_){var o=(0,h.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,y.default)(this,t)});function C(){var t;return(0,s.default)(this,C),(t=k.apply(this,arguments))._onKeyboardChange=t._onKeyboardChange.bind((0,f.default)(t)),t._subscriptions=[],t.state={bottom:0},t}return(0,l.default)(C,[{key:"_relativeKeyboardHeight",value:function(t){if(!t)return 0;var n=b.Dimensions.get('window').height,o=t.screenY-this.props.keyboardVerticalOffset;return Math.max(n-o,0)}},{key:"_onKeyboardChange",value:function(t){if(null!==t){var n=t.duration,o=t.easing,u=t.endCoordinates,s=this._relativeKeyboardHeight(u);this.state.bottom!==s&&(n&&o&&b.LayoutAnimation.configureNext({duration:n,update:{duration:n,type:b.LayoutAnimation.Types[o]||'keyboard'}}),this.setState({bottom:s}))}else this.setState({bottom:0})}},{key:"componentDidMount",value:function(){'ios'===b.Platform.OS&&(this._subscriptions=[b.Keyboard.addListener('keyboardWillChangeFrame',this._onKeyboardChange)])}},{key:"componentWillUnmount",value:function(){this._subscriptions.forEach(function(t){t.remove()})}},{key:"render",value:function(){var t=this.props,s=t.children,l=t.enabled,f=(t.keyboardVerticalOffset,t.style),c=(0,u.default)(t,["children","enabled","keyboardVerticalOffset","style"]),y=f;if('ios'===b.Platform.OS){var h=l?this.state.bottom:0;y=b.StyleSheet.compose(f,{paddingBottom:h})}return(0,n.createElement)(b.View,(0,o.default)({style:y},c),s)}}]),C})(n.Component);v.defaultProps={enabled:!0,keyboardVerticalOffset:0};var _=v;e.default=_},2046,[5,946,24,67,7,42,60,57,59,56,25]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BottomSheetConsumer=e.BottomSheetProvider=e.BottomSheetContext=void 0;var t=r(d[0]),o=r(d[1]);'android'===t.Platform.OS&&t.UIManager.setLayoutAnimationEnabledExperimental&&t.UIManager.setLayoutAnimationEnabledExperimental(!0);var n=(0,o.createContext)({isBottomSheetContentScrolling:!1,shouldEnableBottomSheetScroll:function(){},shouldEnableBottomSheetMaxHeight:function(){},onHandleClosingBottomSheet:function(){},onHandleHardwareButtonPress:function(){}});e.BottomSheetContext=n;var l=n.Provider,u=n.Consumer;e.BottomSheetConsumer=u,e.BottomSheetProvider=l},2047,[25,946]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HTMLTextInput=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),p=r(d[8]),f=r(d[9]),v=r(d[10]),y=r(d[11]),T=r(d[12]),P=r(d[13]),x=t(r(d[14]));function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var b="ios"===p.Platform.OS?r(d[15]):r(d[16]),C=(function(t){(0,s.default)(C,t);var v,y,P=(v=C,y=E(),function(){var t,n=(0,h.default)(v);if(y){var l=(0,h.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function C(){var t;return(0,l.default)(this,C),(t=P.apply(this,arguments)).edit=t.edit.bind((0,u.default)(t)),t.stopEditing=t.stopEditing.bind((0,u.default)(t)),t.getHTMLForParent=t.getHTMLForParent.bind((0,u.default)(t)),(0,T.addFilter)('native.persist-html','html-text-input',t.getHTMLForParent),t.state={},t}return(0,o.default)(C,[{key:"componentWillUnmount",value:function(){(0,T.removeFilter)('native.persist-html','html-text-input'),this.stopEditing()}},{key:"edit",value:function(t){this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"getHTMLForParent",value:function(){return this.state.value}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var t=this.props.getStylesFromColorScheme,l=t(b.htmlView,b.htmlViewDark),o=t(b.placeholder,b.placeholderDark);return(0,n.createElement)(x.default,{parentHeight:this.props.parentHeight},(0,n.createElement)(p.TextInput,{autoCorrect:!1,accessibilityLabel:"html-view-title",textAlignVertical:"center",numberOfLines:1,style:b.htmlViewTitle,value:this.props.title,placeholder:(0,f.__)('Add title'),placeholderTextColor:o.color,onChangeText:this.props.editTitle}),(0,n.createElement)(p.TextInput,{autoCorrect:!1,accessibilityLabel:"html-view-content",textAlignVertical:"top",multiline:!0,style:l,value:this.state.value,onChangeText:this.edit,onBlur:this.stopEditing,placeholder:(0,f.__)('Start writing\u2026'),placeholderTextColor:o.color,scrollEnabled:x.default.scrollEnabled}))}}],[{key:"getDerivedStateFromProps",value:function(t,n){return n.isDirty?null:{value:t.value,isDirty:!1}}}]),C})(n.Component);e.HTMLTextInput=C;var D=(0,P.compose)([(0,y.withSelect)(function(t){var n=t('core/editor'),l=n.getEditedPostAttribute,o=n.getEditedPostContent;return{title:l('title'),value:o()}}),(0,y.withDispatch)(function(t){var n=t('core/editor'),l=n.editPost,o=n.resetEditorBlocks;return{editTitle:function(t){l({title:t})},onChange:function(t){l({content:t})},onPersist:function(t){var n=(0,v.parse)(t);o(n)}}}),P.withInstanceId,P.withPreferredColorScheme])(C);e.default=D},2048,[5,946,7,42,60,57,59,56,25,1027,1223,1076,4,1116,2049,2052,2053]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),s=t(r(d[7])),p=r(d[8]),h=t(r(d[9])),v=t(r(d[10]));function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,c.default)(S,t);var R,P,b=(R=S,P=y(),function(){var t,n=(0,s.default)(R);if(P){var u=(0,s.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function S(){var t;return(0,o.default)(this,S),(t=b.apply(this,arguments)).panResponder=p.PanResponder.create({onStartShouldSetPanResponderCapture:function(){return!0},onPanResponderMove:function(t,n){n.dy>100&&n.dy<110&&p.UIManager.blur(t.target)}}),t}return(0,f.default)(S,[{key:"render",value:function(){return(0,n.createElement)(h.default,(0,u.default)({style:v.default.keyboardAvoidingView},this.panResponder.panHandlers,{parentHeight:this.props.parentHeight}),this.props.children)}}]),S})(n.Component);R.scrollEnabled=!0;var P=R;e.default=P},2049,[5,946,24,7,42,57,59,56,25,2050,2052]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.KeyboardAvoidingView=void 0;var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),l=r(d[5]),f=t(r(d[6])),h=r(d[7]),v=t(r(d[8])),y=l.Animated.createAnimatedComponent(l.KeyboardAvoidingView),c=44,b=function(t){var b=t.parentHeight,w=t.style,A=t.withAnimatedHeight,V=void 0!==A&&A,L=(0,u.default)(t,["parentHeight","style","withAnimatedHeight"]),C=(0,h.useResizeObserver)(),K=(0,s.default)(C,2),S=K[0],p=K[1],H=(0,n.useState)(!1),k=(0,s.default)(H,2),E=k[0],I=k[1],R=(0,n.useState)(0),D=(0,s.default)(R,2),W=D[0],_=D[1],F=(p||{}).height,O=void 0===F?0:F,j=(0,n.useRef)(new l.Animated.Value(c)).current,z=l.Dimensions.get('window').height-b;function B(t){var n=t.safeAreaInsets;_(n.bottom)}function M(t){var n=t.endCoordinates;I(!0),j.setValue(n.height+c)}function N(t){var n=t.duration,o=t.startCoordinates,s=o.height>100?o.height/3:100,u=j.addListener(function(t){t.value2&&void 0!==arguments[2])||arguments[2],s=o.getScrollResponder();s&&s.scrollResponderScrollTo({x:t,y:n,animated:l})},o.scrollToEnd=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=o.getScrollResponder();n&&n.scrollResponderScrollToEnd({animated:t})},o.scrollForExtraHeightOnAndroid=function(t){o.scrollToPosition(0,o.position.y+t,!0)},o.scrollToFocusedInput=function(t,n,l){void 0===n&&(n=o.props.extraHeight||0),void 0===l&&(l=o.props.keyboardOpeningTime||0),setTimeout(function(){if(o.mountedComponent){var l=o.getScrollResponder();l&&l.scrollResponderScrollNativeHandleToKeyboard(t,n,!0)}},l)},o.scrollIntoView=function(t){var n,c,u,f,p,h,y,b,v,S,w=arguments;return l.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(n=w.length>1&&void 0!==w[1]?w[1]:{},o._rnkasv_keyboardView&&t){T.next=3;break}return T.abrupt("return");case 3:return T.next=5,l.default.awrap(Promise.all([o._measureElement(o._rnkasv_keyboardView),o._measureElement(t)]));case 5:c=T.sent,u=(0,s.default)(c,2),f=u[0],p=u[1],h=n.getScrollPosition||o._defaultGetScrollPosition,y=h(f,p,o.position),b=y.x,v=y.y,S=y.animated,o.scrollToPosition(b,v,S);case 12:case"end":return T.stop()}},null,null,null,Promise)},o._defaultGetScrollPosition=function(t,o,n){return{x:0,y:Math.max(0,o.y-t.y+n.y),animated:!0}},o._measureElement=function(t){var o=(0,w.findNodeHandle)(t);return new Promise(function(t){w.UIManager.measureInWindow(o,function(o,n,l,s){t({x:o,y:n,width:l,height:s})})})},o._updateKeyboardSpace=function(t){var n,s;return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:n=o._calculateLayoutDelayOnKeyboardWillOpen(Date.now()),o.props.enableAutomaticScroll&&(s=t.endCoordinates.height+o.props.extraBottomInset,o.props.viewIsInsideTabBar&&(s-=C),o.setState({keyboardSpace:s,keyboardEndCoordinatesScreenY:t.endCoordinates.screenY}),setTimeout(function(){o._refreshScrollForField(null)},n)),o.props.resetScrollToCoords||o.defaultResetScrollToCoords||(o.defaultResetScrollToCoords=o.position);case 3:case"end":return l.stop()}},null,null,null,Promise)},o._resetKeyboardSpace=function(){o.keyboardWillHideTime=Date.now();var t=o.props.viewIsInsideTabBar?C:0;o.setState({keyboardSpace:t,keyboardEndCoordinatesScreenY:void 0}),!1!==o.props.enableResetScrollToCoords?o.props.resetScrollToCoords?o.scrollToPosition(o.props.resetScrollToCoords.x,o.props.resetScrollToCoords.y,!0):o.defaultResetScrollToCoords?(o.scrollToPosition(o.defaultResetScrollToCoords.x,o.defaultResetScrollToCoords.y,!0),o.defaultResetScrollToCoords=null):o.scrollToPosition(0,0,!0):o.defaultResetScrollToCoords=null},o._scrollToFocusedInputWithNodeHandle=function(t,n,l){void 0===n&&(n=o.props.extraHeight);var s=w.default.findNodeHandle(t);o.scrollToFocusedInput(s,n+o._extraScrollHeight(),void 0!==l?l:o.props.keyboardOpeningTime||0)},o._handleOnScroll=function(t){o.position=t.nativeEvent.contentOffset},o._handleOnLayout=function(){o.parentLayout=null},o._handleRef=function(t){o._rnkasv_keyboardView=t?E.extractNativeRef(t):t,o.props.innerRef&&o.props.innerRef(o._rnkasv_keyboardView)},o.update=function(){var t=w.TextInput.State.currentlyFocusedField(),n=o.getScrollResponder();t&&n&&o._scrollToFocusedInputWithNodeHandle(t)},o.keyboardWillShowEvent=void 0,o.keyboardWillHideEvent=void 0,o.callbacks={},o.position={x:0,y:0},o.defaultResetScrollToCoords=null;var n=t.viewIsInsideTabBar?C:0;return o.state={keyboardSpace:n},o.refreshScrollForField=o._refreshScrollForField.bind((0,f.default)(o)),o}return(0,u.default)(O,[{key:"componentDidMount",value:function(){var t=this;return l.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:this.mountedComponent=!0,'ios'===w.Platform.OS?(this.keyboardWillShowEvent=w.Keyboard.addListener('keyboardWillShow',this._updateKeyboardSpace),this.keyboardWillHideEvent=w.Keyboard.addListener('keyboardWillHide',this._resetKeyboardSpace)):'android'===w.Platform.OS&&this.props.enableOnAndroid&&(this.keyboardWillShowEvent=w.Keyboard.addListener('keyboardDidShow',this._updateKeyboardSpace),this.keyboardWillHideEvent=w.Keyboard.addListener('keyboardDidHide',this._resetKeyboardSpace)),R.forEach(function(o){var n=A(o);t.props[n]&&(t.callbacks[o]=w.Keyboard.addListener(o,t.props[n]))});case 3:case"end":return o.stop()}},null,this,null,Promise)}},{key:"componentWillReceiveProps",value:function(t){if(t.viewIsInsideTabBar!==this.props.viewIsInsideTabBar){var o=t.viewIsInsideTabBar?C:0;this.state.keyboardSpace!==o&&this.setState({keyboardSpace:o})}}},{key:"componentWillUnmount",value:function(){this.mountedComponent=!1,this.keyboardWillShowEvent&&this.keyboardWillShowEvent.remove(),this.keyboardWillHideEvent&&this.keyboardWillHideEvent.remove(),Object.values(this.callbacks).forEach(function(t){return t.remove()})}},{key:"_calculateTopBottomDistanceIfNeeded",value:function(){var t,o,n;return l.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(this.parentLayout){s.next=8;break}return s.next=3,l.default.awrap(this._measureElement(this._rnkasv_keyboardView));case 3:t=s.sent,this.parentLayout=t,o=w.Dimensions.get('window'),n=o.height,this.bottomDistanceToWindow=n-(t.y+t.height),this.topDistanceToWindow=t.y;case 8:case"end":return s.stop()}},null,this,null,Promise)}},{key:"_wasKeyboardAlreadyOpen",value:function(t){return t-this.keyboardWillHideTimen+l}},{key:"_isFocusedAreaFitsInViewableArea",value:function(t,o,n,l){var s=o+n-t+this.props.extraScrollHeight,c=this.topDistanceToWindow;return l-this.props.inputAccessoryViewHeight-c>s}},{key:"_isCaretUnderKeyboard",value:function(t,o,n){return t+o>n-this.props.inputAccessoryViewHeight}},{key:"_isCaretAboveViewableArea",value:function(t){return this.topDistanceToWindow>t}},{key:"_isCaretOutOfViewableArea",value:function(t,o,n){return this._isCaretUnderKeyboard(t,o,n)||this._isCaretAboveViewableArea(t)}},{key:"_shouldScrollToBottomOfComponent",value:function(t,o,n,l,s,c){return this._isFocusedAreaFitsInViewableArea(n,t,o,c)&&this._isCaretAtLastLine(n,l,t,o,s)}},{key:"_scrollToBottomOfComponent",value:function(t,o,n){var l=this;w.UIManager.measureInWindow(t,function(s,c,u,f){l._doScrollToBottomOfComponent(t,c,f,o,n)})}},{key:"_extraScrollHeight",value:function(){var t=void 0!==this.state.keyboardEndCoordinatesScreenY?this.topDistanceToWindow:this._totalVerticalDistanceToWindow();return this.props.extraScrollHeight+t+this.props.inputAccessoryViewHeight}},{key:"_doScrollToBottomOfComponent",value:function(t,o,n,l,s,c){var u=o+n,f=l,p=this._extraScrollHeight()+this.props.extraHeight;if('ios'===w.Platform.OS)u>f-p&&this._scrollToFocusedInputWithNodeHandle(t,null,c);else if(u>f){var h=s-(u-f);this.setState({adjustedKeyboardSpace:h}),this.scrollForExtraHeightOnAndroid(p)}else u>f-p&&this.scrollForExtraHeightOnAndroid(p-(f-u))}},{key:"render",value:function(){var o,l=this.props,s=l.enableOnAndroid,c=l.contentContainerStyle,u=l.onScroll,f=l.onLayout;'android'===w.Platform.OS&&s&&(o=[].concat(c).concat({paddingBottom:((c||{}).paddingBottom||0)+this.state.keyboardSpace}));var p=(0,b.default)({},E.refPropName,this._handleRef);return v.default.createElement(t,(0,n.default)({},p,{keyboardDismissMode:"interactive",contentInset:{bottom:this.state.keyboardSpace},automaticallyAdjustContentInsets:!1,showsVerticalScrollIndicator:!0,scrollEventThrottle:1},this.props,{contentContainerStyle:o||c,keyboardSpace:this.state.keyboardSpace,getScrollResponder:this.getScrollResponder,scrollToPosition:this.scrollToPosition,refreshScrollForField:this.refreshScrollForField,scrollToEnd:this.scrollToEnd,scrollForExtraHeightOnAndroid:this.scrollForExtraHeightOnAndroid,scrollToFocusedInput:this.scrollToFocusedInput,scrollIntoView:this.scrollIntoView,resetKeyboardSpace:this._resetKeyboardSpace,handleOnScroll:this._handleOnScroll,handleOnLayout:this._handleOnLayout,update:this.update,onScroll:w.Animated.forkEvent(u,this._handleOnScroll),onLayout:w.Animated.forkEvent(f,this._handleOnLayout)}))}}]),O})(v.default.Component),T.displayName="KeyboardAware"+((W=t)&&(W.displayName||W.name)||'Component'),T.propTypes=O({viewIsInsideTabBar:S.default.bool,resetScrollToCoords:S.default.shape({x:S.default.number.isRequired,y:S.default.number.isRequired}),enableResetScrollToCoords:S.default.bool,enableAutomaticScroll:S.default.bool,extraHeight:S.default.number,extraScrollHeight:S.default.number,keyboardOpeningTime:S.default.number,onScroll:S.default.oneOfType([S.default.func,S.default.object]),onLayout:S.default.oneOfType([S.default.func,S.default.object]),update:S.default.func,contentContainerStyle:S.default.any,enableOnAndroid:S.default.bool,innerRef:S.default.func},D),T.defaultProps={enableAutomaticScroll:E.enableAutomaticScroll,extraHeight:E.extraHeight,extraScrollHeight:E.extraScrollHeight,extraBottomInset:E.extraBottomInset,inputAccessoryViewHeight:E.inputAccessoryViewHeight,enableResetScrollToCoords:E.enableResetScrollToCoords,keyboardOpeningTime:E.keyboardOpeningTime,viewIsInsideTabBar:E.viewIsInsideTabBar,enableOnAndroid:E.enableOnAndroid},_}var E=function(t){return'object'==typeof t?function(o){return W(o,t)}:W(t)};e.default=E},2056,[32,5,24,282,36,7,42,60,57,59,56,66,71,83,25,1963]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=(0,l(r(d[2])).default)(t.ScrollView);e.default=u},2057,[5,25,2056]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=(0,t(r(d[2])).default)(l.FlatList);e.default=u},2058,[5,25,2056]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),f=(0,t(r(d[2])).default)(u.SectionList);e.default=f},2059,[5,25,2056]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),l=r(d[3]),o=r(d[4]),s=t(r(d[5])),f=2,c=function(t){var c=t.align,w=t.reversed,E=t.children,h=t.style,N=l.Dimensions.get('window'),v=N.width,I=N.height,A=(0,n.useState)(v),T=(0,u.default)(A,2),_=T[0],L=T[1],M=(0,n.useState)(v/I),S=(0,u.default)(M,2),C=S[0],D=S[1];function G(t){var n=t.window;L(n.width),D(n.width/n.height)}return(0,n.useEffect)(function(){return l.Dimensions.addEventListener('change',G),function(){l.Dimensions.removeEventListener('change',G)}},[]),(0,n.createElement)(l.View,{style:s.default.container},(0,n.createElement)(l.View,{style:[w?s.default.reversedCenteredContent:s.default.centeredContent,h,s.default[c],c===o.WIDE_ALIGNMENTS.alignments.wide&&(C>=f&&_=o.ALIGNMENT_BREAKPOINTS.medium&&_s.default.centeredContent.maxWidth};var w=c;e.default=w},2060,[5,946,36,25,1699,2061]); +__d(function(g,r,i,a,m,e,d){m.exports={container:{alignItems:"center"},centeredContent:{width:"100%",maxWidth:580},reversedCenteredContent:{flexDirection:"column-reverse",width:"100%",maxWidth:580},full:{maxWidth:"100%"},wide:{maxWidth:1054},wideMedium:{maxWidth:770},wideLandscape:{maxWidth:662}}},2061,[]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=l(r(d[2])),t=l(r(d[3])),s=l(r(d[4]));var u=function(l){var u=l.help,c=l.instanceId,p=l.label,h=l.multiple,b=void 0!==h&&h,v=l.onChange,f=l.options,_=void 0===f?[]:f,V=l.className,C=l.hideLabelFromVision,F=(0,t.default)(l,["help","instanceId","label","multiple","onChange","options","className","hideLabelFromVision"]),L="inspector-select-control-"+c;return(0,o.createElement)(s.default,(0,n.default)({label:p,hideLabelFromVision:C,id:L,help:u,className:V,onChangeValue:v,"aria-describedby":u?L+"__help":void 0,multiple:b,options:_},F))};e.default=u},2062,[5,946,24,67,1870]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getGradientAngle=b,e.getGradientColorGroup=C,e.getGradientBaseColors=E,e.getColorLocations=O,e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=t(r(d[7])),p=t(r(d[8])),v=r(d[9]),h=r(d[10]),y=r(d[11]),G=t(r(d[12]));function b(t){var n=/\(((\d+deg)|(to\s[^,]+))/,o=n.exec(t)?n.exec(t)[1]:'180deg',l=o.includes('deg')?'angle':'sideOrCorner';if('sideOrCorner'!==l)return'angle'===l?parseFloat(o):180;switch(o){case'to top':return 0;case'to top right':case'to right top':return 45;case'to right':return 90;case'to bottom right':case'to right bottom':return 135;case'to bottom':return 180;case'to bottom left':case'to left bottom':return 225;case'to left':return 270;case'to top left':case'to left top':return 315}}function C(t){var n,o,l=['rgb','rgba'],u=t.replace(/linear-gradient\(to\s+([a-z\s]+,)/,'linear-gradient(');return(n=[]).concat.apply(n,(0,c.default)(null==(o=p.default.parse(u))?void 0:o.map(function(t){var n;return null==(n=t.colorStops)?void 0:n.map(function(n,o){var u=n.type,c=n.value,s=n.length,f=o/(t.colorStops.length-1)*100+"%",p=s?""+s.value+s.type:f;return l.includes(u)?[u+"("+c.join(',')+")",p]:'literal'===u?[c,p]:["#"+c,p]})})))}function E(t){return t.map(function(t){return t[0]})}function O(t){return t.map(function(t){return Number(t[1].replace('%',''))/100})}var w=function(t){var c=t.gradientValue,p=t.style,w=t.angleCenter,S=void 0===w?{x:.5,y:.5}:w,U=t.children,V=(0,u.default)(t,["gradientValue","style","angleCenter","children"]),x=(0,y.useResizeObserver)(),M=(0,l.default)(x,2),_=M[0],R=M[1]||{},j=R.width,z=void 0===j?0:j,A=R.height,P=void 0===A?0:A,k=v.colorsUtils.isGradient,B=v.colorsUtils.getGradientType,D=v.colorsUtils.gradients,F=(0,n.useMemo)(function(){return C(c)},[c]),L=(0,n.useMemo)(function(){return O(F)},[F]),N=(0,n.useMemo)(function(){return E(F)},[F]);return c&&k(c)?B(c)===D.linear?(0,n.createElement)(f.default,(0,o.default)({colors:N,useAngle:!0,angle:b(c),locations:L,angleCenter:S,style:p},V),U):(0,n.createElement)(s.View,{style:[p,G.default.overflow]},(0,n.createElement)(s.View,{style:G.default.radialGradientContent},U),_,(0,n.createElement)(h.SVG,null,(0,n.createElement)(h.Defs,null,(0,n.createElement)(h.RadialGradient,{id:"radialGradient",gradientUnits:"userSpaceOnUse",rx:"70%",ry:"70%",cy:'android'===s.Platform.OS?z/2:'50%'},F.map(function(t){return(0,n.createElement)(h.Stop,{offset:t[1],stopColor:t[0],stopOpacity:"1",key:t[1]+"-"+t[0]})}))),(0,n.createElement)(h.Rect,{height:P,width:z,fill:"url(#radialGradient)"}))):null};e.default=w},2063,[5,946,24,36,67,14,25,1709,2064,1699,1250,1116,2065]); +__d(function(g,r,i,a,m,e,d){var t={};t.parse=(function(){var t={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},n='';function o(t){var o=new Error(n+': '+t);throw o.source=n,o}function l(){return u('linear-gradient',t.linearGradient,c)||u('repeating-linear-gradient',t.repeatingLinearGradient,c)||u('radial-gradient',t.radialGradient,p)||u('repeating-radial-gradient',t.repeatingRadialGradient,p)}function u(n,l,u){return s(l,function(l){var s=u();return s&&(K(t.comma)||o('Missing comma before color stops')),{type:n,orientation:s,colorStops:C(w)}})}function s(n,l){var u=K(n);if(u)return K(t.startCall)||o('Missing ('),result=l(u),K(t.endCall)||o('Missing )'),result}function c(){return z('directional',t.sideOrCorner,1)||z('angular',t.angleValue,1)}function p(){var o,l,u=f();return u&&((o=[]).push(u),l=n,K(t.comma)&&((u=f())?o.push(u):n=l)),o}function f(){var t=v()||b();if(t)t.at=x();else{var n=y();n&&(t={type:'default-radial',at:n})}return t}function v(){var t=z('shape',/^(circle)/i,0);return t&&(t.style=k()||h()),t}function b(){var t=z('shape',/^(ellipse)/i,0);return t&&(t.style=V()||h()),t}function h(){return z('extent-keyword',t.extentKeywords,1)}function x(){if(z('position',/^at/,0)){var t=y();return t||o('Missing positioning value'),t}}function y(){var t={x:V(),y:V()};if(t.x||t.y)return{type:'position',value:t}}function C(n){var l=n(),u=[];if(l)for(u.push(l);K(t.comma);)(l=n())?u.push(l):o('One extra comma');return u}function w(){var n=z('hex',t.hexColor,1)||s(t.rgbaColor,function(){return{type:'rgba',value:C(G)}})||s(t.rgbColor,function(){return{type:'rgb',value:C(G)}})||z('literal',t.literalColor,0);return n||o('Expected color definition'),n.length=V(),n}function G(){return K(t.number)[1]}function V(){return z('%',t.percentageValue,1)||z('position-keyword',t.positionKeywords,1)||k()}function k(){return z('px',t.pixelValue,1)||z('em',t.emValue,1)}function z(t,n,o){var l=K(n);if(l)return{type:t,value:l[o]}}function K(t){var o,l;return(l=/^[\n\r\t\s]+/.exec(n))&&M(l[0].length),(o=t.exec(n))&&M(o[0].length),o}function M(t){n=n.substr(t)}return function(t){return n=t.toString(),u=C(l),n.length>0&&o('Invalid input not EOF'),u;var u}})(),e.parse=t.parse},2064,[]); +__d(function(g,r,i,a,m,e,d){m.exports={overflow:{overflow:"hidden"},radialGradientContent:{position:"absolute",zIndex:2}}},2065,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),u=r(d[4]),c=t(r(d[5])),s=t(r(d[6])),h=t(r(d[7])),S=r(d[8]),f=(0,n.memo)(function(t){var o=t.defaultSettings,l=t.onHandleClosingBottomSheet,f=t.shouldEnableBottomSheetMaxHeight,C=t.onColorChange,E=t.colorValue,v=t.gradientValue,B=t.onGradientChange,b=t.label;return(0,n.useEffect)(function(){f(!0),l(null)},[]),(0,n.createElement)(u.BottomSheet.NavigationContainer,null,(0,n.createElement)(u.BottomSheet.NavigationScreen,{name:S.colorsUtils.screens.palette,initialParams:{defaultSettings:o,onColorChange:C,colorValue:E,gradientValue:v,onGradientChange:B,label:b}},(0,n.createElement)(h.default,null)),(0,n.createElement)(u.BottomSheet.NavigationScreen,{name:S.colorsUtils.screens.picker},(0,n.createElement)(c.default,null)),(0,n.createElement)(u.BottomSheet.NavigationScreen,{name:S.colorsUtils.screens.gradientPicker},(0,n.createElement)(s.default,null)))});var C=function(t){var c=(0,l.useRoute)(),s=(0,n.useContext)(u.BottomSheetContext),h=s.onHandleClosingBottomSheet,S=s.shouldEnableBottomSheetMaxHeight;return(0,n.createElement)(f,(0,o.default)({onHandleClosingBottomSheet:h,shouldEnableBottomSheetMaxHeight:S},t,c.params))};e.default=C},2066,[5,946,24,1876,1699,2067,2068,2075,1702]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=r(d[2]),l=r(d[3]),u=o(r(d[4])),s=function(){var o=(0,n.useRoute)(),s=(0,n.useNavigation)(),h=(0,t.useContext)(l.BottomSheetContext),S=h.onShouldEnableInnerHandling,c=h.shouldEnableBottomSheetMaxHeight,B=h.onHandleClosingBottomSheet,C=h.isBottomSheetContentScrolling,H=h.shouldEnableBottomSheetScroll,v=h.onHandleHardwareButtonPress,b=o.params,f=b.setColor,E=b.currentValue,x=b.isGradientColor;return(0,t.useMemo)(function(){return(0,t.createElement)(u.default,{onShouldEnableInnerHandling:S,shouldEnableBottomSheetMaxHeight:c,setColor:f,activeColor:E,isGradientColor:x,onNavigationBack:s.goBack,onHandleClosingBottomSheet:B,isBottomSheetContentScrolling:C,shouldEnableBottomSheetScroll:H,onHandleHardwareButtonPress:v})},[f,E,x,S,c,B,C,H,v])};e.default=s},2067,[5,946,1876,1699,1705]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=r(d[2]),l=r(d[3]),o=r(d[4]),s=t(r(d[5])),c=t(r(d[6])),f=function(){var t=(0,l.useNavigation)(),f=(0,l.useRoute)().params,v=f.setColor,_=f.currentValue,C=f.isGradientColor;return(0,n.createElement)(u.View,null,(0,n.createElement)(c.default,{screen:(0,o.__)('Customize Gradient'),leftButtonOnPress:t.goBack}),(0,n.createElement)(s.default,{setColor:v,currentValue:_,isGradientColor:C}))};e.default=f},2068,[5,946,25,1876,1027,2069,2074]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=r(d[6]),f=r(d[7]),p=r(d[8]),O=r(d[9]),y=r(d[10]),b=t(r(d[11]));function v(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function E(t){for(var n=1;n0&&B<(null==J?void 0:J.width)?B:$},D&&{width:y.default.wide.width},M&&y.default.focalPointContainer],te=[{opacity:V?.3:1,height:null==J?void 0:J.height},M&&y.default.focalPoint,M&&(0,p.getImageWithFocalPointStyles)(M,J,W),!M&&W&&J&&{height:(null==W?void 0:W.width)>(null==J?void 0:J.width)?(null==J?void 0:J.width)/(null==W?void 0:W.aspectRatio):void 0},O&&{height:O},x];return(0,l.createElement)(u.View,{style:[y.default.container,W&&C&&{alignItems:C}],onLayout:function(t){var l=t.nativeEvent.layout,o=l.height,n=l.width;0===n||0===o||(null==J?void 0:J.width)===n&&(null==J?void 0:J.height)===o||K({width:n,height:o})}},(0,l.createElement)(u.View,{accessible:!0,disabled:!b,accessibilityLabel:S,accessibilityHint:(0,c.__)('Double tap and hold to edit'),accessibilityRole:'imagebutton',key:z,style:ee},b&&!(V||F)&&(0,l.createElement)(u.View,{style:[y.default.imageBorder,{height:null==J?void 0:J.height}]}),W?(0,l.createElement)(u.View,{style:M&&y.default.focalPointContent},(0,l.createElement)(u.Image,(0,o.default)({},!D&&{aspectRatio:null==W?void 0:W.aspectRatio},{style:te,source:{uri:z}},!M&&{resizeMethod:'scale'},{resizeMode:D}))):(0,l.createElement)(u.View,{style:Z},(0,l.createElement)(u.View,{style:y.default.imageUploadingIconContainer},Q(P))),F&&L&&(0,l.createElement)(u.View,{style:[y.default.imageContainer,y.default.retryContainer]},(0,l.createElement)(u.View,{style:[y.default.retryIcon,T&&y.default.customRetryIcon]},Q(I)),(0,l.createElement)(u.Text,{style:y.default.uploadFailedText},L)),_&&b&&!V&&(0,l.createElement)(v.default,{onSelectMediaUploadOption:R,openMediaOptions:A,url:!F&&W&&z,pickerOptions:k})))};e.default=C},2088,[5,946,24,36,25,1027,1699,1247,1116,2089,2090,2091,2092]); +__d(function(g,r,i,a,m,e,d){function t(t,h,o,n){var f=Math.floor(h/2),l=Math.floor(o/t),u=Math.floor(n*l),c=u-f,v=l-u,w=h-f;return vv?(l=t(v,o.width,n.width,h.x),f.width=void 0,f.left=l):c1&&void 0!==arguments[1]?arguments[1]:100;if(isNaN(t))throw new Error('Specified time is not a number');'ios'===b.Platform.OS?n.setNativeProps({seek:{time:t,tolerance:o}}):n.setNativeProps({seek:t})},n.presentFullscreenPlayer=function(){n.setNativeProps({fullscreen:!0})},n.dismissFullscreenPlayer=function(){n.setNativeProps({fullscreen:!1})},n.save=function(t){return u.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,u.default.awrap(b.NativeModules.VideoManager.save(t,(0,b.findNodeHandle)(n._root)));case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}},null,null,null,Promise)},n.restoreUserInterfaceForPictureInPictureStopCompleted=function(t){n.setNativeProps({restoreUserInterfaceForPIPStopCompletionHandler:t})},n._assignRoot=function(t){n._root=t},n._hidePoster=function(){n.state.showPoster&&n.setState({showPoster:!1})},n._onLoadStart=function(t){n.props.onLoadStart&&n.props.onLoadStart(t.nativeEvent)},n._onLoad=function(t){'windows'===b.Platform.OS&&n._hidePoster(),n.props.onLoad&&n.props.onLoad(t.nativeEvent)},n._onError=function(t){n.props.onError&&n.props.onError(t.nativeEvent)},n._onProgress=function(t){n.props.onProgress&&n.props.onProgress(t.nativeEvent)},n._onBandwidthUpdate=function(t){n.props.onBandwidthUpdate&&n.props.onBandwidthUpdate(t.nativeEvent)},n._onSeek=function(t){n.props.onSeek&&n.props.onSeek(t.nativeEvent)},n._onEnd=function(t){n.props.onEnd&&n.props.onEnd(t.nativeEvent)},n._onTimedMetadata=function(t){n.props.onTimedMetadata&&n.props.onTimedMetadata(t.nativeEvent)},n._onFullscreenPlayerWillPresent=function(t){n.props.onFullscreenPlayerWillPresent&&n.props.onFullscreenPlayerWillPresent(t.nativeEvent)},n._onFullscreenPlayerDidPresent=function(t){n.props.onFullscreenPlayerDidPresent&&n.props.onFullscreenPlayerDidPresent(t.nativeEvent)},n._onFullscreenPlayerWillDismiss=function(t){n.props.onFullscreenPlayerWillDismiss&&n.props.onFullscreenPlayerWillDismiss(t.nativeEvent)},n._onFullscreenPlayerDidDismiss=function(t){n.props.onFullscreenPlayerDidDismiss&&n.props.onFullscreenPlayerDidDismiss(t.nativeEvent)},n._onReadyForDisplay=function(t){n._hidePoster(),n.props.onReadyForDisplay&&n.props.onReadyForDisplay(t.nativeEvent)},n._onPlaybackStalled=function(t){n.props.onPlaybackStalled&&n.props.onPlaybackStalled(t.nativeEvent)},n._onPlaybackResume=function(t){n.props.onPlaybackResume&&n.props.onPlaybackResume(t.nativeEvent)},n._onPlaybackRateChange=function(t){n.props.onPlaybackRateChange&&n.props.onPlaybackRateChange(t.nativeEvent)},n._onExternalPlaybackChange=function(t){n.props.onExternalPlaybackChange&&n.props.onExternalPlaybackChange(t.nativeEvent)},n._onAudioBecomingNoisy=function(){n.props.onAudioBecomingNoisy&&n.props.onAudioBecomingNoisy()},n._onPictureInPictureStatusChanged=function(t){n.props.onPictureInPictureStatusChanged&&n.props.onPictureInPictureStatusChanged(t.nativeEvent)},n._onRestoreUserInterfaceForPictureInPictureStop=function(t){n.props.onRestoreUserInterfaceForPictureInPictureStop&&n.props.onRestoreUserInterfaceForPictureInPictureStop()},n._onAudioFocusChanged=function(t){n.props.onAudioFocusChanged&&n.props.onAudioFocusChanged(t.nativeEvent)},n._onBuffer=function(t){n.props.onBuffer&&n.props.onBuffer(t.nativeEvent)},n.getViewManagerConfig=function(t){return b.NativeModules.UIManager.getViewManagerConfig?b.NativeModules.UIManager.getViewManagerConfig(t):b.NativeModules.UIManager[t]},n.state={showPoster:!!t.poster},n}return(0,f.default)(S,[{key:"setNativeProps",value:function(t){this._root.setNativeProps(t)}},{key:"toTypeString",value:function(t){switch(typeof t){case"object":return t instanceof Date?t.toISOString():JSON.stringify(t);case"undefined":return"";default:return t.toString()}}},{key:"stringsOnlyObject",value:function(t){var n=this,o={};return Object.keys(t).forEach(function(l){o[l]=n.toTypeString(t[l])}),o}},{key:"render",value:function(){var t=this.props.resizeMode,n=(0,v.default)(this.props.source)||{},o=!Boolean(n.__packager_asset),u=n.uri||'';u&&u.match(/^\//)&&(u="file://"+u),u||console.warn('Trying to load empty source.');var s,f=!(!u||!u.match(/^https?:/)),c=!(!u||!u.match(/^(assets-library|ipod-library|file|content|ms-appx|ms-appdata):/)),p=this.getViewManagerConfig('RCTVideo');s=t===F.default.stretch?p.Constants.ScaleToFill:t===F.default.contain?p.Constants.ScaleAspectFit:t===F.default.cover?p.Constants.ScaleAspectFill:p.Constants.ScaleNone;var y=(0,l.default)({},this.props);(0,l.default)(y,{style:[R.base,y.style],resizeMode:s,src:{uri:u,isNetwork:f,isAsset:c,shouldCache:o,type:n.type||'',mainVer:n.mainVer||0,patchVer:n.patchVer||0,requestHeaders:n.headers?this.stringsOnlyObject(n.headers):{}},onVideoLoadStart:this._onLoadStart,onVideoLoad:this._onLoad,onVideoError:this._onError,onVideoProgress:this._onProgress,onVideoSeek:this._onSeek,onVideoEnd:this._onEnd,onVideoBuffer:this._onBuffer,onVideoBandwidthUpdate:this._onBandwidthUpdate,onTimedMetadata:this._onTimedMetadata,onVideoAudioBecomingNoisy:this._onAudioBecomingNoisy,onVideoExternalPlaybackChange:this._onExternalPlaybackChange,onVideoFullscreenPlayerWillPresent:this._onFullscreenPlayerWillPresent,onVideoFullscreenPlayerDidPresent:this._onFullscreenPlayerDidPresent,onVideoFullscreenPlayerWillDismiss:this._onFullscreenPlayerWillDismiss,onVideoFullscreenPlayerDidDismiss:this._onFullscreenPlayerDidDismiss,onReadyForDisplay:this._onReadyForDisplay,onPlaybackStalled:this._onPlaybackStalled,onPlaybackResume:this._onPlaybackResume,onPlaybackRateChange:this._onPlaybackRateChange,onAudioFocusChanged:this._onAudioFocusChanged,onAudioBecomingNoisy:this._onAudioBecomingNoisy,onPictureInPictureStatusChanged:this._onPictureInPictureStatusChanged,onRestoreUserInterfaceForPictureInPictureStop:this._onRestoreUserInterfaceForPictureInPictureStop});var h=O(O({},b.StyleSheet.absoluteFillObject),{},{resizeMode:this.props.posterResizeMode||'contain'});return P.default.createElement(b.View,{style:y.style},P.default.createElement(V,(0,l.default)({ref:this._assignRoot},y,{style:b.StyleSheet.absoluteFill})),this.state.showPoster&&P.default.createElement(b.Image,{style:h,source:{uri:this.props.poster}}))}}]),S})(P.Component);e.default=C,C.propTypes=O({filter:h.default.oneOf([E.default.NONE,E.default.INVERT,E.default.MONOCHROME,E.default.POSTERIZE,E.default.FALSE,E.default.MAXIMUMCOMPONENT,E.default.MINIMUMCOMPONENT,E.default.CHROME,E.default.FADE,E.default.INSTANT,E.default.MONO,E.default.NOIR,E.default.PROCESS,E.default.TONAL,E.default.TRANSFER,E.default.SEPIA]),filterEnabled:h.default.bool,src:h.default.object,seek:h.default.oneOfType([h.default.number,h.default.object]),fullscreen:h.default.bool,onVideoLoadStart:h.default.func,onVideoLoad:h.default.func,onVideoBuffer:h.default.func,onVideoError:h.default.func,onVideoProgress:h.default.func,onVideoBandwidthUpdate:h.default.func,onVideoSeek:h.default.func,onVideoEnd:h.default.func,onTimedMetadata:h.default.func,onVideoAudioBecomingNoisy:h.default.func,onVideoExternalPlaybackChange:h.default.func,onVideoFullscreenPlayerWillPresent:h.default.func,onVideoFullscreenPlayerDidPresent:h.default.func,onVideoFullscreenPlayerWillDismiss:h.default.func,onVideoFullscreenPlayerDidDismiss:h.default.func,source:h.default.oneOfType([h.default.shape({uri:h.default.string}),h.default.number]),minLoadRetryCount:h.default.number,maxBitRate:h.default.number,resizeMode:h.default.string,poster:h.default.string,posterResizeMode:b.Image.propTypes.resizeMode,repeat:h.default.bool,allowsExternalPlayback:h.default.bool,selectedAudioTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),selectedVideoTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),selectedTextTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),textTracks:h.default.arrayOf(h.default.shape({title:h.default.string,uri:h.default.string.isRequired,type:h.default.oneOf([S.default.SRT,S.default.TTML,S.default.VTT]),language:h.default.string.isRequired})),paused:h.default.bool,muted:h.default.bool,volume:h.default.number,bufferConfig:h.default.shape({minBufferMs:h.default.number,maxBufferMs:h.default.number,bufferForPlaybackMs:h.default.number,bufferForPlaybackAfterRebufferMs:h.default.number}),stereoPan:h.default.number,rate:h.default.number,pictureInPicture:h.default.bool,playInBackground:h.default.bool,playWhenInactive:h.default.bool,ignoreSilentSwitch:h.default.oneOf(['ignore','obey']),reportBandwidth:h.default.bool,disableFocus:h.default.bool,controls:h.default.bool,audioOnly:h.default.bool,currentTime:h.default.number,fullscreenAutorotate:h.default.bool,fullscreenOrientation:h.default.oneOf(['all','landscape','portrait']),progressUpdateInterval:h.default.number,useTextureView:h.default.bool,hideShutterView:h.default.bool,onLoadStart:h.default.func,onLoad:h.default.func,onBuffer:h.default.func,onError:h.default.func,onProgress:h.default.func,onBandwidthUpdate:h.default.func,onSeek:h.default.func,onEnd:h.default.func,onFullscreenPlayerWillPresent:h.default.func,onFullscreenPlayerDidPresent:h.default.func,onFullscreenPlayerWillDismiss:h.default.func,onFullscreenPlayerDidDismiss:h.default.func,onReadyForDisplay:h.default.func,onPlaybackStalled:h.default.func,onPlaybackResume:h.default.func,onPlaybackRateChange:h.default.func,onAudioFocusChanged:h.default.func,onAudioBecomingNoisy:h.default.func,onPictureInPictureStatusChanged:h.default.func,needsToRestoreUserInterfaceForPictureInPictureStop:h.default.func,onExternalPlaybackChange:h.default.func,scaleX:h.default.number,scaleY:h.default.number,translateX:h.default.number,translateY:h.default.number,rotation:h.default.number},b.ViewPropTypes);var V=(0,b.requireNativeComponent)('RCTVideo',C,{nativeOnly:{src:!0,seek:!0,fullscreen:!0}})},2101,[32,5,66,24,282,7,42,57,59,56,71,83,25,191,2102,2103,2104]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={SRT:'application/x-subrip',TTML:'application/ttml+xml',VTT:'text/vtt'}},2102,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={NONE:'',INVERT:'CIColorInvert',MONOCHROME:'CIColorMonochrome',POSTERIZE:'CIColorPosterize',FALSE:'CIFalseColor',MAXIMUMCOMPONENT:'CIMaximumComponent',MINIMUMCOMPONENT:'CIMinimumComponent',CHROME:'CIPhotoEffectChrome',FADE:'CIPhotoEffectFade',INSTANT:'CIPhotoEffectInstant',MONO:'CIPhotoEffectMono',NOIR:'CIPhotoEffectNoir',PROCESS:'CIPhotoEffectProcess',TONAL:'CIPhotoEffectTonal',TRANSFER:'CIPhotoEffectTransfer',SEPIA:'CISepiaTone'}},2103,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={contain:"contain",cover:"cover",stretch:"stretch"}},2104,[]); +__d(function(g,r,i,a,m,e,d){m.exports={container:{backgroundColor:"#0000000a",borderRadius:4,flexDirection:"row",alignItems:"center"},containerDark:{backgroundColor:"#ffffff14"},iconContainer:{backgroundColor:"#0000000a",marginTop:12,marginRight:16,marginBottom:12,marginLeft:16,alignItems:"center",justifyContent:"center",width:37,height:37,borderRadius:18.5},iconContainerDark:{backgroundColor:"#ffffff14"},icon:{color:"#0009"},iconDark:{color:"#fff9"},iconDisabled:{color:"#0000003f"},iconDisabledDark:{color:"#ffffff3f"},disabledIcon:{color:"#000"},titleContainer:{paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:0,flexGrow:1,flexShrink:1,flexBasis:0},titleContainerIOS:{marginTop:-1},titleContainerAndroid:{marginTop:-2},title:{fontSize:17,marginBottom:1,color:"#000d"},titleDark:{color:"#fffd"},subtitleContainer:{flexDirection:"row",alignItems:"center"},subtitle:{fontSize:12,color:"#0009"},subtitleDark:{color:"#fff9"},buttonBackground:{marginTop:12,marginRight:16,marginBottom:12,marginLeft:16,paddingTop:8,paddingRight:16,paddingBottom:8,paddingLeft:16,borderRadius:500,backgroundColor:"#0000000a"},buttonBackgroundDark:{backgroundColor:"#ffffff14"},buttonText:{fontSize:14,fontWeight:"500",color:"#0087be"},errorIcon:{marginRight:4},uploadFailed:{color:"#d63638"},uploadFailedDark:{color:"#f86368"}}},2105,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.alignmentHelpers=e.ALIGNMENT_BREAKPOINTS=e.WIDE_ALIGNMENTS=void 0;var n={alignments:{wide:'wide',full:'full'},innerContainers:['core/group','core/columns','core/column'],excludeBlocks:['core/heading']};e.WIDE_ALIGNMENTS=n;var l={wide:1024,large:820,medium:768,small:680,mobile:480};e.ALIGNMENT_BREAKPOINTS=l;var t={isFullWidth:function(l){return l===n.alignments.full},isWideWidth:function(l){return l===n.alignments.wide},isWider:function(n,t){return n>l[t]},isContainerRelated:function(l){return n.innerContainers.includes(l)}};e.alignmentHelpers=t},2106,[]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getValueAndUnit=e.useConvertUnitToMobile=e.convertUnitToMobile=void 0;var t=n(r(d[1])),u=r(d[2]),o=r(d[3]),v=n(r(d[4])),l=function(n,t){var u,o,v=null==(u=""+n)?void 0:null==(o=u.match(/(\d+\.?\d*)(.*)/))?void 0:o.filter(function(n){return''!==n});if(v)return{valueToConvert:v[1],valueUnit:t||v[2]}};e.getValueAndUnit=l;var c=function(n,t,u,o){var v=n.width,c=n.height,s=l(u,o)||{},f=s.valueToConvert,b=s.valueUnit,h=(t||{}).fontSize,U=void 0===h?16:h;switch(b){case'rem':case'em':return f*U;case'%':return Number(f/100)*v;case'px':return Number(f);case'vw':var M=v/100;return Math.round(f*M);case'vh':var w=c/100;return Math.round(f*w);default:return Number(f/100)*v}};e.convertUnitToMobile=c;e.useConvertUnitToMobile=function(n,s){var f=(0,o.useContext)(v.default).globalStyles,b=(0,o.useState)(u.Dimensions.get('window')),h=(0,t.default)(b,2),U=h[0],M=h[1];(0,o.useEffect)(function(){return u.Dimensions.addEventListener('change',w),function(){u.Dimensions.removeEventListener('change',w)}},[]);var w=(0,o.useCallback)(function(n){var t=n.window;M(t)},[]);return(0,o.useMemo)(function(){var t=l(n,s),u=t.valueToConvert,o=t.valueUnit;return c(U,f,u,o)},[U,n,s])}},2107,[5,36,25,946,2108]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.withGlobalStyles=e.useGlobalStyles=e.getMergedGlobalStyles=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),u=r(d[5]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function f(t){for(var n=1;n1&&void 0!==arguments[1])||arguments[1],l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n=Array.isArray(t)?k.filter(function(n){return t.includes(n)}):!0===t?k:[],!l||!0===t&&!o?u.without.apply(void 0,[n].concat(O)):n}function B(t){return(0,u.has)(t.attributes,['align','type'])?t:((0,f.hasBlockSupport)(t,'align')&&(t.attributes=y(y({},t.attributes),{},{align:{type:'string',enum:[].concat(k,[''])}})),t)}var A=(0,s.createHigherOrderComponent)(function(t){return function(l){var c=l.name,u=w((0,f.getBlockSupport)(c,'align'),(0,f.hasBlockSupport)(c,'alignWide',!0));return[u.length>0&&l.isSelected&&(0,n.createElement)(v.BlockControls,{key:"align-controls"},(0,n.createElement)(v.BlockAlignmentToolbar,{value:l.attributes.align,onChange:function(t){var n,o;t||(null==(n=(0,f.getBlockType)(l.name).attributes)?void 0:null==(o=n.align)?void 0:o.default)&&(t='');l.setAttributes({align:t})},controls:u})),(0,n.createElement)(t,(0,o.default)({key:"edit"},l))]}},'withToolbarControls');e.withToolbarControls=A;var S=(0,s.createHigherOrderComponent)(function(t){return function(l){var c=l.name,u=l.attributes.align,s=(0,b.useSelect)(function(t){return!!t('core/block-editor').getSettings().alignWide},[]);if(void 0===u)return(0,n.createElement)(t,l);var p=w((0,f.getBlockSupport)(c,'align'),(0,f.hasBlockSupport)(c,'alignWide',!0),s),v=l.wrapperProps;return p.includes(u)&&(v=y(y({},v),{},{'data-align':u})),(0,n.createElement)(t,(0,o.default)({},l,{wrapperProps:v}))}});function j(t,n,o){var l=o.align;return w((0,f.getBlockSupport)(n,'align'),(0,f.hasBlockSupport)(n,'alignWide',!0)).includes(l)&&(t.className=(0,c.default)("align"+l,t.className)),t}e.withDataAlign=S,(0,p.addFilter)('blocks.registerBlockType','core/align/addAttribute',B),(0,p.addFilter)('editor.BlockListBlock','core/editor/align/with-data-align',S),(0,p.addFilter)('editor.BlockEdit','core/editor/align/with-toolbar-controls',A),(0,p.addFilter)('blocks.getSaveContent.extraProps','core/align/addAssignedAlign',j)},2112,[5,946,24,66,1719,1068,1116,4,1223,1076,2113]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0});var o={BlockAlignmentToolbar:!0,BlockContextProvider:!0,BlockControls:!0,BlockEdit:!0,useBlockEditContext:!0,BlockFormatControls:!0,BlockIcon:!0,BlockVerticalAlignmentToolbar:!0,AlignmentToolbar:!0,InnerBlocks:!0,InspectorAdvancedControls:!0,InspectorControls:!0,LineHeightControl:!0,PlainText:!0,RichText:!0,RichTextShortcut:!0,RichTextToolbarButton:!0,__unstableRichTextInputEvent:!0,MediaPlaceholder:!0,MediaUpload:!0,MEDIA_TYPE_IMAGE:!0,MEDIA_TYPE_VIDEO:!0,MEDIA_TYPE_AUDIO:!0,MEDIA_TYPE_ANY:!0,MediaUploadProgress:!0,BlockMediaUpdateProgress:!0,URLInput:!0,BlockInvalidWarning:!0,BlockCaption:!0,Caption:!0,PanelColorSettings:!0,__experimentalPanelColorGradientSettings:!0,__experimentalUseEditorFeature:!0,BottomSheetSettings:!0,BlockSettingsButton:!0,blockSettingsScreens:!0,VideoPlayer:!0,VIDEO_ASPECT_RATIO:!0,BlockList:!0,BlockMover:!0,BlockToolbar:!0,BlockVariationPicker:!0,BlockStyles:!0,DefaultBlockAppender:!0,__unstableEditorStyles:!0,Inserter:!0,useBlockProps:!0,__experimentalBlock:!0,FloatingToolbar:!0,BlockEditorProvider:!0};Object.defineProperty(e,"BlockAlignmentToolbar",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"BlockContextProvider",{enumerable:!0,get:function(){return l.BlockContextProvider}}),Object.defineProperty(e,"BlockControls",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"BlockEdit",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"useBlockEditContext",{enumerable:!0,get:function(){return f.useBlockEditContext}}),Object.defineProperty(e,"BlockFormatControls",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"BlockIcon",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"BlockVerticalAlignmentToolbar",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"AlignmentToolbar",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"InnerBlocks",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"InspectorAdvancedControls",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"InspectorControls",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"LineHeightControl",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"PlainText",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"RichText",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"RichTextShortcut",{enumerable:!0,get:function(){return T.RichTextShortcut}}),Object.defineProperty(e,"RichTextToolbarButton",{enumerable:!0,get:function(){return T.RichTextToolbarButton}}),Object.defineProperty(e,"__unstableRichTextInputEvent",{enumerable:!0,get:function(){return T.__unstableRichTextInputEvent}}),Object.defineProperty(e,"MediaPlaceholder",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"MediaUpload",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"MEDIA_TYPE_IMAGE",{enumerable:!0,get:function(){return M.MEDIA_TYPE_IMAGE}}),Object.defineProperty(e,"MEDIA_TYPE_VIDEO",{enumerable:!0,get:function(){return M.MEDIA_TYPE_VIDEO}}),Object.defineProperty(e,"MEDIA_TYPE_AUDIO",{enumerable:!0,get:function(){return M.MEDIA_TYPE_AUDIO}}),Object.defineProperty(e,"MEDIA_TYPE_ANY",{enumerable:!0,get:function(){return M.MEDIA_TYPE_ANY}}),Object.defineProperty(e,"MediaUploadProgress",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"BlockMediaUpdateProgress",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"URLInput",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"BlockInvalidWarning",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"BlockCaption",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"Caption",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"PanelColorSettings",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"__experimentalPanelColorGradientSettings",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"__experimentalUseEditorFeature",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"BottomSheetSettings",{enumerable:!0,get:function(){return V.BottomSheetSettings}}),Object.defineProperty(e,"BlockSettingsButton",{enumerable:!0,get:function(){return V.BlockSettingsButton}}),Object.defineProperty(e,"blockSettingsScreens",{enumerable:!0,get:function(){return V.blockSettingsScreens}}),Object.defineProperty(e,"VideoPlayer",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"VIDEO_ASPECT_RATIO",{enumerable:!0,get:function(){return F.VIDEO_ASPECT_RATIO}}),Object.defineProperty(e,"BlockList",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"BlockMover",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"BlockToolbar",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"BlockVariationPicker",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"BlockStyles",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"DefaultBlockAppender",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"__unstableEditorStyles",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"Inserter",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"useBlockProps",{enumerable:!0,get:function(){return J.useBlockProps}}),Object.defineProperty(e,"__experimentalBlock",{enumerable:!0,get:function(){return K.Block}}),Object.defineProperty(e,"FloatingToolbar",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"BlockEditorProvider",{enumerable:!0,get:function(){return X.default}});var u=n(r(d[2])),l=r(d[3]),c=n(r(d[4])),f=t(r(d[5])),b=n(r(d[6])),P=n(r(d[7])),p=n(r(d[8])),O=r(d[9]);Object.keys(O).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}}))});var s=r(d[10]);Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))});var y=r(d[11]);Object.keys(y).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))});var _=n(r(d[12])),j=n(r(d[13])),B=n(r(d[14])),k=n(r(d[15])),E=n(r(d[16])),I=n(r(d[17])),T=t(r(d[18])),A=n(r(d[19])),M=t(r(d[20])),S=n(r(d[21])),h=n(r(d[22])),C=n(r(d[23])),x=n(r(d[24])),D=n(r(d[25])),v=n(r(d[26])),R=n(r(d[27])),Y=n(r(d[28])),U=n(r(d[29])),V=r(d[30]),F=t(r(d[31])),L=n(r(d[32])),G=n(r(d[33])),w=n(r(d[34])),N=n(r(d[35])),H=n(r(d[36])),W=n(r(d[37])),q=n(r(d[38])),z=n(r(d[39])),J=r(d[40]),K=r(d[41]),Q=n(r(d[42])),X=n(r(d[43]))},2113,[32,5,2114,2116,2117,2120,2122,2123,2125,2127,2138,2141,2143,2144,2176,2132,2177,2179,2181,2190,2192,2193,2195,2197,2166,2198,2200,2201,2202,2130,2133,2203,2160,2171,2206,2209,2212,2155,2217,2147,2229,2230,2232,2248]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BlockAlignmentToolbar=w,e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=r(d[7]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function v(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{panelTitle:(0,p.__)('Color settings')},k=v.panelTitle,S=void 0===k?(0,p.__)('Color settings'):k,j=v.colorPanelProps,A=v.contrastCheckers,x=v.panelChildren,D=v.colorDetector,T=(D=void 0===D?{}:D).targetRef,M=D.backgroundColorTargetRef,B=void 0===M?T:M,I=D.textColorTargetRef,R=void 0===I?T:I,z=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],L=(0,y.useBlockEditContext)().clientId,F=(0,h.default)('color.palette')||N,U=(0,b.useSelect)(function(t){var o=t('core/block-editor'),n=o.getBlockAttributes;return{attributes:n(L)}},[L]).attributes,V=(0,b.useDispatch)('core/block-editor').updateBlockAttributes,$=(0,o.useCallback)(function(t){return V(L,t)},[V,L]),q=(0,o.useMemo)(function(){return(0,u.default)(function(t,n,l,u,p,b){return function(v){var y,C=v.children,h=v.className,O=void 0===h?'':h,k=v.style,S=void 0===k?{}:k,j={};u?j=(0,c.default)({},n,p):b&&(j=(0,c.default)({},n,b));var E={className:(0,s.default)(O,(y={},(0,c.default)(y,"has-"+(0,f.kebabCase)(u)+"-"+(0,f.kebabCase)(n),u),(0,c.default)(y,l||"has-"+(0,f.kebabCase)(t),u||b),y)),style:P(P({},j),S)};return(0,f.isFunction)(C)?C(E):o.Children.map(C,function(t){return(0,o.cloneElement)(t,{className:(0,s.default)(t.props.className,E.className),style:P(P({},E.style),t.props.style||{})})})}},{maxSize:t.length})},[t.length]),G=(0,o.useMemo)(function(){return(0,u.default)(function(t,o){return function(n){var l=o.find(function(t){return t.color===n});$((0,c.default)({},l?(0,f.camelCase)("custom "+t):t,void 0)),$((0,c.default)({},l?t:(0,f.camelCase)("custom "+t),l?l.slug:n))}},{maxSize:t.length})},[$,t.length]),H=(0,o.useState)(),J=(0,l.default)(H,2),K=J[0],Q=J[1],W=(0,o.useState)(),X=(0,l.default)(W,2),Y=X[0],Z=X[1];return(0,o.useEffect)(function(){if(A){for(var t,o=!1,n=!1,l=O((0,f.castArray)(A));!(t=l()).done;){var c=t.value,u=c.backgroundColor,s=c.textColor;if(o||(o=!0===u),n||(n=!0===s),o&&n)break}if(n&&Z(E(R.current).color),o){for(var p=B.current,b=E(p).backgroundColor;'rgba(0, 0, 0, 0)'===b&&p.parentNode&&p.parentNode.nodeType===p.parentNode.ELEMENT_NODE;)b=E(p=p.parentNode).backgroundColor;Q(b)}}},[t.reduce(function(t,o){return t+" | "+U[o.name]+" | "+U[(0,f.camelCase)("custom "+o.name)]},'')].concat((0,n.default)(z))),(0,o.useMemo)(function(){var n={},l=t.reduce(function(t,o){'string'==typeof o&&(o={name:o});var l=P(P({},o),{},{color:U[o.name]}),c=l.name,u=l.property,s=void 0===u?c:u,p=l.className,b=l.panelLabel,v=void 0===b?o.label||_[c]||(0,f.startCase)(c):b,y=l.componentName,C=void 0===y?(0,f.startCase)(c).replace(/\s/g,''):y,h=l.color,O=void 0===h?o.color:h,k=l.colors,S=void 0===k?F:k,j=U[(0,f.camelCase)("custom "+c)],E=j?void 0:S.find(function(t){return t.slug===O});return t[C]=q(c,s,p,O,E&&E.color,j),t[C].displayName=C,t[C].color=j||E&&E.color,t[C].slug=O,t[C].setColor=G(c,S),n[C]={value:E?E.color:U[(0,f.camelCase)("custom "+c)],onChange:t[C].setColor,label:v,colors:S},S||delete n[C].colors,t},{}),c={title:S,initialOpen:!1,colorSettings:n,colorPanelProps:j,contrastCheckers:A,detectedBackgroundColor:K,detectedColor:Y,panelChildren:x};return P(P({},l),{},{ColorPanel:(0,o.createElement)(C.default,c),InspectorControlsColorPanel:(0,o.createElement)(w,c)})},[U,$,Y,K].concat((0,n.default)(z)))};var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),f=r(d[7]),p=r(d[8]),b=r(d[9]),v=t(r(d[10])),y=r(d[11]),C=t(r(d[12])),h=t(r(d[13]));function O(t,o){var n;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(n=k(t))||o&&t&&"number"==typeof t.length){n&&(t=n);var l=0;return function(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(n)}function k(t,o){if(t){if("string"==typeof t)return S(t,o);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(t,o):void 0}}function S(t,o){(null==o||o>t.length)&&(o=t.length);for(var n=0,l=new Array(o);n0&&(0,l.createElement)(f.BlockSettingsButton,null)):null};S.Slot=E;var h=S;e.default=h},2132,[5,946,67,25,1699,2119,2133]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BlockSettingsButton",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"BottomSheetSettings",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"blockSettingsScreens",{enumerable:!0,get:function(){return u.blockSettingsScreens}});var o=n(r(d[2])),u=t(r(d[3]))},2133,[32,5,2134,2135]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),o=r(d[2]),l=r(d[3]),c=r(d[4]),u=(0,n.createSlotFill)('SettingsToolbarButton'),f=u.Fill,p=u.Slot,S=function(l){var u=l.openGeneralSidebar;return(0,t.createElement)(n.ToolbarButton,{title:(0,o.__)('Open Settings'),icon:c.cog,onClick:u})},b=(0,l.withDispatch)(function(t){var n=t('core/edit-post').openGeneralSidebar;return{openGeneralSidebar:function(){return n('edit-post/block')}}})(function(n){return(0,t.createElement)(f,null,(0,t.createElement)(S,n))});b.Slot=p;var s=b;e.default=s},2134,[946,1699,1027,1076,1247]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.blockSettingsScreens=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),s=r(d[5]),S=r(d[6]),u=r(d[7]),b=t(r(d[8])),f={settings:'Settings',color:'Color',linkPicker:'linkPicker'};e.blockSettingsScreens=f;var v=(0,S.compose)([(0,u.withSelect)(function(t){var n=t('core/edit-post').isEditorSidebarOpened;return{settings:(0,t('core/block-editor').getSettings)(),editorSidebarOpened:n()}}),(0,u.withDispatch)(function(t){return{closeGeneralSidebar:t('core/edit-post').closeGeneralSidebar}})])(function(t){var S=t.editorSidebarOpened,u=t.closeGeneralSidebar,v=t.settings,k=(0,l.default)(t,["editorSidebarOpened","closeGeneralSidebar","settings"]);return(0,n.createElement)(s.BottomSheet,(0,o.default)({isVisible:S,onClose:u,hideHeader:!0,contentStyle:b.default.content,hasNavigation:!0},k),(0,n.createElement)(s.BottomSheet.NavigationContainer,{animate:!0,main:!0},(0,n.createElement)(s.BottomSheet.NavigationScreen,{name:f.settings},(0,n.createElement)(c.InspectorControls.Slot,null)),(0,n.createElement)(s.BottomSheet.NavigationScreen,{name:f.color},(0,n.createElement)(s.ColorSettings,{defaultSettings:v})),(0,n.createElement)(s.BottomSheet.NavigationScreen,{name:f.linkPicker,fullScreen:!0,isScrollable:!0},(0,n.createElement)(s.LinkPickerScreen,{returnScreenName:f.settings}))))});e.default=v},2135,[5,946,24,67,1073,1699,1116,1076,2136]); +__d(function(g,r,i,a,m,e,d){m.exports={content:{paddingLeft:0,paddingRight:0}}},2136,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},2137,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},2138,[2139,2140]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.__experimentalGetGradientClass=v,e.getGradientValueBySlug=G,e.__experimentalGetGradientObjectByGradientValue=b,e.getGradientSlugByValue=_,e.__experimentalUseGradient=function(){var t,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=u.gradientAttribute,k=void 0===b?'gradient':b,p=u.customGradientAttribute,B=void 0===p?'customGradient':p,x=(0,c.useBlockEditContext)().clientId,y=(0,s.default)('color.gradients')||f,A=(0,l.useSelect)(function(t){var n=t('core/block-editor'),u=n.getBlockAttributes,o=u(x)||{};return{customGradient:o[B],gradient:o[k]}},[x,k,B]),C=A.gradient,V=A.customGradient,h=(0,l.useDispatch)('core/block-editor').updateBlockAttributes,S=(0,o.useCallback)(function(t){var u,o,l=_(y,t);l?h(x,(o={},(0,n.default)(o,k,l),(0,n.default)(o,B,void 0),o)):h(x,(u={},(0,n.default)(u,k,void 0),(0,n.default)(u,B,t),u))},[y,x,h]),j=v(C);t=C?G(y,C):V;return{gradientClass:j,gradientValue:t,setGradient:S}};var n=t(r(d[1])),u=r(d[2]),o=r(d[3]),l=r(d[4]),c=r(d[5]),s=t(r(d[6])),f=[];function v(t){if(t)return"has-"+t+"-gradient-background"}function G(t,n){var o=(0,u.find)(t,['slug',n]);return o&&o.gradient}function b(t,n){return(0,u.find)(t,['gradient',n])}function _(t,n){var u=b(t,n);return u&&u.slug}},2139,[5,66,1068,946,1076,2120,2130]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.withGradient=void 0;var n=r(d[1]),u=t(r(d[2])),l=r(d[3]);e.withGradient=function(t){return function(o){var _=(0,l.__experimentalUseGradient)().gradientValue;return(0,n.createElement)(t,(0,u.default)({},o,{gradientValue:_}))}}},2140,[5,946,24,2139]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getFontSize",{enumerable:!0,get:function(){return t.getFontSize}}),Object.defineProperty(e,"getFontSizeClass",{enumerable:!0,get:function(){return t.getFontSizeClass}});var t=r(d[0])},2141,[2142]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getFontSizeObjectByValue=function(t,u){var f=(0,n.find)(t,{size:u});if(f)return f;return{size:u}},e.getFontSizeClass=function(t){if(!t)return;return"has-"+(0,n.kebabCase)(t)+"-font-size"},e.getFontSize=void 0;var n=r(d[0]);e.getFontSize=function(t,u,f){if(u){var o=(0,n.find)(t,{slug:u});if(o)return o}return{size:f}}},2142,[1068]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.AlignmentToolbar=O,e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),f=r(d[6]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function p(t){for(var n=1;n0}},{key:"renderEmptyList",value:function(){return(0,o.createElement)(x,{rootClientId:this.props.rootClientId,renderAppender:this.props.renderAppender,renderFooterAppender:this.props.renderFooterAppender})}},{key:"getExtraData",value:function(){var t=this.props,o=t.parentWidth,n=t.renderFooterAppender,l=t.onDeleteBlock,s=t.contentStyle,c=t.renderAppender,u=this.state.blockWidth;return this.extraData.parentWidth===o&&this.extraData.renderFooterAppender===n&&this.extraData.onDeleteBlock===l&&this.extraData.contentStyle===s&&this.extraData.renderAppender===c&&this.extraData.blockWidth===u||(this.extraData={parentWidth:o,renderFooterAppender:n,onDeleteBlock:l,contentStyle:s,renderAppender:c,blockWidth:u}),this.extraData}},{key:"onLayout",value:function(t){var o=t.nativeEvent.layout,n=this.state.blockWidth,l=this.props,s=l.isRootList,c=l.maxWidth,u=Math.floor(o.width);s&&n!==u?this.setState({blockWidth:Math.min(u,c)}):s||n||this.setState({blockWidth:Math.min(u,c)})}},{key:"render",value:function(){var t=this;return this.props.isRootList?(0,o.createElement)(E.Provider,{value:this.scrollViewRef},this.renderList()):(0,o.createElement)(E.Consumer,null,function(o){return t.renderList({parentScrollRef:o})})}},{key:"renderList",value:function(){var t=this,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=this.props,c=s.clearSelectedBlock,u=s.blockClientIds,p=s.title,h=s.header,y=s.isReadOnly,b=s.isRootList,v=s.horizontal,C=s.marginVertical,I=void 0===C?S.default.defaultBlock.marginTop:C,L=s.marginHorizontal,w=void 0===L?S.default.defaultBlock.marginLeft:L,E=s.isFloatingToolbarVisible,V=s.isStackedHorizontally,R=s.horizontalAlignment,D=s.contentResizeMode,F=s.blockWidth,x=l.parentScrollRef,W=S.default.blockToolbar,z=S.default.blockBorder,H=S.default.headerToolbar,T=S.default.floatingToolbar,O={flex:b?1:0,marginVertical:b?0:-I,marginHorizontal:b?0:-w},_='stretch'===D,M=u.length>1,K=B.alignmentHelpers.isWider;return(0,o.createElement)(k.View,{style:O,onAccessibilityEscape:c,onLayout:this.onLayout},(0,o.createElement)(B.KeyboardAwareFlatList,(0,n.default)({},'android'===k.Platform.OS?{removeClippedSubviews:!1}:{},{accessibilityLabel:"block-list",autoScroll:this.props.autoScroll,innerRef:function(o){t.scrollViewInnerRef(x||o)},extraScrollHeight:W.height+z.width,inputAccessoryViewHeight:H.height+(E?T.height:0),keyboardShouldPersistTaps:"always",scrollViewStyle:[{flex:b?1:0},!b&&S.default.overflowVisible],horizontal:v,extraData:this.getExtraData(),scrollEnabled:b,contentContainerStyle:[v&&S.default.horizontalContentContainer,K(F,'medium')&&(_&&M?S.default.horizontalContentContainerStretch:S.default.horizontalContentContainerCenter)],style:P(b,V,R),data:u,keyExtractor:f.identity,renderItem:this.renderItem,shouldPreventAutomaticScroll:this.shouldFlatListPreventAutomaticScroll,title:p,ListHeaderComponent:h,ListEmptyComponent:!y&&this.renderEmptyList,ListFooterComponent:this.renderBlockListFooter})),this.shouldShowInnerBlockAppender()&&(0,o.createElement)(k.View,{style:{marginHorizontal:w-S.default.innerAppender.marginLeft}},(0,o.createElement)(A.default,{rootClientId:this.props.rootClientId,renderAppender:this.props.renderAppender,showSeparator:!0})))}},{key:"renderItem",value:function(t){var n=t.item,l=this.props,s=l.contentResizeMode,c=l.contentStyle,u=l.onAddBlock,p=l.onDeleteBlock,h=l.rootClientId,f=l.isStackedHorizontally,k=l.parentWidth,y=l.marginVertical,b=void 0===y?S.default.defaultBlock.marginTop:y,v=l.marginHorizontal,B=void 0===v?S.default.defaultBlock.marginLeft:v,C=this.state.blockWidth;return(0,o.createElement)(I.default,{isStackedHorizontally:f,rootClientId:h,clientId:n,parentWidth:k,contentResizeMode:s,contentStyle:c,onAddBlock:u,marginVertical:b,marginHorizontal:B,onDeleteBlock:p,shouldShowInnerBlockAppender:this.shouldShowInnerBlockAppender,onCaretVerticalPositionChange:this.onCaretVerticalPositionChange,blockWidth:C})}},{key:"renderBlockListFooter",value:function(){var t=this,n=(0,v.createBlock)('core/paragraph'),l=this.props,s=l.isReadOnly,c=l.withFooter,u=void 0===c||c,p=l.renderFooterAppender;return!s&&u?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(k.TouchableWithoutFeedback,{accessibilityLabel:(0,C.__)('Add paragraph block'),testID:(0,C.__)('Add paragraph block'),onPress:function(){t.addBlockToEndOfPost(n)}},(0,o.createElement)(k.View,{style:S.default.blockListFooter}))):p?p():null}}]),h})(o.Component);e.BlockList=R;var D=(0,b.compose)([(0,y.withSelect)(function(t,o){var n=o.rootClientId,l=o.orientation,s=o.filterInnerBlocks,c=t('core/block-editor'),u=c.getBlockCount,p=c.getBlockOrder,h=c.getSelectedBlockClientId,f=c.isBlockInsertionPointVisible,y=c.getSettings,b=c.getBlockHierarchyRootClientId,v='horizontal'===l,B=h(),C=p(n);s&&(C=s(C));var S=y().maxWidth,A=y().readOnly,I=u(L),L=b(B),w=!!B&&!!I;return{blockClientIds:C,blockCount:I,isBlockInsertionPointVisible:'ios'===k.Platform.OS&&f(),isReadOnly:A,isRootList:void 0===n,isFloatingToolbarVisible:w,isStackedHorizontally:v,maxWidth:S}}),(0,y.withDispatch)(function(t){var o=t('core/block-editor'),n=o.insertBlock,l=o.replaceBlock;return{clearSelectedBlock:o.clearSelectedBlock,insertBlock:n,replaceBlock:l}}),b.withPreferredColorScheme])(R);e.default=D;var F=(function(t){(0,u.default)(c,t);var n=L(c);function c(){return(0,l.default)(this,c),n.apply(this,arguments)}return(0,s.default)(c,[{key:"render",value:function(){var t=this.props,n=t.shouldShowInsertionPoint,l=t.rootClientId,s=t.renderAppender;return t.renderFooterAppender?null:(0,o.createElement)(k.View,{style:S.default.defaultAppender},(0,o.createElement)(B.ReadableContentView,{align:s?B.WIDE_ALIGNMENTS.alignments.full:void 0},(0,o.createElement)(A.default,{rootClientId:l,renderAppender:s,showSeparator:n})))}}]),c})(o.Component),x=(0,b.compose)([(0,y.withSelect)(function(t,o){var n=o.rootClientId,l=o.orientation,s=t('core/block-editor'),c=s.getBlockOrder,u=s.getBlockInsertionPoint,p=s.isBlockInsertionPointVisible,h='horizontal'===l,f=c(n),k=u(),y=p();return{shouldShowInsertionPoint:!h&&y&&k.rootClientId===n&&(0===f.length||!f[k.index])}})])(F)},2160,[5,946,24,7,42,60,57,59,56,1068,25,1076,1116,1223,1699,1027,2151,2161,2163]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),u=t(r(d[5])),s=t(r(d[6]));var k=(0,n.withSelect)(function(t,l){var o=l.rootClientId,n=t('core/block-editor'),u=n.getBlockOrder,s=n.canInsertBlockType;return{isLocked:!!(0,n.getTemplateLock)(o),blockClientIds:u(o),canInsertDefaultBlock:s((0,c.getDefaultBlockName)(),o)}})(function(t){var n=t.blockClientIds,c=t.rootClientId,k=t.canInsertDefaultBlock,f=t.isLocked,p=t.renderAppender,I=t.showSeparator;return f?null:p?(0,l.createElement)(p,{showSeparator:I}):k?(0,l.createElement)(u.default,{rootClientId:c,lastBlockClientId:(0,o.last)(n),containerStyle:s.default.blockListAppender,placeholder:n.length>0?'':null,showSeparator:I}):null});e.default=k},2161,[5,946,1068,1076,1223,2155,2162]); +__d(function(g,r,i,a,m,e,d){m.exports={blockListAppender:{paddingLeft:16,paddingRight:16,paddingTop:12,paddingBottom:0,borderColor:"transparent"}}},2162,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockListItem=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),f=t(r(d[8])),p=r(d[9]),k=r(d[10]),b=r(d[11]),y=r(d[12]),I=t(r(d[13])),v=t(r(d[14])),B=t(r(d[15]));function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var H={flex:1},P=(function(t){(0,c.default)(W,t);var k,b,P=(k=W,b=w(),function(){var t,n=(0,f.default)(k);if(b){var l=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return(0,h.default)(this,t)});function W(){return(0,s.default)(this,W),P.apply(this,arguments)}return(0,u.default)(W,[{key:"getMarginHorizontal",value:function(){var t=this.props,n=t.blockAlignment,l=t.marginHorizontal,o=t.parentBlockAlignment,s=t.hasParents,u=t.blockName,c=t.parentBlockName,h=t.parentWidth,f=t.blockWidth,k=y.alignmentHelpers.isFullWidth,b=y.alignmentHelpers.isWideWidth,I=y.alignmentHelpers.isWider,v=y.alignmentHelpers.isContainerRelated;if(k(n))return s?l:0;if(b(n))return l;var B=Math.floor(p.Dimensions.get('window').width);if(k(o)&&!I(f,'medium'))return v(u)||I(B,'mobile')?l:2*l;if(v(c)&&!v(u)&&(h===B||I(B,'mobile')))return 2*l;return l}},{key:"getContentStyles",value:function(t){var n=this.props,l=n.blockAlignment,o=n.blockName,s=n.hasParents,u=n.parentBlockName,c=y.alignmentHelpers.isFullWidth,h=y.alignmentHelpers.isContainerRelated;return[t,c(l)&&!s&&{width:B.default.fullAlignment.width},!l&&s&&!h(u)&&h(o)&&{paddingHorizontal:B.default.fullAlignmentPadding.paddingLeft}]}},{key:"render",value:function(){var t=this.props,s=t.blockAlignment,u=t.clientId,c=t.isReadOnly,h=t.shouldShowInsertionPointBefore,f=t.shouldShowInsertionPointAfter,k=t.contentResizeMode,b=t.shouldShowInnerBlockAppender,B=t.parentWidth,w=t.marginHorizontal,P=t.blockName,W=t.blockWidth,A=(0,o.default)(t,["blockAlignment","clientId","isReadOnly","shouldShowInsertionPointBefore","shouldShowInsertionPointAfter","contentResizeMode","shouldShowInnerBlockAppender","parentWidth","marginHorizontal","blockName","blockWidth"]),R='stretch'===k&&H,S=y.alignmentHelpers.isContainerRelated;return W?(0,n.createElement)(y.ReadableContentView,{align:s,style:[R,S(P)&&B&&{maxWidth:B+2*w}]},(0,n.createElement)(p.View,{style:this.getContentStyles(R),pointerEvents:c?'box-only':'auto',onLayout:this.onLayout},h&&(0,n.createElement)(v.default,null),(0,n.createElement)(I.default,(0,l.default)({key:u,showTitle:!1,clientId:u,parentWidth:B},A,{marginHorizontal:this.getMarginHorizontal(),blockWidth:W})),!b()&&f&&(0,n.createElement)(v.default,null))):null}}]),W})(n.Component);e.BlockListItem=P;var W=(0,b.compose)([(0,k.withSelect)(function(t,n){var l=n.rootClientId,o=n.isStackedHorizontally,s=n.clientId,u=t('core/block-editor'),c=u.getBlockOrder,h=u.getBlockInsertionPoint,f=u.isBlockInsertionPointVisible,p=u.getSettings,k=u.getBlockParents,b=u.__unstableGetBlockWithoutInnerBlocks,y=c(l),I=h(),v=f(),B=!o&&v&&I.rootClientId===l&&(0===y.length||y[I.index]===s),w=!o&&v&&I.rootClientId===l&&y.length===I.index&&y[I.index-1]===s,H=p().readOnly,P=b(s)||{},W=P.attributes,A=P.name,R=(W||{}).align,S=k(s,!0),z=!!S.length,C=z?b(S[0]):{};return{shouldShowInsertionPointBefore:B,shouldShowInsertionPointAfter:w,isReadOnly:H,hasParents:z,blockAlignment:R,parentBlockAlignment:((null==C?void 0:C.attributes)||{}).align,blockName:A,parentBlockName:(C||{}).name}})])(P);e.default=W},2163,[5,946,24,67,7,42,57,59,56,25,1076,1116,1699,2164,2150,2174]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=t(r(d[3])),c=t(r(d[4])),s=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),h=t(r(d[8])),k=r(d[9]),p=r(d[10]),B=r(d[11]),b=r(d[12]),y=r(d[13]),v=r(d[14]),S=r(d[15]),W=t(r(d[16])),I=t(r(d[17])),C=t(r(d[18])),E=t(r(d[19]));function T(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var w=[];function F(t){var o=t.attributes,n=t.clientId,c=t.contentStyle,s=t.getBlockWidth,u=t.insertBlocksAfter,f=t.isSelected,h=t.mergeBlocks,b=t.name,y=t.onBlockFocus,v=t.onCaretVerticalPositionChange,W=t.onChange,C=t.onDeleteBlock,E=t.onReplace,T=t.parentWidth,F=t.wrapperProps,R=t.blockWidth,P=(0,S.__experimentalUseEditorFeature)('color.palette')||w,V=(0,B.useGlobalStyles)(),x=(0,l.useMemo)(function(){return(0,B.getMergedGlobalStyles)(V,F.style,o,P)},[P,V,JSON.stringify(F.style),JSON.stringify((0,p.pick)(o,B.GlobalStylesContext.BLOCK_STYLE_ATTRIBUTES))]);return(0,l.createElement)(B.GlobalStylesContext.Provider,{value:x},(0,l.createElement)(I.default,{name:b,isSelected:f,attributes:o,setAttributes:W,onFocus:y,onReplace:E,insertBlocksAfter:u,mergeBlocks:h,onCaretVerticalPositionChange:v,wrapperProps:F,mergedStyle:x,clientId:n,parentWidth:T,contentStyle:c,onDeleteBlock:C,blockWidth:R}),(0,l.createElement)(k.View,{onLayout:s}))}var R=(function(t){(0,u.default)(S,t);var p,b,y=(p=S,b=T(),function(){var t,l=(0,h.default)(p);if(b){var o=(0,h.default)(this).constructor;t=Reflect.construct(l,arguments,o)}else t=l.apply(this,arguments);return(0,f.default)(this,t)});function S(){var t;return(0,n.default)(this,S),(t=y.apply(this,arguments)).insertBlocksAfter=t.insertBlocksAfter.bind((0,s.default)(t)),t.onFocus=t.onFocus.bind((0,s.default)(t)),t.getBlockWidth=t.getBlockWidth.bind((0,s.default)(t)),t.state={blockWidth:t.props.blockWidth-2*t.props.marginHorizontal},t.anchorNodeRef=(0,l.createRef)(),t}return(0,c.default)(S,[{key:"onFocus",value:function(){var t=this.props,l=t.firstToSelectId,o=t.isSelected,n=t.onSelect;o||n(l)}},{key:"insertBlocksAfter",value:function(t){this.props.onInsertBlocks(t,this.props.order+1),t[0]&&this.props.onSelect(t[0].clientId)}},{key:"getBlockWidth",value:function(t){var l=t.nativeEvent.layout,o=this.state.blockWidth,n=Math.floor(l.width);o&&n&&o!==n&&this.setState({blockWidth:n})}},{key:"getBlockForType",value:function(){var t=this.state.blockWidth;return(0,l.createElement)(F,(0,o.default)({},this.props,{onBlockFocus:this.onFocus,insertBlocksAfter:this.insertBlocksAfter,getBlockWidth:this.getBlockWidth,blockWidth:t}))}},{key:"renderBlockTitle",value:function(){return(0,l.createElement)(k.View,{style:W.default.blockTitle},(0,l.createElement)(k.Text,null,"BlockType: ",this.props.name))}},{key:"render",value:function(){var t=this.props,o=t.attributes,n=t.blockType,c=t.clientId,s=t.icon,u=t.isSelected,f=t.isValid,h=t.order,p=t.title,b=t.isDimmed,y=t.isTouchable,S=t.onDeleteBlock,I=t.isStackedHorizontally,T=t.isParentSelected,w=t.getStylesFromColorScheme,F=t.marginVertical,R=t.marginHorizontal,P=t.isInnerBlockSelected,V=t.name;if(!o||!n)return null;var x=this.state.blockWidth,A=o.align,_=(0,v.__experimentalGetAccessibleBlockLabel)(n,o,h+1),D=B.alignmentHelpers.isFullWidth,H=B.alignmentHelpers.isWider,L=B.alignmentHelpers.isContainerRelated,N=!(u||P),G=Math.floor(k.Dimensions.get('window').width),M=x===G,z=x0&&void 0!==arguments[0]?arguments[0]:l.clientId,o=arguments.length>1?arguments[1]:void 0;h(t,o)},onChange:function(t){k(l.clientId,t)},onReplace:function(t,o){f([l.clientId],t,o)}}}),y.withPreferredColorScheme])(R);e.default=A},2164,[5,946,24,7,42,60,57,59,56,25,1068,1699,1076,1116,1223,1073,2165,2120,2166,2169]); +__d(function(g,r,i,a,m,e,d){m.exports={blockHolder:{flexGrow:1,flexShrink:1,flexBasis:"auto"},solidBorderColor:{borderColor:"#0087be"},solidBorderColorDark:{borderColor:"#5198d9"},dashedBorderColor:{borderColor:"#87a6bc"},dashedBorderColorDark:{borderColor:"#3c434a"},borderFullWidth:{left:0,right:0},containerBorderFullWidth:{left:-6,right:-6},dimmed:{opacity:1},blockTitle:{backgroundColor:"#87a6bc",paddingLeft:8,paddingTop:4,paddingBottom:4},aztec_container:{flexGrow:1,flexShrink:1,flexBasis:0},blockCode:{fontFamily:"menlo"},blockText:{minHeight:50},neutralToolbar:{marginLeft:-16,marginRight:-16},containerToolbar:{width:"100%",alignSelf:"center"},solidBorder:{position:"absolute",top:-12,bottom:0,left:-12,right:-12,borderWidth:1,borderRadius:4,borderStyle:"solid",zIndex:1},dashedBorder:{position:"absolute",top:-6,bottom:-6,left:-6,right:-6,borderWidth:1,borderRadius:2,borderStyle:"dashed"},fullWidthPadding:{paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12}}},2165,[]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var o=l.blockTitle,s=l.icon,b=(0,c.sprintf)((0,c.__)('%s block. This block has invalid content'),o);return(0,t.createElement)(n.default,{title:o,message:(0,c.__)('Problem displaying block'),icon:s,accessible:!0,accessibilityLabel:b})};var t=r(d[1]),c=r(d[2]),n=l(r(d[3]))},2166,[5,946,1027,2167]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),n=r(d[4]),s=r(d[5]),f=r(d[6]),u=r(d[7]),v=t(r(d[8]));var y=(0,f.withPreferredColorScheme)(function(t){var f=t.title,y=t.message,C=t.icon,S=t.iconClass,h=t.preferredColorScheme,E=t.getStylesFromColorScheme,w=(0,c.default)(t,["title","message","icon","iconClass","preferredColorScheme","getStylesFromColorScheme"]);C=C&&(0,u.normalizeIconObject)(C);var _="warning-icon-"+h,k=E(v.default.title,v.default.titleDark),p=E(v.default.message,v.default.messageDark);return(0,l.createElement)(n.View,(0,o.default)({style:E(v.default.container,v.default.containerDark)},w),C&&(0,l.createElement)(n.View,{style:v.default.icon},(0,l.createElement)(s.Icon,{className:S||_,icon:C&&C.src?C.src:C})),f&&(0,l.createElement)(n.Text,{style:k},f),y&&(0,l.createElement)(n.Text,{style:p},y))});e.default=y},2167,[5,946,24,67,25,1699,1116,1223,2168]); +__d(function(g,r,i,a,m,e,d){m.exports={container:{backgroundColor:"#e9eff3",paddingTop:24,paddingBottom:24,paddingLeft:8,paddingRight:8,borderTopLeftRadius:4,borderTopRightRadius:4,borderBottomLeftRadius:4,borderBottomRightRadius:4,alignItems:"center",justifyContent:"center"},containerDark:{backgroundColor:"#1e2327"},icon:{width:24,height:24,marginBottom:4,fill:"#2e4453"},title:{textAlign:"center",marginBottom:6,fontSize:14,color:"#2e4453"},titleDark:{color:"#fff"},message:{textAlign:"center",color:"#537994",fontSize:12},messageDark:{color:"#fff"}}},2168,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),c=r(d[4]),u=r(d[5]),f=t(r(d[6])),s=t(r(d[7])),v=t(r(d[8])),h=r(d[9]),k=65,y=150,S=(0,u.compose)((0,c.withSelect)(function(t,l){var o=l.clientId;return{order:(0,t('core/block-editor').getBlockIndex)(o)}}),(0,c.withDispatch)(function(t,l){var o=l.clientId,n=l.rootClientId,c=l.onDelete,u=t('core/block-editor').removeBlock;return{onDelete:c||function(){return u(o,n)}}}))(function(t){var c=t.clientId,u=t.onDelete,S=t.isStackedHorizontally,w=t.blockWidth,b=t.anchorNodeRef,I=t.isFullWidth,p=(0,l.useState)(null),B=(0,o.default)(p,2),E=B[0],D=B[1],_=(0,l.useState)(0),z=(0,o.default)(_,2),H=z[0],M=z[1],W=2*f.default.toolbar.marginLeft;var F=w0&&void 0!==arguments[0]?arguments[0]:[null];return D(t.length),F?null:t[0]}),(0,l.createElement)(v.default,{clientIds:[c],wrapBlockMover:L,wrapBlockSettings:F&&E,isStackedHorizontally:S,onDelete:u,anchorNodeRef:b}))});e.default=S},2169,[5,946,36,25,1076,1116,2170,2171,2173,2133]); +__d(function(g,r,i,a,m,e,d){m.exports={toolbar:{flexDirection:"row",height:44,alignItems:"flex-start",marginLeft:3,marginRight:3},toolbarFullWidth:{paddingLeft:12,paddingRight:12},spacer:{flexGrow:1}}},2170,[]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockMover=e.BLOCK_MOVER_DIRECTION_BOTTOM=e.BLOCK_MOVER_DIRECTION_TOP=void 0;var t=r(d[1]),n=o(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),v=r(d[7]),f=r(d[8]),k=r(d[9]),O='blockPageMoverOptions-moveToTop';e.BLOCK_MOVER_DIRECTION_TOP=O;var B='blockPageMoverOptions-moveToBottom';e.BLOCK_MOVER_DIRECTION_BOTTOM=B;var _=function(o){var l=o.isFirst,v=o.isLast,f=o.isLocked,_=o.onMoveDown,p=o.onMoveUp,I=o.onLongMove,M=o.firstIndex,T=o.numberOfBlocks,b=o.rootClientId,C=o.isStackedHorizontally,L=(0,t.useRef)(),P=(0,t.useState)(void 0),w=(0,n.default)(P,2),E=w[0],h=w[1],D=function(o){return function(){L.current?(h(o),L.current.presentPicker()):h(void 0)}},R=(0,k.getMoversSetup)(C,{firstIndex:M}),S=R.description,x=S.backwardButtonHint,K=S.forwardButtonHint,N=S.firstBlockTitle,V=S.lastBlockTitle,y=R.icon,F=y.backward,H=y.forward,U=R.title,A=U.backward,j=U.forward,z=[{icon:F,label:(0,s.__)('Move to top'),value:O,onSelect:function(){I()(0)}},{icon:H,label:(0,s.__)('Move to bottom'),value:B,onSelect:function(){I()(T)}}].filter(function(o){return o.value===E});return f||l&&v&&!b?null:(0,t.createElement)(t.Fragment,null,(0,t.createElement)(u.ToolbarButton,{title:l?N:A,isDisabled:l,onClick:p,onLongPress:D(O),icon:F,extraProps:{hint:x}}),(0,t.createElement)(u.ToolbarButton,{title:v?V:j,isDisabled:v,onClick:_,onLongPress:D(B),icon:H,extraProps:{hint:K}}),(0,t.createElement)(u.Picker,{ref:L,options:z,onChange:function(o){var t=z.find(function(t){return t.value===o});t&&t.onSelect&&t.onSelect()},title:(0,s.__)('Change block position'),leftAlign:!0,hideCancelButton:'ios'!==c.Platform.OS}))};e.BlockMover=_;var p=(0,v.compose)((0,f.withSelect)(function(o,t){var n=t.clientIds,c=o('core/block-editor'),s=c.getBlockIndex,u=c.getTemplateLock,v=c.getBlockRootClientId,f=c.getBlockOrder,k=(0,l.castArray)(n),O=(0,l.first)(k),B=v(O),_=f(B),p=s(O,B),I=s((0,l.last)(k),B);return{firstIndex:p,numberOfBlocks:_.length-1,isFirst:0===p,isLast:I===_.length-1,isLocked:'all'===u(B),rootClientId:B}}),(0,f.withDispatch)(function(o,t){var n=t.clientIds,c=t.rootClientId,s=o('core/block-editor'),u=s.moveBlocksDown,v=s.moveBlocksUp,f=s.moveBlocksToPosition;return{onMoveDown:(0,l.partial)(u,n,c),onMoveUp:(0,l.partial)(v,n,c),onLongMove:function(o){return(0,l.partial)(f,n,c,o)}}}),v.withInstanceId)(_);e.default=p},2171,[5,946,36,1068,25,1027,1699,1116,1076,2172]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getMoversSetup=function(t,o){var c=o.firstIndex,u=o.keys;return(void 0===u?k:u).reduce(function(o,u){return k.includes(u)&&(0,l.default)(o,(0,n.default)({},u,_(u,t,{firstIndex:c}))),o},{})};var o=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),u=r(d[5]),f=r(d[6]),s={backwardButtonIcon:f.arrowLeft,forwardButtonIcon:f.arrowRight,backwardButtonHint:(0,u.__)('Double tap to move the block to the left'),forwardButtonHint:(0,u.__)('Double tap to move the block to the right'),firstBlockTitle:(0,u.__)('Move block left'),lastBlockTitle:(0,u.__)('Move block right'),backwardButtonTitle:(0,u.__)('Move block left from position %1$s to position %2$s'),forwardButtonTitle:(0,u.__)('Move block right from position %1$s to position %2$s')},w={backwardButtonIcon:f.arrowUp,forwardButtonIcon:f.arrowDown,backwardButtonHint:(0,u.__)('Double tap to move the block up'),forwardButtonHint:(0,u.__)('Double tap to move the block down'),firstBlockTitle:(0,u.__)('Move block up'),lastBlockTitle:(0,u.__)('Move block down'),backwardButtonTitle:(0,u.__)('Move block up from row %1$s to row %2$s'),forwardButtonTitle:(0,u.__)('Move block down from row %1$s to row %2$s')},k=['description','icon','title','actionTitle'],p={description:B,icon:function(t){var o=B(t),n=o.forwardButtonIcon,l=o.backwardButtonIcon,c=[n,l,t];return{backward:v(!0,c),forward:v(!1,c)}},title:function(t,n){var l=n.firstIndex,c=function(t){var o=l+1,n=t?-1:1,c=o+n;return[o,c]},f=B(t),s=f.backwardButtonTitle,w=[f.forwardButtonTitle,s,t],k=v(!0,w),p=v(!1,w);return{backward:u.sprintf.apply(void 0,[k].concat((0,o.default)(c(!0)))),forward:u.sprintf.apply(void 0,[p].concat((0,o.default)(c(!1))))}},actionTitle:function(t){var o=B(t),n=o.firstBlockTitle,l=o.lastBlockTitle,c=[l,n,t],f=v(!0,c),s=v(!1,c);return{backward:(0,u.sprintf)(f,n),forward:(0,u.sprintf)(s,l)}}};function b(t,o,n,l){return c.I18nManager.isRTL&&l?t?o:n:t?n:o}function _(){var t=Array.prototype.slice.call(arguments),n=t[0],l=t.slice(1);return p[n].apply(null,(0,o.default)(l))}function v(t,n){return b.apply(null,[t].concat((0,o.default)(n)))}function B(t){return t?s:w}},2172,[5,14,66,24,25,1027,1247]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),n=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),p=r(d[7]),k=r(d[8]),B=r(d[9]),b=r(d[10]),v=r(d[11]),f=(0,B.compose)((0,k.withSelect)(function(t,o){var l=o.clientIds,n=t('core/block-editor'),s=n.getBlockIndex,p=n.getBlockRootClientId,k=n.getBlockOrder,B=n.getBlockName,b=n.getBlock,v=n.getBlocksByClientId,f=n.getSelectedBlockClientIds,_=n.canInsertBlockType,I=(0,c.castArray)(l),O=b(I),w=B(I),C=(0,u.getBlockType)(w).title,h=(0,c.first)(I),S=p(h),y=k(S),D=s(h,S),M=s((0,c.last)(I),S),T=w===(0,u.getDefaultBlockName)(),H=''===O.attributes.content,N=1===y.length&&T&&H;return{isFirst:0===D,isLast:M===y.length-1,rootClientId:S,blockTitle:C,isEmptyDefaultBlock:N,getBlocksByClientId:v,selectedBlockClientId:f(),currentIndex:D,canInsertBlockType:_}}),(0,k.withDispatch)(function(t,o,l){var n=o.clientIds,s=o.rootClientId,p=o.currentIndex,k=l.select,B=t('core/block-editor'),b=B.moveBlocksDown,v=B.moveBlocksUp,f=B.duplicateBlocks,_=B.removeBlocks,I=B.insertBlock,O=B.replaceBlocks,w=t('core/edit-post').openGeneralSidebar,C=k('core/block-editor'),h=C.getBlockSelectionEnd,S=C.getBlock,y=t('core/notices').createSuccessNotice;return{onMoveDown:(0,c.partial)(b,n,s),onMoveUp:(0,c.partial)(v,n,s),openGeneralSidebar:function(){return w('edit-post/block')},createSuccessNotice:y,duplicateBlock:function(){return f(n)},removeBlocks:_,pasteBlock:function(t){if((0,u.isUnmodifiedDefaultBlock)(S(h())))O(n,t);else{var o=(0,u.createBlock)(t.name,t.attributes,t.innerBlocks);I(o,p+1,s)}}}}),B.withInstanceId)(function(t){var k=t.onDelete,B=t.isStackedHorizontally,f=t.wrapBlockSettings,_=t.wrapBlockMover,I=t.openGeneralSidebar,O=t.onMoveDown,w=t.onMoveUp,C=t.isFirst,h=t.isLast,S=t.blockTitle,y=t.isEmptyDefaultBlock,D=t.anchorNodeRef,M=t.getBlocksByClientId,T=t.selectedBlockClientId,H=t.createSuccessNotice,N=t.duplicateBlock,P=t.removeBlocks,E=t.pasteBlock,x=t.canInsertBlockType,A=t.rootClientId,z=(0,o.useState)((0,s.getClipboard)()),L=(0,l.default)(z,2),R=L[0],U=L[1],F=(0,o.useRef)(),G=R&&(0,u.rawHandler)({HTML:R})[0],j=G&&x(G.name,A),q=(0,v.getMoversSetup)(B,{keys:['icon','actionTitle']}).actionTitle,J=q.backward,K=q.forward,Q={id:'deleteOption',label:(0,p.__)('Remove block'),value:'deleteOption',separated:!0,disabled:y},V={id:'settingsOption',label:(0,p.__)('Block settings'),value:'settingsOption'},W={id:'backwardButtonOption',label:J,value:'backwardButtonOption',disabled:C},X={id:'forwardButtonOption',label:K,value:'forwardButtonOption',disabled:h},Y={id:'copyButtonOption',label:(0,p.__)('Copy block'),value:'copyButtonOption'},Z={id:'cutButtonOption',label:(0,p.__)('Cut block'),value:'cutButtonOption'},$={id:'pasteButtonOption',label:(0,p.__)('Paste block after'),value:'pasteButtonOption'},ee={id:'duplicateButtonOption',label:(0,p.__)('Duplicate block'),value:'duplicateButtonOption'},te=(0,c.compact)([_&&W,_&&X,f&&V,Y,Z,j&&$,ee,Q]);var oe=te.map(function(t,o){return t.disabled&&o+1}).filter(Boolean),le='ios'===n.Platform.OS?(0,p.__)('Double tap to open Action Sheet with available options'):(0,p.__)('Double tap to open Bottom Sheet with available options');return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.ToolbarButton,{title:(0,p.__)('Open Block Actions Menu'),onClick:function(){F.current&&F.current.presentPicker()},icon:b.moreHorizontalMobile,extraProps:{hint:le}}),(0,o.createElement)(s.Picker,{ref:F,options:te,onChange:function(t){switch(t){case Q.value:k(),H((0,p.__)('Block removed'));break;case V.value:I();break;case X.value:O();break;case W.value:w();break;case Y.value:var o=M(T),l=(0,u.serialize)(o);U(l),(0,s.setClipboard)(l),H((0,p.__)('Block copied'));break;case Z.value:var n=M(T);(0,s.setClipboard)((0,u.serialize)(n)),P(T),H((0,p.__)('Block cut'));break;case $.value:R&&E((0,u.rawHandler)({HTML:R})[0]),H((0,p.__)('Block pasted'));break;case ee.value:N(),H((0,p.__)('Block duplicated'))}},destructiveButtonIndex:te.length,disabledButtonIndices:oe,hideCancelButton:'ios'!==n.Platform.OS,leftAlign:!0,getAnchor:function(){return D?(0,n.findNodeHandle)(D):void 0},title:(0,p.sprintf)((0,p.__)('%s block options'),S)}))});e.default=f},2173,[5,946,36,25,1068,1699,1223,1027,1076,1116,1247,2172]); +__d(function(g,r,i,a,m,e,d){m.exports={stretch:{flexGrow:1,flexShrink:1,flexBasis:0},fullAlignment:{marginLeft:0,width:"100%"},fullAlignmentPadding:{paddingTop:16,paddingRight:16,paddingBottom:16,paddingLeft:16}}},2174,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var l=u.clientId,s=void 0===l?null:l,f=u.value,v=u.selectionStart,k=u.selectionEnd,b=u.onChange,p=void 0===b?n.noop:b,B=u.onInput,_=void 0===B?n.noop:B,h=(0,o.useRegistry)(),E=h.dispatch('core/block-editor'),I=E.resetBlocks,S=E.resetSelection,C=E.replaceInnerBlocks,R=E.setHasControlledInnerBlocks,N=E.__unstableMarkNextChangeAsNotPersistent,P=h.select('core/block-editor'),y=P.getBlockName,L=P.getBlocks,M=(0,t.useRef)({incoming:null,outgoing:[]}),j=(0,t.useRef)(!1),x=function(){if(f)if(N(),s){R(s,!0),N();var n=f.map(function(n){return(0,c.cloneBlock)(n)});j.current&&(M.current.incoming=n),C(s,n)}else j.current&&(M.current.incoming=f),I(f)},A=(0,t.useRef)(_),H=(0,t.useRef)(p);(0,t.useEffect)(function(){A.current=_,H.current=p},[_,p]),(0,t.useEffect)(function(){M.current.outgoing.includes(f)?(0,n.last)(M.current.outgoing)===f&&(M.current.outgoing=[]):L(s)!==f&&(M.current.outgoing=[],x(),v&&k&&S(v,k))},[f,s]),(0,t.useEffect)(function(){var n=h.select('core/block-editor'),t=n.getSelectionStart,o=n.getSelectionEnd,c=n.isLastBlockChangePersistent,u=n.__unstableIsLastBlockChangeIgnored,l=L(s),f=c(),v=!1;j.current=!0;var k=h.subscribe(function(){if(null===s||null!==y(s)){var n=c(),k=L(s),b=k!==l;if(l=k,b&&(M.current.incoming||u()))return M.current.incoming=null,void(f=n);var p=v&&!b&&n&&!f;if(b||p){f=n,M.current.outgoing.push(l);var B=f?H.current:A.current;B(l,{selectionStart:t(),selectionEnd:o()})}v=b}});return function(){return k()}},[h,s])};var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=r(d[3])},2175,[1068,946,1076,1223]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]),t=r(d[1]),n=r(d[2]),o='InspectorAdvancedControls',c=(0,t.createSlotFill)(o),u=c.Fill,s=c.Slot;function v(t){var o=t.children;return(0,n.useBlockEditContext)().isSelected?(0,l.createElement)(u,null,o):null}v.slotName=o,v.Slot=s;var f=v;e.default=f},2176,[946,1699,2119]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var u=c.value,_=c.onChange,f=(0,l.isLineHeightDefined)(u),A=f?u:l.RESET_VALUE;return(0,n.createElement)("div",{className:"block-editor-line-height-control"},(0,n.createElement)(o.TextControl,{autoComplete:"off",onKeyDown:function(n){n.keyCode!==E.ZERO||f||(n.preventDefault(),_('0'))},onChange:function(n){if(f)return void _(n);var t=n;switch(n){case""+l.STEP:t=l.BASE_DEFAULT_VALUE+l.STEP;break;case'0':t=l.BASE_DEFAULT_VALUE-l.STEP}_(t)},label:(0,t.__)('Line height'),placeholder:l.BASE_DEFAULT_VALUE,step:l.STEP,type:"number",value:A,min:0}))};var n=r(d[0]),t=r(d[1]),o=r(d[2]),E=r(d[3]),l=r(d[4])},2177,[946,1027,1699,1221,2178]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isLineHeightDefined=function(_){return void 0!==_&&_!==E},e.RESET_VALUE=e.STEP=e.BASE_DEFAULT_VALUE=void 0;e.BASE_DEFAULT_VALUE=1.5;e.STEP=.1;var E='';e.RESET_VALUE=E},2178,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),u=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),h=t(r(d[9]));function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=(function(t){(0,l.default)(D,t);var v,_,k=(v=D,_=y(),function(){var t,n=(0,f.default)(v);if(_){var o=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function D(){var t;return(0,u.default)(this,D),(t=k.apply(this,arguments)).isAndroid='android'===p.Platform.OS,t}return(0,s.default)(D,[{key:"componentDidMount",value:function(){var t=this;!1===this._input.isFocused()&&this.props.isSelected&&(this.isAndroid?this.timeoutID=setTimeout(function(){t._input.focus()},100):this._input.focus())}},{key:"componentDidUpdate",value:function(t){!this.props.isSelected&&t.isSelected&&this._input.blur()}},{key:"componentWillUnmount",value:function(){this.isAndroid&&clearTimeout(this.timeoutID)}},{key:"focus",value:function(){this._input.focus()}},{key:"render",value:function(){var t=this;return(0,n.createElement)(p.TextInput,(0,o.default)({},this.props,{ref:function(n){return t._input=n},onChange:function(n){t.props.onChange(n.nativeEvent.text)},onFocus:this.props.onFocus,onBlur:this.props.onBlur,fontFamily:this.props.style&&this.props.style.fontFamily||h.default['block-editor-plain-text'].fontFamily,style:this.props.style||h.default['block-editor-plain-text'],scrollEnabled:!1}))}}]),D})(n.Component);e.default=v},2179,[5,946,24,7,42,57,59,56,25,2180]); +__d(function(g,r,i,a,m,e,d){m.exports={"block-editor-plain-text":{fontFamily:"Noto Serif",shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"black",shadowOpacity:1,borderWidth:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}}},2180,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RichTextShortcut",{enumerable:!0,get:function(){return F.RichTextShortcut}}),Object.defineProperty(e,"RichTextToolbarButton",{enumerable:!0,get:function(){return w.RichTextToolbarButton}}),Object.defineProperty(e,"__unstableRichTextInputEvent",{enumerable:!0,get:function(){return P.__unstableRichTextInputEvent}}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),b=r(d[9]),h=r(d[10]),_=r(d[11]),v=r(d[12]),T=t(r(d[13])),E=r(d[14]),C=r(d[15]),y=t(r(d[16])),S=r(d[17]),x=r(d[18]),O=r(d[19]),R=t(r(d[20])),F=r(d[21]),w=r(d[22]),P=r(d[23]);function M(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function k(t){for(var n=1;n0,Qe=w,Xe=P;Array.isArray(w)&&(Qe=h.children.toHTML(w),Xe=function(t){return P(h.children.fromDOM((0,v.__unstableCreateElement)(document,t).childNodes))});var Ze=(0,n.useCallback)(function(t,n){ze(we,$,t,n)},[we,$]),$e=(0,n.useCallback)(function(t){var n=t.value,l=t.isReverse;J&&J(!l),q&&(0,v.isEmpty)(n)&&l&&q(!l)},[J,q]),et=(0,n.useCallback)(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(H&&Q){var l=[],u=(0,v.split)(t),c=(0,s.default)(u,2),f=c[0],p=c[1],b=n.length>0,h=-1;b&&(0,v.isEmpty)(f)||(l.push(Q((0,v.toHTMLString)({value:f,multilineTag:Ge}))),h+=1),b?(l.push.apply(l,(0,o.default)(n)),h+=n.length):Z&&l.push(Z()),(b?(0,v.isEmpty)(p):Z&&(0,v.isEmpty)(p))||l.push(Q((0,v.toHTMLString)({value:p,multilineTag:Ge}))),H(l,b?h:1,b?-1:null)}},[H,Q,Ge,Z]),tt=(0,n.useCallback)(function(t){var n=t.value,l=t.onChange,o=t.shiftKey,s=H&&Q;if(H){var u=(0,h.getBlockTransforms)('from').filter(function(t){return'enter'===t.type}),c=(0,h.findTransform)(u,function(t){return t.regExp.test(n.text)});c&&(H([c.transform({content:n.text})]),Ve())}if(W)o?le||l((0,v.insert)(n,'\n')):s&&(0,v.__unstableIsEmptyLine)(n)?et(n):l((0,v.__unstableInsertLineSeparator)(n));else{var f=n.text,p=n.start,b=n.end,_=X&&p===b&&b===f.length;o||!s&&!_?le||l((0,v.insert)(n,'\n')):!s&&_?X():s&&et(n)}},[H,Q,Ve,W,et,X]),nt=(0,n.useCallback)(function(t){var n=t.value,l=t.onChange,s=t.html,u=t.plainText,c=t.files,f=t.activeFormats;if(te)l((0,v.insert)(n,(0,v.create)({text:u})));else{if(c&&c.length&&!s){var p=(0,h.pasteHandler)({HTML:(0,O.filePasteHandler)(c),mode:'BLOCKS',tagName:F,preserveWhiteSpace:ee});return window.console.log('Received items:\n\n',c),void(H&&(0,v.isEmpty)(n)?H(p):et(n,p))}var b=H&&Q?'AUTO':'INLINE';'AUTO'===b&&(0,v.isEmpty)(n)&&L(u)&&(b='BLOCKS'),ne&&(0,v.isEmpty)(n)&&(0,E.isURL)(u.trim())&&(b='BLOCKS');var _=(0,h.pasteHandler)({HTML:s,plainText:u,mode:b,tagName:F,preserveWhiteSpace:ee});if('string'==typeof _){var T=(0,v.create)({html:_});if(f.length)for(var C=T.formats.length;C--;)T.formats[C]=[].concat((0,o.default)(f),(0,o.default)(T.formats[C]||[]));W&&(T=(0,v.replace)(T,/\n+/g,v.__UNSTABLE_LINE_SEPARATOR)),l((0,v.insert)(n,T))}else _.length>0&&(H&&(0,v.isEmpty)(n)?H(_,_.length-1,-1):et(n,_))}},[F,H,Q,et,ne,W,ee,te]),at=(0,n.useCallback)(function(t,n){if(H){var l=t.start,o=t.text;if(' '===o.slice(l-1,l)){var s=o.slice(0,l).trim(),u=(0,h.getBlockTransforms)('from').filter(function(t){return'prefix'===t.type}),c=(0,h.findTransform)(u,function(t){var n=t.prefix;return s===n});if(c){var f=n((0,v.slice)(t,l,o.length)),p=c.transform(f);H([p]),Ve()}}}},[H,Ve]),lt=(0,n.createElement)(v.__experimentalRichText,{clientId:we,identifier:$,ref:Re,value:Qe,onChange:Xe,selectionStart:Ne,selectionEnd:Ie,onSelectionChange:Ze,tagName:F,placeholder:K,allowedFormats:qe,withoutInteractiveFormatting:G,onEnter:tt,onDelete:$e,onPaste:nt,__unstableIsSelected:Be,__unstableInputRule:at,__unstableMultilineTag:Ge,__unstableIsCaretWithinFormattedText:Ae,__unstableOnEnterFormattedText:Ke,__unstableOnExitFormattedText:Ye,__unstableOnCreateUndoLevel:He,__unstableMarkAutomaticChange:Ve,__unstableDidAutomaticChange:Le,__unstableUndo:je,__unstableDisableFormats:ae,preserveWhiteSpace:ee,disabled:We,unstableOnFocus:re,__unstableAllowPrefixTransformations:oe,__unstableMultilineRootTag:ie,onCaretVerticalPositionChange:Pe,blockIsSelected:void 0!==M?M:Me,shouldBlurOnUnmount:De,__unstableMobileNoFocusOnMount:se,deleteEnter:ue,placeholderTextColor:ce,textAlign:de,selectionColor:me,tagsToEliminate:fe,rootTagsToEliminate:pe,disableEditingMenu:be,fontSize:he,fontFamily:ge,fontWeight:_e,fontStyle:ve,minWidth:Te,maxWidth:Ee,onBlur:Ce,setRef:ye,id:Se.id,style:Se.style},function(t){var o=t.isSelected,s=t.value,u=t.onChange,c=t.onFocus,p=t.editableProps,b=t.editableTagName;return(0,n.createElement)(n.Fragment,null,C&&C({value:s,onChange:u,onFocus:c}),o&&Je&&(0,n.createElement)(R.default,{inline:j,anchorRef:Re.current}),o&&(0,n.createElement)(x.RemoveBrowserShortcuts,null),(0,n.createElement)(y.default,{onReplace:H,completers:U,record:s,onChange:u,isSelected:o,contentRef:Re},function(t){var o=t.listBoxId,s=t.activeId,u=t.onKeyDown;return(0,n.createElement)(b,(0,l.default)({},p,Se,{style:Se.style?k(k({},Se.style),p.style):p.style,className:(0,f.default)(N,Se.className,p.className,{'keep-placeholder-on-focus':Y}),"aria-autocomplete":o?'list':void 0,"aria-owns":o,"aria-activedescendant":s,onKeyDown:function(t){u(t),p.onKeyDown(t)}}))}))});return D?((0,T.default)('wp.blockEditor.RichText wrapperClassName prop',{alternative:'className prop or create your own wrapper div'}),(0,n.createElement)("div",{className:(0,f.default)(A,D)},lt)):lt});W.Content=function(t){var l=t.value,o=t.tagName,s=t.multiline,u=(0,c.default)(t,["value","tagName","multiline"]);Array.isArray(l)&&(l=h.children.toHTML(l));var f=I(s);!l&&f&&(l="<"+f+">");var b=(0,n.createElement)(n.RawHTML,null,l);return o?(0,n.createElement)(o,(0,p.omit)(u,['format']),b):b},W.isEmpty=function(t){return!t||0===t.length},W.Content.defaultProps={format:'string',value:''};var j=W;e.default=j},2181,[5,946,24,14,36,66,67,1719,1068,1076,1223,1116,1074,1111,1043,1683,2182,2120,2183,2184,2185,2187,2188,2189]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(){return null}},2182,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.RemoveBrowserShortcuts=void 0;e.RemoveBrowserShortcuts=function(){return null}},2183,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.filePasteHandler=function(n){return n.map(function(n){return""}).join('')}},2184,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2])),n=t(r(d[3])),f=function(){return(0,l.createElement)(u.default,null,(0,l.createElement)(n.default,null))};e.default=f},2185,[5,946,2122,2186]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),o=function(){return(0,t.createElement)(l.Toolbar,null,['bold','italic','link'].map(function(o){return(0,t.createElement)(l.Slot,{name:"RichText.ToolbarControls."+o,key:o})}),(0,t.createElement)(l.Slot,{name:"RichText.ToolbarControls"}))};e.default=o},2186,[946,1699]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.RichTextShortcut=void 0;var n=t(r(d[1])),u=t(r(d[2])),c=t(r(d[3])),f=t(r(d[4])),o=t(r(d[5]));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,c.default)(v,t);var s,h,p=(s=v,h=l(),function(){var t,n=(0,o.default)(s);if(h){var u=(0,o.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function v(){return(0,n.default)(this,v),p.apply(this,arguments)}return(0,u.default)(v,[{key:"render",value:function(){return null}}]),v})(r(d[6]).Component);e.RichTextShortcut=s},2187,[5,7,42,57,59,56,946]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.RichTextToolbarButton=function(t){var h,s=t.name,T=t.shortcutType,f=t.shortcutCharacter,b=(0,u.default)(t,["name","shortcutType","shortcutCharacter"]),p='RichText.ToolbarControls';s&&(p+="."+s);T&&f&&(h=l.displayShortcut[T](f));return(0,o.createElement)(n.Fill,{name:p},(0,o.createElement)(n.ToolbarButton,(0,c.default)({},b,{shortcut:h})))};var o=r(d[1]),c=t(r(d[2])),u=t(r(d[3])),n=r(d[4]),l=r(d[5])},2188,[5,946,24,67,1699,1221]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.__unstableRichTextInputEvent=void 0;var n=t(r(d[1])),u=t(r(d[2])),c=t(r(d[3])),f=t(r(d[4])),o=t(r(d[5]));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,c.default)(h,t);var s,p,v=(s=h,p=l(),function(){var t,n=(0,o.default)(s);if(p){var u=(0,o.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function h(){return(0,n.default)(this,h),v.apply(this,arguments)}return(0,u.default)(h,[{key:"render",value:function(){return null}}]),h})(r(d[6]).Component);e.__unstableRichTextInputEvent=s},2189,[5,7,42,57,59,56,946]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),_=r(d[7]),p=r(d[8]),f=t(r(d[9])),D=function(t){return(0,u.uniqWith)(t,function(t,l){return t.id===l.id||t.url===l.url})};var y=(0,_.withPreferredColorScheme)(function(t){var u=t.addToGallery,_=t.allowedTypes,y=void 0===_?[]:_,E=t.labels,v=void 0===E?{}:E,b=t.icon,M=t.onSelect,A=t.__experimentalOnlyMediaLibrary,I=t.isAppender,h=t.disableMediaButtons,T=t.getStylesFromColorScheme,O=t.multiple,S=t.value,k=void 0===S?[]:S,C=t.children,V=t.height,w=t.backgroundColor,P=t.hideContent,x=(0,l.useRef)(k);x.current=k;var F=O&&u?function(t){return M(D([].concat((0,n.default)(x.current),(0,n.default)(t))))}:M,G=1===y.length,R=G&&y.includes(s.MEDIA_TYPE_IMAGE),B=G&&y.includes(s.MEDIA_TYPE_VIDEO),L=G&&y.includes(s.MEDIA_TYPE_AUDIO),U=v.title;void 0===U&&(U=(0,c.__)('Media'),R?U=(0,c.__)('Image'):B?U=(0,c.__)('Video'):L&&(U=(0,c.__)('Audio')));var Y=v.instructions;void 0===Y&&(Y=R?(0,c.__)('ADD IMAGE'):B?(0,c.__)('ADD VIDEO'):L?(0,c.__)('ADD AUDIO'):(0,c.__)('ADD IMAGE OR VIDEO'));var z=(0,c.__)('Double tap to select');R?z=(0,c.__)('Double tap to select an image'):B?z=(0,c.__)('Double tap to select a video'):L&&(z=(0,c.__)('Double tap to select an audio file'));var W=T(f.default.emptyStateTitle,f.default.emptyStateTitleDark),j=T(f.default.addMediaButton,f.default.addMediaButtonDark);if(I&&h)return null;var q=T(f.default.appender,f.default.appenderDark),H=T(f.default.emptyStateContainer,f.default.emptyStateContainerDark);return(0,l.createElement)(o.View,{style:{flex:1}},(0,l.createElement)(s.MediaUpload,{allowedTypes:y,onSelect:F,__experimentalOnlyMediaLibrary:A,multiple:O,isReplacingMedia:!1,render:function(n){var u=n.open,s=n.getMediaOptions;return(0,l.createElement)(o.TouchableWithoutFeedback,{accessibilityLabel:(0,c.sprintf)((0,c.__)('%s block. Empty'),U),accessibilityRole:'button',accessibilityHint:z,onPress:function(l){t.onFocus(l),u()}},(0,l.createElement)(o.View,{style:[[H,V&&{height:V},w&&{backgroundColor:w}],I&&q]},s(),!P&&(void 0!==I&&I?I&&!h?(0,l.createElement)(p.Icon,{icon:p.plusCircleFilled,style:j,color:j.color,size:j.size}):void 0:(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.View,{style:f.default.modalIcon},b),(0,l.createElement)(o.Text,{style:W},U),C,(0,l.createElement)(o.Text,{style:f.default.emptyStateDescription},Y)))))}}))});e.default=y},2190,[5,946,14,25,1068,1027,1073,1116,1247,2191]); +__d(function(g,r,i,a,m,e,d){m.exports={emptyStateContainer:{flexGrow:1,flexShrink:1,flexBasis:0,height:142,flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:"#e9eff3",paddingLeft:12,paddingRight:12,paddingTop:12,paddingBottom:12,borderTopLeftRadius:4,borderTopRightRadius:4,borderBottomLeftRadius:4,borderBottomRightRadius:4},emptyStateContainerDark:{backgroundColor:"#1e2327"},emptyStateTitle:{textAlign:"center",marginTop:4,marginBottom:16,fontSize:14,color:"#2e4453"},emptyStateTitleDark:{color:"#fff"},emptyStateDescription:{width:"100%",textAlign:"center",color:"#0087be",fontSize:14,fontWeight:"500"},modalIcon:{width:24,height:24,justifyContent:"center",alignItems:"center",fill:"#2e4453"},appender:{height:"auto",backgroundColor:"#fff",borderWidth:1,borderColor:"#e2e4e7",borderStyle:"solid",borderRadius:4},appenderDark:{backgroundColor:"#1e2327",borderWidth:1,borderColor:"#3c434a",borderStyle:"solid"},addMediaButton:{color:"#fff",backgroundColor:"#7b9ab1",borderRadius:12,overflow:"hidden",size:24},addMediaButtonDark:{color:"#1e2327",backgroundColor:"#a7aaad"}}},2191,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.MediaUpload=e.OPTION_TAKE_PHOTO_OR_VIDEO=e.OPTION_TAKE_PHOTO=e.OPTION_TAKE_VIDEO=e.MEDIA_TYPE_ANY=e.MEDIA_TYPE_AUDIO=e.MEDIA_TYPE_VIDEO=e.MEDIA_TYPE_IMAGE=void 0;var o=r(d[1]),n=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),l=t(r(d[6])),_=t(r(d[7])),p=t(r(d[8])),f=r(d[9]),v=r(d[10]),O=r(d[11]),h=r(d[12]);function y(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function P(t){for(var o=1;o0||p,text:f}}),(0,s.withDispatch)(function(t,c){var o=c.clientId,l=t('core/block-editor').updateBlockAttributes;return{onChange:function(t){l(o,{caption:t})}}})])(function(t){var n=t.accessible,s=t.accessibilityLabelCreator,f=t.onBlur,p=t.onChange,b=t.onFocus,h=t.isSelected,v=t.shouldDisplay,y=t.text,k=t.insertBlocksAfter;return(0,c.createElement)(o.View,{style:[u.default.container,v&&u.default.padding]},(0,c.createElement)(l.Caption,{accessibilityLabelCreator:s,accessible:n,isSelected:h,onBlur:f,onChange:p,onFocus:b,shouldDisplay:v,value:y,insertBlocksAfter:k}))});e.default=f},2198,[5,946,25,1073,1116,1076,2199]); +__d(function(g,r,i,a,m,e,d){m.exports={container:{flexGrow:1,flexShrink:1,flexBasis:0},padding:{paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12}}},2199,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]),o=r(d[1]),t=r(d[2]),n=r(d[3]),c=r(d[4]),s=function(s){var u=s.accessibilityLabelCreator,b=s.accessible,p=s.inlineToolbar,f=s.isSelected,v=s.onBlur,_=s.onChange,h=s.onFocus,y=s.placeholder,T=void 0===y?(0,c.__)('Write caption\u2026'):y,x=s.placeholderTextColor,C=s.shouldDisplay,S=void 0===C||C,E=s.style,A=s.value,B=s.insertBlocksAfter,O=void 0===B?function(){}:B;return(0,l.createElement)(o.View,{accessibilityLabel:u?u(A):void 0,accessibilityRole:"button",accessible:b,style:{flex:1,display:S?'flex':'none'}},(0,l.createElement)(n.RichText,{__unstableMobileNoFocusOnMount:!0,fontSize:E&&E.fontSize?E.fontSize:14,inlineToolbar:p,isSelected:f,onBlur:v,onChange:_,placeholder:T,placeholderTextColor:x,rootTagsToEliminate:['p'],style:E,tagName:"p",textAlign:"center",underlineColorAndroid:"transparent",unstableOnFocus:h,value:A,__unstableOnSplitAtEnd:function(){return O((0,t.createBlock)('core/paragraph'))},deleteEnter:!0}))};e.default=s},2200,[946,25,1223,1073,1027]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),l=t(r(d[5]));function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function s(t){for(var n=1;n0;return(0,n.createElement)(v.View,{style:S.default.videoContainer},(0,n.createElement)(P.default,(0,o.default)({},this.props,{ref:function(n){t.player=n},controls:!1,ignoreSilentSwitch:'ignore',paused:!f,onLayout:this.onVideoLayout,onFullscreenPlayerWillPresent:function(){t.setState({isFullScreen:!0})},onFullscreenPlayerDidDismiss:function(){t.setState({isFullScreen:!1})}})),h&&(0,n.createElement)(v.TouchableOpacity,{disabled:!s,onPress:this.onPressPlay,style:[u,S.default.overlayContainer]},(0,n.createElement)(v.View,{style:S.default.blackOverlay}),(0,n.createElement)(y.Icon,{icon:_.default,style:S.default.playIcon,size:S.default.playIcon.size})))}}]),b})(n.Component);e.default=R},2203,[5,946,24,7,42,60,57,59,56,1699,1027,25,2101,2204,2205]); +__d(function(g,r,i,a,m,e,d){m.exports={videoContainer:{flexGrow:1,flexShrink:1,flexBasis:0,justifyContent:"center",alignItems:"center"},overlayContainer:{justifyContent:"center",alignItems:"center",alignSelf:"center",position:"absolute"},blackOverlay:{width:"100%",height:"100%",backgroundColor:"#000",opacity:.4},playIcon:{position:"absolute",opacity:.7,size:64}}},2204,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),n=(0,t.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)(l.Path,{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm-2 14.5v-9l6 4.5z",fill:"white"}));e.default=n},2205,[946,1699]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var l=(0,n.useSelect)(function(l){var t=l('core/block-editor'),n=t.getBlockMode,u=t.getSelectedBlockClientIds,c=t.isBlockValid,o=u();return{blockClientIds:o,isValid:1===o.length?c(o[0]):null,mode:1===o.length?n(o[0]):null}},[]),f=l.blockClientIds,s=l.isValid,k=l.mode;if(0===f.length)return null;return(0,t.createElement)(t.Fragment,null,'visual'===k&&s&&(0,t.createElement)(t.Fragment,null,(0,t.createElement)(o.default,null),(0,t.createElement)(u.default.Slot,null),(0,t.createElement)(c.default.Slot,null)))};var t=r(d[1]),n=r(d[2]),u=l(r(d[3])),c=l(r(d[4])),o=l(r(d[5]))},2206,[5,946,1076,2117,2122,2207]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UngroupButton=v,e.default=void 0;var n=r(d[1]),t=r(d[2]),l=r(d[3]),c=r(d[4]),u=r(d[5]),k=r(d[6]),p=r(d[7]),s=o(r(d[8]));function v(o){var t=o.onConvertFromGroup,l=o.isUngroupable;return void 0!==l&&l?(0,n.createElement)(c.Toolbar,null,(0,n.createElement)(c.ToolbarButton,{title:(0,u.__)('Ungroup'),icon:s.default,onClick:t})):null}var B=(0,p.compose)([(0,k.withSelect)(function(o){var n=o('core/block-editor'),t=n.getSelectedBlockClientId,c=n.getBlock,u=o(l.store).getGroupingBlockName,k=t(),p=c(k),s=u(),v=p&&p.innerBlocks&&!!p.innerBlocks.length&&p.name===s;return{isUngroupable:v,clientId:k,innerBlocks:v?p.innerBlocks:[]}}),(0,k.withDispatch)(function(o,n){var l=n.clientId,c=n.innerBlocks,u=n.onToggle,k=void 0===u?t.noop:u,p=o('core/block-editor').replaceBlocks;return{onConvertFromGroup:function(){c.length&&(p(l,c),k())}}})])(v);e.default=B},2207,[5,946,1068,1223,1699,1027,1076,1116,2208]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[0]),t=r(d[1]),n=(0,l.createElement)(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2H15C16.1 2 17 2.9 17 4V7C17 8.1 16.1 9 15 9H9C7.9 9 7 8.1 7 7V4C7 2.9 7.9 2 9 2ZM9 7H15V4H9V7Z"}),(0,l.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H11C12.1 11 13 11.9 13 13V16C13 17.1 12.1 18 11 18H5C3.9 18 3 17.1 3 16V13C3 11.9 3.9 11 5 11ZM5 16H11V13H5V16Z"}));e.default=n},2208,[946,1699]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),f=r(d[7]),y=r(d[8]),S=r(d[9]),h=t(r(d[10])),B={top:22,bottom:22,left:22,right:22};var b=(0,s.compose)((0,c.withSelect)(function(t,o){return(0,n.default)(o),{date:(0,t(u.store).getBlockVariations)('core/columns','block')}}))(function(t){var n=t.isVisible,b=t.onClose,k=t.clientId,v=t.variations,_=(0,c.useDispatch)('core/block-editor').replaceInnerBlocks,p='ios'===l.Platform.OS,E=(0,s.usePreferredColorSchemeStyle)(h.default.cancelButton,h.default.cancelButtonDark),C=(0,o.useMemo)(function(){return(0,o.createElement)(l.TouchableWithoutFeedback,{onPress:b,hitSlop:B},(0,o.createElement)(l.View,null,p?(0,o.createElement)(l.Text,{style:E,maxFontSizeMultiplier:2},(0,f.__)('Cancel')):(0,o.createElement)(S.Icon,{icon:S.close,size:24,style:h.default.closeIcon})))},[b,E]);return(0,o.createElement)(y.BottomSheet,{isVisible:n,onClose:b,title:(0,f.__)('Select a layout'),contentStyle:h.default.contentStyle,leftButton:C},(0,o.createElement)(l.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:h.default.contentContainerStyle,style:h.default.containerStyle},v.map(function(t){return(0,o.createElement)(y.InserterButton,{item:t,key:t.name,onSelect:function(){return o=t,_(k,(0,u.createBlocksFromInnerBlocksTemplate)(o.innerBlocks)),void b();var o}})})),(0,o.createElement)(y.PanelBody,null,(0,o.createElement)(y.FooterMessageControl,{label:(0,f.__)('Note: Column layout may vary between themes and screen sizes')})))});e.default=b},2209,[5,946,2210,25,1076,1116,1223,1027,1699,1247,2211]); +__d(function(g,r,i,a,m,e,d){m.exports=function(n){if(null==n)throw new TypeError("Cannot destructure undefined")}},2210,[]); +__d(function(g,r,i,a,m,e,d){m.exports={contentContainerStyle:{flexDirection:"row",paddingBottom:12,paddingLeft:8,paddingRight:8},containerStyle:{paddingTop:12},contentStyle:{paddingLeft:0,paddingRight:0},cancelButton:{color:"#0087be",fontSize:16},cancelButtonDark:{color:"#5198d9"},closeIcon:{color:"#87a6bc"}}},2211,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),c=r(d[3]),o=r(d[4]),s=r(d[5]),u=r(d[6]),f=r(d[7]),v=r(d[8]),y=t(r(d[9])),b=t(r(d[10]));var k=function(t){var k=t.clientId,S=t.url,p=(0,u.useSelect)(function(t){var l=t('core/block-editor').getBlock,n=t(s.store).getBlockStyles,c=l(k);return{styles:n(c.name),className:c.attributes.className||''}},[k]),_=p.styles,h=p.className,A=(0,u.useDispatch)('core/block-editor').updateBlockAttributes;if(!_||0===_.length)return null;var D=(0,o.find)(_,'isDefault')?_:[{name:'default',label:(0,f._x)('Default','block style'),isDefault:!0}].concat((0,n.default)(_)),N=(0,v.getActiveStyle)(D,h);return(0,l.createElement)(c.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:b.default.content},D.map(function(t){var n=(0,v.replaceActiveStyle)(h,N,t),c=N===t;return(0,l.createElement)(y.default,{onPress:function(){A(k,{className:n})},isActive:c,key:t.name,style:t,url:S})}))};e.default=k},2212,[5,946,14,25,1068,1223,1076,1027,2213,2215,2216]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getActiveStyle=function(t,u){for(var f,y=l(new o.default(u).values());!(f=y()).done;){var c=f.value;if(-1!==c.indexOf('is-style-')){var s=c.substring(9),v=(0,n.find)(t,{name:s});if(v)return v}}return(0,n.find)(t,'isDefault')},e.replaceActiveStyle=function(t,n,l){var u=new o.default(t);n&&u.remove('is-style-'+n.name);return u.add('is-style-'+l.name),u.value};var n=r(d[1]),o=t(r(d[2]));function l(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=u(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var l=0;return function(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function u(t,n){if(t){if("string"==typeof t)return f(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?f(t,n):void 0}}function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,l=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:'';(0,u.default)(this,t),this.value=n,this._currentValue,this._valueAsArray}return(0,l.default)(t,[{key:"entries",value:function(){var t;return(t=this._valueAsArray).entries.apply(t,arguments)}},{key:"forEach",value:function(){var t;return(t=this._valueAsArray).forEach.apply(t,arguments)}},{key:"keys",value:function(){var t;return(t=this._valueAsArray).keys.apply(t,arguments)}},{key:"values",value:function(){var t;return(t=this._valueAsArray).values.apply(t,arguments)}},{key:"toString",value:function(){return this.value}},{key:"function"==typeof Symbol?Symbol.iterator:"@@iterator",value:n.default.mark(function t(){return n.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._valueAsArray,"t0",1);case 1:return t.abrupt("return",t.t0);case 2:case"end":return t.stop()}},t,this)})},{key:"item",value:function(t){return this._valueAsArray[t]}},{key:"contains",value:function(t){return-1!==this._valueAsArray.indexOf(t)}},{key:"add",value:function(){for(var t=arguments.length,n=new Array(t),u=0;u.5?u.classList.remove('is-dark-theme'):u.classList.add('is-dark-theme')}},2217,[5,1068,1645,946,2218]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=r(d[2]),o=t(r(d[3])),l=t(r(d[4])),f=t(r(d[5])),p=function(t){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';return(0,u.map)(t,function(t){var u=t.css,v=t.baseURL,s=t.__experimentalNoWrapper,c=[];return p&&!(void 0!==s&&s)&&c.push((0,f.default)(p)),v&&c.push((0,l.default)(v)),c.length?(0,o.default)(u,(0,n.compose)(c)):u})};e.default=p},2218,[5,1068,1116,2219,2227,2228]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=r(d[2]);var f=function(t,f){try{var l=(0,u.parse)(t),o=n.default.map(l,function(t){if(!t)return t;var n=f(t);return this.update(n)});return(0,u.stringify)(o)}catch(t){return console.warn('Error while traversing the CSS: '+t),null}};e.default=f},2219,[5,2220,2221]); +__d(function(g,r,i,a,m,e,d){var t=m.exports=function(t){return new n(t)};function n(t){this.value=t}function o(t,n,o){var f=[],l=[],p=!0;return(function t(s){var h={},v=!0,k={node:o?u(s):s,node_:s,path:[].concat(f),parent:l[l.length-1],parents:l,key:f.slice(-1)[0],isRoot:0===f.length,level:f.length,circular:null,update:function(t,n){k.isRoot||(k.parent.node[k.key]=t),k.node=t,n&&(v=!1)},delete:function(t){delete k.parent.node[k.key],t&&(v=!1)},remove:function(t){y(k.parent.node)?k.parent.node.splice(k.key,1):delete k.parent.node[k.key],t&&(v=!1)},keys:null,before:function(t){h.before=t},after:function(t){h.after=t},pre:function(t){h.pre=t},post:function(t){h.post=t},stop:function(){p=!1},block:function(){v=!1}};if(!p)return k;function O(){if('object'==typeof k.node&&null!==k.node){k.keys&&k.node_===k.node||(k.keys=c(k.node)),k.isLeaf=0==k.keys.length;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:[];return function(o){return'rule'===o.type?c(c({},o),{},{selectors:o.selectors.map(function(o){return n.includes(o.trim())?o:o.match(u)?o.replace(/^(body|html|:root)/,t):t+' '+o})}):o}};e.default=l},2228,[5,66]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useBlockProps=n;var o=r(d[0]);function n(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}n.save=o.__unstableGetBlockProps},2229,[1223]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Block=void 0;var o=n(r(d[1])).default.reduce(function(n,o){return n[o]=o,n},String);e.Block=o},2230,[5,2231]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=['p','div','h1','h2','h3','h4','h5','h6','ol','ul','li','figure','nav','pre','header','section','aside','footer','main'];e.default=o},2231,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=r(d[7]),p=t(r(d[8])),v=t(r(d[9])),I=t(r(d[10])),b=new l.Animated.Value(0),E=(0,s.compose)([(0,u.withSelect)(function(t){var n=t('core/block-editor'),o=n.getSelectedBlockClientId,l=n.getBlockHierarchyRootClientId,c=n.getBlockRootClientId,u=n.getBlockCount,s=n.getSettings,f=o();if(f)return{selectedClientId:f,showFloatingToolbar:!!u(l(f)),parentId:c(f),isRTL:s().isRTL}}),(0,u.withDispatch)(function(t){var n=t('core/block-editor').selectBlock;return{onNavigateUp:function(t,o){n(t,o)}}})])(function(t){var u=t.selectedClientId,s=t.parentId,E=t.showFloatingToolbar,T=t.onNavigateUp,k=t.isRTL,R=(0,n.useState)({}),w=(0,o.default)(R,2),C=w[0],h=w[1];(0,n.useEffect)(function(){l.Animated.timing(b,{toValue:E?1:0,duration:E?250:80,easing:l.Easing.ease,useNativeDriver:!0}).start()},[E]),(0,n.useEffect)(function(){E&&h({clientId:u,parentId:s})},[u]);var y=8*('android'===l.Platform.OS?-1:1),B=b.interpolate({inputRange:[0,1],outputRange:[y,0]}),S={opacity:b,transform:[{translateY:B}]},_=C.clientId,L=C.parentId,N=_&&!E,V=N?_:u,A=!!s||N&&!!L;return!!b&&(0,n.createElement)(l.Animated.View,{style:[p.default.floatingToolbar,S]},A&&(0,n.createElement)(c.Toolbar,{passedStyle:p.default.toolbar},(0,n.createElement)(c.ToolbarButton,{title:(0,f.__)('Navigate Up'),onClick:!N&&function(){return T(s)},icon:(0,n.createElement)(v.default,{isRTL:k})}),(0,n.createElement)(l.View,{style:p.default.pipe})),(0,n.createElement)(I.default,{clientId:V}))});e.default=E},2232,[5,946,36,25,1699,1076,1116,1027,2233,2234,2235]); +__d(function(g,r,i,a,m,e,d){m.exports={floatingToolbarOffset:{top:-52},floatingToolbar:{top:-52,position:"absolute",backgroundColor:"#2e2e2e",marginLeft:"auto",marginRight:"auto",minWidth:100,maxHeight:44,borderRadius:22,flexDirection:"row",zIndex:100,height:44,alignItems:"center",justifyContent:"center",alignSelf:"center"},floatingToolbarFillColor:{backgroundColor:"#2e2e2e"},floatingToolbarFillColorDark:{backgroundColor:"#2e2e2e"},toolbar:{borderLeftWidth:0,marginRight:"auto",paddingLeft:2,height:44},pipe:{marginTop:"auto",marginBottom:"auto",marginLeft:2,height:28,width:1,backgroundColor:"#e9eff3",opacity:.4}}},2233,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),n=r(d[2]),o=function(){return(0,t.createElement)(l.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),(0,t.createElement)(l.Path,{fill:"white",fillRule:"evenodd",clipRule:"evenodd",d:"M17,11 z L15.58,12.42 L12,8.83 L12,18 L22,18 L22,20 L10,20 L10,8.83 L6.42,12.42 L5,11 L11,5 L17,11",transform:(0,n.isRTL)()?'scale(-1,1) translate(-24,0)':void 0}))};e.default=o},2234,[946,1699,1027]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=r(d[2]),n=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=t(r(d[7])),I=t(r(d[8])),k=t(r(d[9])),y=(0,c.compose)([(0,n.withSelect)(function(t,o){var l=o.clientId,n=t('core/block-editor'),c=n.getBlockRootClientId,s=n.getBlockName,f=n.getSettings,I=s(l),k=(0,u.getBlockType)(I),y=k?k.icon:{},b=c(l);if(!b)return{clientId:l,blockIcon:y};var T=s(b),p=(0,u.getBlockType)(T);return{clientId:l,blockIcon:y,rootClientId:b,rootBlockIcon:p?p.icon:{},isRTL:f().isRTL}})])(function(t){var n=t.clientId,c=t.blockIcon,u=t.rootClientId,y=t.rootBlockIcon,b=t.isRTL;return(0,o.createElement)(s.View,{style:[k.default.selectionButtonContainer,u&&k.default.densedPaddingLeft]},(0,o.createElement)(s.TouchableOpacity,{style:k.default.button,onPress:function(){},disabled:!0},u&&y&&[(0,o.createElement)(l.Icon,{key:"parent-icon",size:24,icon:y.src,fill:k.default.icon.color}),(0,o.createElement)(s.View,{key:"subdirectory-icon",style:k.default.arrow},(0,o.createElement)(I.default,{fill:k.default.arrow.color,isRTL:b}))],(0,o.createElement)(l.Icon,{size:24,icon:c.src,fill:k.default.icon.color}),(0,o.createElement)(s.Text,{maxFontSizeMultiplier:1.25,ellipsizeMode:"tail",numberOfLines:1,style:k.default.selectionButtonTitle},(0,o.createElement)(f.default,{clientId:n}))))});e.default=y},2235,[5,946,1699,1076,1116,1223,25,2236,2246,2247]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.clientId,f=(0,u.useSelect)(function(t){if(!o)return{};var l=t('core/block-editor'),u=l.getBlockName,c=l.getBlockAttributes,f=l.__experimentalGetReusableBlockTitle,b=u(o);if(!b)return{};var k=(0,n.isReusableBlock)((0,n.getBlockType)(b));return{attributes:c(o),name:b,reusableBlockTitle:k&&f(c(o).ref)}},[o]),b=f.attributes,k=f.name,s=f.reusableBlockTitle,B=(0,c.default)(o);if(!k||!B)return null;var _=(0,n.getBlockType)(k),v=s||(0,n.__experimentalGetBlockLabel)(_,b);if(v!==_.title)return(0,l.truncate)(v,{length:35});return B.title};var l=r(d[1]),u=r(d[2]),n=r(d[3]),c=t(r(d[4]))},2236,[5,1068,1076,1223,2237]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(0,t.useSelect)(function(t){if(!c)return null;var l=t(o.store),u=l.getBlockName,s=l.getBlockAttributes,f=t(n.store),v=f.getBlockType,p=f.getBlockVariations,k=u(c),B=v(k);if(!B)return null;var _=p(k),b={title:B.title,icon:B.icon,description:B.description};if(!(null==_?void 0:_.length))return b;var A=s(c),y=_.find(function(t){return null==t.isActive?void 0:t.isActive(A,t.attributes)});return y?{title:y.title||B.title,icon:y.icon||B.icon,description:y.description||B.description}:b},[c])};var t=r(d[0]),n=r(d[1]),o=r(d[2])},2237,[1076,1223,2238]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=e.storeConfig=void 0;var c=o(r(d[2])),n=r(d[3]),s=o(r(d[4])),f=t(r(d[5])),p=t(r(d[6])),u=o(r(d[7]));function O(t,o){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),c.push.apply(c,n)}return c}function b(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:'',c=(0,l.default)({},n,[]);return t.forEach(function(t){var l=t.clientId,s=t.innerBlocks;c[n].push(l),(0,o.default)(c,S(s,l))}),c}function O(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';return t.reduce(function(t,c){return(0,o.default)(t,(0,l.default)({},c.clientId,n),O(c.innerBlocks,c.clientId))},{})}function T(t){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.identity,l={},u=(0,c.default)(t);u.length;){var E=u.shift(),I=E.innerBlocks,_=(0,n.default)(E,["innerBlocks"]);u.push.apply(u,(0,c.default)(I)),l[_.clientId]=o(_)}return l}function v(t){return T(t,function(t){return(0,s.omit)(t,'attributes')})}function h(t){return T(t,function(t){return t.attributes})}function L(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'',o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,s.reduce)(t[n],function(n,l){return o[l]?n:[].concat((0,c.default)(n),[l],(0,c.default)(L(t,l)))},[])}function p(t,n){return(0,s.isEqual)((0,s.keys)(t),(0,s.keys)(n))}function B(t,n){return'UPDATE_BLOCK_ATTRIBUTES'===t.type&&void 0!==n&&'UPDATE_BLOCK_ATTRIBUTES'===n.type&&(0,s.isEqual)(t.clientIds,n.clientIds)&&p(t.attributes,n.attributes)}var b=function(t){return t.reduce(function(t,n){return t[n]={},t},{})};var R=(0,s.flow)(u.combineReducers,function(t){return function(n,c){if(n&&'SAVE_REUSABLE_BLOCK_SUCCESS'===c.type){var o=c.id,l=c.updatedId;if(o===l)return n;(n=f({},n)).attributes=(0,s.mapValues)(n.attributes,function(t,c){return'core/block'===n.byClientId[c].name&&t.ref===o?f(f({},t),{},{ref:l}):t})}return t(n,c)}},function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,l=t(n,o);if(l===n)return n;l.cache=n.cache?n.cache:{};var u=function(t){return t.reduce(function(t,c){var o=c;do{t.push(o),o=n.parents[o]}while(o&&!n.controlledInnerBlocks[o]);return t},[])};switch(o.type){case'RESET_BLOCKS':l.cache=(0,s.mapValues)(T(o.blocks),function(){return{}});break;case'RECEIVE_BLOCKS':case'INSERT_BLOCKS':var E=(0,s.keys)(T(o.blocks));o.rootClientId&&!n.controlledInnerBlocks[o.rootClientId]&&E.push(o.rootClientId),l.cache=f(f({},l.cache),b(u(E)));break;case'UPDATE_BLOCK':l.cache=f(f({},l.cache),b(u([o.clientId])));break;case'UPDATE_BLOCK_ATTRIBUTES':l.cache=f(f({},l.cache),b(u(o.clientIds)));break;case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':var I=b(u(o.replacedClientIds));l.cache=f(f(f({},(0,s.omit)(l.cache,o.replacedClientIds)),(0,s.omit)(I,o.replacedClientIds)),b((0,s.keys)(T(o.blocks))));break;case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':l.cache=f(f({},(0,s.omit)(l.cache,o.removedClientIds)),b((0,s.difference)(u(o.clientIds),o.clientIds)));break;case'MOVE_BLOCKS_TO_POSITION':var _=(0,c.default)(o.clientIds);o.fromRootClientId&&_.push(o.fromRootClientId),o.toRootClientId&&_.push(o.toRootClientId),l.cache=f(f({},l.cache),b(u(_)));break;case'MOVE_BLOCKS_UP':case'MOVE_BLOCKS_DOWN':var C=[];o.rootClientId&&C.push(o.rootClientId),l.cache=f(f({},l.cache),b(u(C)));break;case'SAVE_REUSABLE_BLOCK_SUCCESS':var S=(0,s.keys)((0,s.omitBy)(l.attributes,function(t,n){return'core/block'!==l.byClientId[n].name||t.ref!==o.updatedId}));l.cache=f(f({},l.cache),b(u(S)))}return l}},function(t){return function(n,o){var l=function(t){for(var l=t,s=0;s0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return v(n.blocks);case'RECEIVE_BLOCKS':case'INSERT_BLOCKS':return f(f({},t),v(n.blocks));case'UPDATE_BLOCK':if(!t[n.clientId])return t;var c=(0,s.omit)(n.updates,'attributes');return(0,s.isEmpty)(c)?t:f(f({},t),{},(0,l.default)({},n.clientId,f(f({},t[n.clientId]),c)));case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':return n.blocks?f(f({},(0,s.omit)(t,n.replacedClientIds)),v(n.blocks)):t;case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.omit)(t,n.removedClientIds)}return t},attributes:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return h(n.blocks);case'RECEIVE_BLOCKS':case'INSERT_BLOCKS':return f(f({},t),h(n.blocks));case'UPDATE_BLOCK':return t[n.clientId]&&n.updates.attributes?f(f({},t),{},(0,l.default)({},n.clientId,f(f({},t[n.clientId]),n.updates.attributes))):t;case'UPDATE_BLOCK_ATTRIBUTES':if(n.clientIds.every(function(n){return!t[n]}))return t;var c=n.clientIds.reduce(function(c,o){return f(f({},c),{},(0,l.default)({},o,(0,s.reduce)(n.attributes,function(n,c,l){var s,u;return c!==n[l]&&((n=(s=t[o])===(u=n)?f({},s):u)[l]=c),n},t[o])))},{});return n.clientIds.every(function(n){return c[n]===t[n]})?t:f(f({},t),c);case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':return n.blocks?f(f({},(0,s.omit)(t,n.replacedClientIds)),h(n.blocks)):t;case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.omit)(t,n.removedClientIds)}return t},order:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return S(n.blocks);case'RECEIVE_BLOCKS':return f(f({},t),(0,s.omit)(S(n.blocks),''));case'INSERT_BLOCKS':var o=n.rootClientId,u=void 0===o?'':o,E=t[u]||[],I=S(n.blocks,u),C=n.index,O=void 0===C?E.length:C;return f(f(f({},t),I),{},(0,l.default)({},u,(0,_.insertAt)(E,I[u],O)));case'MOVE_BLOCKS_TO_POSITION':var T,v=n.fromRootClientId,h=void 0===v?'':v,L=n.toRootClientId,p=void 0===L?'':L,B=n.clientIds,b=n.index,R=void 0===b?t[p].length:b;if(h===p){var N=t[p].indexOf(B[0]);return f(f({},t),{},(0,l.default)({},p,(0,_.moveTo)(t[p],N,R,B.length)))}return f(f({},t),{},(T={},(0,l.default)(T,h,s.without.apply(void 0,[t[h]].concat((0,c.default)(B)))),(0,l.default)(T,p,(0,_.insertAt)(t[p],B,R)),T));case'MOVE_BLOCKS_UP':var A=n.clientIds,k=n.rootClientId,y=void 0===k?'':k,K=(0,s.first)(A),P=t[y];if(!P.length||K===(0,s.first)(P))return t;var M=P.indexOf(K);return f(f({},t),{},(0,l.default)({},y,(0,_.moveTo)(P,M,M-1,A.length)));case'MOVE_BLOCKS_DOWN':var D=n.clientIds,U=n.rootClientId,G=void 0===U?'':U,V=(0,s.first)(D),H=(0,s.last)(D),w=t[G];if(!w.length||H===(0,s.last)(w))return t;var W=w.indexOf(V);return f(f({},t),{},(0,l.default)({},G,(0,_.moveTo)(w,W,W+1,D.length)));case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':var j=n.clientIds;if(!n.blocks)return t;var x=S(n.blocks);return(0,s.flow)([function(t){return(0,s.omit)(t,n.replacedClientIds)},function(t){return f(f({},t),(0,s.omit)(x,''))},function(t){return(0,s.mapValues)(t,function(t){return(0,s.reduce)(t,function(t,n){return n===j[0]?[].concat((0,c.default)(t),(0,c.default)(x[''])):(-1===j.indexOf(n)&&t.push(n),t)},[])})}])(t);case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.flow)([function(t){return(0,s.omit)(t,n.removedClientIds)},function(t){return(0,s.mapValues)(t,function(t){return s.without.apply(void 0,[t].concat((0,c.default)(n.removedClientIds)))})}])(t)}return t},parents:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RESET_BLOCKS':return O(n.blocks);case'RECEIVE_BLOCKS':return f(f({},t),O(n.blocks));case'INSERT_BLOCKS':return f(f({},t),O(n.blocks,n.rootClientId||''));case'MOVE_BLOCKS_TO_POSITION':return f(f({},t),n.clientIds.reduce(function(t,c){return t[c]=n.toRootClientId||'',t},{}));case'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':return f(f({},(0,s.omit)(t,n.replacedClientIds)),O(n.blocks,t[n.clientIds[0]]));case'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':return(0,s.omit)(t,n.removedClientIds)}return t},controlledInnerBlocks:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,c=n.type,o=n.clientId,s=n.hasControlledInnerBlocks;return'SET_HAS_CONTROLLED_INNER_BLOCKS'===c?f(f({},t),{},(0,l.default)({},o,s)):t}});function N(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'START_TYPING':return!0;case'STOP_TYPING':return!1}return t}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'START_DRAGGING_BLOCKS':return n.clientIds;case'STOP_DRAGGING_BLOCKS':return[]}return t}function k(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'ENTER_FORMATTED_TEXT':return!0;case'EXIT_FORMATTED_TEXT':return!1}return t}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'CLEAR_SELECTED_BLOCK':return t.clientId?{}:t;case'SELECT_BLOCK':return n.clientId===t.clientId?t:{clientId:n.clientId};case'REPLACE_INNER_BLOCKS':case'INSERT_BLOCKS':return n.updateSelection&&n.blocks.length?{clientId:n.blocks[0].clientId}:t;case'REMOVE_BLOCKS':return n.clientIds&&n.clientIds.length&&-1!==n.clientIds.indexOf(t.clientId)?{}:t;case'REPLACE_BLOCKS':if(-1===n.clientIds.indexOf(t.clientId))return t;var c=n.indexToSelect||n.blocks.length-1,o=n.blocks[c];if(!o)return{};if(o.clientId===t.clientId)return t;var l={clientId:o.clientId};return'number'==typeof n.initialPosition&&(l.initialPosition=n.initialPosition),l}return t}function K(){var t,n,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'SELECTION_CHANGE':return{selectionStart:{clientId:o.clientId,attributeKey:o.attributeKey,offset:o.startOffset},selectionEnd:{clientId:o.clientId,attributeKey:o.attributeKey,offset:o.endOffset}};case'RESET_SELECTION':return{selectionStart:o.selectionStart,selectionEnd:o.selectionEnd};case'MULTI_SELECT':return{selectionStart:{clientId:o.start},selectionEnd:{clientId:o.end}};case'RESET_BLOCKS':var l=null==c?void 0:null==(t=c.selectionStart)?void 0:t.clientId,s=null==c?void 0:null==(n=c.selectionEnd)?void 0:n.clientId;if(!l&&!s)return c;if(!o.blocks.some(function(t){return t.clientId===l}))return{selectionStart:{},selectionEnd:{}};if(!o.blocks.some(function(t){return t.clientId===s}))return f(f({},c),{},{selectionEnd:c.selectionStart})}return{selectionStart:y(c.selectionStart,o),selectionEnd:y(c.selectionEnd,o)}}function P(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'START_MULTI_SELECT':return!0;case'STOP_MULTI_SELECT':return!1}return t}function M(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'TOGGLE_SELECTION':return n.isSelectionEnabled}return t}function D(t,n){return'REPLACE_BLOCKS'===n.type&&'number'==typeof n.initialPosition?n.initialPosition:'SELECT_BLOCK'===n.type?n.initialPosition:'REMOVE_BLOCKS'===n.type?t:'START_TYPING'===n.type?t:void 0}function U(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if('TOGGLE_BLOCK_MODE'===n.type){var c=n.clientId;return f(f({},t),{},(0,l.default)({},c,t[c]&&'html'===t[c]?'visual':'html'))}return t}function G(t,n,c){switch(n.type){case'CLEAR_SELECTED_BLOCK':case'SELECT_BLOCK':case'SELECTION_CHANGE':case'REPLACE_INNER_BLOCKS':case'INSERT_BLOCKS':case'REMOVE_BLOCKS':case'REPLACE_BLOCKS':return c}return t}function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_INSERTION_POINT':case'SHOW_INSERTION_POINT':return{rootClientId:n.rootClientId,index:n.index}}return G(t,n,null)}function H(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SHOW_INSERTION_POINT':return!0;case'HIDE_INSERTION_POINT':return!1}return G(t,n,!1)}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_TEMPLATE_VALIDITY':return f(f({},t),{},{isValid:n.isValid})}return t}function W(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I.SETTINGS_DEFAULTS,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'UPDATE_SETTINGS':return f(f({},t),n.settings)}return t}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I.PREFERENCES_DEFAULTS,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'INSERT_BLOCKS':case'REPLACE_BLOCKS':return n.blocks.reduce(function(t,c){var o=c.attributes,s=c.name,u=(0,E.getBlockVariations)(s),I=null==u?void 0:u.find(function(t){return null==t.isActive?void 0:t.isActive(o,t.attributes)}),_=(null==I?void 0:I.name)?s+"/"+I.name:s,C={name:_};return'core/block'===s&&(C.ref=o.ref,_+='/'+o.ref),f(f({},t),{},{insertUsage:f(f({},t.insertUsage),{},(0,l.default)({},_,{time:n.time,count:t.insertUsage[_]?t.insertUsage[_].count+1:1,insert:C}))})},t)}return t}e.blocks=R;var x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'REPLACE_BLOCKS':case'REMOVE_BLOCKS':return(0,s.omit)(t,n.clientIds);case'UPDATE_BLOCK_LIST_SETTINGS':var c=n.clientId;return n.settings?(0,s.isEqual)(t[c],n.settings)?t:f(f({},t),{},(0,l.default)({},c,n.settings)):t.hasOwnProperty(c)?(0,s.omit)(t,c):t}return t};function F(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;return'INSERT_BLOCKS'!==n.type&&('SET_NAVIGATION_MODE'===n.type?n.isNavigationMode:t)}function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;return'SET_BLOCK_MOVING_MODE'===n.type?n.hasBlockMovingClientId:'SET_NAVIGATION_MODE'===n.type?null:t}function X(t,n){switch(n.type){case'UPDATE_BLOCK':if(!n.updates.attributes)break;return(0,l.default)({},n.clientId,n.updates.attributes);case'UPDATE_BLOCK_ATTRIBUTES':return n.clientIds.reduce(function(t,c){return f(f({},t),{},(0,l.default)({},c,n.attributes))},{})}return null}function q(t,n){switch(n.type){case'MARK_AUTOMATIC_CHANGE':return'pending';case'MARK_AUTOMATIC_CHANGE_FINAL':return'pending'===t?'final':void 0;case'SELECTION_CHANGE':return'final'!==t?t:void 0;case'START_TYPING':case'STOP_TYPING':return t}}function z(t,n){switch(n.type){case'TOGGLE_BLOCK_HIGHLIGHT':var c=n.clientId;return n.isHighlighted?c:t===c?null:t;case'SELECT_BLOCK':if(n.clientId!==t)return null}return t}e.blockListSettings=x;var J=(0,u.combineReducers)({blocks:R,isTyping:N,draggedBlocks:A,isCaretWithinFormattedText:k,selection:K,isMultiSelecting:P,isSelectionEnabled:M,initialPosition:D,blocksMode:U,blockListSettings:x,insertionPoint:V,insertionPointVisibility:H,template:w,settings:W,preferences:j,lastBlockAttributesChange:X,isNavigationMode:F,hasBlockMovingClientId:Y,automaticChangeStatus:q,highlightedBlock:z});e.default=J},2239,[5,67,14,24,66,1068,1076,1223,2240,2242]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PREFERENCES_DEFAULTS",{enumerable:!0,get:function(){return o.PREFERENCES_DEFAULTS}}),e.SETTINGS_DEFAULTS=void 0;var n=t(r(d[1])),o=r(d[2]);function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function O(t){for(var o=1;o3&&void 0!==arguments[3]?arguments[3]:1,f=(0,n.default)(t);return f.splice(c,o),l(f,t.slice(c,c+o),u)};var n=t(r(d[1])),c=r(d[2]);function l(t,l,u){return[].concat((0,n.default)(t.slice(0,u)),(0,n.default)((0,c.castArray)(l)),(0,n.default)(t.slice(u)))}},2242,[5,14,1068]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockName=h,e.isBlockValid=function(t,n){var l=t.blocks.byClientId[n];return!!l&&l.isValid},e.getBlockAttributes=S,e.getBlockCount=function(t,n){return U(t,n).length},e.getSelectionStart=function(t){return t.selection.selectionStart},e.getSelectionEnd=function(t){return t.selection.selectionEnd},e.getBlockSelectionStart=function(t){return t.selection.selectionStart.clientId},e.getBlockSelectionEnd=function(t){return t.selection.selectionEnd.clientId},e.getSelectedBlockCount=function(t){var n=V(t).length;if(n)return n;return t.selection.selectionStart.clientId?1:0},e.hasSelectedBlock=function(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd;return!!l.clientId&&l.clientId===o.clientId},e.getSelectedBlockClientId=M,e.getSelectedBlock=function(t){var n=M(t);return n?C(t,n):null},e.getBlockRootClientId=L,e.getBlockHierarchyRootClientId=function(t,n){var l,o=n;do{l=o,o=t.blocks.parents[o]}while(o);return l},e.getLowestCommonAncestorWithSelectedBlock=function(t,n){for(var o,c=M(t),u=[].concat((0,l.default)(G(t,n)),[n]),s=[].concat((0,l.default)(G(t,c)),[c]),f=Math.min(u.length,s.length),k=0;k2&&void 0!==arguments[2]&&arguments[2];return(0,c.some)(U(n,l),function(l){return $(n,l)||z(n,l)||o&&t(n,l,o)})},e.isBlockWithinSelection=function(t,n){if(!n)return!1;var l=V(t),o=l.indexOf(n);return o>-1&&o2&&void 0!==arguments[2]?arguments[2]:null;return n.every(function(n){return Y(t,h(t,n),l)})},e.getBlockListSettings=ue,e.getSettings=se,e.isLastBlockChangePersistent=function(t){return t.blocks.isPersistentChange},e.__unstableIsLastBlockChangeIgnored=function(t){return t.blocks.isIgnoredChange},e.__experimentalGetLastBlockAttributeChanges=function(t){return t.lastBlockAttributesChange},e.isNavigationMode=function(t){return t.isNavigationMode},e.hasBlockMovingClientId=function(t){return t.hasBlockMovingClientId},e.didAutomaticChange=function(t){return!!t.automaticChangeStatus},e.isBlockHighlighted=function(t,n){return t.highlightedBlock===n},e.areInnerBlocksControlled=ge,e.__experimentalGetActiveBlockIdByBlockNames=e.__experimentalGetReusableBlockTitle=e.__experimentalGetParsedReusableBlock=e.__experimentalGetBlockListSettingsForBlocks=e.__experimentalGetAllowedBlocks=e.hasInserterItems=e.getBlockTransformItems=e.getInserterItems=e.canInsertBlockType=e.isAncestorMultiSelected=e.getMultiSelectedBlocks=e.getSelectedBlockClientIds=e.getBlockParentsByBlockName=e.getBlockParents=e.getBlocksByClientId=e.getGlobalBlockCount=e.getClientIdsWithDescendants=e.getClientIdsOfDescendants=e.__unstableGetBlockTree=e.__unstableGetBlockWithBlockTree=e.getBlocks=e.__unstableGetBlockWithoutInnerBlocks=e.getBlock=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),u=t(r(d[5])),s=r(d[6]),f=r(d[7]);function k(t,n){var l;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(l=v(t))||n&&t&&"number"==typeof t.length){l&&(t=l);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(l=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(l)}function v(t,n){if(t){if("string"==typeof t)return b(t,n);var l=Object.prototype.toString.call(t).slice(8,-1);return"Object"===l&&t.constructor&&(l=t.constructor.name),"Map"===l||"Set"===l?Array.from(t):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var l=0,o=new Array(n);l1&&void 0!==arguments[1]?arguments[1]:'';return(0,c.map)(U(t,n),function(n){return T(t,n)})},function(t){return[t.blocks.byClientId,t.blocks.order,t.blocks.attributes]});e.__unstableGetBlockTree=x;var O=function t(n,o){return(0,c.flatMap)(o,function(o){var c=U(n,o);return[].concat((0,l.default)(c),(0,l.default)(t(n,c)))})};e.getClientIdsOfDescendants=O;var P=(0,u.default)(function(t){var n=U(t);return[].concat((0,l.default)(n),(0,l.default)(O(t,n)))},function(t){return[t.blocks.order]});e.getClientIdsWithDescendants=P;var A=(0,u.default)(function(t,n){var l=P(t);return n?(0,c.reduce)(l,function(l,o){return t.blocks.byClientId[o].name===n?l+1:l},0):l.length},function(t){return[t.blocks.order,t.blocks.byClientId]});e.getGlobalBlockCount=A;var E=(0,u.default)(function(t,n){return(0,c.map)((0,c.castArray)(n),function(n){return C(t,n)})},function(t){return[t.blocks.byClientId,t.blocks.order,t.blocks.attributes]});function M(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd,c=l.clientId;return c&&c===o.clientId?c:null}function L(t,n){return void 0!==t.blocks.parents[n]?t.blocks.parents[n]:null}e.getBlocksByClientId=E;var G=(0,u.default)(function(t,n){for(var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=[],c=n;t.blocks.parents[c];)c=t.blocks.parents[c],o.push(c);return l?o:o.reverse()},function(t){return[t.blocks.parents]});e.getBlockParents=G;var j=(0,u.default)(function(t,n,l){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=G(t,n,o);return(0,c.map)((0,c.filter)((0,c.map)(u,function(n){return{id:n,name:h(t,n)}}),function(t){var n=t.name;return Array.isArray(l)?l.includes(n):n===l}),function(t){return t.id})},function(t){return[t.blocks.parents]});function D(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===n&&(n=M(t)),void 0===n&&(n=l<0?R(t):F(t)),!n)return null;var o=L(t,n);if(null===o)return null;var c=t.blocks.order[o],u=c.indexOf(n)+1*l;return u<0?null:u===c.length?null:c[u]}e.getBlockParentsByBlockName=j;var W=(0,u.default)(function(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd;if(void 0===l.clientId||void 0===o.clientId)return y;if(l.clientId===o.clientId)return[l.clientId];var c=L(t,l.clientId);if(null===c)return y;var u=U(t,c),s=u.indexOf(l.clientId),f=u.indexOf(o.clientId);return s>f?u.slice(f,s+1):u.slice(s,f+1)},function(t){return[t.blocks.order,t.selection.selectionStart.clientId,t.selection.selectionEnd.clientId]});function V(t){var n=t.selection,l=n.selectionStart,o=n.selectionEnd;return l.clientId===o.clientId?y:W(t)}e.getSelectedBlockClientIds=W;var N=(0,u.default)(function(t){var n=V(t);return n.length?n.map(function(n){return C(t,n)}):y},function(t){return[].concat((0,l.default)(W.getDependants(t)),[t.blocks.byClientId,t.blocks.order,t.blocks.attributes])});function R(t){return(0,c.first)(V(t))||null}function F(t){return(0,c.last)(V(t))||null}function z(t,n){return-1!==V(t).indexOf(n)}e.getMultiSelectedBlocks=N;var H=(0,u.default)(function(t,n){for(var l=n,o=!1;l&&!o;)o=z(t,l=L(t,l));return o},function(t){return[t.blocks.order,t.selection.selectionStart.clientId,t.selection.selectionEnd.clientId]});function U(t,n){return t.blocks.order[n||'']||y}function K(t,n,l){return U(t,l).indexOf(n)}function $(t,n){var l=t.selection,o=l.selectionStart,c=l.selectionEnd;return o.clientId===c.clientId&&o.clientId===n}function q(t){return!!t.draggedBlocks.length}function J(t,n){return t.draggedBlocks.includes(n)}function Q(t,n){if(!n)return t.settings.templateLock;var l=ue(t,n);return l?l.templateLock:null}e.isAncestorMultiSelected=H;var X=function(t,n){var l,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=function(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(0,c.isBoolean)(t)?t:(0,c.isArray)(t)?!(!t.includes('core/post-content')||null!==n)||t.includes(n):l};if(n&&'object'==typeof n?n=(l=n).name:l=(0,s.getBlockType)(n),!l)return!1;if(!u(se(t).allowedBlockTypes,n,!0))return!1;if(!!Q(t,o))return!1;var f=ue(t,o);if(o&&void 0===f)return!1;var k=u(null==f?void 0:f.allowedBlocks,n),v=u(l.parent,h(t,o));return null!==k&&null!==v?k||v:null!==k?k:null===v||v},Y=(0,u.default)(X,function(t,n,l){return[t.blockListSettings[l],t.blocks.byClientId[l],t.settings.allowedBlockTypes,t.settings.templateLock]});function Z(t,n){var l,o;return null!=(l=null==(o=t.preferences.insertUsage)?void 0:o[n])?l:null}e.canInsertBlockType=Y;var ee=function(t,n,l){return!!(0,s.hasBlockSupport)(n,'inserter',!0)&&X(t,n.name,l)},te=function(t,n){return function(l){var o=n.id+"/"+l.name,c=Z(t,o)||{},u=c.time,s=c.count,f=void 0===s?0:s;return p(p({},n),{},{id:o,icon:l.icon||n.icon,title:l.title||n.title,description:l.description||n.description,category:l.category||n.category,example:l.hasOwnProperty('example')?l.example:n.example,initialAttributes:p(p({},n.initialAttributes),l.attributes),innerBlocks:l.innerBlocks,keywords:l.keywords||n.keywords,frecency:ne(u,f)})}},ne=function(t,n){if(!t)return n;var l=Date.now()-t;switch(!0){case l<36e5:return 4*n;case l<864e5:return 2*n;case l<6048e5:return n/2;default:return n/4}},re=function(t,n){var l=n.buildScope,o=void 0===l?'inserter':l;return function(n){var l=n.name,u=!1;(0,s.hasBlockSupport)(n.name,'multiple',!0)||(u=(0,c.some)(E(t,P(t)),{name:n.name}));var f=Z(t,l)||{},k=f.time,v=f.count,b=void 0===v?0:v,B={id:l,name:n.name,title:n.title,icon:n.icon,isDisabled:u,frecency:ne(k,b)};if('transform'===o)return B;var I=n.variations.filter(function(t){var n=t.scope;return!n||n.includes('inserter')});return p(p({},B),{},{initialAttributes:{},description:n.description,category:n.category,keywords:n.keywords,variations:I,example:n.example,utility:1})}},le=(0,u.default)(function(t){for(var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=re(t,{buildScope:'inserter'}),u=(0,s.getBlockTypes)().filter(function(n){return ee(t,n,o)}).map(c),f=X(t,'core/block',o)?ke(t).map(function(n){var l,o="core/block/"+n.id,c=de(t,n.id);1===c.length&&(l=(0,s.getBlockType)(c[0].name));var u=Z(t,o)||{},f=u.time,k=u.count,v=ne(f,void 0===k?0:k);return{id:o,name:'core/block',initialAttributes:{ref:n.id},title:n.title.raw,icon:l?l.icon:I,category:'reusable',keywords:[],isDisabled:!1,utility:1,frecency:v}}):[],v=u.filter(function(t){var n=t.variations;return!(void 0===n?[]:n).some(function(t){return t.isDefault})}),b=[],B=k(u);!(n=B()).done;){var p=n.value,y=p.variations,h=void 0===y?[]:y;if(h.length){var S=te(t,p);b.push.apply(b,(0,l.default)(h.map(S)))}}return[].concat((0,l.default)(v),b,(0,l.default)(f))},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.blocks.order,t.preferences.insertUsage,t.settings.allowedBlockTypes,t.settings.templateLock,ke(t),(0,s.getBlockTypes)()]});e.getInserterItems=le;var ie=(0,u.default)(function(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=re(t,{buildScope:'transform'}),u=(0,s.getBlockTypes)().filter(function(n){return ee(t,n,l)}).map(o),f=(0,c.mapKeys)(u,function(t){return t.name}),k=(0,s.getPossibleBlockTransformations)(n).reduce(function(t,n){return f[null==n?void 0:n.name]&&t.push(f[n.name]),t},[]);return(0,c.orderBy)(k,function(t){return f[t.name].frecency},'desc')},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.preferences.insertUsage,t.settings.allowedBlockTypes,t.settings.templateLock,(0,s.getBlockTypes)()]});e.getBlockTransformItems=ie;var oe=(0,u.default)(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!(0,c.some)((0,s.getBlockTypes)(),function(l){return ee(t,l,n)})||X(t,'core/block',n)&&ke(t).length>0},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.settings.allowedBlockTypes,t.settings.templateLock,ke(t),(0,s.getBlockTypes)()]});e.hasInserterItems=oe;var ce=(0,u.default)(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(n)return(0,c.filter)((0,s.getBlockTypes)(),function(l){return ee(t,l,n)})},function(t,n){return[t.blockListSettings[n],t.blocks.byClientId,t.settings.allowedBlockTypes,t.settings.templateLock,(0,s.getBlockTypes)()]});function ue(t,n){return t.blockListSettings[n]}function se(t){return t.settings}e.__experimentalGetAllowedBlocks=ce;var ae=(0,u.default)(function(t,n){return(0,c.filter)(t.blockListSettings,function(t,l){return n.includes(l)})},function(t){return[t.blockListSettings]});e.__experimentalGetBlockListSettingsForBlocks=ae;var de=(0,u.default)(function(t,n){var l=(0,c.find)(ke(t),function(t){return t.id===n});return l?(0,s.parse)('string'==typeof l.content.raw?l.content.raw:l.content):null},function(t){return[ke(t)]});e.__experimentalGetParsedReusableBlock=de;var fe=(0,u.default)(function(t,n){var l,o=(0,c.find)(ke(t),function(t){return t.id===n});return o?null==(l=o.title)?void 0:l.raw:null},function(t){return[ke(t)]});function ke(t){var n,l;return null!=(n=null==t?void 0:null==(l=t.settings)?void 0:l.__experimentalReusableBlocks)?n:y}function ge(t,n){return!!t.blocks.controlledInnerBlocks[n]}e.__experimentalGetReusableBlockTitle=fe;var ve=(0,u.default)(function(t,n){if(!n.length)return null;var l=M(t);if(n.includes(h(t,l)))return l;var o=V(t),u=j(t,l||o[0],n);return u?(0,c.last)(u):null},function(t,n){return[t.selection.selectionStart.clientId,t.selection.selectionEnd.clientId,n]});e.__experimentalGetActiveBlockIdByBlockNames=ve},2243,[5,946,14,66,1068,1175,1223,1699]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.resetBlocks=W,e.validateBlocksToTemplate=Y,e.resetSelection=function(t,n){return{type:'RESET_SELECTION',selectionStart:t,selectionEnd:n}},e.receiveBlocks=function(t){return{type:'RECEIVE_BLOCKS',blocks:t}},e.updateBlockAttributes=function(t,n){return{type:'UPDATE_BLOCK_ATTRIBUTES',clientIds:(0,s.castArray)(t),attributes:n}},e.updateBlock=function(t,n){return{type:'UPDATE_BLOCK',clientId:t,updates:n}},e.selectBlock=F,e.selectPreviousBlock=X,e.selectNextBlock=z,e.startMultiSelect=function(){return{type:'START_MULTI_SELECT'}},e.stopMultiSelect=function(){return{type:'STOP_MULTI_SELECT'}},e.multiSelect=Z,e.clearSelectedBlock=function(){return{type:'CLEAR_SELECTED_BLOCK'}},e.toggleSelection=function(){return{type:'TOGGLE_SELECTION',isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}},e.replaceBlocks=q,e.replaceBlock=function(t,n){return q(t,n)},e.moveBlocksToPosition=te,e.moveBlockToPosition=re,e.insertBlock=ne,e.insertBlocks=oe,e.__unstableSetInsertionPoint=function(t,n){return{type:'SET_INSERTION_POINT',rootClientId:t,index:n}},e.showInsertionPoint=function(t,n){return{type:'SHOW_INSERTION_POINT',rootClientId:t,index:n}},e.hideInsertionPoint=function(){return{type:'HIDE_INSERTION_POINT'}},e.setTemplateValidity=ce,e.synchronizeTemplate=ae,e.mergeBlocks=se,e.removeBlocks=ue,e.removeBlock=function(t,n){return ue([t],n)},e.replaceInnerBlocks=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:'REPLACE_INNER_BLOCKS',rootClientId:t,blocks:n,updateSelection:o,time:Date.now()}},e.toggleBlockMode=function(t){return{type:'TOGGLE_BLOCK_MODE',clientId:t}},e.startTyping=function(){return{type:'START_TYPING'}},e.stopTyping=function(){return{type:'STOP_TYPING'}},e.startDraggingBlocks=function(){return{type:'START_DRAGGING_BLOCKS',clientIds:arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]}},e.stopDraggingBlocks=function(){return{type:'STOP_DRAGGING_BLOCKS'}},e.enterFormattedText=function(){return{type:'ENTER_FORMATTED_TEXT'}},e.exitFormattedText=function(){return{type:'EXIT_FORMATTED_TEXT'}},e.selectionChange=ie,e.insertDefaultBlock=le,e.updateBlockListSettings=function(t,n){return{type:'UPDATE_BLOCK_LIST_SETTINGS',clientId:t,settings:n}},e.updateSettings=function(t){return{type:'UPDATE_SETTINGS',settings:t}},e.__unstableSaveReusableBlock=function(t,n){return{type:'SAVE_REUSABLE_BLOCK_SUCCESS',id:t,updatedId:n}},e.__unstableMarkLastChangeAsPersistent=function(){return{type:'MARK_LAST_CHANGE_AS_PERSISTENT'}},e.__unstableMarkNextChangeAsNotPersistent=function(){return{type:'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT'}},e.__unstableMarkAutomaticChange=de,e.__unstableMarkAutomaticChangeFinal=function(){return{type:'MARK_AUTOMATIC_CHANGE_FINAL'}},e.setNavigationMode=pe,e.setBlockMovingClientId=fe,e.duplicateBlocks=ke,e.insertBeforeBlock=be,e.insertAfterBlock=xe,e.toggleBlockHighlight=ge,e.flashBlock=Te,e.setHasControlledInnerBlocks=function(t,n){return{type:'SET_HAS_CONTROLLED_INNER_BLOCKS',hasControlledInnerBlocks:n,clientId:t}},e.moveBlocksUp=e.moveBlocksDown=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),s=r(d[4]),u=r(d[5]),l=r(d[6]),p=r(d[7]),f=r(d[8]),k=r(d[9]),b=r(d[10]);function x(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=T(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var c=0;return function(){return c>=t.length?{done:!0}:{done:!1,value:t[c++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function T(t,n){if(t){if("string"==typeof t)return v(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(t,n):void 0}}function v(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,c=new Array(n);o1&&void 0!==arguments[1]?arguments[1]:null,clientId:t}}function X(t){var n;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,f.controls.select('core/block-editor','getPreviousBlockClientId',t);case 2:if(!(n=o.sent)){o.next=7;break}return o.next=6,F(n,-1);case 6:return o.abrupt("return",[n]);case 7:case"end":return o.stop()}},E)}function z(t){var n;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,f.controls.select('core/block-editor','getNextBlockClientId',t);case 2:if(!(n=o.sent)){o.next=7;break}return o.next=6,F(n);case 6:return o.abrupt("return",[n]);case 7:case"end":return o.stop()}},B)}function Z(t,n){var o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,{type:'MULTI_SELECT',start:t,end:n};case 2:return c.next=4,f.controls.select('core/block-editor','getSelectedBlockCount');case 4:o=c.sent,(0,l.speak)((0,p.sprintf)((0,p._n)('%s block selected.','%s blocks selected.',o),o),'assertive');case 6:case"end":return c.stop()}},O)}function $(t,n){var o,c,s=null!=(o=null==n?void 0:null==(c=n.__experimentalPreferredStyleVariations)?void 0:c.value)?o:{};return t.map(function(t){var n,o=t.name;if(!(0,u.hasBlockSupport)(o,'defaultStylePicker',!0))return t;if(!s[o])return t;var c=null==(n=t.attributes)?void 0:n.className;if(null==c?void 0:c.includes('is-style-'))return t;var l=t.attributes,p=void 0===l?{}:l,f=s[o];return y(y({},t),{},{attributes:y(y({},p),{},{className:((c||'')+" is-style-"+f).trim()})})})}function q(t,n,o,u,l){var p,k,b;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return t=(0,s.castArray)(t),c.t0=$,c.t1=(0,s.castArray)(n),c.next=5,f.controls.select('core/block-editor','getSettings');case 5:return c.t2=c.sent,n=(0,c.t0)(c.t1,c.t2),c.next=9,f.controls.select('core/block-editor','getBlockRootClientId',(0,s.first)(t));case 9:p=c.sent,k=0;case 11:if(!(k1&&void 0!==p[1]?p[1]:'',o=p.length>2&&void 0!==p[2]?p[2]:'',s=p.length>3?p[3]:void 0,c.next=5,f.controls.select('core/block-editor','getTemplateLock',n);case 5:if('all'!==(u=c.sent)){c.next=8;break}return c.abrupt("return");case 8:if(l={type:'MOVE_BLOCKS_TO_POSITION',fromRootClientId:n,toRootClientId:o,clientIds:t,index:s},n!==o){c.next=13;break}return c.next=12,l;case 12:return c.abrupt("return");case 13:if('insert'!==u){c.next=15;break}return c.abrupt("return");case 15:return c.next=17,f.controls.select('core/block-editor','canInsertBlocks',t,o);case 17:if(!c.sent){c.next=21;break}return c.next=21,l;case 21:case"end":return c.stop()}},w)}function re(t){var n,o,s,u=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return n=u.length>1&&void 0!==u[1]?u[1]:'',o=u.length>2&&void 0!==u[2]?u[2]:'',s=u.length>3?u[3]:void 0,c.next=5,te([t],n,o,s);case 5:case"end":return c.stop()}},A)}function ne(t,n,o){return oe([t],n,o,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function oe(t,n,o){var u,l,p,k,b,T,v=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return u=!(v.length>3&&void 0!==v[3])||v[3],l=v.length>4?v[4]:void 0,c.t0=$,c.t1=(0,s.castArray)(t),c.next=6,f.controls.select('core/block-editor','getSettings');case 6:c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),p=[],k=x(t);case 10:if((b=k()).done){c.next=18;break}return T=b.value,c.next=14,f.controls.select('core/block-editor','canInsertBlockType',T.name,o);case 14:c.sent&&p.push(T);case 16:c.next=10;break;case 18:if(!p.length){c.next=20;break}return c.abrupt("return",{type:'INSERT_BLOCKS',blocks:p,index:n,rootClientId:o,time:Date.now(),updateSelection:u,meta:l});case 20:case"end":return c.stop()}},L)}function ce(t){return{type:'SET_TEMPLATE_VALIDITY',isValid:t}}function ae(){var t,n,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,{type:'SYNCHRONIZE_TEMPLATE'};case 2:return c.next=4,f.controls.select('core/block-editor','getBlocks');case 4:return t=c.sent,c.next=7,f.controls.select('core/block-editor','getTemplate');case 7:return n=c.sent,o=(0,u.synchronizeBlocksWithTemplate)(t,n),c.next=11,W(o);case 11:return c.abrupt("return",c.sent);case 12:case"end":return c.stop()}},N)}function se(t,o){var l,p,b,x,T,v,_,S,h,I,E,B,O,C,w,A,L,N,R,M,D,K,G,U,H,j,V,W,Y,X,z,Z,$,J;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return l=[t,o],c.next=3,{type:'MERGE_BLOCKS',blocks:l};case 3:return p=l[0],b=l[1],c.next=6,f.controls.select('core/block-editor','getBlock',p);case 6:if(x=c.sent,(T=(0,u.getBlockType)(x.name)).merge){c.next=12;break}return c.next=11,F(x.clientId);case 11:return c.abrupt("return");case 12:return c.next=14,f.controls.select('core/block-editor','getBlock',b);case 14:return v=c.sent,_=(0,u.getBlockType)(v.name),c.next=18,f.controls.select('core/block-editor','getSelectionStart');case 18:if(S=c.sent,h=S.clientId,I=S.attributeKey,E=S.offset,B=(h===p?T:_).attributes[I],O=(h===p||h===b)&&void 0!==I&&void 0!==E&&!!B,B||('number'==typeof I?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was "+typeof I):window.console.error('The RichText identifier prop does not match any attributes defined by the block.')),C="\x86",w=(0,u.cloneBlock)(x),A=(0,u.cloneBlock)(v),O&&(N=(L=h===p?w:A).attributes[I],R=B.multiline,M=B.__unstableMultilineWrapperTags,D=B.__unstablePreserveWhiteSpace,K=(0,k.insert)((0,k.create)({html:N,multilineTag:R,multilineWrapperTags:M,preserveWhiteSpace:D}),C,E,E),L.attributes[I]=(0,k.toHTMLString)({value:K,multilineTag:R,preserveWhiteSpace:D})),(G=x.name===v.name?[A]:(0,u.switchToBlockType)(A,x.name))&&G.length){c.next=33;break}return c.abrupt("return");case 33:if(U=T.merge(w.attributes,G[0].attributes),!O){c.next=45;break}return H=(0,s.findKey)(U,function(t){return'string'==typeof t&&-1!==t.indexOf(C)}),j=U[H],V=T.attributes[H],W=V.multiline,Y=V.__unstableMultilineWrapperTags,X=V.__unstablePreserveWhiteSpace,z=(0,k.create)({html:j,multilineTag:W,multilineWrapperTags:Y,preserveWhiteSpace:X}),Z=z.text.indexOf(C),$=(0,k.remove)(z,Z,Z+1),J=(0,k.toHTMLString)({value:$,multilineTag:W,preserveWhiteSpace:X}),U[H]=J,c.next=45,ie(x.clientId,H,Z,Z);case 45:return c.delegateYield(q([x.clientId,v.clientId],[y(y({},x),{},{attributes:y(y({},x.attributes),U)})].concat((0,n.default)(G.slice(1)))),"t0",46);case 46:case"end":return c.stop()}},P)}function ue(t){var n,o,u,l,p=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(n=!(p.length>1&&void 0!==p[1])||p[1],t&&t.length){c.next=3;break}return c.abrupt("return");case 3:return t=(0,s.castArray)(t),c.next=6,f.controls.select('core/block-editor','getBlockRootClientId',t[0]);case 6:return o=c.sent,c.next=9,f.controls.select('core/block-editor','getTemplateLock',o);case 9:if(!c.sent){c.next=12;break}return c.abrupt("return");case 12:if(!n){c.next=18;break}return c.next=15,X(t[0]);case 15:u=c.sent,c.next=21;break;case 18:return c.next=20,f.controls.select('core/block-editor','getPreviousBlockClientId',t[0]);case 20:u=c.sent;case 21:return c.next=23,{type:'REMOVE_BLOCKS',clientIds:t};case 23:return c.delegateYield(V(),"t0",24);case 24:return l=c.t0,c.abrupt("return",[u||l]);case 26:case"end":return c.stop()}},R)}function ie(t,n,o,c){return{type:'SELECTION_CHANGE',clientId:t,attributeKey:n,startOffset:o,endOffset:c}}function le(t,n,o){var c=(0,u.getDefaultBlockName)();if(c)return ne((0,u.createBlock)(c,t),o,n)}function de(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:'MARK_AUTOMATIC_CHANGE'};case 2:return t.next=4,(0,b.__unstableMarkAutomaticChangeFinalControl)();case 4:case"end":return t.stop()}},M)}function pe(){var t,n=arguments;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=!(n.length>0&&void 0!==n[0])||n[0],o.next=3,{type:'SET_NAVIGATION_MODE',isNavigationMode:t};case 3:t?(0,l.speak)((0,p.__)('You are currently in navigation mode. Navigate blocks using the Tab key and Arrow keys. Use Left and Right Arrow keys to move between nesting levels. To exit navigation mode and edit the selected block, press Enter.')):(0,l.speak)((0,p.__)('You are currently in edit mode. To return to the navigation mode, press Escape.'));case 4:case"end":return o.stop()}},D)}function fe(){var t,n=arguments;return c.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:null,o.next=3,{type:'SET_BLOCK_MOVING_MODE',hasBlockMovingClientId:t};case 3:t&&(0,l.speak)((0,p.__)('Use the Tab key and Arrow keys to choose new block location. Use Left and Right Arrow keys to move between nesting levels. Once location is selected press Enter or Space to move the block.'));case 4:case"end":return o.stop()}},K)}function ke(t){var n,o,l,p,k,b,x=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(n=!(x.length>1&&void 0!==x[1])||x[1],t||t.length){c.next=3;break}return c.abrupt("return");case 3:return c.next=5,f.controls.select('core/block-editor','getBlocksByClientId',t);case 5:return o=c.sent,c.next=8,f.controls.select('core/block-editor','getBlockRootClientId',t[0]);case 8:if(l=c.sent,!(0,s.some)(o,function(t){return!t})){c.next=11;break}return c.abrupt("return");case 11:if(p=o.map(function(t){return t.name}),!(0,s.some)(p,function(t){return!(0,u.hasBlockSupport)(t,'multiple',!0)})){c.next=14;break}return c.abrupt("return");case 14:return c.next=16,f.controls.select('core/block-editor','getBlockIndex',(0,s.last)((0,s.castArray)(t)),l);case 16:return k=c.sent,b=o.map(function(t){return(0,u.cloneBlock)(t)}),c.next=20,oe(b,k+1,l,n);case 20:if(!(b.length>1&&n)){c.next=23;break}return c.next=23,Z((0,s.first)(b).clientId,(0,s.last)(b).clientId);case 23:return c.abrupt("return",b.map(function(t){return t.clientId}));case 24:case"end":return c.stop()}},G)}function be(t){var n,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(t){c.next=2;break}return c.abrupt("return");case 2:return c.next=4,f.controls.select('core/block-editor','getBlockRootClientId',t);case 4:return n=c.sent,c.next=7,f.controls.select('core/block-editor','getTemplateLock',n);case 7:if(!c.sent){c.next=10;break}return c.abrupt("return");case 10:return c.next=12,f.controls.select('core/block-editor','getBlockIndex',t,n);case 12:return o=c.sent,c.next=15,le({},n,o);case 15:return c.abrupt("return",c.sent);case 16:case"end":return c.stop()}},U)}function xe(t){var n,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(t){c.next=2;break}return c.abrupt("return");case 2:return c.next=4,f.controls.select('core/block-editor','getBlockRootClientId',t);case 4:return n=c.sent,c.next=7,f.controls.select('core/block-editor','getTemplateLock',n);case 7:if(!c.sent){c.next=10;break}return c.abrupt("return");case 10:return c.next=12,f.controls.select('core/block-editor','getBlockIndex',t,n);case 12:return o=c.sent,c.next=15,le({},n,o+1);case 15:return c.abrupt("return",c.sent);case 16:case"end":return c.stop()}},H)}function ge(t,n){return{type:'TOGGLE_BLOCK_HIGHLIGHT',clientId:t,isHighlighted:n}}function Te(t){return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ge(t,!0);case 2:return n.next=4,{type:'SLEEP',duration:150};case 4:return n.next=6,ge(t,!1);case 6:case"end":return n.stop()}},j)}e.moveBlocksUp=ee},2244,[5,14,66,282,1068,1223,1838,1027,1076,1074,2245]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.__unstableMarkAutomaticChangeFinalControl=void 0;var t=r(d[0]);e.__unstableMarkAutomaticChangeFinalControl=function(){return{type:'MARK_AUTOMATIC_CHANGE_FINAL_CONTROL'}};var n={SLEEP:function(t){var n=t.duration;return new Promise(function(t){setTimeout(t,n)})},MARK_AUTOMATIC_CHANGE_FINAL_CONTROL:(0,t.createRegistryControl)(function(t){return function(){var n=window.requestIdleCallback;(void 0===n?function(t){return setTimeout(t,100)}:n)(function(){return t.dispatch('core/block-editor').__unstableMarkAutomaticChangeFinal()})}})};e.default=n},2245,[1076]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),v=function(t){var v=(0,n.default)({},t);return(0,l.createElement)(o.SVG,(0,n.default)({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 20 20"},v),(0,l.createElement)(o.Path,{d:"M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z",transform:(0,u.isRTL)()?'scale(-1,1) translate(-20,0)':void 0}))};e.default=v},2246,[5,946,24,1699,1027]); +__d(function(g,r,i,a,m,e,d){m.exports={selectionButtonContainer:{flexDirection:"row",alignItems:"center",justifyContent:"flex-start",paddingLeft:15,paddingRight:15,flexShrink:1},selectionButtonTitle:{color:"#fff",marginLeft:4,flexShrink:1},icon:{color:"#fff"},button:{flexDirection:"row",alignItems:"center"},arrow:{color:"rgba(255, 255, 255, 0.4)",marginTop:-4,marginLeft:4,marginRight:4},densedPaddingLeft:{paddingLeft:5}}},2247,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=r(d[2]),f=t(r(d[3])),c=t(r(d[4]));var o=(0,f.default)(function(t){var f=t.children,o=t.settings,l=(0,u.useDispatch)('core/block-editor').updateSettings;return(0,n.useEffect)(function(){l(o)},[o]),(0,c.default)(t),f});e.default=o},2248,[5,1076,946,2249,2175]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4])),s=r(d[5]),f=r(d[6]),c=r(d[7]),v=(0,f.createHigherOrderComponent)(function(t){return(0,s.withRegistry)(function(f){var v=f.useSubRegistry,y=void 0===v||v,R=f.registry,b=(0,l.default)(f,["useSubRegistry","registry"]);if(!y)return(0,u.createElement)(t,(0,o.default)({registry:R},b));var E=(0,u.useState)(null),S=(0,n.default)(E,2),_=S[0],h=S[1];return(0,u.useEffect)(function(){var t=(0,s.createRegistry)({},R);t.registerStore('core/block-editor',c.storeConfig),h(t)},[R]),_?(0,u.createElement)(s.RegistryProvider,{value:_},(0,u.createElement)(t,(0,o.default)({registry:_},b))):null})},'withRegistryProvider');e.default=v},2249,[5,946,36,24,67,1076,1116,2238]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.addAttribute=v,e.addSaveProps=j,e.withInspectorControl=void 0;var o=r(d[1]),n=t(r(d[2])),c=r(d[3]),l=r(d[4]),s=r(d[5]),u=r(d[6]),p=r(d[7]),h=r(d[8]),b=r(d[9]);function f(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function O(t){for(var o=1;o";var s=(0,u.parseWithAttributeSchema)(t,{type:'string',source:'attribute',selector:'[data-custom-class-name] > *',attribute:'class'});return s?s.trim().split(/\s+/):[]}function y(t,c,n){if((0,u.hasBlockSupport)(c,'customClassName',!0)){var l=v((0,u.getSaveContent)(c,t)),p=v(n),f=(0,o.difference)(p,l),b=(0,o.compact)([t.className].concat((0,s.default)(f))).join(' ');b?t.className=b:delete t.className}return t}(0,l.addFilter)('blocks.registerBlockType','core/custom-class-name/attribute',b),(0,l.addFilter)('blocks.getSaveContent.extraProps','core/custom-class-name/save-props',O),(0,l.addFilter)('blocks.getBlockAttributes','core/custom-class-name/addParsedDifference',y)},2251,[5,14,66,1068,1719,4,1223]); +__d(function(g,r,i,a,m,e,d){var s=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.addGeneratedClassName=o;var t=s(r(d[1])),l=r(d[2]),n=r(d[3]),c=r(d[4]);function o(s,n){return(0,c.hasBlockSupport)(n,'className',!0)&&('string'==typeof s.className?s.className=(0,l.uniq)([(0,c.getBlockDefaultClassName)(n.name)].concat((0,t.default)(s.className.split(' ')))).join(' ').trim():s.className=(0,c.getBlockDefaultClassName)(n.name)),s}(0,n.addFilter)('blocks.getSaveContent.extraProps','core/generated-class-name/save-props',o)},2252,[5,14,1068,4,1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getInlineStyles=Y,e.addSaveProps=w,e.addEditProps=B,e.withBlockControls=void 0;var o=r(d[1]),n=t(r(d[2])),c=t(r(d[3])),l=t(r(d[4])),u=r(d[5]),s=r(d[6]),p=r(d[7]),P=r(d[8]),f=r(d[9]),E=r(d[10]),y=r(d[11]),O=r(d[12]),b=t(r(d[13]));function _(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function v(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:{},o={};return Object.keys(p.__EXPERIMENTAL_STYLE_PROPERTY).forEach(function(n){var c=p.__EXPERIMENTAL_STYLE_PROPERTY[n].value,s=p.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;(0,u.has)(t,c)&&(s?s.forEach(function(s){o[n+(0,u.capitalize)(s)]=j((0,u.get)(t,[].concat((0,l.default)(c),[s])))}):o[n]=j((0,u.get)(t,c)))}),o}function w(t,o,n){if(!S(o))return t;var c=n.style;return t.style=v(v({},Y(c)),t.style),t}function B(t){if(!S(t))return t;var o=t.getEditWrapperProps;return t.getEditWrapperProps=function(n){var c={};return o&&(c=o(n)),w(c,t,n)},t}var C=(0,P.createHigherOrderComponent)(function(t){return function(n){var l=n.name,u=(0,p.hasBlockSupport)(l,O.SPACING_SUPPORT_KEY);return[(0,o.createElement)(y.TypographyPanel,(0,c.default)({key:"typography"},n)),(0,o.createElement)(f.BorderPanel,(0,c.default)({key:"border"},n)),(0,o.createElement)(E.ColorEdit,(0,c.default)({key:"colors"},n)),(0,o.createElement)(t,(0,c.default)({key:"edit"},n)),u&&(0,o.createElement)(b.default,{key:"spacing"},(0,o.createElement)(O.PaddingEdit,n))]}},'withToolbarControls');e.withBlockControls=C,(0,s.addFilter)('blocks.registerBlockType','core/style/addAttribute',function(t){return S(t)?(t.attributes.style||(0,c.default)(t.attributes,{style:{type:'object'}}),t):t}),(0,s.addFilter)('blocks.getSaveContent.extraProps','core/style/addSaveProps',w),(0,s.addFilter)('blocks.registerBlockType','core/style/addEditProps',B),(0,s.addFilter)('editor.BlockEdit','core/style/with-block-controls',C)},2253,[5,946,66,24,14,1068,4,1223,1116,2254,2257,2261,2273,2275]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BorderPanel=function(t){var l=c(t),s=v(t.name);if(l||!s)return null;return(0,n.createElement)(_.default,null,(0,n.createElement)(o.PanelBody,{title:(0,u.__)('Border settings')},(0,n.createElement)(B.BorderRadiusEdit,t)))},e.hasBorderSupport=v,e.BORDER_SUPPORT_KEY=void 0;var n=r(d[1]),l=r(d[2]),o=r(d[3]),u=r(d[4]),_=t(r(d[5])),B=r(d[6]),s='__experimentalBorder';function v(t){if('web'!==n.Platform.OS)return!1;var o=(0,l.getBlockSupport)(t,s);return!(!0!==o&&(null==o||!o.radius))}e.BORDER_SUPPORT_KEY=s;var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[(0,B.useIsBorderRadiusDisabled)(t)].every(Boolean)}},2254,[5,946,1223,1699,1027,2132,2255]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BorderRadiusEdit=function(t){var o,u=t.attributes.style,s=t.setAttributes;if(P(t))return null;return(0,n.createElement)(l.RangeControl,{value:null==u?void 0:null==(o=u.border)?void 0:o.radius,label:(0,c.__)('Border radius'),min:v,max:y,initialPosition:0,allowReset:!0,onChange:function(t){var n=O(O({},u),{},{border:O(O({},null==u?void 0:u.border),{},{radius:t})});s({style:(0,f.cleanEmptyObject)(n)})}})},e.hasBorderRadiusSupport=j,e.useIsBorderRadiusDisabled=P;var n=r(d[1]),o=t(r(d[2])),u=r(d[3]),l=r(d[4]),c=r(d[5]),s=t(r(d[6])),b=r(d[7]),f=r(d[8]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function O(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,s.default)('border.customRadius');return!j(t)||n}},2255,[5,946,66,1223,1699,1027,2130,2254,2256]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.cleanEmptyObject=void 0;var t=r(d[0]);e.cleanEmptyObject=function n(c){if(!(0,t.isObject)(c))return c;var u=(0,t.pickBy)((0,t.mapValues)(c,n),t.identity);return(0,t.isEqual)(u,{})?void 0:u}},2256,[1068]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.addSaveProps=V,e.addEditProps=A,e.ColorEdit=function(t){var u,c,s,v,b,p,j=t.name,V=t.attributes,A=(0,P.default)('color.link'),R=(0,P.default)('color.palette')||B,T=(0,P.default)('color.gradients')||B,D=(0,o.useRef)(V);if((0,o.useEffect)(function(){D.current=V},[V]),!w(j)||'web'!==o.Platform.OS)return null;var F,L=_(j),N=E(j),I=V.style,K=V.textColor,U=V.backgroundColor,W=V.gradient;if(N&&W)F=(0,C.getGradientValueBySlug)(T,W);else if(N){var Y;F=null==I?void 0:null==(Y=I.color)?void 0:Y.gradient}var H=function(o){return function(l){var u,c,s=(0,y.getColorObjectByColorValue)(R,l),v=o+'Color',b=S(S({},D.current.style),{},{color:S(S({},null==(u=D.current)?void 0:null==(c=u.style)?void 0:c.color),{},(0,n.default)({},o,(null==s?void 0:s.slug)?void 0:l))}),f=(null==s?void 0:s.slug)?s.slug:void 0,p=(0,n.default)({style:(0,O.cleanEmptyObject)(b)},v,f);t.setAttributes(p),D.current=S(S({},D.current),p)}};return(0,o.createElement)(k.default,{enableContrastChecking:'web'===o.Platform.OS&&!W&&!(null==I?void 0:null==(u=I.color)?void 0:u.gradient),clientId:t.clientId,settings:[].concat((0,l.default)(x(j)?[{label:(0,f.__)('Text Color'),onColorChange:H('text'),colorValue:(0,y.getColorObjectByAttributeValues)(R,K,null==I?void 0:null==(c=I.color)?void 0:c.text).color}]:[]),(0,l.default)(L||N?[{label:(0,f.__)('Background Color'),onColorChange:L?H('background'):void 0,colorValue:(0,y.getColorObjectByAttributeValues)(R,U,null==I?void 0:null==(s=I.color)?void 0:s.background).color,gradientValue:F,onGradientChange:N?function(o){var l,n=(0,C.getGradientSlugByValue)(T,o);if(n){var u,c,s,v=S(S({},null==(u=D.current)?void 0:u.style),{},{color:S(S({},null==(c=D.current)?void 0:null==(s=c.style)?void 0:s.color),{},{gradient:void 0})});l={style:(0,O.cleanEmptyObject)(v),gradient:n}}else{var b,f,p,y=S(S({},null==(b=D.current)?void 0:b.style),{},{color:S(S({},null==(f=D.current)?void 0:null==(p=f.style)?void 0:p.color),{},{gradient:o})});l={style:(0,O.cleanEmptyObject)(y),gradient:void 0}}t.setAttributes(l),D.current=S(S({},D.current),l)}:void 0}]:[]),(0,l.default)(A&&h(j)?[{label:(0,f.__)('Link Color'),onColorChange:function(o){var l,n=(0,y.getColorObjectByColorValue)(R,o);t.setAttributes({style:S(S({},t.attributes.style),{},{color:S(S({},null==(l=t.attributes.style)?void 0:l.color),{},{link:(null==n?void 0:n.slug)?"var:preset|color|"+n.slug:o})})})},colorValue:G(R,null==I?void 0:null==(v=I.color)?void 0:v.link),clearable:!!(null==(b=t.attributes.style)?void 0:null==(p=b.color)?void 0:p.link)}]:[]))})},e.withColorPaletteStyles=e.COLOR_SUPPORT_KEY=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),v=r(d[7]),b=r(d[8]),f=r(d[9]),p=r(d[10]),y=r(d[11]),C=r(d[12]),O=r(d[13]),k=t(r(d[14])),P=t(r(d[15]));function j(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,n)}return l}function S(t){for(var o=1;o=24?'large':'small'})?null:(0,t.createElement)(s,{backgroundColor:n,textColor:k,tinyBackgroundColor:h,tinyTextColor:C})};e.default=b},2259,[5,946,1645,1838,1027,1699]); +__d(function(g,r,i,a,m,e,d){function o(o,t){return t.getElementById('block-'+o)}Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockDOMNode=o,e.getBlockPreviewContainerDOMNode=function(t,l){var c=o(t,l);if(!c)return;return c.firstChild||c},e.isBlockFocusStop=function(o){return o.classList.contains('block-editor-block-list__block')},e.isInSameBlock=function(o,t){return o.closest('.block-editor-block-list__block')===t.closest('.block-editor-block-list__block')},e.isInsideRootBlock=function(o,t){return t.closest('.block-editor-block-list__block')===o},e.hasInnerBlocksContext=function(o){return o.classList.contains('block-editor-block-list__layout')||!!o.querySelector('.block-editor-block-list__layout')},e.getBlockClientId=function(o){for(;o&&o.nodeType!==o.ELEMENT_NODE;)o=o.parentNode;if(!o)return;var t=o.closest('.block-editor-block-list__block');if(!t)return;return t.id.slice('block-'.length)}},2260,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TypographyPanel=function(t){var l=R(t),O=Y(t.name);return l||!O?null:(0,n.createElement)(E.default,null,(0,n.createElement)(_.PanelBody,{title:(0,o.__)('Typography')},(0,n.createElement)(_.__unstableComponentSystemProvider,{__unstableNextInclude:['WPComponentsFontSizePicker']},(0,n.createElement)(u.FontFamilyEdit,t),(0,n.createElement)(c.FontSizeEdit,t),(0,n.createElement)(s.FontAppearanceEdit,t),(0,n.createElement)(T.LineHeightEdit,t),(0,n.createElement)(P.default,t))))},e.TYPOGRAPHY_SUPPORT_KEYS=void 0;var n=r(d[1]),l=r(d[2]),_=r(d[3]),o=r(d[4]),E=t(r(d[5])),P=t(r(d[6])),T=r(d[7]),s=r(d[8]),u=r(d[9]),c=r(d[10]),O=r(d[11]),S=r(d[12]),F=[T.LINE_HEIGHT_SUPPORT_KEY,c.FONT_SIZE_SUPPORT_KEY,s.FONT_STYLE_SUPPORT_KEY,s.FONT_WEIGHT_SUPPORT_KEY,u.FONT_FAMILY_SUPPORT_KEY,O.TEXT_DECORATION_SUPPORT_KEY,S.TEXT_TRANSFORM_SUPPORT_KEY];e.TYPOGRAPHY_SUPPORT_KEYS=F;var Y=function(t){return'web'===n.Platform.OS&&F.some(function(n){return(0,l.hasBlockSupport)(t,n)})};function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[(0,s.useIsFontAppearanceDisabled)(t),(0,c.useIsFontSizeDisabled)(t),(0,T.useIsLineHeightDisabled)(t),(0,u.useIsFontFamilyDisabled)(t),(0,O.useIsTextDecorationDisabled)(t),(0,S.useIsTextTransformDisabled)(t)];return n.filter(Boolean).length===n.length}},2261,[5,946,1223,1699,1027,2132,2262,2267,2268,2270,2272,2263,2265]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var s=!(0,n.useIsTextDecorationDisabled)(l),c=!(0,o.useIsTextTransformDisabled)(l);if(!s&&!c)return null;return(0,t.createElement)("div",{className:"block-editor-text-decoration-and-transform"},s&&(0,t.createElement)(n.TextDecorationEdit,l),c&&(0,t.createElement)(o.TextTransformEdit,l))};var t=r(d[0]),n=r(d[1]),o=r(d[2])},2262,[946,2263,2265]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TextDecorationEdit=function(t){var o,c=t.attributes.style,l=t.setAttributes;if(f(t))return null;return(0,n.createElement)(u.default,{value:null==c?void 0:null==(o=c.typography)?void 0:o.textDecoration,onChange:function(t){l({style:(0,p.cleanEmptyObject)(s(s({},c),{},{typography:s(s({},null==c?void 0:c.typography),{},{textDecoration:t})}))})}})},e.useIsTextDecorationDisabled=f,e.TEXT_DECORATION_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),c=r(d[3]),u=t(r(d[4])),l=t(r(d[5])),p=r(d[6]);function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,c.hasBlockSupport)(t,y),o=(0,l.default)('typography.customTextDecorations');return n||!o}e.TEXT_DECORATION_SUPPORT_KEY=y},2263,[5,946,66,1223,2264,2130,2256]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var c=o.value,v=o.onChange;return(0,n.createElement)("fieldset",{className:"block-editor-text-decoration-control"},(0,n.createElement)("legend",null,(0,l.__)('Decoration')),(0,n.createElement)("div",{className:"block-editor-text-decoration-control__buttons"},u.map(function(o){return(0,n.createElement)(t.Button,{key:o.value,icon:o.icon,isSmall:!0,isPressed:o.value===c,onClick:function(){return v(o.value===c?void 0:o.value)},"aria-label":o.name})})))};var n=r(d[0]),t=r(d[1]),o=r(d[2]),l=r(d[3]),u=[{name:(0,l.__)('Underline'),value:'underline',icon:o.formatUnderline},{name:(0,l.__)('Strikethrough'),value:'line-through',icon:o.formatStrikethrough}]},2264,[946,1699,1247,1027]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.TextTransformEdit=function(t){var o,u=t.attributes.style,l=t.setAttributes;if(O(t))return null;return(0,n.createElement)(c.default,{value:null==u?void 0:null==(o=u.typography)?void 0:o.textTransform,onChange:function(t){l({style:(0,s.cleanEmptyObject)(f(f({},u),{},{typography:f(f({},null==u?void 0:u.typography),{},{textTransform:t})}))})}})},e.useIsTextTransformDisabled=O,e.TEXT_TRANSFORM_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),u=r(d[3]),c=t(r(d[4])),l=t(r(d[5])),s=r(d[6]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function f(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,u.hasBlockSupport)(t,y),o=(0,l.default)('typography.customTextTransforms');return n||!o}e.TEXT_TRANSFORM_SUPPORT_KEY=y},2265,[5,946,66,1223,2266,2130,2256]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.value,s=o.onChange;return(0,t.createElement)("fieldset",{className:"block-editor-text-transform-control"},(0,t.createElement)("legend",null,(0,l.__)('Letter case')),(0,t.createElement)("div",{className:"block-editor-text-transform-control__buttons"},c.map(function(l){return(0,t.createElement)(n.Button,{key:l.value,icon:l.icon,isSmall:!0,isPressed:u===l.value,"aria-label":l.name,onClick:function(){return s(u===l.value?void 0:l.value)}})})))};var t=r(d[0]),n=r(d[1]),l=r(d[2]),o=r(d[3]),c=[{name:(0,l.__)('Uppercase'),value:'uppercase',icon:o.formatUppercase},{name:(0,l.__)('Lowercase'),value:'lowercase',icon:o.formatLowercase},{name:(0,l.__)('Capitalize'),value:'capitalize',icon:o.formatCapitalize}]},2266,[946,1699,1027,1247]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.LineHeightEdit=function(t){var o,u=t.attributes.style;if(O(t))return null;return(0,n.createElement)(c.default,{value:null==u?void 0:null==(o=u.typography)?void 0:o.lineHeight,onChange:function(n){var o=s(s({},u),{},{typography:s(s({},null==u?void 0:u.typography),{},{lineHeight:n})});t.setAttributes({style:(0,l.cleanEmptyObject)(o)})}})},e.useIsLineHeightDisabled=O,e.LINE_HEIGHT_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),u=r(d[3]),c=t(r(d[4])),l=r(d[5]),p=t(r(d[6]));function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=!(0,p.default)('typography.customLineHeight');return!(0,u.hasBlockSupport)(t,f)||n}e.LINE_HEIGHT_SUPPORT_KEY=f},2267,[5,946,66,1223,2177,2256,2130]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.FontAppearanceEdit=function(t){var o,l,p=t.attributes.style,y=t.setAttributes,f=!h(t),O=!v(t);if(!f&&!O)return null;var b=null==p?void 0:null==(o=p.typography)?void 0:o.fontStyle,_=null==p?void 0:null==(l=p.typography)?void 0:l.fontWeight;return(0,n.createElement)(u.default,{onChange:function(t){y({style:(0,c.cleanEmptyObject)(s(s({},p),{},{typography:s(s({},null==p?void 0:p.typography),{},{fontStyle:t.fontStyle,fontWeight:t.fontWeight})}))})},hasFontStyles:f,hasFontWeights:O,value:{fontStyle:b,fontWeight:_}})},e.useIsFontStyleDisabled=h,e.useIsFontWeightDisabled=v,e.useIsFontAppearanceDisabled=function(t){var n=h(t),o=v(t);return n&&o},e.FONT_WEIGHT_SUPPORT_KEY=e.FONT_STYLE_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),u=t(r(d[4])),p=t(r(d[5])),c=r(d[6]);function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,n=(0,l.hasBlockSupport)(t,f),o=(0,p.default)('typography.customFontStyle');return!n||!o}function v(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).name,n=(0,l.hasBlockSupport)(t,O),o=(0,p.default)('typography.customFontWeight');return!n||!o}e.FONT_WEIGHT_SUPPORT_KEY=O},2268,[5,946,66,1223,2269,2130,2256]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var _=f.onChange,c=f.hasFontStyles,v=void 0===c||c,s=f.hasFontWeights,h=void 0===s||s,y=f.value,p=y.fontStyle,S=y.fontWeight,E=v||h,W={key:'default',name:(0,o.__)('Default'),style:{fontStyle:void 0,fontWeight:void 0}},k=function(){var n=[W];return l.forEach(function(t){var l=t.name,f=t.value;u.forEach(function(t){var u=t.name,_=t.value,c='normal'===f?u:(0,o.sprintf)((0,o.__)('%1$s %2$s'),u,l);n.push({key:f+"-"+_,name:c,style:{fontStyle:f,fontWeight:_}})})}),n},B=function(){var n=[W];return l.forEach(function(t){var o=t.name,l=t.value;n.push({key:l,name:o,style:{fontStyle:l,fontWeight:void 0}})}),n},C=function(){var n=[W];return u.forEach(function(t){var o=t.name,l=t.value;n.push({key:l,name:o,style:{fontStyle:void 0,fontWeight:l}})}),n},F=(0,n.useMemo)(function(){return v&&h?k():v?B():C()},[f.options]),M=F.find(function(n){return n.style.fontStyle===p&&n.style.fontWeight===S});return(0,n.createElement)("fieldset",{className:"components-font-appearance-control"},E&&(0,n.createElement)(t.CustomSelectControl,{className:"components-font-appearance-control__select",label:(function(){if(!v)return(0,o.__)('Font weight');if(!h)return(0,o.__)('Font style');return(0,o.__)('Appearance')})(),options:F,value:M,onChange:function(n){var t=n.selectedItem;return _(t.style)}}))};var n=r(d[0]),t=r(d[1]),o=r(d[2]),l=[{name:(0,o.__)('Regular'),value:'normal'},{name:(0,o.__)('Italic'),value:'italic'}],u=[{name:(0,o.__)('Thin'),value:'100'},{name:(0,o.__)('Extra Light'),value:'200'},{name:(0,o.__)('Light'),value:'300'},{name:(0,o.__)('Regular'),value:'400'},{name:(0,o.__)('Medium'),value:'500'},{name:(0,o.__)('Semi Bold'),value:'600'},{name:(0,o.__)('Bold'),value:'700'},{name:(0,o.__)('Extra Bold'),value:'800'},{name:(0,o.__)('Black'),value:'900'}]},2269,[946,1699,1027]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.FontFamilyEdit=function(t){var o,f=t.name,p=t.setAttributes,v=t.attributes.style,F=void 0===v?{}:v,h=(0,c.default)('typography.fontFamilies');if(b({name:f}))return null;var j=O(h,null==(o=F.typography)?void 0:o.fontFamily);return(0,n.createElement)(y.default,{className:"block-editor-hooks-font-family-control",fontFamilies:h,value:j,onChange:function(t){var n=(0,l.find)(h,function(n){var o=n.fontFamily;return o===t});p({style:(0,u.cleanEmptyObject)(s(s({},F),{},{typography:s(s({},F.typography||{}),{},{fontFamily:n?"var:preset|font-family|"+n.slug:t||void 0})}))})}})},e.useIsFontFamilyDisabled=b,e.FONT_FAMILY_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),f=r(d[4]),u=r(d[5]),c=t(r(d[6])),y=t(r(d[7]));function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function s(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}).name,o=(0,v.default)('typography.fontSizes'),n=!!(null==o?void 0:o.length);return!(0,p.hasBlockSupport)(t,b)||!n}e.FONT_SIZE_SUPPORT_KEY=b;var P=(0,c.createHigherOrderComponent)(function(t){return function(n){var l,u=(0,v.default)('typography.fontSizes'),s=n.name,c=n.attributes,y=c.fontSize,S=c.style,O=n.wrapperProps,h=z({},n);if((0,p.hasBlockSupport)(s,b)&&y&&!(null==S?void 0:null==(l=S.typography)?void 0:l.fontSize)){var P,j=(0,f.getFontSize)(u,y,null==S?void 0:null==(P=S.typography)?void 0:P.fontSize).size;h.wrapperProps=z(z({},O),{},{style:z({fontSize:j},null==O?void 0:O.style)})}return(0,o.createElement)(t,h)}},'withFontSizeInlineStyles');(0,u.addFilter)('blocks.registerBlockType','core/font/addAttribute',function(t){return(0,p.hasBlockSupport)(t,b)?(t.attributes.fontSize||(0,l.default)(t.attributes,{fontSize:{type:'string'}}),t):t}),(0,u.addFilter)('blocks.getSaveContent.extraProps','core/font/addSaveProps',O),(0,u.addFilter)('blocks.registerBlockType','core/font/addEditProps',function(t){if(!(0,p.hasBlockSupport)(t,b))return t;var o=t.getEditWrapperProps;return t.getEditWrapperProps=function(n){var l={};return o&&(l=o(n)),O(l,t,n)},t}),(0,u.addFilter)('editor.BlockListBlock','core/font-size/with-font-size-inline-styles',P)},2272,[5,946,66,24,4,1223,2214,1116,2141,2256,2130]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.PaddingEdit=function(t){var o,l=t.name,O=t.attributes.style,v=t.setAttributes,P=(0,p.useCustomUnits)();if(!f(l))return null;return n.Platform.select({web:(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.__experimentalBoxControl,{values:null==O?void 0:null==(o=O.spacing)?void 0:o.padding,onChange:function(t){var n=b(b({},O),{},{spacing:{padding:t}});v({style:(0,s.cleanEmptyObject)(n)})},onChangeShowVisualizer:function(t){var n=b(b({},O),{},{visualizers:{padding:t}});v({style:(0,s.cleanEmptyObject)(n)})},label:(0,c.__)('Padding'),units:P})),native:null})},e.SPACING_SUPPORT_KEY=void 0;var n=r(d[1]),o=t(r(d[2])),c=r(d[3]),l=r(d[4]),u=r(d[5]),s=r(d[6]),p=r(d[7]);function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function b(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:[];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).filter(function(n){return t.includes(n.value)})}function c(t){var n=(0,f.default)('spacing.units'),u=s(n||[],t);return 0!==u.length&&u}},2274,[5,946,24,67,1699,2130]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var _=t.children,v=(0,l.default)(t,["children"]);return(0,o.default)('spacing.customPadding')?(0,n.createElement)(f.default,v,(0,n.createElement)(c.PanelBody,{title:(0,u.__)('Spacing')},_)):null};var n=r(d[1]),l=t(r(d[2])),u=r(d[3]),c=r(d[4]),f=t(r(d[5])),o=t(r(d[6]))},2275,[5,946,67,1027,1699,2132,2130]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={transformStyles:!0};Object.defineProperty(e,"transformStyles",{enumerable:!0,get:function(){return o.default}});var o=t(r(d[1])),u=r(d[2]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=r(d[3]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))})},2276,[5,2218,2277,2278]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.validateThemeColors=function(t){if(void 0===t)t=n.SETTINGS_DEFAULTS.colors;else{var l=t.filter(function(n){return n.color});0===l.length?t=n.SETTINGS_DEFAULTS.colors:l.length1?n-1:0),f=1;f1?u-1:0),l=1;l=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function p(t,n){if(t){if("string"==typeof t)return R(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?R(t,n):void 0}}function R(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_TERMS':return _(_({},t),{},(0,u.default)({},n.taxonomy,n.terms))}return t}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_USER_QUERY':return{byId:_(_({},t.byId),(0,s.keyBy)(n.users,'id')),queries:_(_({},t.queries),{},(0,u.default)({},n.queryID,(0,s.map)(n.users,function(t){return t.id})))}}return t}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_CURRENT_USER':return n.currentUser}return t}function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_TAXONOMIES':return n.taxonomies}return t}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_CURRENT_THEME':return n.currentTheme.stylesheet}return t}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_CURRENT_THEME':return _(_({},t),{},(0,u.default)({},n.currentTheme.stylesheet,n.currentTheme))}return t}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_THEME_SUPPORTS':return _(_({},t),n.themeSupports)}return t}function D(t){return(0,s.flowRight)([(0,l.ifMatchingAction)(function(n){return n.name&&n.kind&&n.name===t.name&&n.kind===t.kind}),(0,l.replaceAction)(function(n){return _(_({},n),{},{key:t.key||v.DEFAULT_ENTITY_KEY})})])((0,c.combineReducers)({queriedData:E.reducer,edits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_ITEMS':for(var o,c=_({},t),f=function(t){var o=t[n.key],u=c[o];if(!u)return"continue";var f=Object.keys(u).reduce(function(o,c){return(0,s.isEqual)(u[c],(0,s.get)(t[c],'raw',t[c]))||n.persistedEdits&&(0,s.isEqual)(u[c],n.persistedEdits[c])||(o[c]=u[c]),o},{});Object.keys(f).length?c[o]=f:delete c[o]},l=y(n.items);!(o=l()).done;)f(o.value);return c;case'EDIT_ENTITY_RECORD':var E=_(_({},t[n.recordId]),n.edits);return Object.keys(E).forEach(function(t){void 0===E[t]&&delete E[t]}),_(_({},t),{},(0,u.default)({},n.recordId,E))}return t},saving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SAVE_ENTITY_RECORD_START':case'SAVE_ENTITY_RECORD_FINISH':return _(_({},t),{},(0,u.default)({},n.recordId,{pending:'SAVE_ENTITY_RECORD_START'===n.type,error:n.error,isAutosave:n.isAutosave}))}return t},deleting:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'DELETE_ENTITY_RECORD_START':case'DELETE_ENTITY_RECORD_FINISH':return _(_({},t),{},(0,u.default)({},n.recordId,{pending:'DELETE_ENTITY_RECORD_START'===n.type,error:n.error}))}return t}}))}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.defaultEntities,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'ADD_ENTITIES':return[].concat((0,o.default)(t),(0,o.default)(n.entities))}return t}var U=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,f=j(t.config,o),l=t.reducer;if(!l||f!==t.config){var E=(0,s.groupBy)(f,'kind');l=(0,c.combineReducers)(Object.entries(E).reduce(function(t,o){var s=(0,n.default)(o,2),f=s[0],l=s[1],E=(0,c.combineReducers)(l.reduce(function(t,n){return _(_({},t),{},(0,u.default)({},n.name,D(n)))},{}));return t[f]=E,t},{}))}var v=l(t.data,o);return v===t.data&&f===t.config&&l===t.reducer?t:{reducer:l,data:v,config:f}};e.entities=U;var k,N=[];function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'EDIT_ENTITY_RECORD':case'CREATE_UNDO_LEVEL':var u,s='CREATE_UNDO_LEVEL'===n.type,c=!s&&(n.meta.isUndo||n.meta.isRedo);if(s?n=k:c||(k=Object.keys(n.edits).some(function(t){return!n.transientEdits[t]})?n:_(_({},n),{},{edits:_(_({},k&&k.edits),n.edits)})),c){if((u=(0,o.default)(t)).offset=t.offset+(n.meta.isUndo?-1:1),!t.flattenedUndo)return u;s=!0,n=k}if(!n.meta.undo)return t;if(!s&&!Object.keys(n.edits).some(function(t){return!n.transientEdits[t]}))return(u=(0,o.default)(t)).flattenedUndo=_(_({},t.flattenedUndo),n.edits),u.offset=t.offset,u;(u=u||t.slice(0,t.offset||void 0)).offset=u.offset||0,u.pop(),s||u.push({kind:n.meta.undo.kind,name:n.meta.undo.name,recordId:n.meta.undo.recordId,edits:_(_({},t.flattenedUndo),n.meta.undo.edits)});var l=Object.values(n.meta.undo.edits).filter(function(t){return'function'!=typeof t}),E=Object.values(n.edits).filter(function(t){return'function'!=typeof t});return(0,f.default)(l,E)||u.push({kind:n.kind,name:n.name,recordId:n.recordId,edits:s?_(_({},t.flattenedUndo),n.edits):n.edits}),u}return t}function P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_EMBED_PREVIEW':var o=n.url,s=n.preview;return _(_({},t),{},(0,u.default)({},o,s))}return t}function M(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_USER_PERMISSION':return _(_({},t),{},(0,u.default)({},n.key,n.isAllowed))}return t}function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_AUTOSAVES':var o=n.postId,s=n.autosaves;return _(_({},t),{},(0,u.default)({},o,s))}return t}N.offset=0;var L=(0,c.combineReducers)({terms:I,users:b,currentTheme:w,currentUser:O,taxonomies:S,themes:C,themeSupports:A,entities:U,undo:V,embedPreviews:P,userPermissions:M,autosaves:Y,locks:h.reducer});e.default=L},2282,[5,36,14,66,1068,1076,1121,2283,2291,2296,2298]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"conservativeMapItem",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"getNormalizedCommaSeparable",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"ifMatchingAction",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"ifNotResolved",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"onSubKey",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"replaceAction",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"withWeakMapCache",{enumerable:!0,get:function(){return b.default}});var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),b=t(r(d[7]))},2283,[5,2284,2285,2286,2287,2288,2289,2290]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u){if(!t)return u;var f=!1,o={};for(var v in u)(0,n.isEqual)(t[v],u[v])?o[v]=t[v]:(f=!0,o[v]=u[v]);if(!f)return t;for(var l in t)o.hasOwnProperty(l)||(o[l]=t[l]);return o};var n=r(d[0])},2284,[1068]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t){return'string'==typeof t?t.split(','):Array.isArray(t)?t:null};e.default=t},2285,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(n){return function(t){return function(u,o){return void 0===u||n(o)?t(u,o):u}}};e.default=n},2286,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=r(d[2]),u=function(t,u){return n.default.mark(function c(){var l,f,s,v=arguments;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:for(l=v.length,f=new Array(l),s=0;s0&&void 0!==arguments[0]?arguments[0]:{},f=arguments.length>1?arguments[1]:void 0,O=f[t];if(void 0===O)return u;var b=o(u[O],f);return b===u[O]?u:c(c({},u),{},(0,n.default)({},O,b))}}};e.onSubKey=u;var f=u;e.default=f},2288,[5,66]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(n){return function(t){return function(u,f){return t(u,n(f))}}};e.default=n},2289,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]);var n=function(n){var u=new WeakMap;return function(f){var o;return u.has(f)?o=u.get(f):(o=n(f),(0,t.isObjectLike)(f)&&u.set(f,o)),o}};e.default=n},2290,[1068]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={reducer:!0};Object.defineProperty(e,"reducer",{enumerable:!0,get:function(){return c.default}});var o=r(d[1]);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))});var u=r(d[2]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var c=t(r(d[3]))},2291,[5,2292,2293,2295]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.receiveItems=s,e.removeItems=function(t,n,o){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:'REMOVE_ITEMS',itemIds:(0,c.castArray)(o),kind:t,name:n,invalidateCache:u}},e.receiveQueriedItems=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2?arguments[2]:void 0;return u(u({},s(t,c)),{},{query:n})};var n=t(r(d[1])),c=r(d[2]);function o(t,n){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),c.push.apply(c,o)}return c}function u(t){for(var c=1;c1&&void 0!==arguments[1]?arguments[1]:{},l=f.get(t);if(l){var s=l.get(n);if(void 0!==s)return s}else l=new u.default,f.set(t,l);var o=v(t,n);return l.set(n,o),o});e.getQueriedItems=o},2293,[5,1175,1084,1068,2294]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getQueryParts=b,e.default=void 0;var t=l(r(d[1])),u=r(d[2]),s=r(d[3]);function b(l){for(var b={stableKey:'',page:1,perPage:10,fields:null,include:null},c=Object.keys(l).sort(),n=0;n=c&&E0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,u=n.type,o=n.query,c=n.key,E=void 0===c?f.DEFAULT_ENTITY_KEY:c;if('RECEIVE_ITEMS'!==u)return t;var v=!o||!Array.isArray((0,l.default)(o).fields);return s(s({},t),n.items.reduce(function(n,u){var o=u[E];return n[o]=t[o]||v,n},{}))}var p=(0,u.flowRight)([(0,c.ifMatchingAction)(function(t){return'query'in t}),(0,c.replaceAction)(function(t){return t.query?s(s({},t),(0,l.default)(t.query)):t}),(0,c.onSubKey)('stableKey')])(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,o=n.type,c=n.page,l=n.perPage,E=n.key,s=void 0===E?f.DEFAULT_ENTITY_KEY:E;return'RECEIVE_ITEMS'!==o?t:v(t||[],(0,u.map)(n.items,s),c,l)}),h=(0,o.combineReducers)({items:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_ITEMS':var o=n.key||f.DEFAULT_ENTITY_KEY;return s(s({},t),n.items.reduce(function(n,u){var f=u[o];return n[f]=(0,c.conservativeMapItem)(t[f],u),n},{}));case'REMOVE_ITEMS':return(0,u.omit)(t,n.itemIds)}return t},itemIsComplete:y,queries:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'RECEIVE_ITEMS':return p(t,n);case'REMOVE_ITEMS':var o=s({},t),c=n.itemIds.reduce(function(t,n){return t[n]=!0,t},{});return(0,u.forEach)(o,function(t,n){o[n]=(0,u.filter)(t,function(t){return!c[t]})}),o;default:return t}}});e.default=h},2295,[5,66,1068,1076,2283,2296,2294]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getKindEntities=E,e.getMethodName=e.prePersistPostType=e.kinds=e.defaultEntities=e.DEFAULT_ENTITY_KEY=void 0;var n=t(r(d[1])),s=r(d[2]),l=r(d[3]),o=r(d[4]),u=r(d[5]),p=r(d[6]),c=n.default.mark(w),_=n.default.mark(x),b=n.default.mark(E);e.DEFAULT_ENTITY_KEY='id';var v=[{label:(0,u.__)('Base'),name:'__unstableBase',kind:'root',baseURL:''},{label:(0,u.__)('Site'),name:'site',kind:'root',baseURL:'/wp/v2/settings',getTitle:function(t){return(0,s.get)(t,['title'],(0,u.__)('Site Title'))}},{label:(0,u.__)('Post Type'),name:'postType',kind:'root',key:'slug',baseURL:'/wp/v2/types'},{name:'media',kind:'root',baseURL:'/wp/v2/media',plural:'mediaItems',label:(0,u.__)('Media')},{name:'taxonomy',kind:'root',key:'slug',baseURL:'/wp/v2/taxonomies',plural:'taxonomies',label:(0,u.__)('Taxonomy')},{name:'sidebar',kind:'root',baseURL:'/wp/v2/sidebars',plural:'sidebars',transientEdits:{blocks:!0},label:(0,u.__)('Widget areas')},{name:'widget',kind:'root',baseURL:'/wp/v2/widgets',plural:'widgets',transientEdits:{blocks:!0},label:(0,u.__)('Widgets')},{label:(0,u.__)('User'),name:'user',kind:'root',baseURL:'/wp/v2/users',plural:'users'},{name:'comment',kind:'root',baseURL:'/wp/v2/comments',plural:'comments',label:(0,u.__)('Comment')},{name:'menu',kind:'root',baseURL:'/__experimental/menus',plural:'menus',label:(0,u.__)('Menu')},{name:'menuItem',kind:'root',baseURL:'/__experimental/menu-items',plural:'menuItems',label:(0,u.__)('Menu Item')},{name:'menuLocation',kind:'root',baseURL:'/__experimental/menu-locations',plural:'menuLocations',label:(0,u.__)('Menu Location'),key:'name'}];e.defaultEntities=v;var f=[{name:'postType',loadEntities:w},{name:'taxonomy',loadEntities:x}];e.kinds=f;var k=function(t,n){var s={};return'auto-draft'===(null==t?void 0:t.status)&&(n.status||s.status||(s.status='draft'),n.title&&'Auto Draft'!==n.title||s.title||(null==t?void 0:t.title)&&'Auto Draft'!==(null==t?void 0:t.title)||(s.title='')),s};function w(){var t;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,o.apiFetch)({path:'/wp/v2/types?context=edit'});case 2:return t=n.sent,n.abrupt("return",(0,s.map)(t,function(t,n){var l=['wp_template','wp_template_part'].includes(n);return{kind:'postType',baseURL:'/wp/v2/'+t.rest_base,name:n,label:t.labels.singular_name,transientEdits:{blocks:!0,selectionStart:!0,selectionEnd:!0},mergedEdits:{meta:!0},getTitle:function(t){var n;return(null==t?void 0:null==(n=t.title)?void 0:n.rendered)||(null==t?void 0:t.title)||(l?(0,s.startCase)(t.slug):String(t.id))},__unstablePrePersist:l?void 0:k}}));case 4:case"end":return n.stop()}},c)}function x(){var t;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,o.apiFetch)({path:'/wp/v2/taxonomies?context=edit'});case 2:return t=n.sent,n.abrupt("return",(0,s.map)(t,function(t,n){return{kind:'taxonomy',baseURL:'/wp/v2/'+t.rest_base,name:n,label:t.labels.singular_name}}));case 4:case"end":return n.stop()}},_)}e.prePersistPostType=k;function E(t){var o,u;return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l.controls.select('core','getEntitiesByKind',t);case 2:if(!(o=n.sent)||0===o.length){n.next=5;break}return n.abrupt("return",o);case 5:if(u=(0,s.find)(f,{name:t})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,u.loadEntities();case 10:return o=n.sent,n.next=13,(0,p.addEntities)(o);case 13:return n.abrupt("return",o);case 14:case"end":return n.stop()}},b)}e.getMethodName=function(t,n){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'get',o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=(0,s.find)(v,{kind:t,name:n}),p='root'===t?'':(0,s.upperFirst)((0,s.camelCase)(t)),c=(0,s.upperFirst)((0,s.camelCase)(n))+(o?'s':'');return""+l+p+(o&&u.plural?(0,s.upperFirst)((0,s.camelCase)(u.plural)):c)}},2296,[5,282,1068,1076,2281,1027,2297]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.receiveUserQuery=function(t,n){return{type:'RECEIVE_USER_QUERY',users:(0,l.castArray)(n),queryID:t}},e.receiveCurrentUser=function(t){return{type:'RECEIVE_CURRENT_USER',currentUser:t}},e.addEntities=function(t){return{type:'ADD_ENTITIES',entities:t}},e.receiveEntityRecords=C,e.receiveCurrentTheme=function(t){return{type:'RECEIVE_CURRENT_THEME',currentTheme:t}},e.receiveThemeSupports=function(t){return{type:'RECEIVE_THEME_SUPPORTS',themeSupports:t}},e.receiveEmbedPreview=function(t,n){return{type:'RECEIVE_EMBED_PREVIEW',url:t,preview:n}},e.deleteEntityRecord=U,e.editEntityRecord=j,e.undo=N,e.redo=Y,e.__unstableCreateUndoLevel=function(){return{type:'CREATE_UNDO_LEVEL'}},e.saveEntityRecord=L,e.__experimentalBatch=V,e.saveEditedEntityRecord=F,e.receiveUploadPermissions=function(t){return{type:'RECEIVE_USER_PERMISSION',key:'create/media',isAllowed:t}},e.receiveUserPermission=function(t,n){return{type:'RECEIVE_USER_PERMISSION',key:t,isAllowed:n}},e.receiveAutosaves=M;var s=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),o=t(r(d[1])),E=t(r(d[5])),l=r(d[6]),f=r(d[7]),p=r(d[8]),v=r(d[9]),_=r(d[10]),b=r(d[11]),x=r(d[12]),y=r(d[13]),R=r(d[14]),k=r(d[15]),h=n.mark(U),T=n.mark(j),I=n.mark(N),O=n.mark(Y),w=n.mark(L),P=n.mark(V),S=n.mark(F);function A(t,n){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),s.push.apply(s,c)}return s}function D(t){for(var n=1;n4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0;return'postType'===t&&(s=(0,l.castArray)(s).map(function(t){return'auto-draft'===t.status?D(D({},t),{},{title:''}):t})),D(D({},c?(0,b.receiveQueriedItems)(s,c,o):(0,b.receiveItems)(s,o)),{},{kind:t,name:n,invalidateCache:u})}function U(t,n,s,c){var u,E,f,p,R,k,T,I,O,w,P=arguments;return o.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return u=P.length>4&&void 0!==P[4]?P[4]:{},E=u.__unstableFetch,f=void 0===E?null:E,o.next=3,(0,x.getKindEntities)(t);case 3:if(p=o.sent,R=(0,l.find)(p,{kind:t,name:n}),T=!1,R){o.next=8;break}return o.abrupt("return");case 8:return o.delegateYield((0,y.__unstableAcquireStoreLock)('core',['entities','data',t,n,s],{exclusive:!0}),"t0",9);case 9:return I=o.t0,o.prev=10,o.next=13,{type:'DELETE_ENTITY_RECORD_START',kind:t,name:n,recordId:s};case 13:if(o.prev=13,O=R.baseURL+"/"+s,c&&(O=(0,_.addQueryArgs)(O,c)),w={path:O,method:'DELETE'},!f){o.next=23;break}return o.next=20,(0,v.__unstableAwaitPromise)(f(w));case 20:T=o.sent,o.next=26;break;case 23:return o.next=25,(0,v.apiFetch)(w);case 25:T=o.sent;case 26:return o.next=28,(0,b.removeItems)(t,n,s,!0);case 28:o.next=33;break;case 30:o.prev=30,o.t1=o.catch(13),k=o.t1;case 33:return o.next=35,{type:'DELETE_ENTITY_RECORD_FINISH',kind:t,name:n,recordId:s,error:k};case 35:return o.abrupt("return",T);case 36:return o.prev=36,o.delegateYield((0,y.__unstableReleaseStoreLock)(I),"t2",38);case 38:return o.finish(36);case 39:case"end":return o.stop()}},h,null,[[10,,36,39],[13,30]])}function j(t,n,s,c){var u,E,f,v,_,b,x,y,R,k=arguments;return o.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return u=k.length>4&&void 0!==k[4]?k[4]:{},o.next=3,p.controls.select('core','getEntity',t,n);case 3:if(E=o.sent){o.next=6;break}throw new Error("The entity being edited ("+t+", "+n+") does not have a loaded config.");case 6:return f=E.transientEdits,v=void 0===f?{}:f,_=E.mergedEdits,b=void 0===_?{}:_,o.next=9,p.controls.select('core','getRawEntityRecord',t,n,s);case 9:return x=o.sent,o.next=12,p.controls.select('core','getEditedEntityRecord',t,n,s);case 12:return y=o.sent,R={kind:t,name:n,recordId:s,edits:Object.keys(c).reduce(function(t,n){var s=x[n],u=y[n],o=b[n]?D(D({},u),c[n]):c[n];return t[n]=(0,l.isEqual)(s,o)?void 0:o,t},{}),transientEdits:v},o.abrupt("return",D(D({type:'EDIT_ENTITY_RECORD'},R),{},{meta:{undo:!u.undoIgnore&&D(D({},R),{},{edits:Object.keys(c).reduce(function(t,n){return t[n]=y[n],t},{})})}}));case 15:case"end":return o.stop()}},T)}function N(){var t;return o.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p.controls.select('core','getUndoEdit');case 2:if(t=n.sent){n.next=5;break}return n.abrupt("return");case 5:return n.next=7,D(D({type:'EDIT_ENTITY_RECORD'},t),{},{meta:{isUndo:!0}});case 7:case"end":return n.stop()}},I)}function Y(){var t;return o.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p.controls.select('core','getRedoEdit');case 2:if(t=n.sent){n.next=5;break}return n.abrupt("return");case 5:return n.next=7,D(D({type:'EDIT_ENTITY_RECORD'},t),{},{meta:{isRedo:!0}});case 7:case"end":return n.stop()}},O)}function L(t,n,s){var c,_,b,R,k,h,T,I,O,P,S,A,U,N,Y,L,V,F,q,H,Q,B,K,W,z,G,J,X,Z,$=arguments;return o.default.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return c=$.length>3&&void 0!==$[3]?$[3]:{},_=c.isAutosave,b=void 0!==_&&_,R=c.__unstableFetch,k=void 0===R?null:R,o.next=3,(0,x.getKindEntities)(t);case 3:if(h=o.sent,T=(0,l.find)(h,{kind:t,name:n})){o.next=7;break}return o.abrupt("return");case 7:return I=T.key||x.DEFAULT_ENTITY_KEY,O=s[I],o.delegateYield((0,y.__unstableAcquireStoreLock)('core',['entities','data',t,n,O||(0,f.v4)()],{exclusive:!0}),"t0",10);case 10:P=o.t0,o.prev=11,S=0,A=Object.entries(s);case 13:if(!(S=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(u=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(u)}function s(t,n){if(t){if("string"==typeof t)return l(t,n);var u=Object.prototype.toString.call(t).slice(8,-1);return"Object"===u&&t.constructor&&(u=t.constructor.name),"Map"===u||"Set"===u?Array.from(t):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var u=0,o=new Array(n);u=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function l(t,n){if(t){if("string"==typeof t)return c(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?c(t,n):void 0}}function c(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,u=new Array(n);o=t.length?{done:!0}:{done:!1,value:t[c++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function p(t,n){if(t){if("string"==typeof t)return b(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,c=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:l,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case'ENQUEUE_LOCK_REQUEST':var s=c.request;return u(u({},t),{},{requests:[s].concat((0,o.default)(t.requests))});case'GRANT_LOCK_REQUEST':var f=c.lock,p=c.request,O=p.store,v=p.path,b=[O].concat((0,o.default)(v)),y=(0,n.deepCopyLocksTreePath)(t.tree,b),h=(0,n.getNode)(y,b);return h.locks=[].concat((0,o.default)(h.locks),[f]),u(u({},t),{},{requests:t.requests.filter(function(t){return t!==p}),tree:y});case'RELEASE_LOCK':var j=c.lock,E=[j.store].concat((0,o.default)(j.path)),k=(0,n.deepCopyLocksTreePath)(t.tree,E),P=(0,n.getNode)(k,E);return P.locks=P.locks.filter(function(t){return t!==j}),u(u({},t),{},{tree:k})}return t}var p=f;e.default=p},2302,[5,14,66,2301]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createBatch",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"defaultProcessor",{enumerable:!0,get:function(){return u.default}});var n=t(r(d[1])),u=t(r(d[2]))},2303,[5,2304,2305]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default,n=0,u=[],o=new p;return{add:function(t){var s=++n;o.add(s);var l=function(t){return new Promise(function(n,l){u.push({input:t,resolve:n,reject:l}),o.delete(s)})};return(0,c.isFunction)(t)?Promise.resolve(t(l)).finally(function(){o.delete(s)}):l(t)},run:function(){var n,f,b,y,p,h,w,S,A,j,k,x,z,P;return s.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(!o.size){E.next=3;break}return E.next=3,s.default.awrap(new Promise(function(t){var n=o.subscribe(function(){o.size||(n(),t())})}));case 3:return E.prev=3,E.next=6,s.default.awrap(t(u.map(function(t){var n=t.input;return n})));case 6:if((n=E.sent).length===u.length){E.next=9;break}throw new Error('run: Array returned by processor must be same size as input array.');case 9:E.next=15;break;case 11:for(E.prev=11,E.t0=E.catch(3),f=v(u);!(b=f()).done;)y=b.value,(0,y.reject)(E.t0);throw E.t0;case 15:for(p=!0,h=v((0,c.zip)(n,u));!(w=h()).done;)S=w.value,A=(0,l.default)(S,2),j=A[0],k=A[1],x=k.resolve,z=k.reject,(null==j?void 0:j.error)?(z(j.error),p=!1):x(null!=(P=null==j?void 0:j.output)?P:j);return u=[],E.abrupt("return",p);case 19:case"end":return E.stop()}},null,null,[[3,11]],Promise)}}};var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),c=r(d[6]),f=t(r(d[7]));function v(t,n){var u;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(u=b(t))||n&&t&&"number"==typeof t.length){u&&(t=u);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(u=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(u)}function b(t,n){if(t){if("string"==typeof t)return y(t,n);var u=Object.prototype.toString.call(t).slice(8,-1);return"Object"===u&&t.constructor&&(u=t.constructor.name),"Map"===u||"Set"===u?Array.from(t):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?y(t,n):void 0}}function y(t,n){(null==n||n>t.length)&&(n=t.length);for(var u=0,o=new Array(n);u=200&&t.status<300?n.output=t.body:n.error=t.body,n}));case 6:case"end":return s.stop()}},null,null,null,Promise)};var n=t(r(d[1])),u=t(r(d[2]))},2305,[5,282,1026]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.regularFetch=function(t){return{type:'REGULAR_FETCH',url:t}},e.getDispatch=function(){return{type:'GET_DISPATCH'}},e.default=void 0;var n=t(r(d[1]));var u={REGULAR_FETCH:function(t){var u,c,o;return n.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return u=t.url,l.next=3,n.default.awrap(window.fetch(u).then(function(t){return t.json()}));case 3:return c=l.sent,o=c.data,l.abrupt("return",o);case 6:case"end":return l.stop()}},null,null,null,Promise)},GET_DISPATCH:(0,r(d[2]).createRegistryControl)(function(t){var n=t.dispatch;return function(){return n}})};e.default=u},2306,[5,282,1076]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAuthors=function(t,n){var u=(0,f.addQueryArgs)('/wp/v2/users/?who=authors&per_page=100',n);return O(t,u)},e.__unstableGetAuthor=function(t,n){return(0,o.get)(t,['users','byId',n],null)},e.getCurrentUser=function(t){return t.currentUser},e.getEntitiesByKind=function(t,n){return(0,o.filter)(t.entities.config,{kind:n})},e.getEntity=_,e.getEntityRecord=j,e.__experimentalGetEntityRecordNoResolver=function(t,n,u,o){return j(t,n,u,o)},e.hasEntityRecords=function(t,n,u,o){return Array.isArray(P(t,n,u,o))},e.getEntityRecords=P,e.getEntityRecordEdits=T,e.hasEditsForEntityRecord=D,e.isAutosavingEntityRecord=function(t,n,u,s){var c=(0,o.get)(t.entities.data,[n,u,'saving',s],{}),f=c.pending,l=c.isAutosave;return Boolean(f&&l)},e.isSavingEntityRecord=S,e.isDeletingEntityRecord=function(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'deleting',s,'pending'],!1)},e.getLastEntitySaveError=function(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'saving',s,'error'])},e.getLastEntityDeleteError=function(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'deleting',s,'error'])},e.getUndoEdit=N,e.getRedoEdit=q,e.hasUndo=function(t){return Boolean(N(t))},e.hasRedo=function(t){return Boolean(q(t))},e.getCurrentTheme=function(t){return t.themes[t.currentTheme]},e.getThemeSupports=function(t){return t.themeSupports},e.getEmbedPreview=function(t,n){return t.embedPreviews[n]},e.isPreviewEmbedFallback=function(t,n){var u=t.embedPreviews[n],o=''+n+'';if(!u)return!1;return u.html===o},e.hasUploadPermissions=function(t){return(0,c.default)("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),(0,o.defaultTo)(B(t,'create','media'),!0)},e.canUser=B,e.getAutosaves=function(t,n,u){return t.autosaves[u]},e.getAutosave=function(t,n,u,s){if(void 0===s)return;var c=t.autosaves[u];return(0,o.find)(c,{author:s})},e.__experimentalGetTemplateForLink=function(t,n){var u=P(t,'postType','wp_template',{'find-template':n});return(null==u?void 0:u.length)?u[0]:null},e.getReferenceByDistinctEdits=e.hasFetchedAutosaves=e.getEditedEntityRecord=e.getEntityRecordNonTransientEdits=e.__experimentalGetDirtyEntityRecords=e.getRawEntityRecord=e.getUserQueryResults=e.isRequestingEmbedPreview=void 0;var n=t(r(d[1])),u=t(r(d[2])),o=r(d[3]),s=r(d[4]),c=t(r(d[5])),f=r(d[6]),l=r(d[7]),v=r(d[8]),y=r(d[9]),E=r(d[10]);function p(t,n){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),u.push.apply(u,o)}return u}function h(t){for(var u=1;u0}e.getEntityRecordNonTransientEdits=k;var U=(0,u.default)(function(t,n,u,o){return h(h({},w(t,n,u,o)),T(t,n,u,o))},function(t){return[t.entities.data]});function S(t,n,u,s){return(0,o.get)(t.entities.data,[n,u,'saving',s,'pending'],!1)}function F(t){return t.undo.offset}function N(t){return t.undo[t.undo.length-2+F(t)]}function q(t){return t.undo[t.undo.length+F(t)]}function B(t,n,u,s){var c=(0,o.compact)([n,u,s]).join('/');return(0,o.get)(t,['userPermissions',c])}e.getEditedEntityRecord=U;var I=(0,s.createRegistrySelector)(function(t){return function(n,u,o){return t(l.STORE_NAME).hasFinishedResolution('getAutosaves',[u,o])}});e.hasFetchedAutosaves=I;var G=(0,u.default)(function(){return[]},function(t){return[t.undo.length,t.undo.offset,t.undo.flattenedUndo]});e.getReferenceByDistinctEdits=G},2307,[5,66,1175,1068,1076,1111,1043,2308,2291,2296,2283]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.STORE_NAME=void 0;e.STORE_NAME='core'},2308,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAuthors=D,e.__unstableGetAuthor=Q,e.getCurrentUser=K,e.getEntityRecord=M,e.getEntityRecords=z,e.getCurrentTheme=V,e.getThemeSupports=H,e.getEmbedPreview=$,e.hasUploadPermissions=B,e.canUser=J,e.getAutosaves=W,e.getAutosave=X,e.__experimentalGetTemplateForLink=Z,e.getEditedEntityRecord=e.getRawEntityRecord=void 0;var n=t(r(d[1])),s=t(r(d[2])),c=t(r(d[3])),u=r(d[4]),o=r(d[5]),l=t(r(d[6])),p=r(d[7]),f=r(d[8]),v=r(d[9]),h=r(d[10]),x=r(d[11]),y=r(d[12]),b=r(d[13]);function w(t,n){var s;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(s=E(t))||n&&t&&"number"==typeof t.length){s&&(t=s);var c=0;return function(){return c>=t.length?{done:!0}:{done:!1,value:t[c++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(s=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(s)}function E(t,n){if(t){if("string"==typeof t)return _(t,n);var s=Object.prototype.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?_(t,n):void 0}}function _(t,n){(null==n||n>t.length)&&(n=t.length);for(var s=0,c=new Array(n);s2&&void 0!==R[2]?R[2]:'',v=R.length>3?R[3]:void 0,c.next=4,(0,x.getKindEntities)(t);case 4:if(w=c.sent,E=(0,u.find)(w,{kind:t,name:s})){c.next=8;break}return c.abrupt("return");case 8:return c.delegateYield((0,b.__unstableAcquireStoreLock)('core',['entities','data',t,s,l],{exclusive:!1}),"t0",9);case 9:if(_=c.t0,c.prev=10,void 0!==v&&v._fields&&(v=T(T({},v),{},{_fields:(0,u.uniq)([].concat((0,n.default)((0,y.getNormalizedCommaSeparable)(v._fields)||[]),[E.key||x.DEFAULT_ENTITY_KEY])).join()})),k=(0,o.addQueryArgs)(E.baseURL+'/'+l,T(T({},v),{},{context:'edit'})),void 0===v){c.next=20;break}return v=T(T({},v),{},{include:[l]}),c.next=17,p.controls.select('core','hasEntityRecords',t,s,v);case 17:if(!c.sent){c.next=20;break}return c.abrupt("return");case 20:return c.next=22,(0,f.apiFetch)({path:k});case 22:return O=c.sent,c.next=25,(0,h.receiveEntityRecords)(t,s,O,v);case 25:c.next=29;break;case 27:c.prev=27,c.t1=c.catch(10);case 29:return c.prev=29,c.delegateYield((0,b.__unstableReleaseStoreLock)(_),"t2",31);case 31:return c.finish(29);case 32:case"end":return c.stop()}},A,null,[[10,27,29,32]])}var q=(0,y.ifNotResolved)(M,'getEntityRecord');e.getRawEntityRecord=q;var G=(0,y.ifNotResolved)(q,'getRawEntityRecord');function z(t,s){var l,p,v,E,_,k,O,R,S,A,j,U=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return l=U.length>2&&void 0!==U[2]?U[2]:{},c.next=3,(0,x.getKindEntities)(t);case 3:if(p=c.sent,v=(0,u.find)(p,{kind:t,name:s})){c.next=7;break}return c.abrupt("return");case 7:return c.delegateYield((0,b.__unstableAcquireStoreLock)('core',['entities','data',t,s],{exclusive:!1}),"t0",8);case 8:return E=c.t0,c.prev=9,l._fields&&(l=T(T({},l),{},{_fields:(0,u.uniq)([].concat((0,n.default)((0,y.getNormalizedCommaSeparable)(l._fields)||[]),[v.key||x.DEFAULT_ENTITY_KEY])).join()})),k=(0,o.addQueryArgs)(v.baseURL,T(T({},l),{},{context:'edit'})),c.t1=Object,c.next=15,(0,f.apiFetch)({path:k});case 15:return c.t2=c.sent,O=c.t1.values.call(c.t1,c.t2),l._fields&&(O=O.map(function(t){return l._fields.split(',').forEach(function(n){t.hasOwnProperty(n)||(t[n]=void 0)}),t})),c.next=20,(0,h.receiveEntityRecords)(t,s,O,l);case 20:if(null==(_=l)?void 0:_._fields){c.next=32;break}R=v.key||x.DEFAULT_ENTITY_KEY,S=w(O);case 23:if((A=S()).done){c.next=32;break}if(!(j=A.value)[R]){c.next=30;break}return c.next=28,{type:'START_RESOLUTION',selectorName:'getEntityRecord',args:[t,s,j[R]]};case 28:return c.next=30,{type:'FINISH_RESOLUTION',selectorName:'getEntityRecord',args:[t,s,j[R]]};case 30:c.next=23;break;case 32:return c.prev=32,c.delegateYield((0,b.__unstableReleaseStoreLock)(E),"t3",34);case 34:return c.finish(32);case 35:case"end":return c.stop()}},P,null,[[9,,32,35]])}function V(){var t;return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,f.apiFetch)({path:'/wp/v2/themes?status=active'});case 2:return t=n.sent,n.next=5,(0,h.receiveCurrentTheme)(t[0]);case 5:case"end":return n.stop()}},j)}function H(){var t;return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,f.apiFetch)({path:'/wp/v2/themes?status=active'});case 2:return t=n.sent,n.next=5,(0,h.receiveThemeSupports)(t[0].theme_supports);case 5:case"end":return n.stop()}},U)}function $(t){var n;return c.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,f.apiFetch)({path:(0,o.addQueryArgs)('/oembed/1.0/proxy',{url:t})});case 3:return n=s.sent,s.next=6,(0,h.receiveEmbedPreview)(t,n);case 6:s.next=12;break;case 8:return s.prev=8,s.t0=s.catch(0),s.next=12,(0,h.receiveEmbedPreview)(t,!1);case 12:case"end":return s.stop()}},F,null,[[0,8]])}function B(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(0,l.default)("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),t.delegateYield(J('create','media'),"t0",2);case 2:case"end":return t.stop()}},I)}function J(t,n,s){var o,l,p,v,x,y;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(o={create:'POST',read:'GET',update:'PUT',delete:'DELETE'}[t]){c.next=4;break}throw new Error("'"+t+"' is not a valid action.");case 4:return l=s?"/wp/v2/"+n+"/"+s:"/wp/v2/"+n,c.prev=5,c.next=8,(0,f.apiFetch)({path:l,method:s?'GET':'OPTIONS',parse:!1});case 8:p=c.sent,c.next=14;break;case 11:return c.prev=11,c.t0=c.catch(5),c.abrupt("return");case 14:return v=(0,u.hasIn)(p,['headers','get'])?p.headers.get('allow'):(0,u.get)(p,['headers','Allow'],''),x=(0,u.compact)([t,n,s]).join('/'),y=(0,u.includes)(v,o),c.next=19,(0,h.receiveUserPermission)(x,y);case 19:case"end":return c.stop()}},L,null,[[5,11]])}function W(t,n){var s,u,o;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.resolveSelect('core','getPostType',t);case 2:return s=c.sent,u=s.rest_base,c.next=6,(0,f.apiFetch)({path:"/wp/v2/"+u+"/"+n+"/autosaves?context=edit"});case 6:if(!(o=c.sent)||!o.length){c.next=10;break}return c.next=10,(0,h.receiveAutosaves)(n,o);case 10:case"end":return c.stop()}},N)}function X(t,n){return c.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,p.controls.resolveSelect('core','getAutosaves',t,n);case 2:case"end":return s.stop()}},Y)}function Z(t){var n,s;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,v.regularFetch)((0,o.addQueryArgs)(t,{'_wp-find-template':!0}));case 2:if(null!==(n=c.sent)){c.next=5;break}return c.abrupt("return");case 5:return c.next=7,M('postType','wp_template',n.id);case 7:return c.next=9,p.controls.select('core','getEntityRecord','postType','wp_template',n.id);case 9:if(!(s=c.sent)){c.next=13;break}return c.next=13,(0,h.receiveEntityRecords)('postType','wp_template',[s],{'find-template':t});case 13:case"end":return c.stop()}},C)}e.getEditedEntityRecord=G,z.shouldInvalidate=function(t,n,s){return('RECEIVE_ITEMS'===t.type||'REMOVE_ITEMS'===t.type)&&t.invalidateCache&&n===t.kind&&s===t.name}},2309,[5,14,66,282,1068,1043,1111,1076,2281,2306,2297,2296,2283,2298]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.kind,c=t.type,u=t.id,l=t.children,s=y(o,c).context.Provider;return(0,n.createElement)(s,{value:u},l)},e.useEntityId=p,e.useEntityProp=function(t,u,l,s){var f=p(t,u),b=null!=s?s:f,v=(0,c.useSelect)(function(n){var o=n('core'),c=o.getEntityRecord,s=o.getEditedEntityRecord,f=c(t,u,b),v=s(t,u,b);return f&&v?{value:v[l],fullValue:f[l]}:{}},[t,u,b,l]),y=v.value,E=v.fullValue,k=(0,c.useDispatch)('core').editEntityRecord,O=(0,n.useCallback)(function(n){k(t,u,b,(0,o.default)({},l,n))},[t,u,b,l]);return[y,O,E]},e.useEntityBlockEditor=function(t,o){var l=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).id,s=p(t,o),f=null!=l?l:s,v=(0,c.useSelect)(function(n){var c=n('core'),u=c.getEditedEntityRecord,l=u(t,o,f);return{blocks:l.blocks,content:l.content}},[t,o,f]),y=v.content,E=v.blocks,k=(0,c.useDispatch)('core'),O=k.__unstableCreateUndoLevel,j=k.editEntityRecord;(0,n.useEffect)(function(){if(y&&'function'!=typeof y&&!E){var n=(0,u.parse)(y);j(t,o,f,{blocks:n},{undoIgnore:!0})}},[y]);var P=(0,n.useCallback)(function(n,c){var l=c.selectionStart,s=c.selectionEnd,b={blocks:n,selectionStart:l,selectionEnd:s},v=E===b.blocks;if(v)return O(t,o,f);b.content=function(t){var n=t.blocks,o=void 0===n?[]:n;return(0,u.__unstableSerializeAndClean)(o)},j(t,o,f,b)},[t,o,f,E]),h=(0,n.useCallback)(function(n,c){var u=c.selectionStart,l=c.selectionEnd,s={blocks:n,selectionStart:u,selectionEnd:l};j(t,o,f,s)},[t,o,f]);return[null!=E?E:b,h,P]};var n=r(d[1]),o=t(r(d[2])),c=r(d[3]),u=r(d[4]),l=r(d[5]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function f(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:v,c=arguments.length>1?arguments[1]:void 0;return t(n,c)}})])({panels:function(t,n){switch(n.type){case'TOGGLE_PANEL_ENABLED':var u=n.panelName;return E(E({},t),{},(0,c.default)({},u,E(E({},t[u]),{},{enabled:!(0,o.get)(t,[u,'enabled'],!0)})));case'TOGGLE_PANEL_OPENED':var l=n.panelName,s=!0===t[l]||(0,o.get)(t,[l,'opened'],!1);return E(E({},t),{},(0,c.default)({},l,E(E({},t[l]),{},{opened:!s})))}return t},features:function(t,n){return'TOGGLE_FEATURE'===n.type?E(E({},t),{},(0,c.default)({},n.feature,!t[n.feature])):t},editorMode:function(t,n){return'SWITCH_MODE'===n.type?n.mode:t},hiddenBlockTypes:function(t,c){switch(c.type){case'SHOW_BLOCK_TYPES':return o.without.apply(void 0,[t].concat((0,n.default)(c.blockNames)));case'HIDE_BLOCK_TYPES':return(0,o.union)(t,c.blockNames)}return t},preferredStyleVariations:function(t,n){switch(n.type){case'UPDATE_PREFERRED_STYLE_VARIATIONS':return n.blockName?n.blockStyle?E(E({},t),{},(0,c.default)({},n.blockName,n.blockStyle)):(0,o.omit)(t,[n.blockName]):t}return t},localAutosaveInterval:function(t,n){switch(n.type){case'UPDATE_LOCAL_AUTOSAVE_INTERVAL':return n.interval}return t}});function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case'REMOVE_PANEL':if(!(0,o.includes)(t,c.panelName))return[].concat((0,n.default)(t),[c.panelName])}return t}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'OPEN_MODAL':return n.name;case'CLOSE_MODAL':return null}return t}function O(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'OPEN_PUBLISH_SIDEBAR':return!0;case'CLOSE_PUBLISH_SIDEBAR':return!1;case'TOGGLE_PUBLISH_SIDEBAR':return!t}return t}function S(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'REQUEST_META_BOX_UPDATES':return!0;case'META_BOX_UPDATES_SUCCESS':return!1;default:return t}}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_META_BOXES_PER_LOCATIONS':return n.metaBoxesPerLocation}return t}function T(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'Desktop',n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_PREVIEW_DEVICE_TYPE':return n.deviceType}return t}e.preferences=p;var y=(0,u.combineReducers)({isSaving:S,locations:h}),P=(0,u.combineReducers)({activeModal:_,metaBoxes:y,preferences:p,publishSidebarActive:O,removedPanels:f,deviceType:T,isInserterOpened:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_IS_INSERTER_OPENED':return n.value}return t},isEditingTemplate:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_IS_EDITING_TEMPLATE':return n.value}return t}});e.default=P},2324,[5,14,66,1068,1076,2325]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PREFERENCES_DEFAULTS=void 0;e.PREFERENCES_DEFAULTS={editorMode:'visual',panels:{'post-status':{opened:!0}},features:{fixedToolbar:!1,welcomeGuide:!0,fullscreenMode:!0,showIconLabels:!1,themeStyles:!0,showBlockBreadcrumbs:!0},hiddenBlockTypes:[],preferredStyleVariations:{},localAutosaveInterval:15}},2325,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.openGeneralSidebar=h,e.closeGeneralSidebar=I,e.openModal=function(t){return{type:'OPEN_MODAL',name:t}},e.closeModal=function(){return{type:'CLOSE_MODAL'}},e.openPublishSidebar=function(){return{type:'OPEN_PUBLISH_SIDEBAR'}},e.closePublishSidebar=function(){return{type:'CLOSE_PUBLISH_SIDEBAR'}},e.togglePublishSidebar=function(){return{type:'TOGGLE_PUBLISH_SIDEBAR'}},e.toggleEditorPanelEnabled=function(t){return{type:'TOGGLE_PANEL_ENABLED',panelName:t}},e.toggleEditorPanelOpened=function(t){return{type:'TOGGLE_PANEL_OPENED',panelName:t}},e.removeEditorPanel=function(t){return{type:'REMOVE_PANEL',panelName:t}},e.toggleFeature=function(t){return{type:'TOGGLE_FEATURE',feature:t}},e.switchEditorMode=L,e.togglePinnedPluginItem=function(t){return{type:'TOGGLE_PINNED_PLUGIN_ITEM',pluginName:t}},e.hideBlockTypes=function(t){return{type:'HIDE_BLOCK_TYPES',blockNames:(0,c.castArray)(t)}},e.updatePreferredStyleVariations=function(t,n){return{type:'UPDATE_PREFERRED_STYLE_VARIATIONS',blockName:t,blockStyle:n}},e.__experimentalUpdateLocalAutosaveInterval=function(t){return{type:'UPDATE_LOCAL_AUTOSAVE_INTERVAL',interval:t}},e.showBlockTypes=function(t){return{type:'SHOW_BLOCK_TYPES',blockNames:(0,c.castArray)(t)}},e.setAvailableMetaBoxesPerLocation=B,e.requestMetaBoxUpdates=M,e.metaBoxUpdatesSuccess=function(){return{type:'META_BOX_UPDATES_SUCCESS'}},e.__experimentalSetPreviewDeviceType=function(t){return{type:'SET_PREVIEW_DEVICE_TYPE',deviceType:t}},e.setIsInserterOpened=function(t){return{type:'SET_IS_INSERTER_OPENED',value:t}},e.setIsEditingTemplate=function(t){return{type:'SET_IS_EDITING_TEMPLATE',value:t}};var n=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3])),c=r(d[4]),u=r(d[5]),l=r(d[6]),p=r(d[7]),f=r(d[8]),E=r(d[9]),_=r(d[10]),y=r(d[11]);function S(t,n){var o;if("undefined"==typeof Symbol||null==t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(t)||(o=v(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var s=0;return function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(o=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(o)}function v(t,n){if(t){if("string"==typeof t)return P(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?P(t,n):void 0}}function P(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,s=new Array(n);o0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,o=l.type,c=l.itemType,f=l.scope,p=l.item;return'SET_SINGLE_ENABLE_ITEM'===o&&c&&f?u(u({},t),{},(0,n.default)({},c,u(u({},t[c]),{},(0,n.default)({},f,p||null)))):t}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,c=o.type,f=o.itemType,p=o.scope,s=o.item,b=o.isEnable;if('SET_MULTIPLE_ENABLE_ITEM'!==c||!f||!p||!s||(0,l.get)(t,[f,p,s])===b)return t;var O=t[f]||{},E=O[p]||{};return u(u({},t),{},(0,n.default)({},f,u(u({},O),{},(0,n.default)({},p,u(u({},E),{},(0,n.default)({},s,b||!1))))))}var s=(0,o.combineReducers)({singleEnableItems:f,multipleEnableItems:p}),b=(0,o.combineReducers)({enableItems:s});e.default=b},2329,[5,66,1068,1076]); +__d(function(g,r,i,a,m,e,d){function n(n,t,o){return{type:'SET_SINGLE_ENABLE_ITEM',itemType:n,scope:t,item:o}}function t(n,t,o,u){return{type:'SET_MULTIPLE_ENABLE_ITEM',itemType:n,scope:t,item:o,isEnable:u}}Object.defineProperty(e,"__esModule",{value:!0}),e.enableComplementaryArea=function(t,o){return n('complementaryArea',t,o)},e.disableComplementaryArea=function(t){return n('complementaryArea',t,void 0)},e.pinItem=function(n,o){return t('pinnedItems',n,o,!0)},e.unpinItem=function(n,o){return t('pinnedItems',n,o,!1)}},2330,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getActiveComplementaryArea=function(n,u){return t(n,'complementaryArea',u)},e.isItemPinned=function(n,t,l){return!1!==u(n,'pinnedItems',t,l)};var n=r(d[0]);function t(t,u,l){return(0,n.get)(t.enableItems.singleEnableItems,[u,l])}function u(t,u,l,o){return(0,n.get)(t.enableItems.multipleEnableItems,[u,l,o])}},2331,[1068]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.STORE_NAME=void 0;e.STORE_NAME='core/interface'},2332,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ComplementaryArea",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"PinnedItems",{enumerable:!0,get:function(){return u.default}});var n=t(r(d[1])),u=t(r(d[2]))},2333,[5,2334,2351]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),s=t(r(d[4])),o=r(d[5]),u=r(d[6]),p=r(d[7]),f=r(d[8]),v=r(d[9]),E=t(r(d[10])),b=t(r(d[11])),h=t(r(d[12])),y=t(r(d[13])),A=r(d[14]);function C(t){var l=t.scope,c=t.children,s=t.className;return(0,n.createElement)(o.Fill,{name:"ComplementaryArea/"+l},(0,n.createElement)("div",{className:s},c))}function _(t,l,c,s,o){var p=(0,n.useRef)(!1),f=(0,n.useRef)(!1),v=(0,u.useDispatch)(A.store),E=v.enableComplementaryArea,b=v.disableComplementaryArea;(0,n.useEffect)(function(){s&&o&&!p.current?(b(t),f.current=!0):f.current&&!o&&p.current?(f.current=!1,E(t,l)):f.current&&c&&c!==l&&(f.current=!1),o!==p.current&&(p.current=o)},[s,o,t,l,c])}var P=(0,h.default)(function(t){var l=t.children,c=t.className,h=t.closeLabel,P=void 0===h?(0,p.__)('Close plugin'):h,N=t.identifier,S=t.header,L=t.headerClassName,w=t.icon,F=t.isPinnable,I=void 0===F||F,T=t.panelClassName,B=t.scope,D=t.smallScreenTitle,M=t.title,k=t.toggleShortcut,x=t.isActiveByDefault,R=t.showIconLabels,V=void 0!==R&&R,j=(0,u.useSelect)(function(t){var n=t(A.store),l=n.getActiveComplementaryArea,c=n.isItemPinned,s=l(B);return{isActive:s===N,isPinned:c(B,N),activeArea:s,isSmall:t(v.store).isViewportMatch('< medium'),isLarge:t(v.store).isViewportMatch('large')}},[N,B]),O=j.isActive,U=j.isPinned,q=j.activeArea,z=j.isSmall,G=j.isLarge;_(B,N,q,O,z);var H=(0,u.useDispatch)(A.store),J=H.enableComplementaryArea,K=H.disableComplementaryArea,Q=H.pinItem,W=H.unpinItem;return(0,n.useEffect)(function(){x&&void 0===q&&!z&&J(B,N)},[q,x,B,N,z]),(0,n.createElement)(n.Fragment,null,U&&I&&(0,n.createElement)(y.default,{scope:B},(0,n.createElement)(b.default,{scope:B,identifier:N,isPressed:O&&(!V||G),"aria-expanded":O,label:M,icon:V?f.check:w,showTooltip:!V,isTertiary:V})),O&&(0,n.createElement)(C,{className:(0,s.default)('interface-complementary-area',c),scope:B},(0,n.createElement)(E.default,{className:L,closeLabel:P,onClose:function(){return K(B)},smallScreenTitle:D,toggleButtonProps:{label:P,shortcut:k,scope:B,identifier:N}},S||(0,n.createElement)(n.Fragment,null,(0,n.createElement)("strong",null,M),I&&(0,n.createElement)(o.Button,{className:"interface-complementary-area__pin-unpin-item",icon:U?f.starFilled:f.starEmpty,label:U?(0,p.__)('Unpin from toolbar'):(0,p.__)('Pin to toolbar'),onClick:function(){return(U?W:Q)(B,N)},isPressed:U,"aria-expanded":U}))),(0,n.createElement)(o.Panel,{className:T},l)))});P.Slot=function(t){var s=t.scope,u=(0,c.default)(t,["scope"]);return(0,n.createElement)(o.Slot,(0,l.default)({name:"ComplementaryArea/"+s},u))};var N=P;e.default=N},2334,[5,946,24,67,1719,1699,1076,1027,1247,2335,2343,2344,2345,2351,2328]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"store",{enumerable:!0,get:function(){return u.store}}),Object.defineProperty(e,"ifViewportMatches",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"withViewportMatch",{enumerable:!0,get:function(){return f.default}});var n=t(r(d[1])),u=r(d[2]),o=t(r(d[3])),f=t(r(d[4]));(0,n.default)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{'<':'max-width','>=':'min-width'})},2335,[5,2336,2337,2341,2342]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3]),c=function(n,o){var u=t.Dimensions.get('window').width;if('max-width'===n)return u=o;throw new Error("Unsupported viewport operator: "+n)},f=function(f,s){var v=function(){var t=(0,n.reduce)(f,function(t,o,u){return(0,n.forEach)(s,function(n,f){var s=[f,u].join(' ');t[s]=c(n,o)}),t},{});(0,o.dispatch)(u.store).setIsMatching(t)};t.Dimensions.addEventListener('change',v),v()};e.default=f},2336,[1068,25,1076,2337]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=void 0;var c=r(d[2]),s=o(r(d[3])),u=t(r(d[4])),v=t(r(d[5])),l=(0,c.createReduxStore)('core/viewport',{reducer:s.default,actions:u,selectors:v});e.store=l,(0,c.register)(l)},2337,[32,5,1076,2338,2339,2340]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_IS_MATCHING':return n.values}return t};e.default=t},2338,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.setIsMatching=function(t){return{type:'SET_IS_MATCHING',values:t}}},2339,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isViewportMatch=function(n,t){-1===t.indexOf(' ')&&(t='>= '+t);return!!n[t]}},2340,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),u=function(t){return(0,o.createHigherOrderComponent)((0,o.compose)([(0,n.default)({isViewportMatch:t}),(0,o.ifCondition)(function(t){return t.isViewportMatch})]),'ifViewportMatches')};e.default=u},2341,[5,1116,2342]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=function(c){return(0,n.createHigherOrderComponent)((0,o.withSelect)(function(n){return(0,t.mapValues)(c,function(t){return n(u.store).isViewportMatch(t)})}),'withViewportMatch')};e.default=c},2342,[1068,1116,1076,2337]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=l(r(d[2])),c=l(r(d[3])),o=r(d[4]),s=l(r(d[5])),u=function(l){var u=l.smallScreenTitle,_=l.children,f=l.className,p=l.toggleButtonProps,v=(0,t.createElement)(s.default,(0,n.default)({icon:o.closeSmall},p));return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},u&&(0,t.createElement)("span",{className:"interface-complementary-area-header__small-title"},u),v),(0,t.createElement)("div",{className:(0,c.default)('components-panel__header','interface-complementary-area-header',f),tabIndex:-1},_,v))};e.default=u},2343,[5,946,24,1719,1247,2344]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),l=r(d[4]),u=r(d[5]),s=r(d[6]),f=r(d[7]);var v=(0,t(r(d[8])).default)(function(t){var v=t.as,p=void 0===v?u.Button:v,y=t.scope,A=t.identifier,C=t.icon,_=t.selectedIcon,b=(0,c.default)(t,["as","scope","identifier","icon","selectedIcon"]),I=p,h=(0,s.useSelect)(function(t){return t(f.store).getActiveComplementaryArea(y)===A},[A]),j=(0,s.useDispatch)(f.store),k=j.enableComplementaryArea,B=j.disableComplementaryArea;return(0,n.createElement)(I,(0,o.default)({icon:_&&h?_:C,onClick:function(){h?B(y):k(y,A)}},(0,l.omit)(b,['name'])))});e.default=v},2344,[5,946,24,67,1068,1699,1076,2328,2345]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(0,r(d[0]).withPluginContext)(function(n,t){return{icon:t.icon||n.icon,identifier:t.identifier||n.name+"/"+t.name}});e.default=n},2345,[2346]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},2346,[2347,2350]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PluginArea",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"withPluginContext",{enumerable:!0,get:function(){return u.withPluginContext}});var n=t(r(d[1])),u=r(d[2])},2347,[5,2348,2349]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),p=t(r(d[7])),f=r(d[8]),v=r(d[9]),y=r(d[10]),P=r(d[11]);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,o.default)(S,t);var R,k,C=(R=S,k=h(),function(){var t,n=(0,p.default)(R);if(k){var u=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function S(){var t;return(0,u.default)(this,S),(t=C.apply(this,arguments)).setPlugins=t.setPlugins.bind((0,s.default)(t)),t.state=t.getCurrentPluginsState(),t}return(0,l.default)(S,[{key:"getCurrentPluginsState",value:function(){return{plugins:(0,f.map)((0,P.getPlugins)(),function(t){var n=t.icon,u=t.name;return{Plugin:t.render,context:{name:u,icon:n}}})}}},{key:"componentDidMount",value:function(){(0,v.addAction)('plugins.pluginRegistered','core/plugins/plugin-area/plugins-registered',this.setPlugins),(0,v.addAction)('plugins.pluginUnregistered','core/plugins/plugin-area/plugins-unregistered',this.setPlugins)}},{key:"componentWillUnmount",value:function(){(0,v.removeAction)('plugins.pluginRegistered','core/plugins/plugin-area/plugins-registered'),(0,v.removeAction)('plugins.pluginUnregistered','core/plugins/plugin-area/plugins-unregistered')}},{key:"setPlugins",value:function(){this.setState(this.getCurrentPluginsState)}},{key:"render",value:function(){return(0,n.createElement)("div",{style:{display:'none'}},(0,f.map)(this.state.plugins,function(t){var u=t.context,l=t.Plugin;return(0,n.createElement)(y.PluginContextProvider,{key:u.name,value:u},(0,n.createElement)(l,null))}))}}]),S})(n.Component);e.default=R},2348,[5,946,7,42,60,57,59,56,1068,4,2349,2350]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.withPluginContext=e.PluginContextProvider=void 0;var t=r(d[1]),o=n(r(d[2])),u=r(d[3]),l=(0,t.createContext)({name:null,icon:null}),c=l.Consumer,P=l.Provider;e.PluginContextProvider=P;e.withPluginContext=function(n){return(0,u.createHigherOrderComponent)(function(u){return function(l){return(0,t.createElement)(c,null,function(c){return(0,t.createElement)(u,(0,o.default)({},l,n(c,l)))})}},'withPluginContext')}},2349,[5,946,24,1116]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.registerPlugin=function(t,n){if('object'!=typeof n)return console.error('No settings object provided!'),null;if('string'!=typeof t)return console.error('Plugin names must be strings.'),null;if(!/^[a-z][a-z0-9-]*$/.test(t))return console.error('Plugin names must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".'),null;p[t]&&console.error("Plugin \""+t+"\" is already registered.");if(n=(0,o.applyFilters)('plugins.registerPlugin',n,t),!(0,l.isFunction)(n.render))return console.error('The "render" property must be specified and must be a valid function.'),null;return p[t]=c({name:t,icon:u.plugins},n),(0,o.doAction)('plugins.pluginRegistered',n,t),n},e.unregisterPlugin=function(t){if(!p[t])return void console.error('Plugin "'+t+'" is not registered.');var n=p[t];return delete p[t],(0,o.doAction)('plugins.pluginUnregistered',n,t),n},e.getPlugin=function(t){return p[t]},e.getPlugins=function(){return Object.values(p)};var n=t(r(d[1])),o=r(d[2]),u=r(d[3]),l=r(d[4]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function c(t){for(var o=1;o0},e.isSavingMetaBoxes=function(t){return t.metaBoxes.isSaving},e.__experimentalGetPreviewDeviceType=function(t){return t.deviceType},e.isInserterOpened=function(t){return t.isInserterOpened},e.isEditingTemplate=function(t){return t.isEditingTemplate},e.getAllMetaBoxes=e.getActiveMetaBoxLocations=e.isPluginItemPinned=e.getActiveGeneralSidebarName=e.isPluginSidebarOpened=e.isEditorSidebarOpened=void 0;var n=t(r(d[1])),o=r(d[2]),u=r(d[3]),c=r(d[4]);var s=(0,u.createRegistrySelector)(function(t){return function(){var n=t(c.store).getActiveComplementaryArea('core/edit-post');return(0,o.includes)(['edit-post/document','edit-post/block'],n)}});e.isEditorSidebarOpened=s;var l=(0,u.createRegistrySelector)(function(t){return function(){var n=t(c.store).getActiveComplementaryArea('core/edit-post');return!!n&&!(0,o.includes)(['edit-post/document','edit-post/block'],n)}});e.isPluginSidebarOpened=l;var f=(0,u.createRegistrySelector)(function(t){return function(){return t(c.store).getActiveComplementaryArea('core/edit-post')}});function v(t){return t.preferences}function p(t,n,o){var u=v(t)[n];return void 0===u?o:u}function b(t,n){return(0,o.includes)(t.removedPanels,n)}function x(t,n){var u=p(t,'panels');return!b(t,n)&&(0,o.get)(u,[n,'enabled'],!0)}e.getActiveGeneralSidebarName=f;var P=(0,u.createRegistrySelector)(function(t){return function(n){return t(c.store).isItemPinned('core/edit-post',n)}});e.isPluginItemPinned=P;var A=(0,n.default)(function(t){return Object.keys(t.metaBoxes.locations).filter(function(n){return B(t,n)})},function(t){return[t.metaBoxes.locations]});function B(t,n){var o=M(t,n);return!!o&&0!==o.length}function M(t,n){return t.metaBoxes.locations[n]}e.getActiveMetaBoxLocations=A;var S=(0,n.default)(function(t){return(0,o.flatten)((0,o.values)(t.metaBoxes.locations))},function(t){return[t.metaBoxes.locations]});e.getAllMetaBoxes=S},2353,[5,1175,1068,1076,2327]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.VIEW_AS_PREVIEW_LINK_SELECTOR=e.VIEW_AS_LINK_SELECTOR=e.STORE_NAME=void 0;e.STORE_NAME='core/edit-post';e.VIEW_AS_LINK_SELECTOR='#wp-admin-bar-view a';e.VIEW_AS_PREVIEW_LINK_SELECTOR='#wp-admin-bar-preview a'},2354,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),p=t(r(d[8])),y=t(r(d[9])),T=t(r(d[10])),h=t(r(d[11])),v=t(r(d[12])),b=r(d[13]),w=r(d[14]),k=r(d[15]),O=r(d[16]),E=r(d[17]),M=r(d[18]),P=r(d[19]),R=r(d[20]),S=t(r(d[21])),j=r(d[22]);function B(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,s)}return n}function D(t){for(var o=1;o0){void 0===t.allowedBlockTypes&&(t.allowedBlockTypes=!0);var u=!0===t.allowedBlockTypes?(0,b.map)(c,'name'):t.allowedBlockTypes||[];t.allowedBlockTypes=b.without.apply(void 0,[u].concat((0,l.default)(s)))}return t}},{key:"componentDidMount",value:function(){var t=this;this.subscriptionParentSetFocusOnTitle=(0,P.subscribeSetFocusOnTitle)(function(){t.postTitleRef&&t.postTitleRef.focus()})}},{key:"componentWillUnmount",value:function(){this.subscriptionParentSetFocusOnTitle&&this.subscriptionParentSetFocusOnTitle.remove()}},{key:"setTitleRef",value:function(t){this.postTitleRef=t}},{key:"editorMode",value:function(t,n){return'preview'===n?(0,o.createElement)(R.Preview,{blocks:(0,O.rawHandler)({HTML:t})}):(0,o.createElement)(S.default,{setTitleRef:this.setTitleRef})}},{key:"render",value:function(){var t=this.props,l=t.settings,c=t.hasFixedToolbar,u=t.focusMode,f=t.initialEdits,p=t.hiddenBlockTypes,y=t.blockTypes,T=t.post,h=t.postId,v=t.postType,b=t.initialHtml,w=t.editorMode,E=(0,s.default)(t,["settings","hasFixedToolbar","focusMode","initialEdits","hiddenBlockTypes","blockTypes","post","postId","postType","initialHtml","editorMode"]),M=this.getEditorSettings(l,c,u,p,y),P=T||{id:h,title:{raw:E.initialTitle||''},content:{raw:(0,O.serialize)((0,O.parse)(b||''))},type:v,status:'draft',meta:[]};return(0,o.createElement)(R.SlotFillProvider,null,(0,o.createElement)(k.EditorProvider,(0,n.default)({settings:M,post:P,initialEdits:f,useSubRegistry:!1},E),this.editorMode(b,w)))}}]),j})(o.Component),_=(0,M.compose)([(0,E.withSelect)(function(t){var o=t(j.store),n=o.isFeatureActive,s=o.getEditorMode,l=o.getPreference,c=o.__experimentalGetPreviewDeviceType,u=t(O.store).getBlockTypes;return{hasFixedToolbar:n('fixedToolbar')||'Desktop'!==c(),focusMode:n('focusMode'),mode:s(),hiddenBlockTypes:l('hiddenBlockTypes'),blockTypes:u()}}),(0,E.withDispatch)(function(t){return{switchEditorMode:t(j.store).switchEditorMode}})])(x);e.default=_},2355,[5,946,24,67,14,66,7,42,60,57,59,56,1029,1068,25,2356,1223,1076,1116,945,1699,2415,2323]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={store:!0};Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),r(d[0]),r(d[1]),r(d[2]),r(d[3]);var n=r(d[4]),o=r(d[5]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var c=r(d[6]);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return c[n]}}))})},2356,[1073,2280,1074,2357,2358,2383,2412]); +__d(function(g,r,i,a,m,e,d){},2357,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=e.storeConfig=void 0;var n=o(r(d[2])),c=r(d[3]),s=r(d[4]),f=o(r(d[5])),p=t(r(d[6])),O=t(r(d[7])),u=o(r(d[8])),l=r(d[9]);function b(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function j(t){for(var o=1;o0&&void 0!==arguments[0]&&arguments[0],o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'TOGGLE_POST_TITLE_SELECTION':return o.isSelected}return t}});function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'UPDATE_CLIPBOARD':return o.clipboard}return t}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'CREATE_NOTICE':return[].concat((0,n.default)(t),[o.notice]);case'REMOVE_ALL_NOTICES':return[];case'REMOVE_NOTICE':return t.filter(function(t){return t.id!==o.id})}return t}e.postTitle=l;var v=(0,c.combineReducers)({postId:s.postId,postType:s.postType,postTitle:l,preferences:s.preferences,saving:s.saving,postLock:s.postLock,postSavingLock:s.postSavingLock,template:s.template,isReady:s.isReady,editorSettings:s.editorSettings,clipboard:p,notices:u});e.default=v},2359,[5,14,1076,2360,2361]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getPostRawValue=function(t){if(t&&'object'==typeof t&&'raw'in t)return t.raw;return t},e.hasSameKeys=T,e.isUpdatingSamePostProperty=p,e.shouldOverwriteState=function(t,n){if('RESET_EDITOR_BLOCKS'===t.type)return!t.shouldCreateUndoLevel;if(!n||t.type!==n.type)return!1;return p(t,n)},e.postId=S,e.postType=E,e.template=v,e.preferences=_,e.saving=O,e.postLock=f,e.postSavingLock=h,e.postAutosavingLock=y,e.isReady=P,e.editorSettings=A,e.default=void 0;var n=t(r(d[1])),o=r(d[2]),s=r(d[3]),c=r(d[4]);function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function l(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SETUP_EDITOR_STATE':case'RESET_POST':return n.post.id}return t}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SETUP_EDITOR_STATE':case'RESET_POST':return n.post.type}return t}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'SET_TEMPLATE_VALIDITY':return l(l({},t),{},{isValid:n.isValid})}return t}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.PREFERENCES_DEFAULTS;switch((arguments.length>1?arguments[1]:void 0).type){case'ENABLE_PUBLISH_SIDEBAR':return l(l({},t),{},{isPublishSidebarEnabled:!0});case'DISABLE_PUBLISH_SIDEBAR':return l(l({},t),{},{isPublishSidebarEnabled:!1})}return t}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'REQUEST_POST_UPDATE_START':case'REQUEST_POST_UPDATE_FINISH':return{pending:'REQUEST_POST_UPDATE_START'===n.type,options:n.options||{}}}return t}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'UPDATE_POST_LOCK':return n.lock}return t}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;switch(s.type){case'LOCK_POST_SAVING':return l(l({},t),{},(0,n.default)({},s.lockName,!0));case'UNLOCK_POST_SAVING':return(0,o.omit)(t,s.lockName)}return t}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;switch(s.type){case'LOCK_POST_AUTOSAVING':return l(l({},t),{},(0,n.default)({},s.lockName,!0));case'UNLOCK_POST_AUTOSAVING':return(0,o.omit)(t,s.lockName)}return t}function P(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case'SETUP_EDITOR_STATE':return!0;case'TEAR_DOWN_EDITOR':return!1}return t}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.EDITOR_SETTINGS_DEFAULTS,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case'UPDATE_EDITOR_SETTINGS':return l(l({},t),n.settings)}return t}var I=(0,s.combineReducers)({postId:S,postType:E,preferences:_,saving:O,postLock:f,template:v,postSavingLock:h,isReady:P,editorSettings:A,postAutosavingLock:y});e.default=I},2360,[5,66,1068,1076,2361]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.EDITOR_SETTINGS_DEFAULTS=e.PREFERENCES_DEFAULTS=void 0;var n=t(r(d[1])),o=r(d[2]);function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function E(t){for(var o=1;o2)return null;if(1===o.length&&'core/embed'===(n=o[0].name)){var c,l=null==(c=o[0].attributes)?void 0:c.providerNameSlug;['youtube','vimeo'].includes(l)?n='core/video':['spotify','soundcloud'].includes(l)&&(n='core/audio')}2===o.length&&'core/paragraph'===o[1].name&&(n=o[0].name);switch(n){case'core/image':return'image';case'core/quote':case'core/pullquote':return'quote';case'core/gallery':return'gallery';case'core/video':return'video';case'core/audio':return'audio';default:return null}},e.getBlocksForSerialization=function(t){(0,k.default)('`core/editor` getBlocksForSerialization selector',{plugin:'Gutenberg',alternative:'getEditorBlocks',hint:'Blocks serialization pre-processing occurs at save time'});var n=t.editor.present.blocks.value;if(1===n.length&&(0,s.isUnmodifiedDefaultBlock)(n[0]))return[];return n},e.isPublishingPost=function(t){return K(t)&&!U(t)&&'publish'===j(t,'status')},e.isPermalinkEditable=Y,e.getPermalink=function(t){var n=Z(t);if(!n)return null;var o=n.prefix,c=n.postName,l=n.suffix;if(Y(t))return o+c+l;return o},e.getEditedPostSlug=function(t){return j(t,'slug')||(0,y.cleanForSlug)(j(t,'title'))||L(t)},e.getPermalinkParts=Z,e.isPostLocked=function(t){return t.postLock.isLocked},e.isPostSavingLocked=function(t){return Object.keys(t.postSavingLock).length>0},e.isPostAutosavingLocked=$,e.isPostLockTakeover=function(t){return t.postLock.isTakeover},e.getPostLockUser=function(t){return t.postLock.user},e.getActivePostLock=function(t){return t.postLock.activePostLock},e.canUserUseUnfilteredHTML=function(t){return(0,c.has)(O(t),['_links','wp:action-unfiltered-html'])},e.isPublishSidebarEnabled=function(t){if(t.preferences.hasOwnProperty('isPublishSidebarEnabled'))return t.preferences.isPublishSidebarEnabled;return S.PREFERENCES_DEFAULTS.isPublishSidebarEnabled},e.getEditorBlocks=ee,e.getEditorSelectionStart=function(t){return j(t,'selectionStart')},e.getEditorSelectionEnd=function(t){return j(t,'selectionEnd')},e.__unstableIsEditorReady=function(t){return t.isReady},e.getEditorSettings=te,e.getStateBeforeOptimisticTransaction=function(){return(0,k.default)("select('core/editor').getStateBeforeOptimisticTransaction",{hint:'No state history is kept on this store anymore'}),null},e.inSomeHistory=function(){return(0,k.default)("select('core/editor').inSomeHistory",{hint:'No state history is kept on this store anymore'}),!1},e.__experimentalGetDefaultTemplateTypes=tt,e.__experimentalGetTemplateInfo=function(t,n){if(!n)return{};var o=n.excerpt,l=n.slug,s=n.title,u=rt(t,l),v=u.title,f=u.description,k=(0,c.isString)(s)?s:null==s?void 0:s.rendered,p=(0,c.isString)(o)?o:null==o?void 0:o.raw;return{title:k&&k!==l?k:v||l,description:p||f}},e.__experimentalGetDefaultTemplateType=e.getBlockListSettings=e.hasInserterItems=e.getInserterItems=e.canInsertBlockType=e.getTemplateLock=e.getTemplate=e.isValidTemplate=e.isBlockInsertionPointVisible=e.getBlockInsertionPoint=e.isCaretWithinFormattedText=e.isTyping=e.getBlockMode=e.isSelectionEnabled=e.isMultiSelecting=e.hasMultiSelection=e.isBlockWithinSelection=e.hasSelectedInnerBlock=e.isBlockSelected=e.getBlockIndex=e.getBlockOrder=e.getMultiSelectedBlocksEndClientId=e.getMultiSelectedBlocksStartClientId=e.isAncestorMultiSelected=e.isBlockMultiSelected=e.isFirstMultiSelectedBlock=e.getLastMultiSelectedBlockClientId=e.getFirstMultiSelectedBlockClientId=e.getMultiSelectedBlocks=e.getMultiSelectedBlockClientIds=e.getSelectedBlocksInitialCaretPosition=e.getNextBlockClientId=e.getPreviousBlockClientId=e.getAdjacentBlockClientId=e.getBlockHierarchyRootClientId=e.getBlockRootClientId=e.getSelectedBlock=e.getSelectedBlockClientId=e.hasSelectedBlock=e.getSelectedBlockCount=e.getBlockSelectionEnd=e.getBlockSelectionStart=e.getBlockCount=e.getBlocksByClientId=e.getGlobalBlockCount=e.getClientIdsWithDescendants=e.getClientIdsOfDescendants=e.__unstableGetBlockWithoutInnerBlocks=e.getBlocks=e.getBlock=e.getBlockAttributes=e.isBlockValid=e.getBlockName=e.getEditedPostContent=e.didPostSaveRequestFail=e.didPostSaveRequestSucceed=e.isSavingPost=e.hasAutosave=e.getAutosave=e.isEditedPostAutosaveable=e.getAutosaveAttribute=e.getReferenceByDistinctEdits=e.getPostEdits=e.getCurrentPost=e.hasNonPostEntityChanges=e.isEditedPostDirty=e.hasEditorRedo=e.hasEditorUndo=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),l=t(r(d[4])),s=r(d[5]),u=r(d[6]),v=r(d[7]),f=r(d[8]),k=t(r(d[9])),p=r(d[10]),S=r(d[11]),B=r(d[12]),P=r(d[13]),y=r(d[14]);function I(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function E(t){for(var n=1;n1)return!1;var o=n[0].name;if(o!==(0,s.getDefaultBlockName)()&&o!==(0,s.getFreeformContentHandlerName)())return!1}return!J(t)}e.getAutosaveAttribute=G;var q=(0,f.createRegistrySelector)(function(t){return function(n){if(!V(n))return!1;if($(n))return!1;var o=w(n),l=L(n),s=t('core').hasFetchedAutosaves(o,l),u=(0,c.get)(t('core').getCurrentUser(),['id']),v=t('core').getAutosave(o,l,u);return!!s&&(!v||(!!_(n)||['title','excerpt'].some(function(t){return(0,P.getPostRawValue)(v[t])!==j(n,t)})))}});e.isEditedPostAutosaveable=q;var H=(0,f.createRegistrySelector)(function(t){return function(n){(0,k.default)("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:'Gutenberg'});var o=w(n),l=L(n),s=(0,c.get)(t('core').getCurrentUser(),['id']),u=t('core').getAutosave(o,l,s);return(0,c.mapValues)((0,c.pick)(u,B.AUTOSAVE_PROPERTIES),P.getPostRawValue)}});e.getAutosave=H;var z=(0,f.createRegistrySelector)(function(t){return function(n){(0,k.default)("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:'Gutenberg'});var o=w(n),l=L(n),s=(0,c.get)(t('core').getCurrentUser(),['id']);return!!t('core').getAutosave(o,l,s)}});e.hasAutosave=z;var K=(0,f.createRegistrySelector)(function(t){return function(n){var o=w(n),c=L(n);return t('core').isSavingEntityRecord('postType',o,c)}});e.isSavingPost=K;var Q=(0,f.createRegistrySelector)(function(t){return function(n){var o=w(n),c=L(n);return!t('core').getLastEntitySaveError('postType',o,c)}});e.didPostSaveRequestSucceed=Q;var X=(0,f.createRegistrySelector)(function(t){return function(n){var o=w(n),c=L(n);return!!t('core').getLastEntitySaveError('postType',o,c)}});e.didPostSaveRequestFail=X;var J=(0,f.createRegistrySelector)(function(t){return function(n){var o=L(n),c=w(n),l=t('core').getEditedEntityRecord('postType',c,o);if(l){if('function'==typeof l.content)return l.content(l);if(l.blocks)return(0,s.__unstableSerializeAndClean)(l.blocks);if(l.content)return l.content}return''}});function Y(t){var n=j(t,'permalink_template');return B.PERMALINK_POSTNAME_REGEX.test(n)}function Z(t){var o=j(t,'permalink_template');if(!o)return null;var c=j(t,'slug')||j(t,'generated_slug'),l=o.split(B.PERMALINK_POSTNAME_REGEX),s=(0,n.default)(l,2);return{prefix:s[0],postName:c,suffix:s[1]}}function $(t){return Object.keys(t.postAutosavingLock).length>0}function ee(t){return j(t,'blocks')||C}function te(t){return t.editorSettings}function re(t){return(0,f.createRegistrySelector)(function(n){return function(o){var c;(0,k.default)("`wp.data.select( 'core/editor' )."+t+'`',{alternative:"`wp.data.select( 'core/block-editor' )."+t+'`'});for(var l=arguments.length,s=new Array(l>1?l-1:0),u=1;u1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0,u=M(n,o);return c(t,u)},e.gmdate=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,u=(0,n.default)(o).utc();return c(t,u)},e.dateI18n=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0;if(!0===o)return h(t,n);!1===o&&(o=void 0);var u=M(n,o);return u.locale(s.l10n.locale),c(t,u)},e.gmdateI18n=h,e.isInTheFuture=function(t){var u=n.default.tz(o);return n.default.tz(t,o).isAfter(u)},e.getDate=function(t){if(!t)return n.default.tz(o).toDate();return n.default.tz(t,o).toDate()};var n=t(r(d[1]));r(d[2]),r(d[3]);var o='WP',u=/^[+-][0-1][0-9](:?[0-9][0-9])?$/,s={l10n:{locale:'en',months:['January','February','March','April','May','June','July','August','September','October','November','December'],monthsShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],weekdays:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],weekdaysShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],meridiem:{am:'am',pm:'pm',AM:'AM',PM:'PM'},relative:{future:'%s from now',past:'%s ago',s:'a few seconds',ss:'%d seconds',m:'a minute',mm:'%d minutes',h:'an hour',hh:'%d hours',d:'a day',dd:'%d days',M:'a month',MM:'%d months',y:'a year',yy:'%d years'}},formats:{time:'g: i a',date:'F j, Y',datetime:'F j, Y g: i a',datetimeAbbreviated:'M j, Y g: i a'},timezone:{offset:'0',string:'',abbr:''}};function l(){n.default.tz.add(n.default.tz.pack({name:o,abbrs:[o],untils:[null],offsets:[60*-s.timezone.offset||0]}))}var f={d:'DD',D:'ddd',j:'D',l:'dddd',N:'E',S:function(t){var n=t.format('D');return t.format('Do').replace(n,'')},w:'d',z:function(t){return''+parseInt(t.format('DDD'),10)-1},W:'W',F:'MMMM',m:'MM',M:'MMM',n:'M',t:function(t){return t.daysInMonth()},L:function(t){return t.isLeapYear()?'1':'0'},o:'GGGG',Y:'YYYY',y:'YY',a:'a',A:'A',B:function(t){var o=(0,n.default)(t).utcOffset(60),u=parseInt(o.format('s'),10),s=parseInt(o.format('m'),10),l=parseInt(o.format('H'),10);return parseInt((u+60*s+3600*l)/86.4,10)},g:'h',G:'H',h:'hh',H:'HH',i:'mm',s:'ss',u:'SSSSSS',v:'SSS',e:'zz',I:function(t){return t.isDST()?'1':'0'},O:'ZZ',P:'Z',T:'z',Z:function(t){var n=t.format('Z'),o='-'===n[0]?-1:1,u=n.substring(1).split(':');return o*(60*u[0]+u[1])*60},c:'YYYY-MM-DDTHH:mm:ssZ',r:'ddd, D MMM YYYY HH:mm:ss ZZ',U:'X'};function c(t){var o,u,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,l=[],c=(0,n.default)(s);for(o=0;o1&&void 0!==arguments[1]?arguments[1]:new Date,u=(0,n.default)(o).utc();return u.locale(s.l10n.locale),c(t,u)}function M(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'',u=(0,n.default)(t);return o&&!v(o)?u.tz(o):o&&v(o)?u.utcOffset(o):s.timezone.string?u.tz(s.timezone.string):u.utcOffset(s.timezone.offset)}function v(t){return'number'==typeof t||u.test(t)}l()},2364,[5,2365,2366,2367]); +__d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(){'use strict';var t,n;function s(){return t.apply(null,arguments)}function o(t){return t instanceof Array||'[object Array]'===Object.prototype.toString.call(t)}function u(t){return null!=t&&'[object Object]'===Object.prototype.toString.call(t)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(t.hasOwnProperty(n))return!1;return!0}function h(t){return void 0===t}function c(t){return'number'==typeof t||'[object Number]'===Object.prototype.toString.call(t)}function f(t){return t instanceof Date||'[object Date]'===Object.prototype.toString.call(t)}function _(t,n){var s,o=[];for(s=0;s>>0,o=0;o0)for(s=0;s=0?s?'+':'':'-')+Math.pow(10,Math.max(0,u)).toString().substr(1)+o}var $=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,J=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,q={},B={};function Q(t,n,s,o){var u=o;'string'==typeof o&&(u=function(){return this[o]()}),t&&(B[t]=u),n&&(B[n[0]]=function(){return z(u.apply(this,arguments),n[1],n[2])}),s&&(B[s]=function(){return this.localeData().ordinal(u.apply(this,arguments),t)})}function X(t){var n,s,o,u=t.match($);for(n=0,s=u.length;n=0&&J.test(t);)t=t.replace(J,o),J.lastIndex=0,s-=1;return t}var te=/\d/,ne=/\d\d/,se=/\d{3}/,ie=/\d{4}/,re=/[+-]?\d{6}/,ae=/\d\d?/,oe=/\d\d\d\d?/,ue=/\d\d\d\d\d\d?/,le=/\d{1,3}/,de=/\d{1,4}/,he=/[+-]?\d{1,6}/,ce=/\d+/,fe=/[+-]?\d+/,me=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,ye=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ge={};function ve(t,n,s){ge[t]=L(n)?n:function(t,o){return t&&s?s:n}}function pe(t,n){return y(ge,t)?ge[t](n._strict,n._locale):new RegExp(we(t.replace('\\','').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,s,o,u){return n||s||o||u})))}function we(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,'\\$&')}var Me={};function Se(t,n){var s,o=n;for('string'==typeof t&&(t=[t]),c(n)&&(o=function(t,s){s[n]=b(t)}),s=0;s68?1900:2e3)};var Le,Ue=Ne('FullYear',!0);function Ne(t,n){return function(o){return null!=o?(Ve(this,t,o),s.updateOffset(this,n),this):Ge(this,t)}}function Ge(t,n){return t.isValid()?t._d['get'+(t._isUTC?'UTC':'')+n]():NaN}function Ve(t,n,s){t.isValid()&&!isNaN(s)&&('FullYear'===n&&Fe(t.year())&&1===t.month()&&29===t.date()?t._d['set'+(t._isUTC?'UTC':'')+n](s,t.month(),Ee(s,t.month())):t._d['set'+(t._isUTC?'UTC':'')+n](s))}function Ee(t,n){if(isNaN(t)||isNaN(n))return NaN;var s,o=(n%(s=12)+s)%s;return t+=(n-o)/12,1===o?Fe(t)?29:28:31-o%7%2}Le=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n=0&&isFinite(c.getFullYear())&&c.setFullYear(t),c}function Xe(t){var n=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t),n}function Ke(t,n,s){var o=7+n-s;return-((7+Xe(t,0,o).getUTCDay()-n)%7)+o-1}function et(t,n,s,o,u){var l,h,c=1+7*(n-1)+(7+s-o)%7+Ke(t,o,u);return c<=0?h=Ce(l=t-1)+c:c>Ce(t)?(l=t+1,h=c-Ce(t)):(l=t,h=c),{year:l,dayOfYear:h}}function tt(t,n,s){var o,u,l=Ke(t.year(),n,s),h=Math.floor((t.dayOfYear()-l-1)/7)+1;return h<1?o=h+nt(u=t.year()-1,n,s):h>nt(t.year(),n,s)?(o=h-nt(t.year(),n,s),u=t.year()+1):(u=t.year(),o=h),{week:o,year:u}}function nt(t,n,s){var o=Ke(t,n,s),u=Ke(t+1,n,s);return(Ce(t)-o+u)/7}Q('w',['ww',2],'wo','week'),Q('W',['WW',2],'Wo','isoWeek'),V('week','w'),V('isoWeek','W'),j('week',5),j('isoWeek',5),ve('w',ae),ve('ww',ae,ne),ve('W',ae),ve('WW',ae,ne),De(['w','ww','W','WW'],function(t,n,s,o){n[o.substr(0,1)]=b(t)});function st(t,n){return'string'!=typeof t?t:isNaN(t)?'number'==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}function it(t,n){return'string'==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}Q('d',0,'do','day'),Q('dd',0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Q('ddd',0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Q('dddd',0,0,function(t){return this.localeData().weekdays(this,t)}),Q('e',0,0,'weekday'),Q('E',0,0,'isoWeekday'),V('day','d'),V('weekday','e'),V('isoWeekday','E'),j('day',11),j('weekday',11),j('isoWeekday',11),ve('d',ae),ve('e',ae),ve('E',ae),ve('dd',function(t,n){return n.weekdaysMinRegex(t)}),ve('ddd',function(t,n){return n.weekdaysShortRegex(t)}),ve('dddd',function(t,n){return n.weekdaysRegex(t)}),De(['dd','ddd','dddd'],function(t,n,s,o){var u=s._locale.weekdaysParse(t,o,s._strict);null!=u?n.d=u:w(s).invalidWeekday=t}),De(['d','e','E'],function(t,n,s,o){n[o]=b(t)});var rt='Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');var at='Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');var ot='Su_Mo_Tu_We_Th_Fr_Sa'.split('_');function ut(t,n,s){var o,u,l,h=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)l=p([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(l,'').toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(l,'').toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(l,'').toLocaleLowerCase();return s?'dddd'===n?-1!==(u=Le.call(this._weekdaysParse,h))?u:null:'ddd'===n?-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:null:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:null:'dddd'===n?-1!==(u=Le.call(this._weekdaysParse,h))?u:-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:null:'ddd'===n?-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:-1!==(u=Le.call(this._weekdaysParse,h))?u:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:null:-1!==(u=Le.call(this._minWeekdaysParse,h))?u:-1!==(u=Le.call(this._weekdaysParse,h))?u:-1!==(u=Le.call(this._shortWeekdaysParse,h))?u:null}var lt=ye;var dt=ye;var ht=ye;function ct(){function t(t,n){return n.length-t.length}var n,s,o,u,l,h=[],c=[],f=[],_=[];for(n=0;n<7;n++)s=p([2e3,1]).day(n),o=this.weekdaysMin(s,''),u=this.weekdaysShort(s,''),l=this.weekdays(s,''),h.push(o),c.push(u),f.push(l),_.push(o),_.push(u),_.push(l);for(h.sort(t),c.sort(t),f.sort(t),_.sort(t),n=0;n<7;n++)c[n]=we(c[n]),f[n]=we(f[n]),_[n]=we(_[n]);this._weekdaysRegex=new RegExp('^('+_.join('|')+')','i'),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp('^('+f.join('|')+')','i'),this._weekdaysShortStrictRegex=new RegExp('^('+c.join('|')+')','i'),this._weekdaysMinStrictRegex=new RegExp('^('+h.join('|')+')','i')}function ft(){return this.hours()%12||12}function mt(t,n){Q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)})}function _t(t,n){return n._meridiemParse}Q('H',['HH',2],0,'hour'),Q('h',['hh',2],0,ft),Q('k',['kk',2],0,function(){return this.hours()||24}),Q('hmm',0,0,function(){return''+ft.apply(this)+z(this.minutes(),2)}),Q('hmmss',0,0,function(){return''+ft.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),Q('Hmm',0,0,function(){return''+this.hours()+z(this.minutes(),2)}),Q('Hmmss',0,0,function(){return''+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),mt('a',!0),mt('A',!1),V('hour','h'),j('hour',13),ve('a',_t),ve('A',_t),ve('H',ae),ve('h',ae),ve('k',ae),ve('HH',ae,ne),ve('hh',ae,ne),ve('kk',ae,ne),ve('hmm',oe),ve('hmmss',ue),ve('Hmm',oe),ve('Hmmss',ue),Se(['H','HH'],xe),Se(['k','kk'],function(t,n,s){var o=b(t);n[xe]=24===o?0:o}),Se(['a','A'],function(t,n,s){s._isPm=s._locale.isPM(t),s._meridiem=t}),Se(['h','hh'],function(t,n,s){n[xe]=b(t),w(s).bigHour=!0}),Se('hmm',function(t,n,s){var o=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o)),w(s).bigHour=!0}),Se('hmmss',function(t,n,s){var o=t.length-4,u=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o,2)),n[Pe]=b(t.substr(u)),w(s).bigHour=!0}),Se('Hmm',function(t,n,s){var o=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o))}),Se('Hmmss',function(t,n,s){var o=t.length-4,u=t.length-2;n[xe]=b(t.substr(0,o)),n[be]=b(t.substr(o,2)),n[Pe]=b(t.substr(u))});var yt,gt=Ne('Hours',!0),vt={calendar:{sameDay:'[Today at] LT',nextDay:'[Tomorrow at] LT',nextWeek:'dddd [at] LT',lastDay:'[Yesterday at] LT',lastWeek:'[Last] dddd [at] LT',sameElse:'L'},longDateFormat:{LTS:'h:mm:ss A',LT:'h:mm A',L:'MM/DD/YYYY',LL:'MMMM D, YYYY',LLL:'MMMM D, YYYY h:mm A',LLLL:'dddd, MMMM D, YYYY h:mm A'},invalidDate:'Invalid date',ordinal:'%d',dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:'in %s',past:'%s ago',s:'a few seconds',ss:'%d seconds',m:'a minute',mm:'%d minutes',h:'an hour',hh:'%d hours',d:'a day',dd:'%d days',M:'a month',MM:'%d months',y:'a year',yy:'%d years'},months:Ae,monthsShort:je,week:{dow:0,doy:6},weekdays:rt,weekdaysMin:ot,weekdaysShort:at,meridiemParse:/[ap]\.?m?\.?/i},pt={},wt={};function Mt(t){return t?t.toLowerCase().replace('_','-'):t}function St(t){for(var n,s,o,u,l=0;l0;){if(o=Dt(u.slice(0,n).join('-')))return o;if(s&&s.length>=n&&P(u,s,!0)>=n-1)break;n--}l++}return yt}function Dt(t){var n=null;if(!pt[t]&&void 0!==m&&m&&m.exports)try{n=yt._abbr,r('./locale/'+t),kt(n)}catch(t){}return pt[t]}function kt(t,n){var s;return t&&((s=h(n)?Ot(t):Yt(t,n))?yt=s:'undefined'!=typeof console&&console.warn&&console.warn('Locale '+t+' not found. Did you forget to load it?')),yt._abbr}function Yt(t,n){if(null!==n){var s,o=vt;if(n.abbr=t,null!=pt[t])F('defineLocaleOverride',"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=pt[t]._config;else if(null!=n.parentLocale)if(null!=pt[n.parentLocale])o=pt[n.parentLocale]._config;else{if(null==(s=Dt(n.parentLocale)))return wt[n.parentLocale]||(wt[n.parentLocale]=[]),wt[n.parentLocale].push({name:t,config:n}),null;o=s._config}return pt[t]=new N(U(o,n)),wt[t]&&wt[t].forEach(function(t){Yt(t.name,t.config)}),kt(t),pt[t]}return delete pt[t],null}function Ot(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return yt;if(!o(t)){if(n=Dt(t))return n;t=[t]}return St(t)}function Tt(t){var n,s=t._a;return s&&-2===w(t).overflow&&(n=s[Oe]<0||s[Oe]>11?Oe:s[Te]<1||s[Te]>Ee(s[Ye],s[Oe])?Te:s[xe]<0||s[xe]>24||24===s[xe]&&(0!==s[be]||0!==s[Pe]||0!==s[We])?xe:s[be]<0||s[be]>59?be:s[Pe]<0||s[Pe]>59?Pe:s[We]<0||s[We]>999?We:-1,w(t)._overflowDayOfYear&&(nTe)&&(n=Te),w(t)._overflowWeeks&&-1===n&&(n=He),w(t)._overflowWeekday&&-1===n&&(n=Re),w(t).overflow=n),t}function xt(t,n,s){return null!=t?t:null!=n?n:s}function bt(t){var n=new Date(s.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Pt(t){var n,s,o,u,l,h=[];if(!t._d){for(o=bt(t),t._w&&null==t._a[Te]&&null==t._a[Oe]&&Wt(t),null!=t._dayOfYear&&(l=xt(t._a[Ye],o[Ye]),(t._dayOfYear>Ce(l)||0===t._dayOfYear)&&(w(t)._overflowDayOfYear=!0),s=Xe(l,0,t._dayOfYear),t._a[Oe]=s.getUTCMonth(),t._a[Te]=s.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=h[n]=o[n];for(;n<7;n++)t._a[n]=h[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[xe]&&0===t._a[be]&&0===t._a[Pe]&&0===t._a[We]&&(t._nextDay=!0,t._a[xe]=0),t._d=(t._useUTC?Xe:Qe).apply(null,h),u=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xe]=24),t._w&&void 0!==t._w.d&&t._w.d!==u&&(w(t).weekdayMismatch=!0)}}function Wt(t){var n,s,o,u,l,h,c,f;if(null!=(n=t._w).GG||null!=n.W||null!=n.E)l=1,h=4,s=xt(n.GG,t._a[Ye],tt(Kt(),1,4).year),o=xt(n.W,1),((u=xt(n.E,1))<1||u>7)&&(f=!0);else{l=t._locale._week.dow,h=t._locale._week.doy;var _=tt(Kt(),l,h);s=xt(n.gg,t._a[Ye],_.year),o=xt(n.w,_.week),null!=n.d?((u=n.d)<0||u>6)&&(f=!0):null!=n.e?(u=n.e+l,(n.e<0||n.e>6)&&(f=!0)):u=l}o<1||o>nt(s,l,h)?w(t)._overflowWeeks=!0:null!=f?w(t)._overflowWeekday=!0:(c=et(s,o,u,l,h),t._a[Ye]=c.year,t._dayOfYear=c.dayOfYear)}var Ht=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Rt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ct=/Z|[+-]\d\d(?::?\d\d)?/,Ft=[['YYYYYY-MM-DD',/[+-]\d{6}-\d\d-\d\d/],['YYYY-MM-DD',/\d{4}-\d\d-\d\d/],['GGGG-[W]WW-E',/\d{4}-W\d\d-\d/],['GGGG-[W]WW',/\d{4}-W\d\d/,!1],['YYYY-DDD',/\d{4}-\d{3}/],['YYYY-MM',/\d{4}-\d\d/,!1],['YYYYYYMMDD',/[+-]\d{10}/],['YYYYMMDD',/\d{8}/],['GGGG[W]WWE',/\d{4}W\d{3}/],['GGGG[W]WW',/\d{4}W\d{2}/,!1],['YYYYDDD',/\d{7}/]],Lt=[['HH:mm:ss.SSSS',/\d\d:\d\d:\d\d\.\d+/],['HH:mm:ss,SSSS',/\d\d:\d\d:\d\d,\d+/],['HH:mm:ss',/\d\d:\d\d:\d\d/],['HH:mm',/\d\d:\d\d/],['HHmmss.SSSS',/\d\d\d\d\d\d\.\d+/],['HHmmss,SSSS',/\d\d\d\d\d\d,\d+/],['HHmmss',/\d\d\d\d\d\d/],['HHmm',/\d\d\d\d/],['HH',/\d\d/]],Ut=/^\/?Date\((\-?\d+)/i;function Nt(t){var n,s,o,u,l,h,c=t._i,f=Ht.exec(c)||Rt.exec(c);if(f){for(w(t).iso=!0,n=0,s=Ft.length;n0&&w(t).unusedInput.push(h),c=c.slice(c.indexOf(o)+o.length),_+=o.length),B[l]?(o?w(t).empty=!1:w(t).unusedTokens.push(l),ke(l,o,t)):t._strict&&!o&&w(t).unusedTokens.push(l);w(t).charsLeftOver=f-_,c.length>0&&w(t).unusedInput.push(c),t._a[xe]<=12&&!0===w(t).bigHour&&t._a[xe]>0&&(w(t).bigHour=void 0),w(t).parsedDateParts=t._a.slice(0),w(t).meridiem=t._meridiem,t._a[xe]=$t(t._locale,t._a[xe],t._meridiem),Pt(t),Tt(t)}else jt(t);else Nt(t)}function $t(t,n,s){var o;return null==s?n:null!=t.meridiemHour?t.meridiemHour(n,s):null!=t.isPM?((o=t.isPM(s))&&n<12&&(n+=12),o||12!==n||(n=0),n):n}function Jt(t){var n,s,o,u,l;if(0===t._f.length)return w(t).invalidFormat=!0,void(t._d=new Date(NaN));for(u=0;uthis?this:t:S()});function nn(t,n){var s,u;if(1===n.length&&o(n[0])&&(n=n[0]),!n.length)return Kt();for(s=n[0],u=1;u(l=nt(t,o,u))&&(n=l),Wn.call(this,t,n,s,o,u))}function Wn(t,n,s,o,u){var l=et(t,n,s,o,u),h=Xe(l.year,0,l.dayOfYear);return this.year(h.getUTCFullYear()),this.month(h.getUTCMonth()),this.date(h.getUTCDate()),this}Q(0,['gg',2],0,function(){return this.weekYear()%100}),Q(0,['GG',2],0,function(){return this.isoWeekYear()%100}),bn('gggg','weekYear'),bn('ggggg','weekYear'),bn('GGGG','isoWeekYear'),bn('GGGGG','isoWeekYear'),V('weekYear','gg'),V('isoWeekYear','GG'),j('weekYear',1),j('isoWeekYear',1),ve('G',fe),ve('g',fe),ve('GG',ae,ne),ve('gg',ae,ne),ve('GGGG',de,ie),ve('gggg',de,ie),ve('GGGGG',he,re),ve('ggggg',he,re),De(['gggg','ggggg','GGGG','GGGGG'],function(t,n,s,o){n[o.substr(0,2)]=b(t)}),De(['gg','GG'],function(t,n,o,u){n[u]=s.parseTwoDigitYear(t)}),Q('Q',0,'Qo','quarter'),V('quarter','Q'),j('quarter',7),ve('Q',te),Se('Q',function(t,n){n[Oe]=3*(b(t)-1)}),Q('D',['DD',2],'Do','date'),V('date','D'),j('date',9),ve('D',ae),ve('DD',ae,ne),ve('Do',function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient}),Se(['D','DD'],Te),Se('Do',function(t,n){n[Te]=b(t.match(ae)[0])});var Hn=Ne('Date',!0);Q('DDD',['DDDD',3],'DDDo','dayOfYear'),V('dayOfYear','DDD'),j('dayOfYear',4),ve('DDD',le),ve('DDDD',se),Se(['DDD','DDDD'],function(t,n,s){s._dayOfYear=b(t)}),Q('m',['mm',2],0,'minute'),V('minute','m'),j('minute',14),ve('m',ae),ve('mm',ae,ne),Se(['m','mm'],be);var Rn=Ne('Minutes',!1);Q('s',['ss',2],0,'second'),V('second','s'),j('second',15),ve('s',ae),ve('ss',ae,ne),Se(['s','ss'],Pe);var Cn,Fn=Ne('Seconds',!1);for(Q('S',0,0,function(){return~~(this.millisecond()/100)}),Q(0,['SS',2],0,function(){return~~(this.millisecond()/10)}),Q(0,['SSS',3],0,'millisecond'),Q(0,['SSSS',4],0,function(){return 10*this.millisecond()}),Q(0,['SSSSS',5],0,function(){return 100*this.millisecond()}),Q(0,['SSSSSS',6],0,function(){return 1e3*this.millisecond()}),Q(0,['SSSSSSS',7],0,function(){return 1e4*this.millisecond()}),Q(0,['SSSSSSSS',8],0,function(){return 1e5*this.millisecond()}),Q(0,['SSSSSSSSS',9],0,function(){return 1e6*this.millisecond()}),V('millisecond','ms'),j('millisecond',16),ve('S',le,te),ve('SS',le,ne),ve('SSS',le,se),Cn='SSSS';Cn.length<=9;Cn+='S')ve(Cn,ce);function Ln(t,n){n[We]=b(1e3*('0.'+t))}for(Cn='S';Cn.length<=9;Cn+='S')Se(Cn,Ln);var Un=Ne('Milliseconds',!1);Q('z',0,0,'zoneAbbr'),Q('zz',0,0,'zoneName');var Nn=O.prototype;function Gn(t){return t}Nn.add=Dn,Nn.calendar=function(t,n){var o=t||Kt(),u=cn(o,this).startOf('day'),l=s.calendarFormat(this,u)||'sameElse',h=n&&(L(n[l])?n[l].call(this,o):n[l]);return this.format(h||this.localeData().calendar(l,this,Kt(o)))},Nn.clone=function(){return new O(this)},Nn.diff=function(t,n,s){var o,u,l;if(!this.isValid())return NaN;if(!(o=cn(t,this)).isValid())return NaN;switch(u=6e4*(o.utcOffset()-this.utcOffset()),n=E(n)){case'year':l=Yn(this,o)/12;break;case'month':l=Yn(this,o);break;case'quarter':l=Yn(this,o)/3;break;case'second':l=(this-o)/1e3;break;case'minute':l=(this-o)/6e4;break;case'hour':l=(this-o)/36e5;break;case'day':l=(this-o-u)/864e5;break;case'week':l=(this-o-u)/6048e5;break;default:l=this-o}return s?l:x(l)},Nn.endOf=function(t){return void 0===(t=E(t))||'millisecond'===t?this:('date'===t&&(t='day'),this.startOf(t).add(1,'isoWeek'===t?'week':t).subtract(1,'ms'))},Nn.format=function(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var n=K(this,t);return this.localeData().postformat(n)},Nn.from=function(t,n){return this.isValid()&&(T(t)&&t.isValid()||Kt(t).isValid())?gn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Nn.fromNow=function(t){return this.from(Kt(),t)},Nn.to=function(t,n){return this.isValid()&&(T(t)&&t.isValid()||Kt(t).isValid())?gn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Nn.toNow=function(t){return this.to(Kt(),t)},Nn.get=function(t){return L(this[t=E(t)])?this[t]():this},Nn.invalidAt=function(){return w(this).overflow},Nn.isAfter=function(t,n){var s=T(t)?t:Kt(t);return!(!this.isValid()||!s.isValid())&&('millisecond'===(n=E(h(n)?'millisecond':n))?this.valueOf()>s.valueOf():s.valueOf()9999?K(s,n?'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'):L(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace('Z',K(s,'Z')):K(s,n?'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYY-MM-DD[T]HH:mm:ss.SSSZ')},Nn.inspect=function(){if(!this.isValid())return'moment.invalid(/* '+this._i+' */)';var t='moment',n='';this.isLocal()||(t=0===this.utcOffset()?'moment.utc':'moment.parseZone',n='Z');var s='['+t+'("]',o=0<=this.year()&&this.year()<=9999?'YYYY':'YYYYYY',u=n+'[")]';return this.format(s+o+'-MM-DD[T]HH:mm:ss.SSS'+u)},Nn.toJSON=function(){return this.isValid()?this.toISOString():null},Nn.toString=function(){return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ')},Nn.unix=function(){return Math.floor(this.valueOf()/1e3)},Nn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Nn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Nn.year=Ue,Nn.isLeapYear=function(){return Fe(this.year())},Nn.weekYear=function(t){return Pn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Nn.isoWeekYear=function(t){return Pn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Nn.quarter=Nn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Nn.month=$e,Nn.daysInMonth=function(){return Ee(this.year(),this.month())},Nn.week=Nn.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),'d')},Nn.isoWeek=Nn.isoWeeks=function(t){var n=tt(this,1,4).week;return null==t?n:this.add(7*(t-n),'d')},Nn.weeksInYear=function(){var t=this.localeData()._week;return nt(this.year(),t.dow,t.doy)},Nn.isoWeeksInYear=function(){return nt(this.year(),1,4)},Nn.date=Hn,Nn.day=Nn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=st(t,this.localeData()),this.add(t-n,'d')):n},Nn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,'d')},Nn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=it(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},Nn.dayOfYear=function(t){var n=Math.round((this.clone().startOf('day')-this.clone().startOf('year'))/864e5)+1;return null==t?n:this.add(t-n,'d')},Nn.hour=Nn.hours=gt,Nn.minute=Nn.minutes=Rn,Nn.second=Nn.seconds=Fn,Nn.millisecond=Nn.milliseconds=Un,Nn.utcOffset=function(t,n,o){var u,l=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if('string'==typeof t){if(null===(t=hn(_e,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&n&&(u=fn(this)),this._offset=t,this._isUTC=!0,null!=u&&this.add(u,'m'),l!==t&&(!n||this._changeInProgress?Sn(this,gn(t-l,'m'),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?l:fn(this)},Nn.utc=function(t){return this.utcOffset(0,t)},Nn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(fn(this),'m')),this},Nn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if('string'==typeof this._i){var t=hn(me,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Nn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Kt(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Nn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Nn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Nn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Nn.isUtc=mn,Nn.isUTC=mn,Nn.zoneAbbr=function(){return this._isUTC?'UTC':''},Nn.zoneName=function(){return this._isUTC?'Coordinated Universal Time':''},Nn.dates=H('dates accessor is deprecated. Use date instead.',Hn),Nn.months=H('months accessor is deprecated. Use month instead',$e),Nn.years=H('years accessor is deprecated. Use year instead',Ue),Nn.zone=H('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',function(t,n){return null!=t?('string'!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()}),Nn.isDSTShifted=H('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',function(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t={};if(k(t,this),(t=Bt(t))._a){var n=t._isUTC?p(t._a):Kt(t._a);this._isDSTShifted=this.isValid()&&P(t._a,n.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Vn=N.prototype;function En(t,n,s,o){var u=Ot(),l=p().set(o,n);return u[s](l,t)}function In(t,n,s){if(c(t)&&(n=t,t=void 0),t=t||'',null!=n)return En(t,n,s,'month');var o,u=[];for(o=0;o<12;o++)u[o]=En(t,o,s,'month');return u}function An(t,n,s,o){'boolean'==typeof t?(c(n)&&(s=n,n=void 0),n=n||''):(s=n=t,t=!1,c(n)&&(s=n,n=void 0),n=n||'');var u,l=Ot(),h=t?l._week.dow:0;if(null!=s)return En(n,(s+h)%7,o,'day');var f=[];for(u=0;u<7;u++)f[u]=En(n,(u+h)%7,o,'day');return f}Vn.calendar=function(t,n,s){var o=this._calendar[t]||this._calendar.sameElse;return L(o)?o.call(n,s):o},Vn.longDateFormat=function(t){var n=this._longDateFormat[t],s=this._longDateFormat[t.toUpperCase()];return n||!s?n:(this._longDateFormat[t]=s.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},Vn.invalidDate=function(){return this._invalidDate},Vn.ordinal=function(t){return this._ordinal.replace('%d',t)},Vn.preparse=Gn,Vn.postformat=Gn,Vn.relativeTime=function(t,n,s,o){var u=this._relativeTime[s];return L(u)?u(t,n,s,o):u.replace(/%d/i,t)},Vn.pastFuture=function(t,n){var s=this._relativeTime[t>0?'future':'past'];return L(s)?s(n):s.replace(/%s/i,n)},Vn.set=function(t){var n,s;for(s in t)L(n=t[s])?this[s]=n:this['_'+s]=n;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+'|'+/\d{1,2}/.source)},Vn.months=function(t,n){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ie).test(n)?'format':'standalone'][t.month()]:o(this._months)?this._months:this._months.standalone},Vn.monthsShort=function(t,n){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ie.test(n)?'format':'standalone'][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Vn.monthsParse=function(t,n,s){var o,u,l;if(this._monthsParseExact)return Ze.call(this,t,n,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(u=p([2e3,o]),s&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp('^'+this.months(u,'').replace('.','')+'$','i'),this._shortMonthsParse[o]=new RegExp('^'+this.monthsShort(u,'').replace('.','')+'$','i')),s||this._monthsParse[o]||(l='^'+this.months(u,'')+'|^'+this.monthsShort(u,''),this._monthsParse[o]=new RegExp(l.replace('.',''),'i')),s&&'MMMM'===n&&this._longMonthsParse[o].test(t))return o;if(s&&'MMM'===n&&this._shortMonthsParse[o].test(t))return o;if(!s&&this._monthsParse[o].test(t))return o}},Vn.monthsRegex=function(t){return this._monthsParseExact?(y(this,'_monthsRegex')||Be.call(this),t?this._monthsStrictRegex:this._monthsRegex):(y(this,'_monthsRegex')||(this._monthsRegex=qe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Vn.monthsShortRegex=function(t){return this._monthsParseExact?(y(this,'_monthsRegex')||Be.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,'_monthsShortRegex')||(this._monthsShortRegex=Je),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Vn.week=function(t){return tt(t,this._week.dow,this._week.doy).week},Vn.firstDayOfYear=function(){return this._week.doy},Vn.firstDayOfWeek=function(){return this._week.dow},Vn.weekdays=function(t,n){return t?o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(n)?'format':'standalone'][t.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},Vn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},Vn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},Vn.weekdaysParse=function(t,n,s){var o,u,l;if(this._weekdaysParseExact)return ut.call(this,t,n,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(u=p([2e3,1]).day(o),s&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp('^'+this.weekdays(u,'').replace('.','.?')+'$','i'),this._shortWeekdaysParse[o]=new RegExp('^'+this.weekdaysShort(u,'').replace('.','.?')+'$','i'),this._minWeekdaysParse[o]=new RegExp('^'+this.weekdaysMin(u,'').replace('.','.?')+'$','i')),this._weekdaysParse[o]||(l='^'+this.weekdays(u,'')+'|^'+this.weekdaysShort(u,'')+'|^'+this.weekdaysMin(u,''),this._weekdaysParse[o]=new RegExp(l.replace('.',''),'i')),s&&'dddd'===n&&this._fullWeekdaysParse[o].test(t))return o;if(s&&'ddd'===n&&this._shortWeekdaysParse[o].test(t))return o;if(s&&'dd'===n&&this._minWeekdaysParse[o].test(t))return o;if(!s&&this._weekdaysParse[o].test(t))return o}},Vn.weekdaysRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ct.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,'_weekdaysRegex')||(this._weekdaysRegex=lt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Vn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ct.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,'_weekdaysShortRegex')||(this._weekdaysShortRegex=dt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Vn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ct.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,'_weekdaysMinRegex')||(this._weekdaysMinRegex=ht),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Vn.isPM=function(t){return'p'===(t+'').toLowerCase().charAt(0)},Vn.meridiem=function(t,n,s){return t>11?s?'pm':'PM':s?'am':'AM'},kt('en',{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===b(t%100/10)?'th':1===n?'st':2===n?'nd':3===n?'rd':'th')}}),s.lang=H('moment.lang is deprecated. Use moment.locale instead.',kt),s.langData=H('moment.langData is deprecated. Use moment.localeData instead.',Ot);var jn=Math.abs;function Zn(t,n,s,o){var u=gn(n,s);return t._milliseconds+=o*u._milliseconds,t._days+=o*u._days,t._months+=o*u._months,t._bubble()}function zn(t){return t<0?Math.floor(t):Math.ceil(t)}function $n(t){return 4800*t/146097}function Jn(t){return 146097*t/4800}function qn(t){return function(){return this.as(t)}}var Bn=qn('ms'),Qn=qn('s'),Xn=qn('m'),Kn=qn('h'),es=qn('d'),ts=qn('w'),ns=qn('M'),ss=qn('y');function is(t){return function(){return this.isValid()?this._data[t]:NaN}}var rs=is('milliseconds'),as=is('seconds'),os=is('minutes'),us=is('hours'),ls=is('days'),ds=is('months'),hs=is('years');var cs=Math.round,fs={ss:44,s:45,m:45,h:22,d:26,M:11};function ms(t,n,s,o,u){return u.relativeTime(n||1,!!s,t,o)}function _s(t,n,s){var o=gn(t).abs(),u=cs(o.as('s')),l=cs(o.as('m')),h=cs(o.as('h')),c=cs(o.as('d')),f=cs(o.as('M')),_=cs(o.as('y')),y=u<=fs.ss&&['s',u]||u0,y[4]=s,ms.apply(null,y)}var ys=Math.abs;function gs(t){return(t>0)-(t<0)||+t}function vs(){if(!this.isValid())return this.localeData().invalidDate();var t,n,s=ys(this._milliseconds)/1e3,o=ys(this._days),u=ys(this._months);n=x((t=x(s/60))/60),s%=60,t%=60;var l=x(u/12),h=u%=12,c=o,f=n,_=t,y=s?s.toFixed(3).replace(/\.?0+$/,''):'',v=this.asSeconds();if(!v)return'P0D';var p=v<0?'-':'',w=gs(this._months)!==gs(v)?'-':'',M=gs(this._days)!==gs(v)?'-':'',S=gs(this._milliseconds)!==gs(v)?'-':'';return p+'P'+(l?w+l+'Y':'')+(h?w+h+'M':'')+(c?M+c+'D':'')+(f||_||y?'T':'')+(f?S+f+'H':'')+(_?S+_+'M':'')+(y?S+y+'S':'')}var ps=an.prototype;return ps.isValid=function(){return this._isValid},ps.abs=function(){var t=this._data;return this._milliseconds=jn(this._milliseconds),this._days=jn(this._days),this._months=jn(this._months),t.milliseconds=jn(t.milliseconds),t.seconds=jn(t.seconds),t.minutes=jn(t.minutes),t.hours=jn(t.hours),t.months=jn(t.months),t.years=jn(t.years),this},ps.add=function(t,n){return Zn(this,t,n,1)},ps.subtract=function(t,n){return Zn(this,t,n,-1)},ps.as=function(t){if(!this.isValid())return NaN;var n,s,o=this._milliseconds;if('month'===(t=E(t))||'year'===t)return n=this._days+o/864e5,s=this._months+$n(n),'month'===t?s:s/12;switch(n=this._days+Math.round(Jn(this._months)),t){case'week':return n/7+o/6048e5;case'day':return n+o/864e5;case'hour':return 24*n+o/36e5;case'minute':return 1440*n+o/6e4;case'second':return 86400*n+o/1e3;case'millisecond':return Math.floor(864e5*n)+o;default:throw new Error('Unknown unit '+t)}},ps.asMilliseconds=Bn,ps.asSeconds=Qn,ps.asMinutes=Xn,ps.asHours=Kn,ps.asDays=es,ps.asWeeks=ts,ps.asMonths=ns,ps.asYears=ss,ps.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN},ps._bubble=function(){var t,n,s,o,u,l=this._milliseconds,h=this._days,c=this._months,f=this._data;return l>=0&&h>=0&&c>=0||l<=0&&h<=0&&c<=0||(l+=864e5*zn(Jn(c)+h),h=0,c=0),f.milliseconds=l%1e3,t=x(l/1e3),f.seconds=t%60,n=x(t/60),f.minutes=n%60,s=x(n/60),f.hours=s%24,c+=u=x($n(h+=x(s/24))),h-=zn(Jn(u)),o=x(c/12),c%=12,f.days=h,f.months=c,f.years=o,this},ps.clone=function(){return gn(this)},ps.get=function(t){return t=E(t),this.isValid()?this[t+'s']():NaN},ps.milliseconds=rs,ps.seconds=as,ps.minutes=os,ps.hours=us,ps.days=ls,ps.weeks=function(){return x(this.days()/7)},ps.months=ds,ps.years=hs,ps.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var n=this.localeData(),s=_s(this,!t,n);return t&&(s=n.pastFuture(+this,s)),n.postformat(s)},ps.toISOString=vs,ps.toString=vs,ps.toJSON=vs,ps.locale=On,ps.localeData=xn,ps.toIsoString=H('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',vs),ps.lang=Tn,Q('X',0,0,'unix'),Q('x',0,0,'valueOf'),ve('x',fe),ve('X',/[+-]?\d+(\.\d{1,3})?/),Se('X',function(t,n,s){s._d=new Date(1e3*parseFloat(t,10))}),Se('x',function(t,n,s){s._d=new Date(b(t))}),s.version='2.22.1',t=Kt,s.fn=Nn,s.min=function(){return nn('isBefore',[].slice.call(arguments,0))},s.max=function(){return nn('isAfter',[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=p,s.unix=function(t){return Kt(1e3*t)},s.months=function(t,n){return In(t,n,'months')},s.isDate=f,s.locale=kt,s.invalid=S,s.duration=gn,s.isMoment=T,s.weekdays=function(t,n,s){return An(t,n,s,'weekdays')},s.parseZone=function(){return Kt.apply(null,arguments).parseZone()},s.localeData=Ot,s.isDuration=on,s.monthsShort=function(t,n){return In(t,n,'monthsShort')},s.weekdaysMin=function(t,n,s){return An(t,n,s,'weekdaysMin')},s.defineLocale=Yt,s.updateLocale=function(t,n){if(null!=n){var s,o,u=vt;null!=(o=Dt(t))&&(u=o._config),(s=new N(n=U(u,n))).parentLocale=pt[t],pt[t]=s,kt(t)}else null!=pt[t]&&(null!=pt[t].parentLocale?pt[t]=pt[t].parentLocale:null!=pt[t]&&delete pt[t]);return pt[t]},s.locales=function(){return R(pt)},s.weekdaysShort=function(t,n,s){return An(t,n,s,'weekdaysShort')},s.normalizeUnits=E,s.relativeTimeRounding=function(t){return void 0===t?cs:'function'==typeof t&&(cs=t,!0)},s.relativeTimeThreshold=function(t,n){return void 0!==fs[t]&&(void 0===n?fs[t]:(fs[t]=n,'s'===t&&(fs.ss=n-1),!0))},s.calendarFormat=function(t,n){var s=t.diff(n,'days',!0);return s<-6?'sameElse':s<-1?'lastWeek':s<0?'lastDay':s<1?'sameDay':s<2?'nextDay':s<7?'nextWeek':'sameElse'},s.prototype=Nn,s.HTML5_FMT={DATETIME_LOCAL:'YYYY-MM-DDTHH:mm',DATETIME_LOCAL_SECONDS:'YYYY-MM-DDTHH:mm:ss',DATETIME_LOCAL_MS:'YYYY-MM-DDTHH:mm:ss.SSS',DATE:'YYYY-MM-DD',TIME:'HH:mm',TIME_SECONDS:'HH:mm:ss',TIME_MS:'HH:mm:ss.SSS',WEEK:'YYYY-[W]WW',MONTH:'YYYY-MM'},s},'object'==typeof e&&void 0!==m?m.exports=n():'function'==typeof define&&define.amd?define(n):t.moment=n()},2365,[]); +__d(function(g,r,i,a,m,e,d){!(function(t,n){"use strict";'object'==typeof m&&m.exports?m.exports=n(r(d[0])):'function'==typeof define&&define.amd?define(['moment'],n):n(t.moment)})(this,function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var n,o={},s={},f={},u={},c={};t&&'string'==typeof t.version||U('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');var l=t.version.split('.'),h=+l[0],p=+l[1];function z(t){return t>96?t-87:t>64?t-29:t-48}function v(t){var n=0,o=t.split('.'),s=o[0],f=o[1]||'',u=1,c=0,l=1;for(45===t.charCodeAt(0)&&(n=1,l=-1);n3){var n=u[k(t)];if(n)return n;U("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var o,s,f,c=D(),l=c.length,h=C(c),p=[];for(s=0;s0?p[0].zone.name:void 0}function k(t){return(t||'').toLowerCase().replace(/\//g,'_')}function F(t){var n,s,f,c;for("string"==typeof t&&(t=[t]),n=0;n= 2.6.0. You are using Moment.js '+t.version+'. See momentjs.com'),O.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var n,o=+t,s=this.untils;for(n=0;ns&&Y.moveInvalidForward&&(n=s),u0&&(this._z=null),N.apply(this,arguments)}),t.tz.setDefault=function(n){return(h<2||2===h&&p<9)&&U('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js '+t.version+'.'),t.defaultZone=n?E(n):null,t};var L=t.momentProperties;return'[object Array]'===Object.prototype.toString.call(L)?(L.push('_z'),L.push('_a')):L&&(L._z=null),t})},2366,[2365]); +__d(function(g,r,i,a,m,e,d){!(function(n,t){"use strict";'object'==typeof m&&m.exports?m.exports=t(r(d[0])):'function'==typeof define&&define.amd?define(['moment'],t):t(n.moment)})(this,function(n){"use strict";if(!n.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var t='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX',o=1e-6;function s(n,s){for(var u,f='.',l='';s>0;)s-=1,n*=60,u=Math.floor(n+o),f+=t[u],n-=u,u&&(l+=f,f='');return l}function u(n,o){for(var u='',f=Math.abs(n),l=Math.floor(f),h=s(f-l,Math.min(~~o,10));l>0;)u=t[l%60]+u,l=Math.floor(l/60);return n<0&&(u='-'+u),u&&h?u+h:(h||'-'!==u)&&(u||h)||'0'}function f(n){var t,o=[],s=0;for(t=0;th.population?c.unshift(l):l.population===h.population&&s&&s[l.name]?c.unshift(l):c.push(l),p=!0);p||b.push([l])}for(u=0;uo&&(u=t,t=o,o=u),u=0;uo&&(l=Math.min(l,u+1)));return[f,l]}function j(n,t,o){var s=Array.prototype.slice,u=k(n.untils,t,o),f=s.apply(n.untils,u);return f[f.length-1]=null,{name:n.name,abbrs:s.apply(n.abbrs,u),untils:f,offsets:s.apply(n.offsets,u),population:n.population,countries:n.countries}}return n.tz.pack=p,n.tz.packBase60=u,n.tz.createLinks=w,n.tz.filterYears=j,n.tz.filterLinkPack=function(n,t,o,s){var u,f,l=n.zones,h=[];for(u=0;u0&&void 0!==arguments[0])||arguments[0]}},e.autosave=s;var n=t(r(d[1])),u=t(r(d[2])),c=r(d[3]);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))});var l=n.default.mark(s);function s(){return n.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:u.default.editorDidAutosave();case 1:case"end":return t.stop()}},l)}},2372,[5,282,945,2373]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.setupEditor=R,e.__experimentalTearDownEditor=function(){return{type:'TEAR_DOWN_EDITOR'}},e.resetPost=M,e.resetAutosave=I,e.__experimentalRequestPostUpdateStart=D,e.__experimentalRequestPostUpdateFinish=U,e.updatePost=function(){return(0,u.default)("wp.data.dispatch( 'core/editor' ).updatePost",{alternative:'User the core entitires store instead'}),{type:'DO_NOTHING'}},e.setupEditorState=C,e.editPost=L,e.savePost=F,e.refreshPost=j,e.trashPost=V,e.autosave=G,e.redo=z,e.undo=H,e.createUndoLevel=function(){return{type:'CREATE_UNDO_LEVEL'}},e.updatePostLock=function(t){return{type:'UPDATE_POST_LOCK',lock:t}},e.enablePublishSidebar=function(){return{type:'ENABLE_PUBLISH_SIDEBAR'}},e.disablePublishSidebar=function(){return{type:'DISABLE_PUBLISH_SIDEBAR'}},e.lockPostSaving=function(t){return{type:'LOCK_POST_SAVING',lockName:t}},e.unlockPostSaving=function(t){return{type:'UNLOCK_POST_SAVING',lockName:t}},e.lockPostAutosaving=function(t){return{type:'LOCK_POST_AUTOSAVING',lockName:t}},e.unlockPostAutosaving=function(t){return{type:'UNLOCK_POST_AUTOSAVING',lockName:t}},e.resetEditorBlocks=K,e.updateEditorSettings=function(t){return{type:'UPDATE_EDITOR_SETTINGS',settings:t}},e.updateBlockListSettings=e.insertDefaultBlock=e.exitFormattedText=e.enterFormattedText=e.stopTyping=e.startTyping=e.toggleBlockMode=e.removeBlock=e.removeBlocks=e.mergeBlocks=e.synchronizeTemplate=e.setTemplateValidity=e.hideInsertionPoint=e.showInsertionPoint=e.insertBlocks=e.insertBlock=e.moveBlockToPosition=e.moveBlocksUp=e.moveBlocksDown=e.replaceBlock=e.replaceBlocks=e.toggleSelection=e.clearSelectedBlock=e.multiSelect=e.stopMultiSelect=e.startMultiSelect=e.selectBlock=e.updateBlockAttributes=e.updateBlock=e.receiveBlocks=e.resetBlocks=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3])),c=t(r(d[4])),l=r(d[5]),u=t(r(d[6])),p=r(d[7]),v=r(d[8]),f=r(d[9]),k=r(d[10]),E=r(d[11]),T=r(d[12]);function S(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function x(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{}}}function U(){return{type:'REQUEST_POST_UPDATE_FINISH',options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function C(t){return{type:'SETUP_EDITOR_STATE',post:t}}function L(t,n){var o,s,l;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.select(E.STORE_NAME,'getCurrentPost');case 2:return o=c.sent,s=o.id,l=o.type,c.next=7,p.controls.dispatch('core','editEntityRecord','postType',l,s,t,n);case 7:case"end":return c.stop()}},y)}function F(){var t,n,s,l,u,v,f,S=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return t=S.length>0&&void 0!==S[0]?S[0]:{},c.next=3,p.controls.select(E.STORE_NAME,'isEditedPostSaveable');case 3:if(c.sent){c.next=5;break}return c.abrupt("return");case 5:return c.next=7,p.controls.select(E.STORE_NAME,'getEditedPostContent');case 7:if(c.t0=c.sent,n={content:c.t0},t.isAutosave){c.next=12;break}return c.next=12,p.controls.dispatch(E.STORE_NAME,'editPost',n,{undoIgnore:!0});case 12:return c.next=14,D(t);case 14:return c.next=16,p.controls.select(E.STORE_NAME,'getCurrentPost');case 16:return s=c.sent,c.t1=x,c.t2=x,c.t3={id:s.id},c.next=22,p.controls.select('core','getEntityRecordNonTransientEdits','postType',s.type,s.id);case 22:return c.t4=c.sent,c.t5=(0,c.t2)(c.t3,c.t4),c.t6=n,n=(0,c.t1)(c.t5,c.t6),c.next=28,p.controls.dispatch('core','saveEntityRecord','postType',s.type,n,t);case 28:return c.next=30,U(t);case 30:return c.next=32,p.controls.select('core','getLastEntitySaveError','postType',s.type,s.id);case 32:if(!(l=c.sent)){c.next=40;break}if(!(u=(0,T.getNotificationArgumentsForSaveFail)({post:s,edits:n,error:l})).length){c.next=38;break}return c.next=38,p.controls.dispatch.apply(p.controls,[k.store,'createErrorNotice'].concat((0,o.default)(u)));case 38:c.next=58;break;case 40:return c.next=42,p.controls.select(E.STORE_NAME,'getCurrentPost');case 42:return v=c.sent,c.t7=T.getNotificationArgumentsForSaveSuccess,c.t8=s,c.t9=v,c.next=48,p.controls.resolveSelect('core','getPostType',v.type);case 48:if(c.t10=c.sent,c.t11=t,c.t12={previousPost:c.t8,post:c.t9,postType:c.t10,options:c.t11},!(f=(0,c.t7)(c.t12)).length){c.next=55;break}return c.next=55,p.controls.dispatch.apply(p.controls,[k.store,'createSuccessNotice'].concat((0,o.default)(f)));case 55:if(t.isAutosave){c.next=58;break}return c.next=58,p.controls.dispatch('core/block-editor','__unstableMarkLastChangeAsPersistent');case 58:case"end":return c.stop()}},h)}function j(){var t,n,o,s;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.select(E.STORE_NAME,'getCurrentPost');case 2:return t=c.sent,c.next=5,p.controls.select(E.STORE_NAME,'getCurrentPostType');case 5:return n=c.sent,c.next=8,p.controls.resolveSelect('core','getPostType',n);case 8:return o=c.sent,c.next=11,(0,v.apiFetch)({path:"/wp/v2/"+o.rest_base+"/"+t.id+"?context=edit&_timestamp="+Date.now()});case 11:return s=c.sent,c.next=14,p.controls.dispatch(E.STORE_NAME,'resetPost',s);case 14:case"end":return c.stop()}},O)}function V(){var t,n,s;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,p.controls.select(E.STORE_NAME,'getCurrentPostType');case 2:return t=c.sent,c.next=5,p.controls.resolveSelect('core','getPostType',t);case 5:return n=c.sent,c.next=8,p.controls.dispatch(k.store,'removeNotice',E.TRASH_POST_NOTICE_ID);case 8:return c.prev=8,c.next=11,p.controls.select(E.STORE_NAME,'getCurrentPost');case 11:return s=c.sent,c.next=14,(0,v.apiFetch)({path:"/wp/v2/"+n.rest_base+"/"+s.id,method:'DELETE'});case 14:return c.next=16,p.controls.dispatch(E.STORE_NAME,'savePost');case 16:c.next=22;break;case 18:return c.prev=18,c.t0=c.catch(8),c.next=22,p.controls.dispatch.apply(p.controls,[k.store,'createErrorNotice'].concat((0,o.default)((0,T.getNotificationArgumentsForTrashFail)({error:c.t0}))));case 22:case"end":return c.stop()}},B,null,[[8,18]])}function G(){var t,o,s,l,u,v,f,k,T,S=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=S.length>0&&void 0!==S[0]?S[0]:{},o=t.local,s=void 0!==o&&o,l=(0,n.default)(t,["local"]),!s){c.next=21;break}return c.next=4,p.controls.select(E.STORE_NAME,'getCurrentPost');case 4:return u=c.sent,c.next=7,p.controls.select(E.STORE_NAME,'isEditedPostNew');case 7:return v=c.sent,c.next=10,p.controls.select(E.STORE_NAME,'getEditedPostAttribute','title');case 10:return f=c.sent,c.next=13,p.controls.select(E.STORE_NAME,'getEditedPostAttribute','content');case 13:return k=c.sent,c.next=16,p.controls.select(E.STORE_NAME,'getEditedPostAttribute','excerpt');case 16:return T=c.sent,c.next=19,{type:'LOCAL_AUTOSAVE_SET',postId:u.id,isPostNew:v,title:f,content:k,excerpt:T};case 19:c.next=23;break;case 21:return c.next=23,p.controls.dispatch(E.STORE_NAME,'savePost',x({isAutosave:!0},l));case 23:case"end":return c.stop()}},A)}function z(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.controls.dispatch('core','redo');case 2:case"end":return t.stop()}},b)}function H(){return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.controls.dispatch('core','undo');case 2:case"end":return t.stop()}},N)}function K(t){var n,o,s,l,u,v,k,T,S=arguments;return c.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(n=S.length>1&&void 0!==S[1]?S[1]:{},o=n.__unstableShouldCreateUndoLevel,s=n.selectionStart,l=n.selectionEnd,u={blocks:t,selectionStart:s,selectionEnd:l},!1===o){c.next=19;break}return c.next=6,p.controls.select(E.STORE_NAME,'getCurrentPost');case 6:return v=c.sent,k=v.id,T=v.type,c.next=11,p.controls.select('core','getEditedEntityRecord','postType',T,k);case 11:if(c.t0=c.sent.blocks,c.t1=u.blocks,!(c.t0===c.t1)){c.next=18;break}return c.next=17,p.controls.dispatch('core','__unstableCreateUndoLevel','postType',T,k);case 17:return c.abrupt("return",c.sent);case 18:u.content=function(t){var n=t.blocks,o=void 0===n?[]:n;return(0,f.__unstableSerializeAndClean)(o)};case 19:return c.delegateYield(L(u),"t2",20);case 20:case"end":return c.stop()}},w)}var q=function(t){return c.default.mark(function n(){var o,s,l,v=arguments;return c.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:for((0,u.default)("`wp.data.dispatch( 'core/editor' )."+t+'`',{alternative:"`wp.data.dispatch( 'core/block-editor' )."+t+'`'}),o=v.length,s=new Array(o),l=0;l0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;switch(o.type){case'CREATE_NOTICE':return[].concat((0,n.default)((0,c.reject)(t,{id:o.notice.id})),[o.notice]);case'REMOVE_NOTICE':return(0,c.reject)(t,{id:o.id})}return t});e.default=o},2376,[5,14,1068,2377]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.onSubKey=void 0;var n=t(r(d[1]));function o(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function c(t){for(var c=1;c0&&void 0!==arguments[0]?arguments[0]:{},f=arguments.length>1?arguments[1]:void 0,O=f[t];if(void 0===O)return u;var b=o(u[O],f);return b===u[O]?u:c(c({},u),{},(0,n.default)({},O,b))}}};e.onSubKey=u;var f=u;e.default=f},2377,[5,66]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.createNotice=o,e.createSuccessNotice=function(t,n){return o('success',t,n)},e.createInfoNotice=function(t,n){return o('info',t,n)},e.createErrorNotice=function(t,n){return o('error',t,n)},e.createWarningNotice=function(t,n){return o('warning',t,n)},e.removeNotice=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.DEFAULT_CONTEXT;return{type:'REMOVE_NOTICE',id:t,context:o}};var t=r(d[0]),n=r(d[1]);function o(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.DEFAULT_STATUS,s=arguments.length>1?arguments[1]:void 0,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=c.speak,l=void 0===u||u,v=c.isDismissible,T=void 0===v||v,_=c.context,E=void 0===_?n.DEFAULT_CONTEXT:_,f=c.id,N=void 0===f?(0,t.uniqueId)(E):f,p=c.actions,D=void 0===p?[]:p,O=c.type,b=void 0===O?'default':O,x=c.__unstableHTML,y=c.icon,A=void 0===y?null:y,C=c.explicitDismiss,L=void 0!==C&&C,M=c.onDismiss,h=void 0===M?null:M;return{type:'CREATE_NOTICE',context:E,notice:{id:N,status:o,content:s=String(s),spokenMessage:l?s:null,__unstableHTML:x,isDismissible:T,actions:D,type:b,icon:A,explicitDismiss:L,onDismiss:h}}}},2378,[1068,2379]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_STATUS=e.DEFAULT_CONTEXT=void 0;e.DEFAULT_CONTEXT='global';e.DEFAULT_STATUS='info'},2379,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getNotices=function(o){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.DEFAULT_CONTEXT;return o[u]||n};var t=r(d[0]),n=[]},2380,[2379]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getNotificationArgumentsForSaveSuccess=function(t){var l=t.previousPost,n=t.post,o=t.postType;if((0,u.get)(t.options,['isAutosave']))return[];var _,f=['publish','private','future'],p=(0,u.includes)(f,l.status),v=(0,u.includes)(f,n.status),c=(0,u.get)(o,['viewable'],!1);p||v?p&&!v?(_=o.labels.item_reverted_to_draft,c=!1):_=!p&&v?{publish:o.labels.item_published,private:o.labels.item_published_privately,future:o.labels.item_scheduled}[n.status]:o.labels.item_updated:_=null;if(_){var b=[];return c&&b.push({label:o.labels.view_item,url:n.link}),[_,{id:s.SAVE_POST_NOTICE_ID,type:'snackbar',actions:b}]}return[]},e.getNotificationArgumentsForSaveFail=function(u){var l=u.post,n=u.edits,o=u.error;if(o&&'rest_autosave_no_changes'===o.code)return[];var _=['publish','private','future'],f=-1!==_.indexOf(l.status),p={publish:(0,t.__)('Publishing failed.'),private:(0,t.__)('Publishing failed.'),future:(0,t.__)('Scheduling failed.')},v=f||-1===_.indexOf(n.status)?(0,t.__)('Updating failed.'):p[n.status];o.message&&!/<\/?[^>]*>/.test(o.message)&&(v=[v,o.message].join(' '));return[v,{id:s.SAVE_POST_NOTICE_ID}]},e.getNotificationArgumentsForTrashFail=function(u){return[u.error.message&&'unknown_error'!==u.error.code?u.error.message:(0,t.__)('Trashing failed'),{id:s.TRASH_POST_NOTICE_ID}]};var t=r(d[0]),s=r(d[1]),u=r(d[2])},2381,[1027,2370,1068]); +__d(function(g,r,i,a,m,e,d){function t(t,o){return"wp-autosave-block-editor-post-"+(o?'auto-draft':t)}function o(o,n,s,u,c){window.sessionStorage.setItem(t(o,n),JSON.stringify({post_title:s,content:u,excerpt:c}))}Object.defineProperty(e,"__esModule",{value:!0}),e.localAutosaveGet=function(o,n){return window.sessionStorage.getItem(t(o,n))},e.localAutosaveSet=o,e.localAutosaveClear=function(o,n){window.sessionStorage.removeItem(t(o,n))},e.default=void 0;var n={LOCAL_AUTOSAVE_SET:function(t){o(t.postId,t.isPostNew,t.title,t.content,t.excerpt)}};e.default=n},2382,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var o={AutosaveMonitor:!0,PostTitle:!0,EditorHistoryRedo:!0,EditorHistoryUndo:!0,EditorProvider:!0};Object.defineProperty(e,"AutosaveMonitor",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"PostTitle",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"EditorHistoryRedo",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"EditorHistoryUndo",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"EditorProvider",{enumerable:!0,get:function(){return l.default}});var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=r(d[6]);Object.keys(b).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}}))})},2383,[5,2384,2385,2387,2388,2389,2414]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.AutosaveMonitor=void 0;var s=t(r(d[1])),o=t(r(d[2])),n=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),v=r(d[6]),l=r(d[7]),f=r(d[8]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var h=(function(t){(0,n.default)(h,t);var v,l,f=(v=h,l=p(),function(){var t,s=(0,c.default)(v);if(l){var o=(0,c.default)(this).constructor;t=Reflect.construct(s,arguments,o)}else t=s.apply(this,arguments);return(0,u.default)(this,t)});function h(t){var o;return(0,s.default)(this,h),(o=f.call(this,t)).needsAutosave=!(!t.isDirty||!t.isAutosaveable),o}return(0,o.default)(h,[{key:"componentDidMount",value:function(){this.props.disableIntervalChecks||this.setAutosaveTimer()}},{key:"componentDidUpdate",value:function(t){this.props.disableIntervalChecks?this.props.editsReference!==t.editsReference&&this.props.autosave():this.props.isDirty&&(!this.props.isAutosaving||t.isAutosaving)?this.props.editsReference!==t.editsReference&&(this.needsAutosave=!0):this.needsAutosave=!1}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timerId)}},{key:"setAutosaveTimer",value:function(){var t=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3*this.props.interval;this.timerId=setTimeout(function(){t.autosaveTimerHandler()},s)}},{key:"autosaveTimerHandler",value:function(){this.props.isAutosaveable?(this.needsAutosave&&(this.needsAutosave=!1,this.props.autosave()),this.setAutosaveTimer()):this.setAutosaveTimer(1e3)}},{key:"render",value:function(){return null}}]),h})(v.Component);e.AutosaveMonitor=h;var A=(0,l.compose)([(0,f.withSelect)(function(t,s){var o=t('core').getReferenceByDistinctEdits,n=t('core/editor'),u=n.isEditedPostDirty,c=n.isEditedPostAutosaveable,v=n.isAutosavingPost,l=n.getEditorSettings,f=s.interval,p=void 0===f?l().autosaveInterval:f;return{editsReference:o(),isDirty:u(),isAutosaveable:c(),isAutosaving:v(),interval:p}}),(0,f.withDispatch)(function(t,s){return{autosave:function(){var o=s.autosave,n=void 0===o?t('core/editor').autosave:o;n()}}})])(h);e.default=A},2384,[5,7,42,57,59,56,946,1116,1076]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),h=r(d[9]),y=r(d[10]),v=r(d[11]),S=r(d[12]),_=r(d[13]),b=r(d[14]),R=r(d[15]),k=r(d[16]),E=t(r(d[17]));function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var T=(function(t){(0,c.default)(T,t);var S,_,b=(S=T,_=P(),function(){var t,n=(0,f.default)(S);if(_){var o=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,u.default)(this,t)});function T(t){var n;return(0,o.default)(this,T),(n=b.call(this,t)).setRef=n.setRef.bind((0,l.default)(n)),n}return(0,s.default)(T,[{key:"componentDidUpdate",value:function(t){this.props.isSelected&&!t.isAnyBlockSelected&&this.props.isAnyBlockSelected&&(this.richTextRef&&this.richTextRef.blur(),this.props.onUnselect())}},{key:"componentDidMount",value:function(){this.props.innerRef&&this.props.innerRef(this)}},{key:"handleFocusOutside",value:function(){this.props.onUnselect()}},{key:"focus",value:function(){this.props.onSelect()}},{key:"onPaste",value:function(t){var n=t.value,o=t.onChange,s=t.plainText,l=(0,k.pasteHandler)({plainText:s,mode:'INLINE',tagName:'p'});if('string'==typeof l){var c=(0,y.create)({html:l});o((0,y.insert)(n,c))}}},{key:"setRef",value:function(t){this.richTextRef=t}},{key:"getTitle",value:function(t,n){return'page'===n?(0,h.isEmpty)(t)?(0,R.__)('Page title. Empty'):(0,R.sprintf)((0,R.__)('Page title. %s'),t):(0,h.isEmpty)(t)?(0,R.__)('Post title. Empty'):(0,R.sprintf)((0,R.__)('Post title. %s'),t)}},{key:"render",value:function(){var t=this,o=this.props,s=o.placeholder,l=o.style,c=o.title,u=o.focusedBorderColor,f=o.borderStyle,h=o.isDimmed,S=o.postType,_=(0,v.decodeEntities)(s),b=this.props.isSelected?u:'transparent';return(0,n.createElement)(p.View,{style:[E.default.titleContainer,f,{borderColor:b},h&&E.default.dimmed],accessible:!this.props.isSelected,accessibilityLabel:this.getTitle(c,S),accessibilityHint:(0,R.__)('Updates the title.')},(0,n.createElement)(y.__experimentalRichText,{setRef:this.setRef,accessibilityLabel:this.getTitle(c,S),tagName:'p',tagsToEliminate:['strong'],unstableOnFocus:this.props.onSelect,onBlur:this.props.onBlur,multiline:!1,style:l,styles:E.default,fontSize:24,fontWeight:'bold',deleteEnter:!0,onChange:function(n){t.props.onUpdate(n)},onPaste:this.onPaste,placeholder:_,value:c,onSelectionChange:function(){},onEnter:this.props.onEnterPress,disableEditingMenu:!0,__unstableIsSelected:this.props.isSelected,__unstableOnCreateUndoLevel:function(){}}))}}]),T})(n.Component),B=(0,b.compose)((0,S.withSelect)(function(t){var n=t('core/editor'),o=n.isPostTitleSelected,s=n.getEditedPostAttribute,l=t('core/block-editor'),c=l.getSelectedBlockClientId,u=l.getBlockRootClientId,f=c(),p=!!u(f);return{postType:s('type'),isAnyBlockSelected:!!f,isSelected:o(),isDimmed:p}}),(0,S.withDispatch)(function(t){var n=t('core/editor'),o=n.undo,s=n.redo,l=n.togglePostTitleSelection,c=t('core/block-editor'),u=c.clearSelectedBlock,f=c.insertDefaultBlock;return{onEnterPress:function(){f(void 0,void 0,0)},onUndo:o,onRedo:s,onSelect:function(){l(!0),u()},onUnselect:function(){l(!1)}}}),b.withInstanceId,_.withFocusOutside)(T);e.default=B},2385,[5,946,7,42,60,57,59,56,25,1068,1074,1660,1076,1699,1116,1027,1223,2386]); +__d(function(g,r,i,a,m,e,d){m.exports={titleContainer:{paddingLeft:12,paddingRight:16,paddingTop:12,paddingBottom:12,marginTop:24},dimmed:{opacity:1}}},2386,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),c=r(d[3]),l=r(d[4]),n=r(d[5]),f=r(d[6]),s=r(d[7]);var _=(0,o.forwardRef)(function(t,_){var v=(0,n.useSelect)(function(t){return t('core/editor').hasEditorRedo()},[]),h=(0,n.useDispatch)('core/editor').redo;return(0,o.createElement)(l.Button,(0,u.default)({},t,{ref:_,icon:s.redo,label:(0,c.__)('Redo'),shortcut:f.displayShortcut.primaryShift('z'),"aria-disabled":!v,onClick:v?h:void 0,className:"editor-history__redo"}))});e.default=_},2387,[5,946,24,1027,1699,1076,1221,1247]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=o(r(d[2])),u=r(d[3]),c=r(d[4]),l=r(d[5]),s=r(d[6]),f=r(d[7]);var _=(0,t.forwardRef)(function(o,_){var v=(0,l.useSelect)(function(o){return o('core/editor').hasEditorUndo()},[]),h=(0,l.useDispatch)('core/editor').undo;return(0,t.createElement)(c.Button,(0,n.default)({},o,{ref:_,icon:f.undo,label:(0,u.__)('Undo'),shortcut:s.displayShortcut.primary('z'),"aria-disabled":!v,onClick:v?h:void 0,className:"editor-history__undo"}))});e.default=_},2388,[5,946,24,1027,1699,1076,1221,1247]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=r(d[2]),n=o(r(d[3])),c=o(r(d[4])),p=o(r(d[5])),l=o(r(d[6])),u=o(r(d[7])),h=o(r(d[8])),b=o(r(d[9])),f=o(r(d[10])),v=t(r(d[11])),k=r(d[12]),P=r(d[13]),y=r(d[14]),T=r(d[15]),w=r(d[16]),S=r(d[17]),B=o(r(d[18]));function U(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function C(t,o){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function E(t){for(var o=1;o]*?>/gi,HTMLcommentRegExp://g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(['[',"!-@[-`{-~","\x80-\xbf\xd7\xf7","\u2000-\u2bff","\u2e00-\u2e7f",']'].join(''),'g'),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:'words'}};e.defaultSettings=t},2391,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.HTMLRegExp,'\n')}},2392,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return n.replace(t.astralRegExp,'a')}},2393,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return n.replace(t.HTMLEntityRegExp,'')}},2394,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.connectorRegExp,' ')}},2395,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.removeRegExp,'')}},2396,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.HTMLcommentRegExp,'')}},2397,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){if(t.shortcodesRegExp)return n.replace(t.shortcodesRegExp,'\n');return n}},2398,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){return t.replace(n.spaceRegExp,' ')}},2399,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return n.replace(t.HTMLEntityRegExp,'a')}},2400,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),s=r(d[3]),u=r(d[4]),l=r(d[5]),c=r(d[6]),p=r(d[7]),E=r(d[8]),v=t(r(d[9])),y=r(d[10]),f=t(r(d[11]));var _=(0,v.default)(function(t){var v=t.__unstableTemplate,_=t.post,h=t.settings,k=t.recovery,S=t.initialEdits,b=t.children,P=(0,n.useMemo)(function(){return'wp_template'===_.type?{}:{postId:_.id,postType:_.type}},[_.id,_.type]),T=(0,s.useSelect)(function(t){var n=t(y.store),o=n.getEditorSelectionStart,s=n.getEditorSelectionEnd;return{isReady:(0,n.__unstableIsEditorReady)(),selectionStart:o(),selectionEnd:s()}},[]),R=T.selectionEnd,w=T.selectionStart,B=T.isReady,I=null!=v?v:_,L=I.id,x=I.type,D=(0,l.useEntityBlockEditor)('postType',x,{id:L}),M=(0,o.default)(D,3),C=M[0],j=M[1],N=M[2],O=(0,f.default)(h,!!v),V=(0,s.useDispatch)(y.store),W=V.updatePostLock,q=V.setupEditor,z=V.updateEditorSettings,A=V.__experimentalTearDownEditor,F=(0,s.useDispatch)(E.store).createWarningNotice;return(0,n.useLayoutEffect)(function(){if(!k)return W(h.postLock),q(_,S,h.template),h.autosave&&F((0,u.__)('There is an autosave of this post that is more recent than the version below.'),{id:'autosave-exists',actions:[{label:(0,u.__)('View the autosave'),url:h.autosave.editLink}]}),function(){A()}},[]),(0,n.useEffect)(function(){z(h)},[h]),B?(0,n.createElement)(l.EntityProvider,{kind:"root",type:"site"},(0,n.createElement)(l.EntityProvider,{kind:"postType",type:_.type,id:_.id},(0,n.createElement)(c.BlockContextProvider,{value:P},(0,n.createElement)(c.BlockEditorProvider,{value:C,onChange:N,onInput:j,selectionStart:w,selectionEnd:R,settings:O,useSubRegistry:!1},b,(0,n.createElement)(p.ReusableBlocksMenuItems,null))))):null});e.default=_},2401,[5,946,36,1076,1027,2280,1073,2402,2374,2410,2358,2411]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={store:!0};Object.defineProperty(e,"store",{enumerable:!0,get:function(){return n.store}}),r(d[0]);var n=r(d[1]),o=r(d[2]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))})},2402,[2280,2403,2408]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]),t=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.store=void 0;var s=r(d[2]),c=t(r(d[3])),l=o(r(d[4])),u=o(r(d[5])),n=t(r(d[6])),f=(0,s.createReduxStore)('core/reusable-blocks',{actions:c,controls:l.default,reducer:u.default,selectors:n});e.store=f,(0,s.register)(f)},2403,[5,32,1076,2404,2405,2406,2407]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.__experimentalConvertBlockToStatic=s,e.__experimentalConvertBlocksToReusable=f,e.__experimentalDeleteReusableBlock=p,e.__experimentalSetEditingReusableBlock=function(t,n){return{type:'SET_EDITING_REUSABLE_BLOCK',clientId:t,isEditing:n}};var n=t(r(d[1])),c=r(d[2]),o=n.default.mark(s),u=n.default.mark(f),l=n.default.mark(p);function s(t){return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.convertBlockToStatic)(t);case 2:case"end":return n.stop()}},o)}function f(t){return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.convertBlocksToReusable)(t);case 2:case"end":return n.stop()}},u)}function p(t){return n.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.deleteReusableBlock)(t);case 2:case"end":return n.stop()}},l)}},2404,[5,282,2405]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.convertBlockToStatic=function(t){return{type:'CONVERT_BLOCK_TO_STATIC',clientId:t}},e.convertBlocksToReusable=function(t){return{type:'CONVERT_BLOCKS_TO_REUSABLE',clientIds:t}},e.deleteReusableBlock=function(t){return{type:'DELETE_REUSABLE_BLOCK',id:t}},e.default=void 0;var c=t(r(d[1])),n=r(d[2]),o=r(d[3]),l=r(d[4]),s=r(d[5]);var u={CONVERT_BLOCK_TO_STATIC:(0,o.createRegistryControl)(function(t){return function(c){var o=c.clientId,l=t.select('core/block-editor').getBlock(o),s=t.select('core').getEditedEntityRecord('postType','wp_block',l.attributes.ref),u=(0,n.parse)(s.content);t.dispatch('core/block-editor').replaceBlocks(l.clientId,u)}}),CONVERT_BLOCKS_TO_REUSABLE:(0,o.createRegistryControl)(function(t){return function(o){var u,p,f,_;return c.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return u=o.clientIds,p={title:(0,l.__)('Untitled Reusable Block'),content:(0,n.serialize)(t.select('core/block-editor').getBlocksByClientId(u)),status:'publish'},k.next=4,c.default.awrap(t.dispatch('core').saveEntityRecord('postType','wp_block',p));case 4:f=k.sent,_=(0,n.createBlock)('core/block',{ref:f.id}),t.dispatch('core/block-editor').replaceBlocks(u,_),t.dispatch(s.store).__experimentalSetEditingReusableBlock(_.clientId,!0);case 8:case"end":return k.stop()}},null,null,null,Promise)}}),DELETE_REUSABLE_BLOCK:(0,o.createRegistryControl)(function(t){return function(o){var l,s,u,p;return c.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(l=o.id,t.select('core').getEditedEntityRecord('postType','wp_block',l)){f.next=4;break}return f.abrupt("return");case 4:return s=t.select('core/block-editor').getBlocks(),u=s.filter(function(t){return(0,n.isReusableBlock)(t)&&t.attributes.ref===l}),(p=u.map(function(t){return t.clientId})).length&&t.dispatch('core/block-editor').removeBlocks(p),f.next=10,c.default.awrap(t.dispatch('core').deleteEntityRecord('postType','wp_block',l));case 10:case"end":return f.stop()}},null,null,null,Promise)}})};e.default=u},2405,[5,282,1223,1076,1027,2403]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.isEditingReusableBlock=u,e.default=void 0;var n=t(r(d[1]));function o(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function c(t){for(var c=1;c0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;return'SET_EDITING_REUSABLE_BLOCK'===(null==o?void 0:o.type)?c(c({},t),{},(0,n.default)({},o.clientId,o.isEditing)):t}var l=(0,r(d[2]).combineReducers)({isEditingReusableBlock:u});e.default=l},2406,[5,66,1076]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.__experimentalIsEditingReusableBlock=function(n,t){return n.isEditingReusableBlock[t]}},2407,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ReusableBlocksMenuItems",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},2408,[5,2409]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(){return null}},2409,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),n=t(r(d[3])),s=r(d[4]),l=r(d[5]),c=r(d[6]),f=r(d[7]),v=(0,l.createHigherOrderComponent)(function(t){return(0,s.withRegistry)(function(l){var v=l.useSubRegistry,y=void 0===v||v,R=l.registry,b=(0,n.default)(l,["useSubRegistry","registry"]);if(!y)return(0,o.createElement)(t,b);var E=(0,o.useState)(null),S=(0,u.default)(E,2),_=S[0],h=S[1];return(0,o.useEffect)(function(){var t=(0,s.createRegistry)({'core/block-editor':c.storeConfig},R);t.registerStore('core/editor',f.storeConfig),h(t)},[R]),_?(0,o.createElement)(s.RegistryProvider,{value:_},(0,o.createElement)(t,b)):null})},'withRegistryProvider');e.default=v},2410,[5,946,36,67,1076,1116,1073,2358]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),o=r(d[3]),l=r(d[4]),c=r(d[5]),p=r(d[6]),u=r(d[7]),f=t(r(d[8])),y=r(d[9]),b=r(d[10]),_=r(d[11]),h=r(d[12]);function v(t,n){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),s.push.apply(s,o)}return s}function P(t){for(var s=1;s1&&void 0!==x[1]?x[1]:{},l=n.isInitialSuggestions,c=n.type,u=n.subtype,_=n.page,h=n.perPage,v=x.length>2&&void 0!==x[2]?x[2]:{},P=v.disablePostFormats,U=void 0!==P&&P,O=h||l?3:20,S=[],c&&'post'!==c||S.push((0,f.default)({path:(0,y.addQueryArgs)('/wp/v2/search',{search:t,page:_,per_page:O,type:'post',subtype:u})}).catch(function(){return[]})),c&&'term'!==c||S.push((0,f.default)({path:(0,y.addQueryArgs)('/wp/v2/search',{search:t,page:_,per_page:O,type:'term',subtype:u})}).catch(function(){return[]})),U||c&&'post-format'!==c||S.push((0,f.default)({path:(0,y.addQueryArgs)('/wp/v2/search',{search:t,page:_,per_page:O,type:'post-format',subtype:u})}).catch(function(){return[]})),s.abrupt("return",Promise.all(S).then(function(t){return(0,o.map)((0,o.flatten)(t).filter(function(t){return!!t.id}).slice(0,O),function(t){return{id:t.id,url:t.url,title:(0,b.decodeEntities)(t.title)||(0,p.__)('(no title)'),type:t.subtype||t.type}})}));case 8:case"end":return s.stop()}},null,null,null,Promise)};var O=function(t,n){var s=(0,c.useSelect)(function(t){var n=t(h.store),s=n.canUserUseUnfilteredHTML,c=n.isPostTitleSelected,p=t(u.store).canUser;return{canUseUnfilteredHTML:s(),reusableBlocks:t('core').getEntityRecords('postType','wp_block',{per_page:l.Platform.select({web:-1,native:100})}),hasUploadPermissions:(0,o.defaultTo)(p('create','media'),!0),isTitleSelected:c&&c()}},[]),p=s.reusableBlocks,f=s.hasUploadPermissions,y=s.canUseUnfilteredHTML,b=s.isTitleSelected,v=(0,c.useDispatch)(h.store).undo;return(0,l.useMemo)(function(){return P(P({},(0,o.pick)(t,['__experimentalBlockDirectory','__experimentalBlockPatterns','__experimentalBlockPatternCategories','__experimentalFeatures','__experimentalGlobalStylesUserEntityId','__experimentalGlobalStylesBaseStyles','__experimentalPreferredStyleVariations','__experimentalSetIsInserterOpened','alignWide','allowedBlockTypes','availableLegacyWidgets','bodyPlaceholder','codeEditingEnabled','colors','disableCustomColors','disableCustomFontSizes','disableCustomGradients','enableCustomUnits','enableCustomLineHeight','focusMode','fontSizes','gradients','hasFixedToolbar','hasReducedUI','imageEditing','imageSizes','imageDimensions','isRTL','keepCaretInsideBlock','maxWidth','onUpdateDefaultBlockStyles','styles','template','templateLock','titlePlaceholder'])),{},{mediaUpload:f?_.mediaUpload:void 0,__experimentalReusableBlocks:p,__experimentalFetchLinkSuggestions:(0,o.partialRight)(U,t),__experimentalCanUserUseUnfilteredHTML:y,__experimentalUndo:v,__experimentalShouldInsertAtTheTop:b,outlineMode:n})},[t,f,p,y,v,b,n])};e.default=O},2411,[5,66,282,1068,946,1076,1027,2280,1026,1043,1660,2412,2358]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"mediaUpload",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},2412,[5,2413]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}},2413,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BlockControls",{enumerable:!0,get:function(){return t.BlockControls}}),Object.defineProperty(e,"BlockEdit",{enumerable:!0,get:function(){return t.BlockEdit}}),Object.defineProperty(e,"BlockFormatControls",{enumerable:!0,get:function(){return t.BlockFormatControls}}),Object.defineProperty(e,"DefaultBlockAppender",{enumerable:!0,get:function(){return t.DefaultBlockAppender}}),Object.defineProperty(e,"createCustomColorsHOC",{enumerable:!0,get:function(){return t.createCustomColorsHOC}}),Object.defineProperty(e,"getColorClassName",{enumerable:!0,get:function(){return t.getColorClassName}}),Object.defineProperty(e,"getColorObjectByAttributeValues",{enumerable:!0,get:function(){return t.getColorObjectByAttributeValues}}),Object.defineProperty(e,"getColorObjectByColorValue",{enumerable:!0,get:function(){return t.getColorObjectByColorValue}}),Object.defineProperty(e,"InspectorControls",{enumerable:!0,get:function(){return t.InspectorControls}}),Object.defineProperty(e,"PlainText",{enumerable:!0,get:function(){return t.PlainText}}),Object.defineProperty(e,"RichText",{enumerable:!0,get:function(){return t.RichText}}),Object.defineProperty(e,"RichTextShortcut",{enumerable:!0,get:function(){return t.RichTextShortcut}}),Object.defineProperty(e,"RichTextToolbarButton",{enumerable:!0,get:function(){return t.RichTextToolbarButton}}),Object.defineProperty(e,"RichTextInserterItem",{enumerable:!0,get:function(){return t.RichTextInserterItem}}),Object.defineProperty(e,"__unstableRichTextInputEvent",{enumerable:!0,get:function(){return t.__unstableRichTextInputEvent}}),Object.defineProperty(e,"MediaPlaceholder",{enumerable:!0,get:function(){return t.MediaPlaceholder}}),Object.defineProperty(e,"URLInput",{enumerable:!0,get:function(){return t.URLInput}}),Object.defineProperty(e,"withColors",{enumerable:!0,get:function(){return t.withColors}}),Object.defineProperty(e,"withFontSizes",{enumerable:!0,get:function(){return t.withFontSizes}});var t=r(d[0])},2414,[1073]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7])),h=t(r(d[8])),p=r(d[9]),y=t(r(d[10])),v=r(d[11]),b=r(d[12]),w=r(d[13]),S=r(d[14]),O=r(d[15]),A=r(d[16]),E=t(r(d[17])),I=t(r(d[18])),V=t(r(d[19])),R=t(r(d[20])),k=r(d[21]);function P(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function j(t){for(var n=1;n a',attribute:'href'},rel:{type:'string',source:'attribute',selector:'figure > a',attribute:'rel'},linkClass:{type:'string',source:'attribute',selector:'figure > a',attribute:'class'},id:{type:'number'},width:{type:'number'},height:{type:'number'},linkDestination:{type:'string'},linkTarget:{type:'string',source:'attribute',selector:'figure > a',attribute:'target'}},o=[{attributes:h,save:function(t){var n,h=t.attributes,o=h.url,f=h.alt,p=h.caption,b=h.align,y=h.href,E=h.width,v=h.height,w=h.id,N=(0,s.default)((n={},(0,u.default)(n,"align"+b,b),(0,u.default)(n,'is-resized',E||v),n)),x=(0,l.createElement)("img",{src:o,alt:f,className:w?"wp-image-"+w:null,width:E,height:v});return(0,l.createElement)("figure",{className:N},y?(0,l.createElement)("a",{href:y},x):x,!c.RichText.isEmpty(p)&&(0,l.createElement)(c.RichText.Content,{tagName:"figcaption",value:p}))}},{attributes:h,save:function(t){var n=t.attributes,u=n.url,s=n.alt,h=n.caption,o=n.align,f=n.href,p=n.width,b=n.height,y=n.id,E=(0,l.createElement)("img",{src:u,alt:s,className:y?"wp-image-"+y:null,width:p,height:b});return(0,l.createElement)("figure",{className:o?"align"+o:null},f?(0,l.createElement)("a",{href:f},E):E,!c.RichText.isEmpty(h)&&(0,l.createElement)(c.RichText.Content,{tagName:"figcaption",value:h}))}},{attributes:h,save:function(t){var u=t.attributes,s=u.url,h=u.alt,o=u.caption,f=u.align,p=u.href,b=u.width,y=u.height,E=b||y?{width:b,height:y}:{},v=(0,l.createElement)("img",(0,n.default)({src:s,alt:h},E)),w={};return b?w={width:b}:'left'!==f&&'right'!==f||(w={maxWidth:'50%'}),(0,l.createElement)("figure",{className:f?"align"+f:null,style:w},p?(0,l.createElement)("a",{href:p},v):v,!c.RichText.isEmpty(o)&&(0,l.createElement)(c.RichText.Content,{tagName:"figcaption",value:o}))}}];e.default=o},2431,[5,946,24,66,1719,1073]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ImageEdit=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),p=t(r(d[7])),h=t(r(d[8])),f=t(r(d[9])),S=t(r(d[10])),b=r(d[11]),v=r(d[12]),y=r(d[13]),U=r(d[14]),I=r(d[15]),k=r(d[16]),P=r(d[17]),E=r(d[18]),_=r(d[19]),A=r(d[20]),M=r(d[21]),C=t(r(d[22])),O=r(d[23]),L=r(d[24]);function w(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function F(t){for(var n=1;n a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,__experimentalBorder:{radius:!0}},editorStyle:"wp-block-image-editor",style:"wp-block-image"}},2436,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f,o=t.attributes,h=o.url,v=o.alt,E=o.caption,p=o.align,N=o.href,k=o.rel,_=o.linkClass,w=o.width,y=o.height,z=o.id,P=o.linkTarget,T=o.sizeSlug,b=o.title,x=(0,c.isEmpty)(k)?void 0:k,B=(0,s.default)((f={},(0,n.default)(f,"align"+p,p),(0,n.default)(f,"size-"+T,T),(0,n.default)(f,'is-resized',w||y),f)),C=(0,l.createElement)("img",{src:h,alt:v,className:z?"wp-image-"+z:null,width:w,height:y,title:b}),R=(0,l.createElement)(l.Fragment,null,N?(0,l.createElement)("a",{className:_,href:N,target:P,rel:x},C):C,!u.RichText.isEmpty(E)&&(0,l.createElement)(u.RichText.Content,{tagName:"figcaption",value:E}));if('left'===p||'right'===p||'center'===p)return(0,l.createElement)("div",u.useBlockProps.save(),(0,l.createElement)("figure",{className:B},R));return(0,l.createElement)("figure",u.useBlockProps.save({className:B}),R)};var l=r(d[1]),n=t(r(d[2])),s=t(r(d[3])),c=r(d[4]),u=r(d[5])},2437,[5,946,66,1719,1068,1073]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.stripFirstImage=u,e.default=void 0;var n=t(r(d[1])),o=r(d[2]),c=r(d[3]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function s(t){for(var o=1;o'+(0,n.__)('In quoting others, we cite ourselves.')+'

    ',citation:'Julio Cort\xe1zar',className:'is-style-large'}},styles:[{name:'default',label:(0,n._x)('Default','block style'),isDefault:!0},{name:'large',label:(0,n._x)('Large','block style')}],transforms:p.default,edit:c.default,save:f.default,merge:function(t,o){var n=o.value,l=o.citation;return l||(l=t.citation),v(v({},t),{},n&&'

    '!==n?{value:t.value+n,citation:l}:{citation:l})},deprecated:u.default};e.settings=y},2449,[5,66,1027,1247,2450,2451,2452,2453,2454]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),c=r(d[3]),u=r(d[4]);function o(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);l&&(c=c.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,c)}return n}function s(t){for(var l=1;l"+o+"

    ",anchor:n})}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,n=t.citation,c=t.anchor;return(0,l.createBlock)('core/quote',{value:o,citation:n,anchor:c})}},{type:'prefix',prefix:'>',transform:function(t){return(0,l.createBlock)('core/quote',{value:"

    "+t+"

    "})}},{type:'raw',isMatch:function(t){var o,n=(o=!1,function(t){return'P'===t.nodeName||(o||'CITE'!==t.nodeName?void 0:(o=!0,!0))});return'BLOCKQUOTE'===t.nodeName&&Array.from(t.childNodes).every(n)},schema:function(t){var o=t.phrasingContentSchema;return{blockquote:{children:{p:{children:o},cite:{children:o}}}}}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,n=t.citation,p=[];return o&&'

    '!==o&&p.push.apply(p,(0,c.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),n&&'

    '!==n&&p.push((0,l.createBlock)('core/paragraph',{content:n})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.value,c=t.citation,p=(0,n.default)(t,["value","citation"]);if('

    '===o)return(0,l.createBlock)('core/heading',{content:c});var h=(0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028"),s=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:h[0]})});if(!c&&1===h.length)return s;var v=h.slice(1);return[s,(0,l.createBlock)('core/quote',f(f({},p),{},{citation:c,value:(0,u.toHTMLString)({value:v.length?(0,u.join)(h.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,n=t.citation,c=t.anchor;return(0,l.createBlock)('core/pullquote',{value:o,citation:n,anchor:c})}}]};e.default=h},2454,[5,66,67,14,1223,1074]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return o.default}}),e.settings=e.name=void 0;var l=r(d[1]),s=r(d[2]),n=t(r(d[3])),u=t(r(d[4])),o=t(r(d[5])),_=t(r(d[6])),c=t(r(d[7])),f=o.default.name;e.name=f;var p={title:(0,l._x)('Gallery','block title'),description:(0,l.__)('Display multiple images in a rich gallery.'),icon:s.gallery,keywords:[(0,l.__)('images'),(0,l.__)('photos')],example:{attributes:{columns:2,images:[{url:'https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg'},{url:'https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg'}]}},transforms:c.default,edit:u.default,save:_.default,deprecated:n.default};e.settings=p},2455,[5,1027,1247,2456,2458,2469,2470,2471]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4]),s=r(d[5]),o=r(d[6]);function p(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);l&&(u=u.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,u)}return n}function b(t){for(var l=1;l0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))}},{attributes:{images:{type:'array',default:[],source:'query',selector:'ul.wp-block-gallery .blocks-gallery-item',query:{url:{source:'attribute',selector:'img',attribute:'src'},alt:{source:'attribute',selector:'img',attribute:'alt',default:''},id:{source:'attribute',selector:'img',attribute:'data-id'},link:{source:'attribute',selector:'img',attribute:'data-link'},caption:{type:'array',source:'children',selector:'figcaption'}}},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'}},isEligible:function(t){var l=t.images,n=t.ids;return l&&l.length>0&&(!n&&l||n&&l&&n.length!==l.length||(0,c.some)(l,function(t,l){return!t&&null!==n[l]||parseInt(t,10)!==n[l]}))},migrate:function(t){return b(b({},t),{},{ids:(0,c.map)(t.images,function(t){var l=t.id;return l?parseInt(l,10):null})})},supports:{align:!0},save:function(t){var n=t.attributes,u=n.images,c=n.columns,p=void 0===c?(0,o.defaultColumnsNumber)(n):c,b=n.imageCrop,f=n.linkTo;return(0,l.createElement)("ul",{className:"columns-"+p+" "+(b?'is-cropped':'')},u.map(function(t){var n;switch(f){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,t.caption&&t.caption.length>0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))}},{attributes:{images:{type:'array',default:[],source:'query',selector:'div.wp-block-gallery figure.blocks-gallery-image img',query:{url:{source:'attribute',attribute:'src'},alt:{source:'attribute',attribute:'alt',default:''},id:{source:'attribute',attribute:'data-id'}}},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'},align:{type:'string',default:'none'}},supports:{align:!0},save:function(t){var n=t.attributes,c=n.images,s=n.columns,p=void 0===s?(0,o.defaultColumnsNumber)(n):s,b=n.align,f=n.imageCrop,y=n.linkTo,k=(0,u.default)("columns-"+p,{alignnone:'none'===b,'is-cropped':f});return(0,l.createElement)("div",{className:k},c.map(function(t){var n;switch(y){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id});return(0,l.createElement)("figure",{key:t.id||t.url,className:"blocks-gallery-image"},n?(0,l.createElement)("a",{href:n},u):u)}))}}];e.default=f},2456,[5,946,66,1719,1068,1073,2457]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultColumnsNumber=function(l){return Math.min(3,l.images.length)},e.pickRelevantMediaFiles=void 0;var l=r(d[0]);e.pickRelevantMediaFiles=function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'large',n=(0,l.pick)(t,['alt','id','link','caption']);n.url=(0,l.get)(t,['sizes',u,'url'])||(0,l.get)(t,['media_details','sizes',u,'source_url'])||t.url;var s=(0,l.get)(t,['sizes','full','url'])||(0,l.get)(t,['media_details','sizes','full','source_url']);return s&&(n.fullUrl=s),n}},2457,[1068]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=r(d[7]),p=r(d[8]),v=r(d[9]),b=r(d[10]),_=r(d[11]),h=r(d[12]),E=r(d[13]),I=r(d[14]),w=r(d[15]),y=r(d[16]),O=t(r(d[17])),S=r(d[18]);function N(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function T(t){for(var n=1;n0&&(0,s.every)(R,function(t){var n=t.url;return(0,_.isBlobURL)(n)})){var t=(0,s.map)(R,function(t){var n=t.url;return(0,_.getBlobByURL)(n)});(0,s.forEach)(R,function(t){var n=t.url;return(0,_.revokeBlobURL)(n)}),D({filesList:t,onFileChange:te,allowedTypes:['image']})}},[]),(0,n.useEffect)(function(){f||H()},[f]),(0,n.useEffect)(function(){var t,n,o,l,u,c;G||(Y(),Z({linkTo:(null==(t=window)?void 0:null==(n=t.wp)?void 0:null==(o=n.media)?void 0:null==(l=o.view)?void 0:null==(u=l.settings)?void 0:null==(c=u.defaultProps)?void 0:c.link)||S.LINK_DESTINATION_NONE}))},[G]);var ne=!!R.length,re=(0,n.createElement)(v.MediaPlaceholder,{addToGallery:ne,isAppender:ne,disableMediaButtons:ne&&!f,icon:!ne&&w.sharedIcon,labels:{title:!ne&&(0,b.__)('Gallery'),instructions:!ne&&k},onSelect:te,accept:"image/*",allowedTypes:M,multiple:!0,value:R,onError:function(t){N.removeAllNotices(),N.createErrorNotice(t)},notices:ne?void 0:E,onFocus:L}),ie=(0,v.useBlockProps)();if(!ne)return(0,n.createElement)(I.View,ie,re);var oe=(0,s.map)((0,s.filter)(j,function(t){var n=t.slug;return(0,s.some)(z,function(t){return t[n]})}),function(t){var n=t.name;return{value:t.slug,label:n}}),ae=ne&&!(0,s.isEmpty)(oe);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(v.InspectorControls,null,(0,n.createElement)(p.PanelBody,{title:(0,b.__)('Gallery settings')},R.length>1&&(0,n.createElement)(p.RangeControl,(0,o.default)({label:(0,b.__)('Columns'),value:F,onChange:function(t){Z({columns:t})},min:1,max:Math.min(P,R.length)},A,{required:!0})),(0,n.createElement)(p.ToggleControl,{label:(0,b.__)('Crop images'),checked:!!U,onChange:function(){Z({imageCrop:!U})},help:function(t){return t?(0,b.__)('Thumbnails are cropped to align.'):(0,b.__)('Thumbnails are not cropped.')}}),(0,n.createElement)(p.SelectControl,{label:(0,b.__)('Link to'),value:G,onChange:function(t){Z({linkTo:t})},options:C}),ae&&(0,n.createElement)(p.SelectControl,{label:(0,b.__)('Image size'),value:K,options:oe,onChange:function(t){Z({images:(0,s.map)(R,function(n){if(!n.id)return n;var o=(0,s.get)(z,[parseInt(n.id,10),t]);return T(T({},n),o&&{url:o})}),sizeSlug:t})}}))),E,(0,n.createElement)(O.default,(0,o.default)({},t,{selectedImage:q,mediaPlaceholder:re,onMoveBackward:function(t){return function(){0!==t&&$(t,t-1)}},onMoveForward:function(t){return function(){t!==R.length-1&&$(t,t+1)}},onRemoveImage:function(t){return function(){var n=(0,s.filter)(R,function(n,o){return t!==o});H(),Z({images:n,columns:u.columns?Math.min(n.length,u.columns):u.columns})}},onSelectImage:function(t){return function(){H(t)}},onDeselectImage:function(){return function(){H()}},onSetImageAttributes:function(t,n){R[t]&&Z({images:[].concat((0,l.default)(R.slice(0,t)),[T(T({},R[t]),n)],(0,l.default)(R.slice(t+1)))})},onFocusGalleryCaption:function(){H()},blockProps:ie})))});e.default=D},2458,[5,946,24,14,66,36,1068,1116,1699,1073,1027,2439,1076,2335,1250,2459,2457,2461,2468]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.sharedIcon=void 0;var n=r(d[1]),t=o(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),f=o(r(d[6])),h=(0,c.withPreferredColorScheme)(function(o){var c=(0,o.getStylesFromColorScheme)(f.default.icon,f.default.iconDark);return(0,n.createElement)(l.Icon,(0,t.default)({icon:u.gallery},c))}),v=(0,n.createElement)(h,null);e.sharedIcon=v},2459,[5,946,24,1699,1116,1247,2460]); +__d(function(g,r,i,a,m,e,d){m.exports={icon:{fill:"#2e4453"},iconDark:{fill:"#fff"}}},2460,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Gallery=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),c=r(d[4]),s=t(r(d[5])),u=r(d[6]),f=t(r(d[7])),p=t(r(d[8])),v=r(d[9]),y=r(d[10]),S=r(d[11]),b=r(d[12]),k=r(d[13]).alignmentHelpers.isFullWidth,B=function(t){var B=(0,l.useState)(!1),I=(0,n.default)(B,2),E=I[0],_=I[1];(0,l.useEffect)(S.mediaUploadSync,[]);var h=(0,b.useSelect)(function(t){return!!t('core/block-editor').getSettings().isRTL},[]),w=t.clientId,C=t.selectedImage,F=t.mediaPlaceholder,M=t.onBlur,G=t.onMoveBackward,A=t.onMoveForward,L=t.onRemoveImage,R=t.onSelectImage,T=t.onSetImageAttributes,N=t.onFocusGalleryCaption,P=t.attributes,V=t.isSelected,W=t.isNarrow,$=t.onFocus,j=t.insertBlocksAfter,x=P.align,H=P.columns,O=void 0===H?(0,u.defaultColumnsNumber)(P):H,U=P.imageCrop,q=P.images,z=W?Math.min(O,2):Math.min(O,4),D=function(t){return function(){E&&_(!1),R(t)()}};return(0,l.createElement)(o.View,{style:{flex:1}},(0,l.createElement)(p.default,{columns:z,spacing:15,style:V?f.default.galleryTilesContainerSelected:void 0},q.map(function(t,n){var o=(0,v.sprintf)((0,v.__)('image %1$d of %2$d in gallery'),n+1,q.length);return(0,l.createElement)(s.default,{key:t.id||t.url,url:t.url,alt:t.alt,id:parseInt(t.id,10),isCropped:U,isFirstItem:0===n,isLastItem:n+1===q.length,isSelected:V&&C===n,isBlockSelected:V,onMoveBackward:G(n),onMoveForward:A(n),onRemove:L(n),onSelect:D(n),onSelectBlock:$,setAttributes:function(t){return T(n,t)},caption:t.caption,"aria-label":o,isRTL:h})})),(0,l.createElement)(o.View,{style:k(x)&&f.default.fullWidth},F),(0,l.createElement)(y.BlockCaption,{clientId:w,isSelected:E,accessible:!0,accessibilityLabelCreator:function(t){return(0,c.isEmpty)(t)?'Gallery caption. Empty':(0,v.sprintf)((0,v.__)('Gallery caption. %s'),t)},onFocus:function(){E||_(!0),N()},onBlur:M,insertBlocksAfter:j}))};e.Gallery=B;var I=B;e.default=I},2461,[5,946,36,25,1068,2462,2457,2465,2466,1027,1073,945,1076,1699]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),p=t(r(d[7])),h=r(d[8]),f=r(d[9]),S=r(d[10]),y=r(d[11]),b=r(d[12]),v=r(d[13]),C=r(d[14]),M=r(d[15]),U=r(d[16]),I=t(r(d[17])),P=t(r(d[18]));function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var F=h.StyleSheet.compose,w=F(P.default.separator,{borderRightWidth:h.StyleSheet.hairlineWidth}),E=F(P.default.button,{aspectRatio:1}),R=(function(t){(0,c.default)(_,t);var M,F,R=(M=_,F=k(),function(){var t,o=(0,p.default)(M);if(F){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,u.default)(this,t)});function _(){var t;return(0,l.default)(this,_),(t=R.apply(this,arguments)).onSelectImage=t.onSelectImage.bind((0,s.default)(t)),t.onSelectCaption=t.onSelectCaption.bind((0,s.default)(t)),t.onMediaPressed=t.onMediaPressed.bind((0,s.default)(t)),t.onCaptionChange=t.onCaptionChange.bind((0,s.default)(t)),t.onSelectMedia=t.onSelectMedia.bind((0,s.default)(t)),t.updateMediaProgress=t.updateMediaProgress.bind((0,s.default)(t)),t.finishMediaUploadWithSuccess=t.finishMediaUploadWithSuccess.bind((0,s.default)(t)),t.finishMediaUploadWithFailure=t.finishMediaUploadWithFailure.bind((0,s.default)(t)),t.renderContent=t.renderContent.bind((0,s.default)(t)),t.state={captionSelected:!1,isUploadInProgress:!1,didUploadFail:!1},t}return(0,n.default)(_,[{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onMediaPressed",value:function(){var t=this.props,o=t.id,l=t.url,n=t.isSelected,s=this.state,c=s.captionSelected,u=s.isUploadInProgress,p=s.didUploadFail;this.onSelectImage(),u?(0,S.requestImageUploadCancelDialog)(o):p||o&&'file:'===(0,C.getProtocol)(l)?(0,S.requestImageFailedRetryDialog)(o):n&&!c&&(0,S.requestImageFullscreenPreview)(l)}},{key:"onSelectImage",value:function(){this.props.isBlockSelected||this.props.onSelectBlock(),this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onSelectMedia",value:function(t){(0,this.props.setAttributes)(t)}},{key:"onCaptionChange",value:function(t){(0,this.props.setAttributes)({caption:t})}},{key:"componentDidUpdate",value:function(t){var o=this.props,l=o.isSelected,n=o.image,s=o.url;n&&!s&&this.props.setAttributes({url:n.source_url,alt:n.alt_text}),this.state.captionSelected&&!l&&t.isSelected&&this.setState({captionSelected:!1})}},{key:"updateMediaProgress",value:function(){this.state.isUploadInProgress||this.setState({isUploadInProgress:!0})}},{key:"finishMediaUploadWithSuccess",value:function(t){this.setState({isUploadInProgress:!1,didUploadFail:!1}),this.props.setAttributes({id:t.mediaServerId,url:t.mediaUrl})}},{key:"finishMediaUploadWithFailure",value:function(){this.setState({isUploadInProgress:!1,didUploadFail:!0})}},{key:"renderContent",value:function(t){var l=this.props,n=l.url,s=l.isFirstItem,c=l.isLastItem,u=l.isSelected,p=l.caption,f=l.onRemove,S=l.onMoveForward,C=l.onMoveBackward,M=l['aria-label'],k=l.isCropped,F=l.getStylesFromColorScheme,R=l.isRTL,_=this.state,W=_.isUploadInProgress,L=_.captionSelected,D=t.isUploadFailed,V=t.retryMessage,B=k?'cover':'contain',x=F(P.default.captionPlaceholder,P.default.captionPlaceholderDark),T=!D&&u,A=!D&&!u&&!!p,q=A?P.default.captionExpandedContainer:P.default.captionContainer,z=A?P.default.captionExpanded:P.default.caption,O=[{destructiveButton:!0,id:'removeImage',label:(0,b.__)('Remove'),onPress:f,separated:!0,value:'removeImage'}];return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y.Image,{alt:M,height:P.default.image.height,isSelected:u,isUploadFailed:D,isUploadInProgress:W,mediaPickerOptions:O,onSelectMediaUploadOption:this.onSelectMedia,resizeMode:B,url:n,retryMessage:V,retryIcon:U.warning}),!W&&u&&(0,o.createElement)(h.View,{style:P.default.toolbarContainer},(0,o.createElement)(h.View,{style:P.default.toolbar},(0,o.createElement)(h.View,{style:P.default.moverButtonContainer},(0,o.createElement)(I.default,{style:E,icon:R?U.arrowRight:U.arrowLeft,iconSize:15,onClick:s?void 0:C,accessibilityLabel:(0,b.__)('Move Image Backward'),"aria-disabled":s,disabled:!u}),(0,o.createElement)(h.View,{style:w}),(0,o.createElement)(I.default,{style:E,icon:R?U.arrowLeft:U.arrowRight,iconSize:15,onClick:c?void 0:S,accessibilityLabel:(0,b.__)('Move Image Forward'),"aria-disabled":c,disabled:!u})))),!W&&(T||A)&&(0,o.createElement)(h.View,{style:q},(0,o.createElement)(h.ScrollView,{nestedScrollEnabled:!0,keyboardShouldPersistTaps:"handled",bounces:!1},(0,o.createElement)(v.Caption,{inlineToolbar:!0,isSelected:L,onChange:this.onCaptionChange,onFocus:this.onSelectCaption,placeholder:u?(0,b.__)('Write caption\u2026'):null,placeholderTextColor:x.color,style:z,value:p}))))}},{key:"render",value:function(){var t=this.props,l=t.id,n=t.onRemove,s=t.getStylesFromColorScheme,c=t.isSelected,u=s(P.default.galleryImageContainer,P.default.galleryImageContainerDark);return(0,o.createElement)(h.TouchableWithoutFeedback,{onPress:this.onMediaPressed,accessible:!c,accessibilityLabel:this.accessibilityLabelImageContainer(),accessibilityRole:'imagebutton'},(0,o.createElement)(h.View,{style:u},(0,o.createElement)(v.MediaUploadProgress,{mediaId:l,onUpdateMediaProgress:this.updateMediaProgress,onFinishMediaUploadWithSuccess:this.finishMediaUploadWithSuccess,onFinishMediaUploadWithFailure:this.finishMediaUploadWithFailure,onMediaUploadStateReset:n,renderContent:this.renderContent})))}},{key:"accessibilityLabelImageContainer",value:function(){var t=this.props,o=t.caption,l=t['aria-label'];return(0,f.isEmpty)(o)?l:l+'. '+(0,b.sprintf)((0,b.__)('Image caption. %s'),o)}}]),_})(o.Component),_=(0,M.withPreferredColorScheme)(R);e.default=_},2462,[5,946,7,42,60,57,59,56,25,1068,945,1699,1027,1073,1043,1116,1247,2463,2464]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Button=s,e.default=void 0;var l=r(d[1]),o=r(d[2]),c=r(d[3]),n=t(r(d[4]));function s(t){var s=t.icon,u=t.iconSize,b=void 0===u?24:u,f=t.onClick,v=t.disabled,y=t['aria-disabled'],p=t.accessibilityLabel,_=void 0===p?'button':p,O=t.style,S=o.StyleSheet.compose(n.default.buttonActive,O),h=v||y,z=(h?n.default.buttonDisabled:n.default.button).fill;return(0,l.createElement)(o.TouchableOpacity,{style:S,activeOpacity:.7,accessibilityLabel:_,accessibilityRole:'button',onPress:f,disabled:h},(0,l.createElement)(c.Icon,{icon:s,fill:z,size:b}))}var u=s;e.default=u},2463,[5,946,25,1699,2464]); +__d(function(g,r,i,a,m,e,d){m.exports={galleryImageContainer:{flexGrow:1,flexShrink:1,flexBasis:0,height:150,overflow:"hidden",backgroundColor:"#e9eff3"},galleryImageContainerDark:{backgroundColor:"#1d2327"},image:{height:"100%"},button:{fill:"#f6f7f7",width:30},buttonDisabled:{fill:"#8e9196"},buttonActive:{flexDirection:"row",justifyContent:"center",alignItems:"center",borderRadius:6,borderColor:"#3c434a",backgroundColor:"#3c434a"},moverButtonContainer:{flexDirection:"row",alignItems:"center",borderRadius:3,backgroundColor:"#3c434a"},separator:{borderRightColor:"#8e9196",borderRightWidth:1,height:20},toolbarContainer:{position:"absolute"},toolbar:{paddingTop:5,paddingRight:5,paddingBottom:5,paddingLeft:5,flexDirection:"row",justifyContent:"space-between"},captionContainer:{flexGrow:1,flexShrink:1,flexBasis:0,flexDirection:"row",alignItems:"flex-end",position:"absolute",bottom:2,left:2,right:2,top:45},caption:{fontSize:12,backgroundColor:"rgba(0, 0, 0, 0.4)",color:"#fff",fontFamily:"Noto Serif",textAlign:"center",paddingTop:8,paddingBottom:8},captionPlaceholder:{color:"#ccc"},captionExpandedContainer:{maxHeight:150,position:"absolute",bottom:0,left:0,right:0,paddingTop:8,paddingBottom:10,paddingLeft:2,paddingRight:2,backgroundColor:"rgba(0, 0, 0, 0.4)"},captionExpanded:{fontSize:12,backgroundColor:"#0000",color:"#fff",fontFamily:"Noto Serif",textAlign:"center"}}},2464,[]); +__d(function(g,r,i,a,m,e,d){m.exports={galleryTilesContainerSelected:{marginBottom:16},fullWidth:{marginLeft:16,marginRight:16}}},2465,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=r(d[2]),o=t(r(d[3]));var u=function(t){var u=t.columns,c=t.children,f=t.spacing,p=void 0===f?10:f,h=t.style,v=l.StyleSheet.compose,s=n.Children.count(c)-1,y=Math.floor(s/u),S=n.Children.map(c,function(t,c){var f=Math.floor(c/u),h=f===y?s%u+1:u,v=c%u;return(0,n.createElement)(l.View,{style:[o.default.tileStyle,{width:100/h+"%",paddingLeft:p*(v/h),paddingRight:p*(1-(v+1)/h),paddingTop:0===f?0:p/2,paddingBottom:f===y?0:p/2}]},t)}),_=v(o.default.containerStyle,h);return(0,n.createElement)(l.View,{style:_},S)};e.default=u},2466,[5,946,25,2467]); +__d(function(g,r,i,a,m,e,d){m.exports={containerStyle:{flexDirection:"row",flexWrap:"wrap"},tileStyle:{overflow:"hidden",flexDirection:"row",alignItems:"center",borderColor:"transparent"}}},2467,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LINK_DESTINATION_ATTACHMENT=e.LINK_DESTINATION_MEDIA=e.LINK_DESTINATION_NONE=void 0;e.LINK_DESTINATION_NONE='none';e.LINK_DESTINATION_MEDIA='file';e.LINK_DESTINATION_ATTACHMENT='post'},2468,[]); +__d(function(t,e,r,i,l,a,s){l.exports={apiVersion:2,name:"core/gallery",category:"media",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"}},2469,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){var u=s.attributes,o=u.images,p=u.columns,N=void 0===p?(0,c.defaultColumnsNumber)(u):p,f=u.imageCrop,E=u.caption,T=u.linkTo,k="columns-"+N+" "+(f?'is-cropped':'');return(0,l.createElement)("figure",t.useBlockProps.save({className:k}),(0,l.createElement)("ul",{className:"blocks-gallery-grid"},o.map(function(c){var s;switch(T){case n.LINK_DESTINATION_MEDIA:s=c.fullUrl||c.url;break;case n.LINK_DESTINATION_ATTACHMENT:s=c.link}var u=(0,l.createElement)("img",{src:c.url,alt:c.alt,"data-id":c.id,"data-full-url":c.fullUrl,"data-link":c.link,className:c.id?"wp-image-"+c.id:null});return(0,l.createElement)("li",{key:c.id||c.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,s?(0,l.createElement)("a",{href:s},u):u,!t.RichText.isEmpty(c.caption)&&(0,l.createElement)(t.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:c.caption})))})),!t.RichText.isEmpty(E)&&(0,l.createElement)(t.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:E}))};var l=r(d[0]),t=r(d[1]),c=r(d[2]),n=r(d[3])},2470,[946,1073,2457,2468]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=r(d[4]),l=function(t){return t?t.split(',').map(function(t){return parseInt(t,10)}):[]},s={from:[{type:'block',isMultiBlock:!0,blocks:['core/image'],transform:function(o){var u=o[0],c=u.align,l=u.sizeSlug;c=(0,t.every)(o,['align',c])?c:void 0,l=(0,t.every)(o,['sizeSlug',l])?l:void 0;var s=(0,t.filter)(o,function(t){return t.url});return(0,n.createBlock)('core/gallery',{images:s.map(function(n){var o=n.id,u=n.url,c=n.alt,l=n.caption;return{id:(0,t.toString)(o),url:u,alt:c,caption:l}}),ids:s.map(function(t){var n=t.id;return parseInt(n,10)}),align:c,sizeSlug:l})}},{type:'shortcode',tag:'gallery',attributes:{images:{type:'array',shortcode:function(n){var o=n.named.ids;return l(o).map(function(n){return{id:(0,t.toString)(n)}})}},ids:{type:'array',shortcode:function(t){var n=t.named.ids;return l(n)}},columns:{type:'number',shortcode:function(t){var n=t.named.columns;return parseInt(void 0===n?'3':n,10)}},linkTo:{type:'string',shortcode:function(t){var n=t.named.link;return void 0===n?c.LINK_DESTINATION_ATTACHMENT:n}}},isMatch:function(t){return void 0!==t.named.ids}},{type:'files',isMatch:function(n){return 1!==n.length&&(0,t.every)(n,function(t){return 0===t.type.indexOf('image/')})},transform:function(t){return(0,n.createBlock)('core/gallery',{images:t.map(function(t){return(0,u.pickRelevantMediaFiles)({url:(0,o.createBlobURL)(t)})})})}}],to:[{type:'block',blocks:['core/image'],transform:function(t){var o=t.images,u=t.align,c=t.sizeSlug,l=t.ids;return o.length>0?o.map(function(t,o){var s=t.url,f=t.alt,p=t.caption;return(0,n.createBlock)('core/image',{id:l[o],url:s,alt:f,caption:p,align:u,sizeSlug:c})}):(0,n.createBlock)('core/image',{align:u})}}]};e.default=s},2471,[1068,1223,2439,2457,2468]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),c=t(r(d[4])),s=l.default.name;e.name=s;var u={title:(0,o._x)('Archives','block title'),description:(0,o.__)('Display a monthly archive of your posts.'),icon:n.archive,example:{},edit:c.default};e.settings=u},2472,[5,1247,1027,2473,2474]); +__d(function(e,o,t,s,a,i,r){a.exports={apiVersion:2,name:"core/archives",category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"}},2473,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u=t.attributes,p=t.setAttributes,_=u.showPostCounts,h=u.displayAsDropdown;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.InspectorControls,null,(0,n.createElement)(o.PanelBody,{title:(0,l.__)('Archives settings')},(0,n.createElement)(o.ToggleControl,{label:(0,l.__)('Display as dropdown'),checked:h,onChange:function(){return p({displayAsDropdown:!h})}}),(0,n.createElement)(o.ToggleControl,{label:(0,l.__)('Show post counts'),checked:_,onChange:function(){return p({showPostCounts:!_})}}))),(0,n.createElement)("div",(0,s.useBlockProps)(),(0,n.createElement)(o.Disabled,null,(0,n.createElement)(c.default,{block:"core/archives",attributes:u}))))};var n=r(d[1]),o=r(d[2]),l=r(d[3]),s=r(d[4]),c=t(r(d[5]))},2474,[5,946,1699,1027,1073,2475]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),u=t(r(d[3])),c=t(r(d[4])),f=r(d[5]),l=t(r(d[6])),p=t(r(d[7]));function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function w(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,P.addQueryArgs)("/wp/v2/block-renderer/"+t,S(S({context:'edit'},null!==n?{attributes:n}:{}),o))}var j=(function(t){(0,c.default)(b,t);var f,v,P=(f=b,v=O(),function(){var t,n=(0,p.default)(f);if(v){var o=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,u.default)(this,t)});function b(t){var n;return(0,s.default)(this,b),(n=P.call(this,t)).state={response:null},n}return(0,l.default)(b,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=(0,h.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(t){(0,h.isEqual)(t,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(t){var n=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var o=t.block,s=t.attributes,l=void 0===s?null:s,c=t.httpMethod,u=void 0===c?'GET':c,p=t.urlQueryArgs,f='POST'===u,h=R(o,f?null:l,void 0===p?{}:p),v=f?{attributes:l}:null,P=this.currentFetchRequest=(0,y.default)({path:h,data:v,method:f?'POST':'GET'}).then(function(t){n.isStillMounted&&P===n.currentFetchRequest&&t&&n.setState({response:t.rendered})}).catch(function(t){n.isStillMounted&&P===n.currentFetchRequest&&n.setState({response:{error:!0,errorMsg:t.message}})});return P}}},{key:"render",value:function(){var t=this.state.response,s=this.props,l=s.className,c=s.EmptyResponsePlaceholder,u=s.ErrorResponsePlaceholder,p=s.LoadingResponsePlaceholder;return''===t?(0,n.createElement)(c,(0,o.default)({response:t},this.props)):t?t.error?(0,n.createElement)(u,(0,o.default)({response:t},this.props)):(0,n.createElement)(n.RawHTML,{key:"html",className:l},t):(0,n.createElement)(p,(0,o.default)({response:t},this.props))}}]),b})(n.Component);e.ServerSideRender=j,j.defaultProps={EmptyResponsePlaceholder:function(t){var o=t.className;return(0,n.createElement)(b.Placeholder,{className:o},(0,v.__)('Block rendered as empty.'))},ErrorResponsePlaceholder:function(t){var o=t.response,s=t.className,l=(0,v.sprintf)((0,v.__)('Error loading block: %s'),o.errorMsg);return(0,n.createElement)(b.Placeholder,{className:s},l)},LoadingResponsePlaceholder:function(t){var o=t.className;return(0,n.createElement)(b.Placeholder,{className:o},(0,n.createElement)(b.Spinner,null))}};var k=j;e.default=k},2476,[5,946,24,7,42,57,59,56,66,1068,1027,1026,1043,1699]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),u=t(r(d[3])),_=t(r(d[4])),l=t(r(d[5])),s=t(r(d[6])),c=t(r(d[7])),f=l.default.name;e.name=f;var p={title:(0,n._x)('Audio','block title'),description:(0,n.__)('Embed a simple audio player.'),keywords:[(0,n.__)('music'),(0,n.__)('sound'),(0,n.__)('podcast'),(0,n.__)('recording')],icon:o.audio,transforms:c.default,deprecated:u.default,edit:_.default,save:s.default};e.settings=p},2477,[5,1027,1247,2478,2479,2481,2482,2483]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),u=[{attributes:{src:{type:'string',source:'attribute',selector:'audio',attribute:'src'},caption:{type:'string',source:'html',selector:'figcaption'},id:{type:'number'},autoplay:{type:'boolean',source:'attribute',selector:'audio',attribute:'autoplay'},loop:{type:'boolean',source:'attribute',selector:'audio',attribute:'loop'},preload:{type:'string',source:'attribute',selector:'audio',attribute:'preload'}},supports:{align:!0},save:function(u){var l=u.attributes,c=l.autoplay,s=l.caption,n=l.loop,p=l.preload,b=l.src;return(0,t.createElement)("figure",null,(0,t.createElement)("audio",{controls:"controls",src:b,autoPlay:c,loop:n,preload:p}),!o.RichText.isEmpty(s)&&(0,t.createElement)(o.RichText.Content,{tagName:"figcaption",value:s}))}}];e.default=u},2478,[946,1073]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),s=r(d[5]),u=r(d[6]),p=r(d[7]),f=r(d[8]),_=r(d[9]),E=r(d[10]),b=t(r(d[11])),v=['audio'];var y=(0,p.withNotices)(function(t){var y=t.attributes,h=t.noticeOperations,M=t.setAttributes,C=t.isSelected,S=t.noticeUI,U=t.insertBlocksAfter,B=t.onFocus,P=t.onBlur,A=t.clientId,F=y.id,k=y.autoplay,I=y.loop,T=y.preload,w=y.src,N=(0,o.useState)(!1),R=(0,l.default)(N,2),L=R[0],O=R[1],W=function(t){var o=t.mediaId,n=t.mediaUrl;M({id:o,src:n})},V=function(){G((0,_.__)('Error'))};function j(t){return function(o){M((0,n.default)({},t,o))}}function G(t){h.removeAllNotices(),h.createErrorNotice(t)}function q(t){t&&t.url?M({src:t.url,id:t.id}):M({src:void 0,id:void 0})}if(!w)return(0,o.createElement)(u.View,null,(0,o.createElement)(f.MediaPlaceholder,{icon:(0,o.createElement)(f.BlockIcon,{icon:E.audio}),onSelect:q,onSelectURL:function(){},accept:"audio/*",allowedTypes:v,value:y,notices:S,onError:G,onFocus:B}));function x(t){return(0,o.createElement)(f.BlockControls,null,(0,o.createElement)(p.ToolbarGroup,null,(0,o.createElement)(p.ToolbarButton,{title:(0,_.__)('Replace audio'),icon:E.replace,onClick:t})))}function z(t,n){return(0,o.createElement)(f.MediaUploadProgress,{mediaId:F,onUpdateMediaProgress:this.updateMediaProgress,onFinishMediaUploadWithSuccess:W,onFinishMediaUploadWithFailure:V,onMediaUploadStateReset:W,containerStyle:b.default.progressContainer,progressBarStyle:b.default.progressBar,spinnerStyle:b.default.spinner,renderContent:function(l){var c=l.isUploadInProgress,s=l.isUploadFailed,u=l.retryMessage;return(0,o.createElement)(o.Fragment,null,!L&&x(t),n(),(0,o.createElement)(p.AudioPlayer,{isUploadInProgress:c,isUploadFailed:s,retryMessage:u,attributes:y,isSelected:C}))}})}return(0,o.createElement)(c.TouchableWithoutFeedback,{accessible:!C,onPress:function(){O(!1)},disabled:!C},(0,o.createElement)(u.View,null,(0,o.createElement)(f.InspectorControls,null,(0,o.createElement)(p.PanelBody,{title:(0,_.__)('Audio settings')},(0,o.createElement)(p.ToggleControl,{label:(0,_.__)('Autoplay'),onChange:j('autoplay'),checked:k}),(0,o.createElement)(p.ToggleControl,{label:(0,_.__)('Loop'),onChange:j('loop'),checked:I}),(0,o.createElement)(p.SelectControl,{label:(0,_.__)('Preload'),value:T||'',onChange:function(t){return M({preload:t||void 0})},options:[{value:'',label:(0,_.__)('Browser default')},{value:'auto',label:(0,_.__)('Auto')},{value:'metadata',label:(0,_.__)('Metadata')},{value:'none',label:(0,_.__)('None')}]}))),(0,o.createElement)(f.MediaUpload,{allowedTypes:v,isReplacingMedia:!0,onSelect:q,render:function(t){return z(t.open,t.getMediaOptions)}}),(0,o.createElement)(f.BlockCaption,{accessible:!0,accessibilityLabelCreator:function(t){return(0,s.isEmpty)(t)?(0,_.__)('Audio caption. Empty'):(0,_.sprintf)((0,_.__)('Audio caption. %s'),t)},clientId:A,isSelected:L,onFocus:function(){L||O(!0)},onBlur:P,insertBlocksAfter:U})))});e.default=y},2479,[5,946,66,36,25,1068,1250,1699,1073,1027,1247,2480]); +__d(function(g,r,i,a,m,e,d){m.exports={progressContainer:{borderRadius:4,overflow:"hidden"},progressBar:{height:4,marginBottom:-4},spinner:{height:4}}},2480,[]); +__d(function(t,e,o,r,a,i,u){a.exports={apiVersion:2,name:"core/audio",category:"media",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"}},2481,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var c=l.attributes,n=c.autoplay,u=c.caption,p=c.loop,s=c.preload,f=c.src;return f&&(0,t.createElement)("figure",o.useBlockProps.save(),(0,t.createElement)("audio",{controls:"controls",src:f,autoPlay:n,loop:p,preload:s}),!o.RichText.isEmpty(u)&&(0,t.createElement)(o.RichText.Content,{tagName:"figcaption",value:u}))};var t=r(d[0]),o=r(d[1])},2482,[946,1073]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),n={from:[{type:'files',isMatch:function(t){return 1===t.length&&0===t[0].type.indexOf('audio/')},transform:function(n){var u=n[0];return(0,o.createBlock)('core/audio',{src:(0,t.createBlobURL)(u)})}},{type:'shortcode',tag:'audio',attributes:{src:{type:'string',shortcode:function(t){var o=t.named,n=o.src,u=o.mp3,c=o.m4a,s=o.ogg,p=o.wav,f=o.wma;return n||u||c||s||p||f}},loop:{type:'string',shortcode:function(t){return t.named.loop}},autoplay:{type:'string',shortcode:function(t){return t.named.autoplay}},preload:{type:'string',shortcode:function(t){return t.named.preload}}}}]};e.default=n},2483,[2439,1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=t(r(d[1])),o=r(d[2]),l=r(d[3]),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),f=t(r(d[7]));function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function p(t){for(var o=1;o0?A+V+j:0,N=F||!F&&y&&''!==y?40:I,H=F||!F&&y&&''!==y?'':b||(0,S.__)('Add text\u2026'),G=this.getBackgroundColor(),U=this.getTextColor();return(0,n.createElement)(p.View,{onLayout:this.onLayout},this.getPlaceholderWidth(H),(0,n.createElement)(B.default,{borderRadiusValue:A,backgroundColor:G,isSelected:s},s&&(0,n.createElement)(p.View,{pointerEvents:"none",style:[R.default.outline,{borderRadius:D,borderColor:G}]}),(0,n.createElement)(v.RichText,{setRef:this.setRef,placeholder:H,value:y,onChange:this.onChangeText,style:L(L({},_.richText),{},{color:U}),textAlign:w,placeholderTextColor:R.default.placeholderTextColor.color,identifier:"text",tagName:"p",minWidth:N,maxWidth:P,id:u,isSelected:F,withoutInteractiveFormatting:!0,unstableOnFocus:function(){return t.onToggleButtonFocus(!0)},__unstableMobileNoFocusOnMount:!s,selectionColor:U,onBlur:function(){t.onSetMaxWidth()},onReplace:c,onRemove:this.onRemove,onMerge:h})),s&&(0,n.createElement)(v.BlockControls,null,(0,n.createElement)(k.ToolbarGroup,null,(0,n.createElement)(k.ToolbarButton,{title:(0,S.__)('Edit link'),icon:x.link,onClick:this.onShowLinkSettings,isActive:W}))),this.getLinkSettings(!1),(0,n.createElement)(C.default,this.props),(0,n.createElement)(v.InspectorControls,null,(0,n.createElement)(k.PanelBody,{title:(0,S.__)('Border Settings')},(0,n.createElement)(k.RangeControl,{label:(0,S.__)('Border Radius'),minimumValue:0,maximumValue:50,value:A,onChange:this.onChangeBorderRadius})),(0,n.createElement)(k.PanelBody,{title:(0,S.__)('Link Settings')},this.getLinkSettings(!0))))}}]),W})(n.Component),P=(0,b.compose)([b.withInstanceId,v.withGradient,(0,v.withColors)('backgroundColor',{textColor:'color'}),(0,y.withSelect)(function(t,n){var o=n.clientId,l=t('core/edit-post').isEditorSidebarOpened,s=t('core/block-editor'),u=s.getSelectedBlockClientId,c=s.getBlockCount,h=s.getBlockRootClientId,f=(0,s.getSettings)().maxWidth,p=h(o),b=u(),S=c(p);return{selectedId:b,editorSidebarOpened:l(),numOfButtons:S,maxWidth:f}}),(0,y.withDispatch)(function(t){return{closeSettingsBottomSheet:function(){t('core/edit-post').closeGeneralSidebar()}}})])(E);e.default=P},2486,[5,946,66,7,42,60,57,59,56,25,1116,1027,1073,1699,1076,1247,2487,2488,2489,2490,2491,2492]); +__d(function(g,r,i,a,m,e,d){m.exports={richTextWrapper:{overflow:"visible",alignSelf:"flex-start"},outline:{borderLeftWidth:1,borderRightWidth:1,borderTopWidth:1,borderBottomWidth:1,position:"absolute",left:-5,right:-5,top:-5,bottom:-5},linearGradient:{position:"absolute",left:0,right:0,top:0,bottom:0},defaultButton:{borderRadius:4,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:4,borderWidth:1,marginTop:32,marginRight:32,marginBottom:32,marginLeft:32,backgroundColor:"#595959",color:"#fff"},clearLinkButton:{color:"#d94f4f"},placeholderTextColor:{color:"rgba(255, 255, 255, 0.43)"},placeholder:{fontFamily:"Noto Serif",minHeight:22,fontSize:16,display:"none"},linkSettingsPanel:{paddingLeft:0,paddingRight:0}}},2487,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),u=t(r(d[4]));var c=function(t){var c=t.children,s=t.borderRadiusValue,f=t.backgroundColor,b=o.colorsUtils.isGradient,v=[u.default.richTextWrapper,{borderRadius:s,backgroundColor:f}];return(0,l.createElement)(n.View,{style:v},b(f)&&(0,l.createElement)(o.Gradient,{gradientValue:f,angleCenter:{x:.5,y:.5},style:[u.default.linearGradient,{borderRadius:s}]}),c)};e.default=c},2488,[5,946,25,1699,2487]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=r(d[6]);function v(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function f(t){for(var o=1;o2&&void 0!==arguments[2]&&arguments[2],N=o.backgroundColor,O=o.textColor,p=o.gradient,A=o.style,B=(0,n.getColorClassName)('background-color',N),G=(0,n.__experimentalGetGradientClass)(p),V=(0,n.getColorClassName)('color',O),M=(0,t.default)(V,G,(f={},(0,l.default)(f,B,!(null==A?void 0:null==(c=A.color)?void 0:c.gradient)&&!!B),(0,l.default)(f,'has-text-color',O||(null==A?void 0:null==(v=A.color)?void 0:v.text)),(0,l.default)(f,'has-background',N||(null==A?void 0:null==(b=A.color)?void 0:b.background)||p||(null==A?void 0:null==(s=A.color)?void 0:s.gradient)),f)),P=(null==A?void 0:null==(C=A.color)?void 0:C.background)||(null==A?void 0:null==(k=A.color)?void 0:k.text)||(null==A?void 0:null==(x=A.color)?void 0:x.gradient)?{background:(null==A?void 0:null==(_=A.color)?void 0:_.gradient)?A.color.gradient:void 0,backgroundColor:(null==A?void 0:null==(y=A.color)?void 0:y.background)?A.color.background:void 0,color:(null==A?void 0:null==(h=A.color)?void 0:h.text)?A.color.text:void 0}:{};if(j){if(N){var q=(0,n.getColorObjectByAttributeValues)(u,N);P.backgroundColor=q.color}if(O){var w=(0,n.getColorObjectByAttributeValues)(u,O);P.color=w.color}}return{className:M||void 0,style:P}};var l=o(r(d[1])),t=o(r(d[2])),n=r(d[3])},2490,[5,66,1719,1073]); +__d(function(g,r,i,a,m,e,d){m.exports={richText:{marginTop:10,marginRight:16,marginBottom:10,marginLeft:16,backgroundColor:"transparent"}}},2491,[]); +__d(function(g,r,i,a,m,e,d){m.exports={richText:{backgroundColor:"transparent",paddingLeft:16,paddingRight:16,marginTop:10,marginRight:16,marginBottom:10,marginLeft:16}}},2492,[]); +__d(function(t,e,r,o,i,a,s){i.exports={apiVersion:2,name:"core/button",category:"design",parent:["core/buttons"],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},style:{type:"object"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,reusable:!1,__experimentalSelector:".wp-block-button > a"},editorStyle:"wp-block-button-editor",style:"wp-block-button"}},2493,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var s=t.attributes,f=t.className,p=s.borderRadius,O=s.linkTarget,y=s.rel,j=s.text,v=s.title,w=s.url,h=s.width,P=(0,u.default)(s),_=(0,c.default)('wp-block-button__link',P.className,{'no-border-radius':0===p}),k=b({borderRadius:p?p+'px':void 0},P.style),N=(0,c.default)(f,(0,o.default)({},"has-custom-width wp-block-button__width-"+h,h));return(0,n.createElement)("div",l.useBlockProps.save({className:N}),(0,n.createElement)(l.RichText.Content,{tagName:"a",className:_,href:w,title:v,style:k,value:j,target:O,rel:y}))};var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),l=r(d[4]),u=t(r(d[5]));function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function b(t){for(var n=1;n0&&(y?(T=N(E?0:null),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.VisuallyHidden,{as:"label",htmlFor:k},(0,_.__)('Categories')),(0,n.createElement)("select",{id:k,className:"wp-block-categories__dropdown"},T.map(function(t){return I(t,0)})))):(function(){var t=N(E?0:null);return(0,n.createElement)("ul",{className:S(0)},t.map(function(t){return H(t,0)}))})()));var T};var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),p=r(d[7]),_=r(d[8]),h=r(d[9])},2500,[5,946,66,1068,1699,1116,1076,1073,1027,1247]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),l=t(r(d[6])),f=c.default.name;e.name=f;var p={title:(0,n._x)('Code','block title'),description:(0,n.__)('Display code snippets that respect your spacing and tabs.'),icon:o.code,example:{attributes:{content:(0,n.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:l.default,edit:s.default,save:u.default};e.settings=p},2501,[5,1027,1247,2502,2504,2505,2507]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.CodeEdit=s,e.default=void 0;var l=r(d[1]),o=r(d[2]),n=r(d[3]),u=r(d[4]),c=r(d[5]),f=t(r(d[6]));function s(t){var c=t.attributes,s=t.setAttributes,C=t.onFocus,h=t.onBlur,_=t.getStylesFromColorScheme,v=_(f.default.blockCode,f.default.blockCodeDark),b=_(f.default.placeholder,f.default.placeholderDark);return(0,l.createElement)(o.View,null,(0,l.createElement)(n.PlainText,{value:c.content,style:v,multiline:!0,underlineColorAndroid:"transparent",onChange:function(t){return s({content:t})},placeholder:(0,u.__)('Write code\u2026'),"aria-label":(0,u.__)('Code'),isSelected:t.isSelected,onFocus:C,onBlur:h,placeholderTextColor:b.color}))}var C=(0,c.withPreferredColorScheme)(s);e.default=C},2502,[5,946,25,1073,1027,1116,2503]); +__d(function(g,r,i,a,m,e,d){m.exports={blockCode:{fontFamily:"menlo",fontSize:14,paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:16,borderRadius:4,backgroundColor:"#f3f6f8"},blockCodeDark:{color:"#fff",backgroundColor:"#101517"},placeholder:{color:"#87a6bc"},placeholderDark:{color:"#646970"}}},2503,[]); +__d(function(e,t,o,c,r,n,s){r.exports={apiVersion:2,name:"core/code",category:"text",attributes:{content:{type:"string",source:"html",selector:"code"}},supports:{anchor:!0,fontSize:!0},style:"wp-block-code"}},2504,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.attributes;return(0,t.createElement)("pre",n.useBlockProps.save(),(0,t.createElement)(n.RichText.Content,{tagName:"code",value:(0,c.escape)(u.content)}))};var t=r(d[0]),n=r(d[1]),c=r(d[2])},2505,[946,1073,2506]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.escape=function(c){return(0,n.flow)(t,u)(c||'')};var n=r(d[0]);function t(n){return n.replace(/\[/g,'[')}function u(n){return n.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,'$1//$2')}},2506,[1068]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n={from:[{type:'enter',regExp:/^```$/,transform:function(){return(0,t.createBlock)('core/code')}},{type:'block',blocks:['core/html'],transform:function(n){var c=n.content;return(0,t.createBlock)('core/code',{content:c})}},{type:'raw',isMatch:function(t){return'PRE'===t.nodeName&&1===t.children.length&&'CODE'===t.firstChild.nodeName},schema:{pre:{children:{code:{children:{'#text':{}}}}}}}]};e.default=n},2507,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),p=t(r(d[7])),f=t(r(d[8])),_=c.default.name;e.name=_;var b={title:(0,n._x)('Columns','block title'),icon:o.columns,description:(0,n.__)('Add a block that displays content in multiple columns, then add whatever content blocks you\u2019d like.'),variations:p.default,example:{innerBlocks:[{name:'core/column',innerBlocks:[{name:'core/paragraph',attributes:{content:(0,n.__)('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.')}},{name:'core/image',attributes:{url:'https://s.w.org/images/core/5.3/Windbuchencom.jpg'}},{name:'core/paragraph',attributes:{content:(0,n.__)('Suspendisse commodo neque lacus, a dictum orci interdum et.')}}]},{name:'core/column',innerBlocks:[{name:'core/paragraph',attributes:{content:(0,n.__)('Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.')}},{name:'core/paragraph',attributes:{content:(0,n.__)('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.')}}]}]},deprecated:s.default,edit:u.default,save:l.default,transforms:f.default};e.settings=b},2508,[5,1027,1247,2509,2510,2517,2518,2511,2519]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),u=t(r(d[4])),c=r(d[5]),s=r(d[6]);function f(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function b(t){for(var o=1;o=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(n)}function v(t,o){if(t){if("string"==typeof t)return p(t,o);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,o):void 0}}function p(t,o){(null==o||o>t.length)&&(o=t.length);for(var n=0,l=new Array(o);nc,I=(C(f)||{}).verticalAlignment;if(A&&b){var W=(0,E.toWidthPrecision)(100/u),S=(0,E.getRedistributedColumnWidths)(B,100-W);B=[].concat((0,o.default)((0,E.getMappedColumnWidths)(B,S)),(0,o.default)((0,s.times)(u-c,function(){return(0,v.createBlock)('core/column',{width:W,verticalAlignment:I})})))}else if(A)B=[].concat((0,o.default)(B),(0,o.default)((0,s.times)(u-c,function(){return(0,v.createBlock)('core/column',{verticalAlignment:I})})));else if(B=(0,s.dropRight)(B,c-u),b){var w=(0,E.getRedistributedColumnWidths)(B,100);B=(0,E.getMappedColumnWidths)(B,w)}k(f,B)},onAddNextColumn:function(){var c=n.clientId,u=t('core/block-editor'),s=u.replaceInnerBlocks,f=u.selectBlock,k=l.select('core/block-editor'),h=k.getBlocks,p=(0,k.getBlockAttributes)(c).verticalAlignment,C=h(c),B=(0,v.createBlock)('core/column',{verticalAlignment:p});s(c,[].concat((0,o.default)(C),[B]),!0),f(B.clientId)},onDeleteBlock:function(){var l=n.clientId;(0,t('core/block-editor').removeBlock)(l)}}})(function(t){var l=t.attributes,o=t.updateAlignment,s=t.updateColumns,p=t.columnCount,v=t.isSelected,b=t.onDeleteBlock,U=t.innerColumns,M=t.updateInnerColumnWidth,O=t.editorSidebarOpened,R=(0,C.useResizeObserver)(),x=(0,c.default)(R,2),D=x[0],F=x[1],V=(0,n.useState)(y),z=(0,c.default)(V,2),N=z[0],H=z[1],T=Math.floor(u.Dimensions.get('window').width),j=(0,n.useContext)(k.GlobalStylesContext),G=l.verticalAlignment,L=l.align,q=(F||{}).width;(0,n.useEffect)(function(){0===p&&s(p,p||w)},[]),(0,n.useEffect)(function(){q&&(0,I.getColumnsInRow)(q,p)!==N&&H((0,I.getColumnsInRow)(q,p))},[q,p]);var J=(0,n.useMemo)(function(){return(0,I.getContentWidths)(N,q,p,U,j)},[q,N,p,U,j]),K=(0,n.useCallback)(function(){s(p,p+1)},[p]),Q=function(t,n,l){var o=(0,E.getWidthWithUnit)(t,n);M(o,l)},X=function(t,n,l){var o=parseFloat((0,E.getWidths)(U)[n]),c=(0,E.getWidthWithUnit)(o,t);M(c,l)},Y=function(t,n,l){!(0,E.isPercentageUnit)(n)&&n&&Q(t,n,l)},Z=(0,n.useMemo)(function(){return O&&v?U.map(function(t,l){var o=((0,k.getValueAndUnit)(t.attributes.width)||{}).valueUnit,c=void 0===o?'%':o;return(0,n.createElement)(k.UnitControl,{label:"Column "+(l+1),key:t.clientId+"-"+(0,E.getWidths)(U).length,min:1,max:(0,E.isPercentageUnit)(c)||!c?100:void 0,decimalNum:1,value:(0,E.getWidths)(U)[l],onChange:function(n){Y(n,c,t.clientId)},onUnitChange:function(n){return X(n,l,t.clientId)},onComplete:function(n){Q(n,c,t.clientId)},unit:c,units:E.CSS_UNITS,preview:(0,n.createElement)(W.default,{columnWidths:(0,E.getWidths)(U,!1),selectedColumnIndex:l})})}):null},[O,v,U]),$=(0,n.useCallback)(function(t){s(p,t)},[p]);return(0,n.createElement)(n.Fragment,null,v&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(h.InspectorControls,null,(0,n.createElement)(k.PanelBody,{title:(0,f.__)('Columns Settings')},(0,n.createElement)(k.RangeControl,{label:(0,f.__)('Number of columns'),icon:B.columns,value:p,onChange:$,min:y,max:p+1,type:"stepper"}),Z),(0,n.createElement)(k.PanelBody,null,(0,n.createElement)(k.FooterMessageControl,{label:(0,f.__)('Note: Column layout may vary between themes and screen sizes')}))),(0,n.createElement)(h.BlockControls,null,(0,n.createElement)(h.BlockVerticalAlignmentToolbar,{onChange:o,value:G}))),(0,n.createElement)(u.View,{style:v&&A.default.innerBlocksSelected},D,q&&(0,n.createElement)(h.InnerBlocks,{renderAppender:function(){var t=q===T;return v?(0,n.createElement)(u.View,{style:(P(T,'mobile')||t)&&A.default.columnAppender},(0,n.createElement)(h.InnerBlocks.ButtonBlockAppender,{onAddBlock:K})):null},orientation:N>1?'horizontal':void 0,horizontal:!0,allowedBlocks:S,contentResizeMode:"stretch",onAddBlock:K,onDeleteBlock:1===p?b:void 0,blockWidth:q,contentStyle:J,parentWidth:_(L)&&0===p?T:(0,I.calculateContainerWidth)(q,N)})))}),M=function(t){var o=t.clientId,u=t.isSelected,f=(0,p.useSelect)(function(t){var n,l=t('core/block-editor'),c=l.getBlockCount,u=l.getBlock,f=l.getBlockParents,k=l.getBlockAttributes,h=t('core/edit-post').isEditorSidebarOpened,p=u(o),C=null==p?void 0:p.innerBlocks,v=(0,s.map)(C,function(t){return t.innerBlocks.length}),B=f(o,!0);return{columnCount:c(o),isDefaultColumns:!(0,s.compact)(v).length,innerColumns:C,hasParents:!!B.length,parentBlockAlignment:null==(n=k(B[0]))?void 0:n.align,editorSidebarOpened:h()}},[o,u]),k=f.columnCount,C=f.isDefaultColumns,v=f.innerColumns,B=void 0===v?[]:v,A=f.hasParents,E=f.parentBlockAlignment,I=f.editorSidebarOpened,W=(0,n.useState)(!1),S=(0,c.default)(W,2),w=S[0],y=S[1];return(0,n.useEffect)(function(){u&&C&&(0,s.delay)(function(){return y(!0)},100)},[]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(U,(0,l.default)({columnCount:k,innerColumns:B,hasParents:A,parentBlockAlignment:E,editorSidebarOpened:I},t)),(0,n.createElement)(h.BlockVariationPicker,{variations:b.default,onClose:function(){return y(!1)},clientId:o,isVisible:w}))};e.default=M},2510,[5,946,24,14,36,25,1068,1027,1699,1073,1076,1116,1223,1247,2511,2512,2513,2514,2515]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t=r(d[1]),l=r(d[2]),n=[{name:'one-column-full',title:(0,l.__)('100'),description:(0,l.__)('One column'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"})),innerBlocks:[['core/column']],scope:['block']},{name:'two-columns-equal',title:(0,l.__)('50 / 50'),description:(0,l.__)('Two columns; equal split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[['core/column'],['core/column']],scope:['block']},{name:'two-columns-one-third-two-thirds',title:(0,l.__)('30 / 70'),description:(0,l.__)('Two columns; one-third, two-thirds split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[['core/column',{width:'33.33%'}],['core/column',{width:'66.66%'}]],scope:['block']},{name:'two-columns-two-thirds-one-third',title:(0,l.__)('70 / 30'),description:(0,l.__)('Two columns; two-thirds, one-third split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[['core/column',{width:'66.66%'}],['core/column',{width:'33.33%'}]],scope:['block']},{name:'three-columns-equal',title:(0,l.__)('33 / 33 / 33'),description:(0,l.__)('Three columns; equal split'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[['core/column'],['core/column'],['core/column']],scope:['block']},{name:'three-columns-wider-center',title:(0,l.__)('25 / 50 / 25'),description:(0,l.__)('Three columns; wide center column'),icon:(0,o.createElement)(t.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(t.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[['core/column',{width:'25%'}],['core/column',{width:'50%'}],['core/column',{width:'25%'}]],scope:['block']}];e.default=n},2511,[946,1699,1027]); +__d(function(g,r,i,a,m,e,d){m.exports={columnsContainer:{minWidth:32,marginLeft:16},innerBlocksSelected:{marginBottom:16},columnMargin:{marginTop:8,marginRight:8,marginBottom:8,marginLeft:8},columnAppender:{marginLeft:16,marginRight:16}}},2512,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getEffectiveColumnWidth=s,e.getTotalColumnsWidth=c,e.getColumnWidths=h,e.getRedistributedColumnWidths=function(t,n){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,o=c(t,u);return(0,l.mapValues)(h(t,u),function(t){var u=n*t/o;return f(u)})},e.hasExplicitPercentColumnWidths=function(t){return t.every(function(t){var n=t.attributes.width;return Number.isFinite((null==n?void 0:null==n.endsWith?void 0:n.endsWith('%'))?parseFloat(n):n)})},e.getMappedColumnWidths=function(t,n){return t.map(function(t){return(0,l.merge)({},t,{attributes:{width:n[t.clientId]}})})},e.getWidths=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.map(function(u){var l=u.attributes.width||100/t.length;return n?parseFloat(l):l})},e.getWidthWithUnit=function(t,n){t=0>parseFloat(t)?'0':t,b(n)&&(t=Math.min(t,100));return""+t+n},e.isPercentageUnit=b,e.CSS_UNITS=e.toWidthPrecision=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=r(d[3]),o=r(d[4]),v=r(d[5]),f=function(t){var n=parseFloat(t);return Number.isFinite(n)?parseFloat(n.toFixed(2)):void 0};function s(t,n){var u=t.attributes.width;return f(void 0===u?100/n:u)}function c(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length;return(0,l.sumBy)(t,function(t){return s(t,n)})}function h(t){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length;return t.reduce(function(t,o){var v=s(o,l);return(0,u.default)(t,(0,n.default)({},o.clientId,v))},{})}e.toWidthPrecision=f;var p='web'===v.Platform.OS,_=[{value:'%',label:p?'%':(0,o.__)('Percentage (%)'),default:''},{value:'px',label:p?'px':(0,o.__)('Pixels (px)'),default:''},{value:'em',label:p?'em':(0,o.__)('Relative to parent font size (em)'),default:''},{value:'rem',label:p?'rem':(0,o.__)('Relative to root font size (rem)'),default:''},{value:'vw',label:p?'vw':(0,o.__)('Viewport width (vw)'),default:''}];function b(t){return'%'===t}e.CSS_UNITS=_},2513,[5,66,24,1068,1027,946]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getContentWidths=e.calculateContainerWidth=e.getColumnsInRow=void 0;var n,o,u=r(d[1]),l=r(d[2]),c=t(r(d[3])),f=null==(n=c.default.columnsContainer)?void 0:n.minWidth,h=null==(o=c.default.columnsContainer)?void 0:o.marginLeft;e.getColumnsInRow=function(t,n){if(t)return t_?v[n]:0}).reduce(function(t,n){return t+n},0),R=N(C,t),w=N(n,t)/t,L=w;return c.forEach(function(l){var c=l.attributes,M=l.clientId,v=(0,u.convertUnitToMobile)({width:n},h,c.width||s[M]),E=v/n,A=v/T*R;if(1===o&&n>u.ALIGNMENT_BREAKPOINTS.medium)w=E*R;else if(t>1)if(n>u.ALIGNMENT_BREAKPOINTS.medium){if(A<=f?w=f:A>f&&(w=v/W*R),L=w,Math.round(T)Snow Patrol
    '),align:'center'}}]},transforms:f.default,save:u.default,edit:s.default,deprecated:l.default};e.settings=p},2525,[5,1027,1247,2526,2528,2531,2532,2533]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),c=t(r(d[4])),s=r(d[5]),u=r(d[6]),p=r(d[7]),b=r(d[8]);function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function v(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:[]).some(function(n){return t.match(n)})};e.matchesPatterns=h;var P=function(t){var n;return null==(n=(0,f.getBlockVariations)(b))?void 0:n.find(function(n){var o=n.patterns;return h(t,o)})};e.findMoreSuitableBlock=P;var y=function(t){return t&&t.includes('class="wp-embedded-content"')};e.isFromWordPress=y;e.getPhotoHtml=function(t){var o=t.thumbnail_url||t.url,c=(0,n.createElement)("p",null,(0,n.createElement)("img",{src:o,alt:t.title,width:"100%"}));return(0,n.renderToString)(c)};e.createUpgradedEmbedBlock=function(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=t.preview,l=t.attributes,s=(l=void 0===l?{}:l).url,v=l.providerNameSlug,h=l.type;if(s&&(0,f.getBlockType)(b)){var O=P(s),w='wordpress'===v||h===c.WP_EMBED_TYPE;if(!w&&O&&(O.attributes.providerNameSlug!==v||!v))return(0,f.createBlock)(b,p({url:s},O.attributes));var E=null==(n=(0,f.getBlockVariations)(b))?void 0:n.find(function(t){return'wordpress'===t.name});if(E&&u&&y(u.html)&&!w)return(0,f.createBlock)(b,p(p({url:s},E.attributes),o))}};var O=function(t){var n=c.ASPECT_RATIOS.reduce(function(t,n){return t[n.className]=!1,t},{'wp-has-aspect-ratio':!1});return(0,l.default)(t,n)};function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return O(n);var o=document.implementation.createHTMLDocument('');o.body.innerHTML=t;var u=o.body.querySelector('iframe');if(u&&u.height&&u.width)for(var s=(u.width/u.height).toFixed(2),f=0;f=v.ratio)return(0,l.default)(O(n),v.className,'wp-has-aspect-ratio')}return n}e.removeAspectRatioClasses=O;var E=(0,s.default)(function(t,n,o,l){var s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!t)return{};var f={},v=t.type,p=void 0===v?'rich':v,b=t.html,h=t.provider_name,P=(0,u.kebabCase)((h||n).toLowerCase());return y(b)&&(p=c.WP_EMBED_TYPE),(b||'photo'===p)&&(f.type=p,f.providerNameSlug=P),f.className=w(b,o,l&&s),f});e.getAttributesFromPreview=E},2536,[5,946,66,2537,1068,2538,1029,1223,2539]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.WP_EMBED_TYPE=e.ASPECT_RATIOS=void 0;e.ASPECT_RATIOS=[{ratio:'2.33',className:'wp-embed-aspect-21-9'},{ratio:'2.00',className:'wp-embed-aspect-18-9'},{ratio:'1.78',className:'wp-embed-aspect-16-9'},{ratio:'1.33',className:'wp-embed-aspect-4-3'},{ratio:'1.00',className:'wp-embed-aspect-1-1'},{ratio:'0.56',className:'wp-embed-aspect-9-16'},{ratio:'0.50',className:'wp-embed-aspect-1-2'}];e.WP_EMBED_TYPE='wp-embed'},2537,[]); +__d(function(g,r,i,a,m,e,d){!(function(){'use strict';var n=(function(){function n(){}function t(n,t){for(var o=t.length,f=0;f0&&(0,n.createElement)(f.View,{style:[x,s.getStyleForAlignment(E)]},(0,n.createElement)(S.RichText,{withoutInteractiveFormatting:!0,__unstableMobileNoFocusOnMount:!0,rootTagsToEliminate:['p'],tagName:"p",textAlign:"center",minWidth:L,maxWidth:s.state.maxWidth,deleteEnter:!0,style:U.default.buttonText,value:_,placeholder:P,unstableOnFocus:function(){return s.setState({isButtonFocused:!0})},onBlur:function(){return s.setState({isButtonFocused:!1})},selectionColor:U.default.buttonText.color,placeholderTextColor:U.default.placeholderTextColor.color,underlineColorAndroid:"transparent",onChange:s.onChangeDownloadButtonText}))))}})}},{key:"render",value:function(){var t=this;return this.props.attributes.href?(0,n.createElement)(S.MediaUpload,{allowedTypes:[S.MEDIA_TYPE_ANY],isReplacingMedia:!0,onSelect:this.onSelectFile,render:function(n){var o=n.open,l=n.getMediaOptions;return t.getFileComponent(o,l)}}):(0,n.createElement)(S.MediaPlaceholder,{icon:(0,n.createElement)(S.BlockIcon,{icon:y.file}),labels:{title:(0,C.__)('File'),instructions:(0,C.__)('CHOOSE A FILE')},onSelect:this.onSelectFile,onFocus:this.props.onFocus,allowedTypes:[S.MEDIA_TYPE_ANY]})}}]),T})(n.Component);e.FileEdit=x;var T=(0,k.compose)([(0,F.withSelect)(function(t,n){var o=n.attributes,l=o.id,s=o.href,u=t('core/edit-post').isEditorSidebarOpened;return{media:l&&'file:'!==(0,w.getProtocol)(s)?t('core').getMedia(l):void 0,isSidebarOpened:u()}}),(0,F.withDispatch)(function(t){var n=t('core/edit-post').openGeneralSidebar;return{openSidebar:function(){return n('edit-post/block')}}}),k.withPreferredColorScheme])(x);e.default=T},2551,[5,946,24,7,42,60,57,59,56,25,945,1073,1699,1247,1027,1116,1076,1043,2552]); +__d(function(g,r,i,a,m,e,d){m.exports={container:{marginTop:2},defaultButton:{borderRadius:4,paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,marginTop:16,backgroundColor:"#595959"},buttonText:{backgroundColor:"transparent",color:"#fff",paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16,fontSize:16},disabledButton:{opacity:.45},uploadFailedText:{color:"#fff",fontSize:14,marginTop:5},retryContainer:{flexGrow:1,flexShrink:1,flexBasis:0,backgroundColor:"\"rgba(0, 0, 0, 0.5)\""},actionButton:{color:"#2271b1"},actionButtonDark:{color:"#5198d9"},dimmedActionButton:{color:"#2271b1",opacity:.45},dimmedActionButtonDark:{opacity:.45,color:"#5198d9"},errorContainer:{flexDirection:"row",alignItems:"center",paddingTop:4},errorIcon:{marginLeft:-4},uploadFailed:{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,color:"#d94f4f"},placeholderTextColor:{color:"rgba(255, 255, 255, 0.43)"},placeholder:{fontFamily:"Noto Serif",minHeight:22,fontSize:16,display:"none"}}},2552,[]); +__d(function(t,e,o,r,a,n,i){a.exports={apiVersion:2,name:"core/file",category:"media",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-file-editor",style:"wp-block-file"}},2553,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var l=o.attributes,c=l.href,u=l.fileName,f=l.textLinkHref,s=l.textLinkTarget,h=l.showDownloadButton,v=l.downloadButtonText;return c&&(0,t.createElement)("div",n.useBlockProps.save(),!n.RichText.isEmpty(u)&&(0,t.createElement)("a",{href:f,target:s,rel:!!s&&'noreferrer noopener'},(0,t.createElement)(n.RichText.Content,{value:u})),h&&(0,t.createElement)("a",{href:c,className:"wp-block-file__button",download:!0},(0,t.createElement)(n.RichText.Content,{value:v})))};var t=r(d[0]),n=r(d[1])},2554,[946,1073]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=r(d[0]),o=r(d[1]),t=r(d[2]),n=r(d[3]),f={from:[{type:'files',isMatch:function(c){return c.length>0},priority:15,transform:function(c){var n=[];return c.forEach(function(c){var f=(0,o.createBlobURL)(c);n.push((0,t.createBlock)('core/file',{href:f,fileName:c.name,textLinkHref:f}))}),n}},{type:'block',blocks:['core/audio'],transform:function(c){return(0,t.createBlock)('core/file',{href:c.src,fileName:c.caption,textLinkHref:c.src,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/video'],transform:function(c){return(0,t.createBlock)('core/file',{href:c.src,fileName:c.caption,textLinkHref:c.src,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/image'],transform:function(c){return(0,t.createBlock)('core/file',{href:c.url,fileName:c.caption,textLinkHref:c.url,id:c.id,anchor:c.anchor})}}],to:[{type:'block',blocks:['core/audio'],isMatch:function(o){var t=o.id;if(!t)return!1;var f=(0,(0,n.select)('core').getMedia)(t);return!!f&&(0,c.includes)(f.mime_type,'audio')},transform:function(c){return(0,t.createBlock)('core/audio',{src:c.href,caption:c.fileName,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/video'],isMatch:function(o){var t=o.id;if(!t)return!1;var f=(0,(0,n.select)('core').getMedia)(t);return!!f&&(0,c.includes)(f.mime_type,'video')},transform:function(c){return(0,t.createBlock)('core/video',{src:c.href,caption:c.fileName,id:c.id,anchor:c.anchor})}},{type:'block',blocks:['core/image'],isMatch:function(o){var t=o.id;if(!t)return!1;var f=(0,(0,n.select)('core').getMedia)(t);return!!f&&(0,c.includes)(f.mime_type,'image')},transform:function(c){return(0,t.createBlock)('core/image',{url:c.href,caption:c.fileName,id:c.id,anchor:c.anchor})}}]};e.default=f},2555,[1068,2439,1223,1076]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var o=r(d[1]),n=r(d[2]),u=t(r(d[3])),l=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=l.default.name;e.name=f;var _={title:(0,o._x)('Custom HTML','block title'),description:(0,o.__)('Add custom HTML code and preview it as you edit.'),icon:n.html,keywords:[(0,o.__)('embed')],example:{attributes:{content:''+(0,o.__)('Welcome to the wonderful world of blocks\u2026')+''}},edit:u.default,save:s.default,transforms:c.default};e.settings=_},2556,[5,1027,1247,2557,2558,2559,2560]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var p=t.attributes,_=t.setAttributes,f=t.isSelected,v=(0,n.useState)(),E=(0,o.default)(v,2),h=E[0],y=E[1],k=(0,b.useSelect)(function(t){return["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat((0,l.default)((0,s.transformStyles)(t('core/block-editor').getSettings().styles)))},[]);return(0,n.createElement)("div",(0,s.useBlockProps)({className:'block-library-html__edit'}),(0,n.createElement)(s.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,null,(0,n.createElement)(u.ToolbarButton,{className:"components-tab-button",isPressed:!h,onClick:function(){y(!1)}},(0,n.createElement)("span",null,"HTML")),(0,n.createElement)(u.ToolbarButton,{className:"components-tab-button",isPressed:h,onClick:function(){y(!0)}},(0,n.createElement)("span",null,(0,c.__)('Preview'))))),(0,n.createElement)(u.Disabled.Consumer,null,function(t){return h||t?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.SandBox,{html:p.content,styles:k}),!f&&(0,n.createElement)("div",{className:"block-library-html__preview-overlay"})):(0,n.createElement)(s.PlainText,{value:p.content,onChange:function(t){return _({content:t})},placeholder:(0,c.__)('Write HTML\u2026'),"aria-label":(0,c.__)('HTML')})}))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),s=r(d[5]),u=r(d[6]),b=r(d[7])},2557,[5,946,14,36,1027,1073,1699,1076]); +__d(function(t,e,s,o,r,a,c){r.exports={apiVersion:2,name:"core/html",category:"widgets",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-html-editor"}},2558,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.content)};var t=r(d[0])},2559,[946]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t={from:[{type:'block',blocks:['core/code'],transform:function(t){var c=t.content;return(0,o.createBlock)('core/html',{content:c})}}]};e.default=t},2560,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return _.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=r(d[2]),o=t(r(d[3])),l=t(r(d[4])),_=t(r(d[5])),u=t(r(d[6])),c=t(r(d[7])),b=_.default.name;e.name=b;var f={title:(0,n._x)('Media & Text','block title'),description:(0,n.__)('Set media and words side-by-side for a richer layout.'),icon:s.mediaAndText,keywords:[(0,n.__)('image'),(0,n.__)('video')],example:{attributes:{mediaType:'image',mediaUrl:'https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg'},innerBlocks:[{name:'core/paragraph',attributes:{content:(0,n.__)('The wren
    Earns his living
    Noiselessly.')}},{name:'core/paragraph',attributes:{content:(0,n.__)('\u2014 Kobayashi Issa (\u4e00\u8336)')}}]},transforms:c.default,edit:l.default,save:u.default,deprecated:o.default};e.settings=f},2561,[5,1027,1247,2562,2568,2569,2570,2572]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),c=r(d[4]),s=r(d[5]),u=r(d[6]);function f(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,n)}return l}function b(t){for(var o=1;oAlice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • '}},transforms:b.default,merge:function(t,l){var n=l.values;return n&&'
  • '!==n?p(p({},t),{},{values:t.values+n}):t},edit:u.default,save:c.default};e.settings=v},2582,[5,66,1027,1247,2583,2585,2586,2587]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var s=t.attributes,O=t.setAttributes,h=t.mergeBlocks,v=t.onReplace,I=t.isSelected,R=s.ordered,T=s.values,k=s.type,C=s.reversed,E=s.start,S=R?'ol':'ul',j=(0,u.useBlockProps)();return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.RichText,(0,o.default)({identifier:"values",multiline:"li",__unstableMultilineRootTag:S,tagName:S,onChange:function(t){return O({values:t})},value:T,"aria-label":(0,l.__)('List text'),placeholder:(0,l.__)('Write list\u2026'),onMerge:h,onSplit:function(t){return(0,c.createBlock)(f.name,L(L({},s),{},{values:t}))},__unstableOnSplitMiddle:function(){return(0,c.createBlock)('core/paragraph')},onReplace:v,onRemove:function(){return v([])},start:E,reversed:C,type:k},j),function(t){var o=t.value,s=t.onChange,c=t.onFocus;return(0,n.createElement)(n.Fragment,null,I&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.RichTextShortcut,{type:"primary",character:"[",onUse:function(){s((0,b.__unstableOutdentListItems)(o))}}),(0,n.createElement)(u.RichTextShortcut,{type:"primary",character:"]",onUse:function(){s((0,b.__unstableIndentListItems)(o,{type:S}))}}),(0,n.createElement)(u.RichTextShortcut,{type:"primary",character:"m",onUse:function(){s((0,b.__unstableIndentListItems)(o,{type:S}))}}),(0,n.createElement)(u.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){s((0,b.__unstableOutdentListItems)(o))}})),(0,n.createElement)(u.BlockControls,null,(0,n.createElement)(_.ToolbarGroup,{controls:[{icon:(0,l.isRTL)()?p.formatListBulletsRTL:p.formatListBullets,title:(0,l.__)('Unordered'),describedBy:(0,l.__)('Convert to unordered list'),isActive:(0,b.__unstableIsActiveListType)(o,'ul',S),onClick:function(){s((0,b.__unstableChangeListType)(o,{type:'ul'})),c(),(0,b.__unstableIsListRootSelected)(o)&&O({ordered:!1})}},{icon:(0,l.isRTL)()?p.formatListNumberedRTL:p.formatListNumbered,title:(0,l.__)('Ordered'),describedBy:(0,l.__)('Convert to ordered list'),isActive:(0,b.__unstableIsActiveListType)(o,'ol',S),onClick:function(){s((0,b.__unstableChangeListType)(o,{type:'ol'})),c(),(0,b.__unstableIsListRootSelected)(o)&&O({ordered:!0})}},{icon:(0,l.isRTL)()?p.formatOutdentRTL:p.formatOutdent,title:(0,l.__)('Outdent'),describedBy:(0,l.__)('Outdent list item'),shortcut:(0,l._x)('Backspace','keyboard key'),isDisabled:!(0,b.__unstableCanOutdentListItems)(o),onClick:function(){s((0,b.__unstableOutdentListItems)(o)),c()}},{icon:(0,l.isRTL)()?p.formatIndentRTL:p.formatIndent,title:(0,l.__)('Indent'),describedBy:(0,l.__)('Indent list item'),shortcut:(0,l._x)('Space','keyboard key'),isDisabled:!(0,b.__unstableCanIndentListItems)(o),onClick:function(){s((0,b.__unstableIndentListItems)(o,{type:S})),c()}}]})))}),R&&(0,n.createElement)(y.default,{setAttributes:O,ordered:R,reversed:C,start:E}))};var n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),l=r(d[4]),c=r(d[5]),u=r(d[6]),_=r(d[7]),b=r(d[8]),p=r(d[9]),f=r(d[10]),y=t(r(d[11]));function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function L(t){for(var n=1;n1?n:(0,c.replace)(n,/\n/g,c.__UNSTABLE_LINE_SEPARATOR)}),c.__UNSTABLE_LINE_SEPARATOR),multilineTag:'li'}),anchor:t.anchor})}},{type:'block',blocks:['core/quote','core/pullquote'],transform:function(t){var o=t.value,l=t.anchor;return(0,n.createBlock)('core/list',{values:(0,c.toHTMLString)({value:(0,c.create)({html:o,multilineTag:'p'}),multilineTag:'li'}),anchor:l})}},{type:'raw',selector:'ol,ul',schema:function(t){return{ol:s(t).ol,ul:s(t).ul}},transform:function(t){var o={ordered:'OL'===t.nodeName,anchor:''===t.id?void 0:t.id};if(o.ordered){var l=t.getAttribute('type');l&&(o.type=l),null!==t.getAttribute('reversed')&&(o.reversed=!0);var c=parseInt(t.getAttribute('start'),10);isNaN(c)||1===c&&!o.reversed||(o.start=c)}return(0,n.createBlock)('core/list',p(p({},(0,n.getBlockAttributes)('core/list',t.outerHTML)),o))}}].concat((0,o.default)(['*','-'].map(function(t){return{type:'prefix',prefix:t,transform:function(t){return(0,n.createBlock)('core/list',{values:"
  • "+t+"
  • "})}}})),(0,o.default)(['1.','1)'].map(function(t){return{type:'prefix',prefix:t,transform:function(t){return(0,n.createBlock)('core/list',{ordered:!0,values:"
  • "+t+"
  • "})}}}))),to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.values;return(0,c.split)((0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),c.__UNSTABLE_LINE_SEPARATOR).map(function(t){return(0,n.createBlock)('core/paragraph',{content:(0,c.toHTMLString)({value:t})})})}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.values;return(0,c.split)((0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),c.__UNSTABLE_LINE_SEPARATOR).map(function(t){return(0,n.createBlock)('core/heading',{content:(0,c.toHTMLString)({value:t})})})}},{type:'block',blocks:['core/quote'],transform:function(t){var o=t.values,l=t.anchor;return(0,n.createBlock)('core/quote',{value:(0,c.toHTMLString)({value:(0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),multilineTag:'p'}),anchor:l})}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.values,l=t.anchor;return(0,n.createBlock)('core/pullquote',{value:(0,c.toHTMLString)({value:(0,c.create)({html:o,multilineTag:'li',multilineWrapperTags:['ul','ol']}),multilineTag:'p'}),anchor:l})}}]};e.default=f},2587,[5,14,66,1223,1074]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=s.default.name;e.name=c;var f={name:c,title:(0,n._x)('Unsupported','block title'),description:(0,n.__)('Your site doesn\u2019t include support for this block.'),__experimentalLabel:function(t,n){if('accessibility'===n.context){var l=t.originalName,s=l?(0,o.getBlockType)(l):void 0;return s?s.settings.title||l:''}},edit:l.default,save:u.default};e.settings=f},2588,[5,1027,1223,2589,2591,2592]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.UnsupportedBlockEdit=void 0;var o=r(d[1]),l=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),p=t(r(d[7])),h=r(d[8]),f=r(d[9]),k=r(d[10]),b=r(d[11]),S=r(d[12]),B=r(d[13]),y=r(d[14]),E=r(d[15]),_=r(d[16]),v=r(d[17]),H=t(r(d[18]));function I(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var F=['core/block'],T=(function(t){(0,c.default)(T,t);var b,_,F=(b=T,_=I(),function(){var t,o=(0,p.default)(b);if(_){var l=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,u.default)(this,t)});function T(t){var o;return(0,l.default)(this,T),(o=F.call(this,t)).state={showHelp:!1},o.toggleSheet=o.toggleSheet.bind((0,s.default)(o)),o.closeSheet=o.closeSheet.bind((0,s.default)(o)),o.requestFallback=o.requestFallback.bind((0,s.default)(o)),o.onHelpButtonPressed=o.onHelpButtonPressed.bind((0,s.default)(o)),o}return(0,n.default)(T,[{key:"toggleSheet",value:function(){this.setState({showHelp:!this.state.showHelp})}},{key:"closeSheet",value:function(){this.setState({showHelp:!1})}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout)}},{key:"renderHelpIcon",value:function(){var t=this.props.getStylesFromColorScheme(H.default.infoIcon,H.default.infoIconDark);return(0,o.createElement)(h.TouchableHighlight,{onPress:this.onHelpButtonPressed,style:H.default.helpIconContainer,accessibilityLabel:(0,y.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,y.__)('Tap here to show help')},(0,o.createElement)(k.Icon,{className:"unsupported-icon-help",label:(0,y.__)('Help icon'),icon:E.help,color:t.color}))}},{key:"onHelpButtonPressed",value:function(){this.props.isSelected||this.props.selectBlock(),this.toggleSheet()}},{key:"requestFallback",value:function(){this.props.canEnableUnsupportedBlockEditor&&!1===this.props.isUnsupportedBlockEditorSupported?(this.toggleSheet(),this.setState({sendButtonPressMessage:!0})):(this.toggleSheet(),this.setState({sendFallbackMessage:!0}))}},{key:"renderSheet",value:function(t,l){var n=this,s=this.props,c=s.getStylesFromColorScheme,u=s.attributes,p=s.clientId,b=s.isUnsupportedBlockEditorSupported,S=s.canEnableUnsupportedBlockEditor,B=s.isEditableInUnsupportedBlockEditor,_=c(H.default.infoText,H.default.infoTextDark),I=c(H.default.infoTitle,H.default.infoTitleDark),F=c(H.default.infoDescription,H.default.infoDescriptionDark),T=c(H.default.infoSheetIcon,H.default.infoSheetIconDark),D=(0,y.__)("'%s' is not fully-supported"),w=(0,y.sprintf)(D,t),P=(0,v.applyFilters)('native.missing_block_detail',(0,y.__)('We are working hard to add more blocks with each release.')),U=(0,v.applyFilters)('native.missing_block_action_button',(0,y.__)('Edit using web editor')),C=c(H.default.actionButton,H.default.actionButtonDark);return(0,o.createElement)(k.BottomSheet,{isVisible:this.state.showHelp,hideHeader:!0,onClose:this.closeSheet,onModalHide:function(){n.state.sendFallbackMessage?(n.timeout=setTimeout(function(){var o='core/freeform'===l?u.content:u.originalContent;(0,f.requestUnsupportedBlockFallback)(o,p,l,t)},100),n.setState({sendFallbackMessage:!1})):n.state.sendButtonPressMessage&&(n.timeout=setTimeout(function(){(0,f.sendActionButtonPressedAction)(f.actionButtons.missingBlockAlertActionButton)},100),n.setState({sendButtonPressMessage:!1}))}},(0,o.createElement)(h.View,{style:H.default.infoContainer},(0,o.createElement)(k.Icon,{icon:E.help,color:T.color,size:H.default.infoSheetIcon.size}),(0,o.createElement)(h.Text,{style:[_,I]},w),B&&(0,o.createElement)(h.Text,{style:[_,F]},P)),(b||S)&&B&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(k.BottomSheet.Cell,{label:U,separatorType:"topFullWidth",onPress:this.requestFallback,labelStyle:C}),(0,o.createElement)(k.BottomSheet.Cell,{label:(0,y.__)('Dismiss'),separatorType:"topFullWidth",onPress:this.toggleSheet,labelStyle:C})))}},{key:"render",value:function(){var t=this.props.attributes.originalName,l=this.props,n=l.getStylesFromColorScheme,s=l.preferredColorScheme,c=S.coreBlocks[t],u=c?c.settings.title:t,p=n(H.default.unsupportedBlockMessage,H.default.unsupportedBlockMessageDark),f=n(H.default.unsupportedBlockSubtitle,H.default.unsupportedBlockSubtitleDark),b=(0,o.createElement)(h.Text,{style:f},(0,y.__)('Unsupported')),_=c?(0,B.normalizeIconObject)(c.settings.icon):E.plugins,v=n(H.default.unsupportedBlockIcon,H.default.unsupportedBlockIconDark),I="unsupported-icon-"+s;return(0,o.createElement)(h.TouchableWithoutFeedback,{disabled:!this.props.isSelected,accessibilityLabel:(0,y.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,y.__)('Tap here to show help'),onPress:this.toggleSheet},(0,o.createElement)(h.View,{style:n(H.default.unsupportedBlock,H.default.unsupportedBlockDark)},this.renderHelpIcon(),(0,o.createElement)(k.Icon,{className:I,icon:_&&_.src?_.src:_,color:v.color}),(0,o.createElement)(h.Text,{style:p},u),b,this.renderSheet(u,t)))}}]),T})(o.Component);e.UnsupportedBlockEdit=T;var D=(0,b.compose)([(0,_.withSelect)(function(t,o){var l=o.attributes,n=t('core/block-editor').getSettings;return{isUnsupportedBlockEditorSupported:!0===n('capabilities').unsupportedBlockEditor,canEnableUnsupportedBlockEditor:!0===n('capabilities').canEnableUnsupportedBlockEditor,isEditableInUnsupportedBlockEditor:!F.includes(l.originalName)}}),(0,_.withDispatch)(function(t,o){var l=t('core/block-editor').selectBlock;return{selectBlock:function(){l(o.clientId)}}}),b.withPreferredColorScheme])(T);e.default=D},2589,[5,946,7,42,60,57,59,56,25,945,1699,1116,2423,1223,1027,1247,1076,4,2590]); +__d(function(g,r,i,a,m,e,d){m.exports={content:{paddingTop:8,paddingBottom:0,paddingLeft:24,paddingRight:24,alignItems:"center",justifyContent:"space-evenly"},helpIconContainer:{position:"absolute",top:0,right:0,height:48,width:48,paddingTop:12,paddingRight:12,justifyContent:"flex-start",alignItems:"flex-end"},infoContainer:{flexDirection:"column",alignItems:"center",justifyContent:"flex-end"},infoIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#4f748e"},infoIconDark:{color:"#a7aaad"},infoSheetIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#87a6bc"},infoSheetIconDark:{color:"#a7aaad"},infoText:{textAlign:"center",color:"#2e4453"},infoTextDark:{color:"#fff"},infoTitle:{paddingTop:8,paddingBottom:12,fontSize:20,fontWeight:"bold",color:"#2e4453"},infoTitleDark:{color:"#fff"},infoDescription:{paddingBottom:24,fontSize:16,color:"#4f748e"},infoDescriptionDark:{color:"#a7aaad"},unsupportedBlock:{backgroundColor:"#e9eff3",paddingTop:24,paddingBottom:24,paddingLeft:8,paddingRight:8,borderTopLeftRadius:4,borderTopRightRadius:4,borderBottomLeftRadius:4,borderBottomRightRadius:4,alignItems:"center",justifyContent:"center"},unsupportedBlockDark:{backgroundColor:"#1e2327"},unsupportedBlockIcon:{color:"#2e4453"},unsupportedBlockIconDark:{color:"#fff"},unsupportedBlockMessage:{marginTop:4,textAlign:"center",color:"#2e4453",fontSize:14,fontWeight:"600"},unsupportedBlockMessageDark:{color:"#fff"},unsupportedBlockSubtitle:{marginTop:2,textAlign:"center",color:"#4f748e",fontSize:12},unsupportedBlockSubtitleDark:{color:"#a7aaad"},actionButton:{color:"#2271b1"},actionButtonDark:{color:"#5198d9"}}},2590,[]); +__d(function(t,e,i,s,n,r,a){n.exports={apiVersion:2,name:"core/missing",category:"text",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}}},2591,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.originalContent)};var t=r(d[0])},2592,[946]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),s=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=s.default.name;e.name=f;var _={title:(0,n._x)('More','block title'),description:(0,n.__)('Content before this block will be shown in the excerpt on your archives page.'),keywords:[(0,n.__)('read more')],icon:o.more,example:{},__experimentalLabel:function(t,n){if('accessibility'===n.context)return t.customText},transforms:u.default,edit:l.default,save:c.default};e.settings=_},2593,[5,1027,1247,2594,2596,2597,2598]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.MoreEdit=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),s=r(d[7]),h=t(r(d[8])),p=r(d[9]),v=r(d[10]),y=t(r(d[11]));function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,f.default)(_,t);var v,R,S=(v=_,R=x(),function(){var t,n=(0,c.default)(v);if(R){var u=(0,c.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function _(){var t;return(0,u.default)(this,_),(t=S.apply(this,arguments)).state={defaultText:(0,p.__)('Read more')},t}return(0,o.default)(_,[{key:"render",value:function(){var t=this.props,u=t.attributes,o=t.getStylesFromColorScheme,f=u.customText,l=this.state.defaultText,c=f||l,p=o(y.default.moreText,y.default.moreTextDark),v=o(y.default.moreLine,y.default.moreLineDark);return(0,n.createElement)(s.View,null,(0,n.createElement)(h.default,{text:c,marginLeft:0,marginRight:0,textStyle:p,lineStyle:v}))}}]),_})(n.Component);e.MoreEdit=R;var S=(0,v.withPreferredColorScheme)(R);e.default=S},2594,[5,946,7,42,57,59,56,25,1439,1027,1116,2595]); +__d(function(g,r,i,a,m,e,d){m.exports={moreLine:{backgroundColor:"#c8d7e1",height:2},moreLineDark:{backgroundColor:"#646970"},moreText:{color:"#87a6bc",textDecorationStyle:"solid",textTransform:"uppercase"},moreTextDark:{color:"#a7aaad"}}},2595,[]); +__d(function(e,t,o,s,r,a,i){r.exports={apiVersion:2,name:"core/more",category:"design",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1},editorStyle:"wp-block-more-editor"}},2596,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var c=o.attributes,u=c.customText,x=c.noTeaser,l=u?"\x3c!--more "+u+"--\x3e":'\x3c!--more--\x3e',s=x?'\x3c!--noteaser--\x3e':'';return(0,t.createElement)(t.RawHTML,null,(0,n.compact)([l,s]).join('\n'))};var t=r(d[0]),n=r(d[1])},2597,[946,1068]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'raw',schema:{'wp-block':{attributes:['data-block']}},isMatch:function(t){return t.dataset&&'core/more'===t.dataset.block},transform:function(o){var c=o.dataset,n=c.customText,s=c.noTeaser,u={};return n&&(u.customText=n),''===s&&(u.noTeaser=!0),(0,t.createBlock)('core/more',u)}}]};e.default=o},2598,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),u=t(r(d[4])),_=t(r(d[5])),f=t(r(d[6])),p=u.default.name;e.name=p;var s={title:(0,n._x)('Page Break','block title'),description:(0,n.__)('Separate your content into a multi-page experience.'),icon:o.pageBreak,keywords:[(0,n.__)('next page'),(0,n.__)('pagination')],example:{},transforms:f.default,edit:l.default,save:_.default};e.settings=s},2599,[5,1027,1247,2600,2602,2603,2604]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.NextPageEdit=f,e.default=void 0;var l=r(d[1]),c=r(d[2]),n=t(r(d[3])),s=r(d[4]),o=r(d[5]),u=t(r(d[6]));function f(t){var o=t.attributes,f=t.isSelected,x=t.onFocus,b=t.getStylesFromColorScheme,_=o.customText,p=void 0===_?(0,s.__)('Page break'):_,v=o.customText||'',y=f?['selected']:[],S=b(u.default.nextpageText,u.default.nextpageTextDark),k=b(u.default.nextpageLine,u.default.nextpageLineDark);return(0,l.createElement)(c.View,{accessible:!0,accessibilityLabel:(0,s.sprintf)((0,s.__)('Page break block. %s'),v),accessibilityStates:y,onAccessibilityTap:x},(0,l.createElement)(n.default,{text:p,marginLeft:0,marginRight:0,textStyle:S,lineStyle:k}))}var x=(0,o.withPreferredColorScheme)(f);e.default=x},2600,[5,946,25,1439,1027,1116,2601]); +__d(function(g,r,i,a,m,e,d){m.exports={nextpageLine:{backgroundColor:"#c8d7e1",height:2},nextpageLineDark:{backgroundColor:"#646970"},nextpageText:{color:"#87a6bc",textDecorationStyle:"solid",textTransform:"uppercase"},nextpageTextDark:{color:"#a7aaad"}}},2601,[]); +__d(function(e,t,o,s,a,n,p){a.exports={apiVersion:2,name:"core/nextpage",category:"design",parent:["core/post-content"],supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-nextpage-editor"}},2602,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.createElement)(n.RawHTML,null,'\x3c!--nextpage--\x3e')};var n=r(d[0])},2603,[946]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'raw',schema:{'wp-block':{attributes:['data-block']}},isMatch:function(t){return t.dataset&&'core/nextpage'===t.dataset.block},transform:function(){return(0,t.createBlock)('core/nextpage',{})}}]};e.default=o},2604,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=l.default.name;e.name=f;var p={title:(0,n._x)('Preformatted','block title'),description:(0,n.__)('Add text that respects your spacing and tabs, and also allows styling.'),icon:o.preformatted,example:{attributes:{content:(0,n.__)('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;')}},transforms:u.default,edit:s.default,save:c.default,merge:function(t,n){return{content:t.content+n.content}}};e.settings=p},2605,[5,1027,1247,2606,2609,2610,2611]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.PreformattedEdit=b,e.default=void 0;var o=r(d[1]),c=t(r(d[2])),n=r(d[3]),f=r(d[4]),l=t(r(d[5])),u=t(r(d[6]));function p(t,o){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),c.push.apply(c,n)}return c}function O(t){for(var o=1;o'+(0,l.__)('One of the hardest things to do in technology is disrupt yourself.')+'

    ',citation:(0,l.__)('Matt Mullenweg')}},styles:[{name:'default',label:(0,l._x)('Default','block style'),isDefault:!0},{name:u.SOLID_COLOR_STYLE_NAME,label:(0,l.__)('Solid color')}],transforms:c.default,edit:s.default,save:_.default,deprecated:n.default};e.settings=v},2612,[5,1027,1247,2613,2614,2615,2620,2621,2622]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SOLID_COLOR_CLASS=e.SOLID_COLOR_STYLE_NAME=void 0;e.SOLID_COLOR_STYLE_NAME='solid-color';e.SOLID_COLOR_CLASS="is-style-solid-color"},2613,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),n=t(r(d[4])),u=r(d[5]),s=r(d[6]),f=r(d[7]),C=r(d[8]);function b(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,c)}return l}function v(t){for(var o=1;o"+o+"

    ",anchor:n})}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,n=t.citation,p=[];return o&&'

    '!==o&&p.push.apply(p,(0,c.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),n&&'

    '!==n&&p.push((0,l.createBlock)('core/paragraph',{content:n})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.value,c=t.citation,p=(0,n.default)(t,["value","citation"]);if('

    '===o)return(0,l.createBlock)('core/heading',{content:c});var s=(0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028"),h=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:s[0]})});if(!c&&1===s.length)return h;var v=s.slice(1);return[h,(0,l.createBlock)('core/pullquote',f(f({},p),{},{citation:c,value:(0,u.toHTMLString)({value:v.length?(0,u.join)(s.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}}]};e.default=s},2622,[5,66,67,14,1223,1074]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),o=t(r(d[3])),l=s.default.name;e.name=l;var u={title:(0,n._x)('Reusable Block','block title'),description:(0,n.__)('Create and save content to reuse across your site. Update the block, and the changes apply everywhere it\u2019s used.'),edit:o.default};e.settings=u},2623,[5,1027,2624,2625]); +__d(function(e,t,r,o,s,a,i){s.exports={apiVersion:2,name:"core/block",category:"reusable",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"}},2624,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var k=t.attributes.ref,_=t.clientId,v=t.isSelected,P=['postType','wp_block',k],R=(0,l.useState)(!1),T=(0,o.default)(R,2),B=T[0],I=T[1],w=(0,E.usePreferredColorSchemeStyle)(y.default.infoText,y.default.infoTextDark),C=(0,E.usePreferredColorSchemeStyle)(y.default.infoTitle,y.default.infoTitleDark),x=(0,E.usePreferredColorSchemeStyle)(y.default.infoSheetIcon,y.default.infoSheetIconDark),D=(0,E.usePreferredColorSchemeStyle)(y.default.spinner,y.default.spinnerDark),H=(0,u.useSelect)(function(t){var l,o,n=t('core/block-editor'),s=n.getSettings;return{reusableBlock:(l=t('core')).getEditedEntityRecord.apply(l,P),hasResolved:t('core').hasFinishedResolution('getEditedEntityRecord',P),isSaving:(o=t('core')).isSavingEntityRecord.apply(o,P),canUserUpdate:t('core').canUser('update','blocks',k),isEditing:t(p.store).__experimentalIsEditingReusableBlock(_),settings:s()}},[k,_]),V=H.reusableBlock,z=H.hasResolved,F=H.isEditing,O=H.settings,U=(0,s.useEntityBlockEditor)('postType','wp_block',{id:k}),W=(0,o.default)(U,3),A=W[0],L=W[1],j=W[2];function M(){I(!1)}if(!z)return(0,l.createElement)(n.View,{style:D},(0,l.createElement)(n.ActivityIndicator,{animating:!0}));if(!V)return(0,l.createElement)(n.Text,null,(0,f.__)('Block has been deleted or is unavailable.'));var q=V.title,G=(0,l.createElement)(b.BlockEditorProvider,{settings:O,value:A,onChange:j,onInput:L},(0,l.createElement)(b.BlockList,{withFooter:!1,marginHorizontal:0}));F||(G=(0,l.createElement)(c.Disabled,null,G));return(0,l.createElement)(n.TouchableWithoutFeedback,{disabled:!v,accessibilityLabel:(0,f.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,f.__)('Tap here to show help'),onPress:function(){I(!0)}},(0,l.createElement)(n.View,null,v&&(0,l.createElement)(S.default,{title:q}),G,(J='android'===n.Platform.OS?(0,f.__)("Reusable blocks aren't editable on WordPress for Android"):(0,f.__)("Reusable blocks aren't editable on WordPress for iOS"),(0,l.createElement)(c.BottomSheet,{isVisible:B,hideHeader:!0,onClose:M},(0,l.createElement)(n.View,{style:y.default.infoContainer},(0,l.createElement)(c.Icon,{icon:h.help,color:x.color,size:y.default.infoSheetIcon.size}),(0,l.createElement)(n.Text,{style:[w,C]},J))))));var J};var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),s=r(d[4]),c=r(d[5]),u=r(d[6]),f=r(d[7]),b=r(d[8]),E=r(d[9]),h=r(d[10]),p=r(d[11]),y=t(r(d[12])),S=t(r(d[13]))},2625,[5,946,36,25,2280,1699,1076,1027,1073,1116,1247,2402,2626,2627]); +__d(function(g,r,i,a,m,e,d){m.exports={titleContainer:{flexDirection:"row",alignItems:"center",paddingBottom:12},title:{fontWeight:"bold",color:"#0009",flexGrow:1,flexShrink:1},titleDark:{color:"#fff9"},separator:{backgroundColor:"#e8eaeb",height:1,position:"absolute",left:-11,right:-11,bottom:0},separatorDark:{backgroundColor:"#3c434a"},lockIconContainer:{justifyContent:"flex-start",alignItems:"flex-end",paddingRight:8},lockIcon:{color:"#0009"},lockIconDark:{color:"#fff9"},helpIconContainer:{justifyContent:"flex-start",alignItems:"flex-end"},infoIcon:{color:"#0009"},infoIconDark:{color:"#fff9"},infoContainer:{flexDirection:"column",alignItems:"center",justifyContent:"flex-end"},infoSheetIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#87a6bc"},infoSheetIconDark:{color:"#a7aaad"},infoText:{textAlign:"center",color:"#2e4453"},infoTextDark:{color:"#fff"},infoTitle:{paddingTop:8,paddingBottom:12,fontSize:20,fontWeight:"bold",color:"#2e4453"},infoTitleDark:{color:"#fff"},spinner:{height:48,borderWidth:1,borderRadius:2,borderColor:"#e8eaeb",justifyContent:"center"},spinnerDark:{borderColor:"#3c434a"}}},2626,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),c=r(d[4]),f=r(d[5]),u=r(d[6]),s=t(r(d[7]));var k=(0,f.withPreferredColorScheme)(function(t){var f=t.getStylesFromColorScheme,k=t.title,y=f(s.default.lockIcon,s.default.lockIconDark),I=f(s.default.title,s.default.titleDark),_=f(s.default.infoIcon,s.default.infoIconDark),E=f(s.default.separator,s.default.separatorDark);return(0,l.createElement)(n.View,{style:s.default.titleContainer},(0,l.createElement)(n.View,{style:s.default.lockIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Lock icon'),icon:u.lock,size:16,style:y})),(0,l.createElement)(n.Text,{numberOfLines:1,style:I},k),(0,l.createElement)(n.View,{style:s.default.helpIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Help icon'),icon:u.help,size:20,style:_})),(0,l.createElement)(n.View,{style:E}))});e.default=k},2627,[5,946,25,1699,1027,1116,1247,2626]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),f=t(r(d[4])),l=s.default.name;e.name=l;var _={title:(0,o._x)('RSS','block title'),description:(0,o.__)('Display entries from any RSS or Atom feed.'),icon:n.rss,keywords:[(0,o.__)('atom'),(0,o.__)('feed')],example:{attributes:{feedURL:'https://wordpress.org'}},edit:f.default};e.settings=_},2628,[5,1247,1027,2629,2630]); +__d(function(e,t,l,o,a,s,p){a.exports={apiVersion:2,name:"core/rss",category:"widgets",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"}},2629,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var E=t.attributes,h=t.setAttributes,C=(0,n.useState)(!E.feedURL),v=(0,o.default)(C,2),y=v[0],k=v[1],L=E.blockLayout,R=E.columns,x=E.displayAuthor,S=E.displayDate,w=E.displayExcerpt,D=E.excerptLength,T=E.feedURL,U=E.itemsToShow;function A(t){return function(){var n=E[t];h((0,l.default)({},t,!n))}}var P=(0,c.useBlockProps)();if(y)return(0,n.createElement)("div",P,(0,n.createElement)(u.Placeholder,{icon:s.rss,label:"RSS"},(0,n.createElement)("form",{onSubmit:function(t){t.preventDefault(),T&&k(!1)},className:"wp-block-rss__placeholder-form"},(0,n.createElement)(u.TextControl,{placeholder:(0,_.__)('Enter URL here\u2026'),value:T,onChange:function(t){return h({feedURL:t})},className:"wp-block-rss__placeholder-input"}),(0,n.createElement)(u.Button,{isPrimary:!0,type:"submit"},(0,_.__)('Use URL')))));var B=[{icon:s.edit,title:(0,_.__)('Edit RSS URL'),onClick:function(){return k(!0)}},{icon:s.list,title:(0,_.__)('List view'),onClick:function(){return h({blockLayout:'list'})},isActive:'list'===L},{icon:s.grid,title:(0,_.__)('Grid view'),onClick:function(){return h({blockLayout:'grid'})},isActive:'grid'===L}];return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,{controls:B})),(0,n.createElement)(c.InspectorControls,null,(0,n.createElement)(u.PanelBody,{title:(0,_.__)('RSS settings')},(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Number of items'),value:U,onChange:function(t){return h({itemsToShow:t})},min:f,max:b,required:!0}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display author'),checked:x,onChange:A('displayAuthor')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display date'),checked:S,onChange:A('displayDate')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display excerpt'),checked:w,onChange:A('displayExcerpt')}),w&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Max number of words in excerpt'),value:D,onChange:function(t){return h({excerptLength:t})},min:10,max:100,required:!0}),'grid'===L&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Columns'),value:R,onChange:function(t){return h({columns:t})},min:2,max:6,required:!0}))),(0,n.createElement)("div",P,(0,n.createElement)(u.Disabled,null,(0,n.createElement)(p.default,{block:"core/rss",attributes:E}))))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),u=r(d[5]),s=r(d[6]),_=r(d[7]),p=t(r(d[8])),f=1,b=10},2630,[5,946,66,36,1073,1699,1247,1027,2475]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=l.default.name;e.name=c;var f={title:(0,n._x)('Search','block title'),description:(0,n.__)('Help visitors find your content.'),icon:o.search,keywords:[(0,n.__)('find')],example:{},variations:u.default,edit:s.default};e.settings=f},2631,[5,1027,1247,2632,2633,2635]); +__d(function(t,e,o,n,i,r,s){i.exports={apiVersion:2,name:"core/search",category:"widgets",attributes:{label:{type:"string"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:""},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"}},2632,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.className,E=t.attributes,k=t.setAttributes,C=t.toggleSelection,I=t.isSelected,x=E.label,B=E.showLabel,y=E.placeholder,N=E.width,U=E.widthUnit,P=E.align,T=E.buttonText,O=E.buttonPosition,M=E.buttonUseIcon,S="wp-block-search__width-"+(0,c.useInstanceId)(l.__experimentalUnitControl),W=function(){return(0,n.createElement)("input",{className:"wp-block-search__input","aria-label":(0,b.__)('Optional placeholder text'),placeholder:y?void 0:(0,b.__)('Optional placeholder\u2026'),value:y,onChange:function(t){return k({placeholder:t.target.value})}})},F=function(){return(0,n.createElement)(n.Fragment,null,M&&(0,n.createElement)(u.Button,{icon:s.search,className:"wp-block-search__button"}),!M&&(0,n.createElement)(l.RichText,{className:"wp-block-search__button","aria-label":(0,b.__)('Button text'),placeholder:(0,b.__)('Add button text\u2026'),withoutInteractiveFormatting:!0,value:T,onChange:function(t){return k({buttonText:t})}}))},R=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,null,(0,n.createElement)(u.ToolbarButton,{title:(0,b.__)('Toggle search label'),icon:_.toggleLabel,onClick:function(){k({showLabel:!B})},className:B?'is-pressed':void 0}),(0,n.createElement)(u.DropdownMenu,{icon:(function(){switch(O){case'button-inside':return _.buttonInside;case'button-outside':return _.buttonOutside;case'no-button':return _.noButton;case'button-only':return _.buttonOnly}})(),label:(0,b.__)('Change button position')},function(t){var o=t.onClose;return(0,n.createElement)(u.MenuGroup,{className:"wp-block-search__button-position-menu"},(0,n.createElement)(u.MenuItem,{icon:_.noButton,onClick:function(){k({buttonPosition:'no-button'}),o()}},(0,b.__)('No Button')),(0,n.createElement)(u.MenuItem,{icon:_.buttonOutside,onClick:function(){k({buttonPosition:'button-outside'}),o()}},(0,b.__)('Button Outside')),(0,n.createElement)(u.MenuItem,{icon:_.buttonInside,onClick:function(){k({buttonPosition:'button-inside'}),o()}},(0,b.__)('Button Inside')))}),'no-button'!==O&&(0,n.createElement)(u.ToolbarButton,{title:(0,b.__)('Use button with icon'),icon:_.buttonWithIcon,onClick:function(){k({buttonUseIcon:!M})},className:M?'is-pressed':void 0}))),(0,n.createElement)(l.InspectorControls,null,(0,n.createElement)(u.PanelBody,{title:(0,b.__)('Display Settings')},(0,n.createElement)(u.BaseControl,{label:(0,b.__)('Width'),id:S},(0,n.createElement)(l.__experimentalUnitControl,{id:S,min:"220px",onChange:function(t){var n='%'===U&&parseInt(t,10)>100?100:t;k({width:parseInt(n,10)})},onUnitChange:function(t){k({width:'%'===t?p:w,widthUnit:t})},style:{maxWidth:80},value:""+N+U,unit:U,units:f}),(0,n.createElement)(u.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":(0,b.__)('Percentage Width')},[25,50,75,100].map(function(t){return(0,n.createElement)(u.Button,{key:t,isSmall:!0,isPrimary:t+"%"==""+N+U,onClick:function(){return k({width:t,widthUnit:'%'})}},t,"%")})))))),z=(0,l.useBlockProps)({className:(0,o.default)(v,'button-inside'===O?'wp-block-search__button-inside':void 0,'button-outside'===O?'wp-block-search__button-outside':void 0,'no-button'===O?'wp-block-search__no-button':void 0,'button-only'===O?'wp-block-search__button-only':void 0,M||'no-button'===O?void 0:'wp-block-search__text-button',M&&'no-button'!==O?'wp-block-search__icon-button':void 0)});return(0,n.createElement)("div",z,R,B&&(0,n.createElement)(l.RichText,{className:"wp-block-search__label","aria-label":(0,b.__)('Label text'),placeholder:(0,b.__)('Add label\u2026'),withoutInteractiveFormatting:!0,value:x,onChange:function(t){return k({label:t})}}),(0,n.createElement)(u.ResizableBox,{size:{width:""+N+U},className:"wp-block-search__inside-wrapper",minWidth:h,enable:(function(){if('button-only'===O)return{};return{right:'right'!==P,left:'right'===P}})(),onResizeStart:function(t,n,o){k({width:parseInt(o.offsetWidth,10),widthUnit:'px'}),C(!1)},onResizeStop:function(t,n,o,l){k({width:parseInt(N+l.width,10)}),C(!0)},showHandle:I},('button-inside'===O||'button-outside'===O)&&(0,n.createElement)(n.Fragment,null,W(),F()),'button-only'===O&&F(),'no-button'===O&&W()))};var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),b=r(d[7]),_=r(d[8]),h=220,p=50,w=350,f=[{value:'%',label:'%',default:p},{value:'px',label:'px',default:w}]},2633,[5,946,1719,1073,1699,1116,1247,1027,2634]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.toggleLabel=e.buttonWithIcon=e.noButton=e.buttonInside=e.buttonOutside=e.buttonOnly=void 0;var t=r(d[0]),o=r(d[1]),n=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"}));e.buttonOnly=n;var l=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,t.createElement)(o.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"}));e.buttonOutside=l;var h=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,t.createElement)(o.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"}));e.buttonInside=h;var c=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}));e.noButton=c;var w=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,t.createElement)(o.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"}));e.buttonWithIcon=w;var s=(0,t.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(o.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,t.createElement)(o.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));e.toggleLabel=s},2634,[946,1699]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),u=[{name:'default',isDefault:!0,attributes:{buttonText:(0,t.__)('Search'),label:(0,t.__)('Search')}}];e.default=u},2635,[1027]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return o.default}}),e.settings=e.name=void 0;var l=r(d[1]),s=r(d[2]),n=t(r(d[3])),o=t(r(d[4])),_=t(r(d[5])),u=t(r(d[6])),f=o.default.name;e.name=f;var b={title:(0,l._x)('Separator','block title'),description:(0,l.__)('Create a break between ideas or sections with a horizontal separator.'),icon:s.separator,keywords:[(0,l.__)('horizontal-line'),'hr',(0,l.__)('divider')],example:{attributes:{customColor:'#065174',className:'is-style-wide'}},styles:[{name:'default',label:(0,l.__)('Default'),isDefault:!0},{name:'wide',label:(0,l.__)('Wide Line')},{name:'dots',label:(0,l.__)('Dots')}],transforms:u.default,edit:n.default,save:_.default};e.settings=b},2636,[5,1027,1247,2637,2639,2640,2641]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4]),u=r(d[5]),n=o(r(d[6]));var f=(0,u.withColors)('color',{textColor:'color'})(function(o){var f=o.color,v=o.setColor,C=o.className;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(s.HorizontalRule,(0,u.useBlockProps)({className:(0,c.default)(C,(0,t.default)({'has-background':f.color},f.class,f.class)),style:{backgroundColor:f.color,color:f.color}})),(0,l.createElement)(n.default,{color:f,setColor:v}))});e.default=f},2637,[5,946,66,1719,1699,1073,2638]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(){return null};e.default=u},2638,[]); +__d(function(r,t,e,o,s,a,i){s.exports={apiVersion:2,name:"core/separator",category:"design",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},editorStyle:"wp-block-separator-editor",style:"wp-block-separator"}},2639,[]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u,n=o.attributes,f=n.color,v=n.customColor,C=(0,s.getColorClassName)('background-color',f),b=(0,s.getColorClassName)('color',f),k=(0,c.default)((u={'has-text-color has-background':f||v},(0,t.default)(u,C,C),(0,t.default)(u,b,b),u)),_={backgroundColor:C?void 0:v,color:b?void 0:v};return(0,l.createElement)("hr",s.useBlockProps.save({className:k,style:_}))};var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4])},2640,[5,946,66,1719,1073]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'enter',regExp:/^-{3,}$/,transform:function(){return(0,t.createBlock)('core/separator')}},{type:'raw',selector:'hr',schema:{hr:{}}}]};e.default=o},2641,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=c.default.name;e.name=f;var _={title:(0,n._x)('Shortcode','block title'),description:(0,n.__)('Insert additional custom elements with a WordPress shortcode.'),icon:o.shortcode,transforms:u.default,edit:s.default,save:l.default};e.settings=_},2642,[5,1027,1247,2643,2645,2646,2647]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ShortcodeEdit=h,e.default=void 0;var o=r(d[1]),l=r(d[2]),c=r(d[3]),u=r(d[4]),n=r(d[5]),f=t(r(d[6]));function h(t){var n=t.attributes,h=t.setAttributes,s=t.onFocus,S=t.onBlur,_=t.getStylesFromColorScheme,b=_(f.default.blockTitle,f.default.blockTitleDark),k=_(f.default.blockShortcode,f.default.blockShortcodeDark),p=_(f.default.placeholder,f.default.placeholderDark);return(0,o.createElement)(l.View,null,(0,o.createElement)(l.Text,{style:b},(0,c.__)('Shortcode')),(0,o.createElement)(u.PlainText,{value:n.text,style:k,multiline:!0,underlineColorAndroid:"transparent",onChange:function(t){return h({text:t})},placeholder:(0,c.__)('Add a shortcode\u2026'),"aria-label":(0,c.__)('Shortcode'),isSelected:t.isSelected,onFocus:s,onBlur:S,autoCorrect:!1,autoComplete:"off",placeholderTextColor:p.color}))}var s=(0,n.withPreferredColorScheme)(h);e.default=s},2643,[5,946,25,1027,1073,1116,2644]); +__d(function(g,r,i,a,m,e,d){m.exports={blockTitle:{fontWeight:"500",fontSize:10,color:"#87a6bc",textTransform:"uppercase",letterSpacing:.4,paddingBottom:4},blockTitleDark:{color:"#646970"},blockShortcode:{fontFamily:"menlo",fontWeight:"400",fontSize:14,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,borderRadius:4,backgroundColor:"#f3f6f8"},blockShortcodeDark:{color:"#fff",backgroundColor:"#101517"},placeholder:{fontFamily:"menlo",fontWeight:"400",fontSize:14,color:"#87a6bc"},placeholderDark:{color:"#646970"}}},2644,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.text)};var t=r(d[0])},2645,[946]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'shortcode',tag:'[a-z][a-z0-9_-]*',attributes:{text:{type:'string',shortcode:function(o,n){var u=n.content;return(0,t.removep)((0,t.autop)(u))}}},priority:20}]};e.default=o},2646,[1655]); +__d(function(t,e,o,s,r,c,a){r.exports={apiVersion:2,name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"}},2647,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),u=c.default.name;e.name=u;var f={title:(0,n._x)('Spacer','block title'),description:(0,n.__)('Add white space between blocks and customize its height.'),icon:o.resizeCornerNE,edit:s.default,save:l.default};e.settings=f},2648,[5,1027,1247,2649,2650,2651]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=t(r(d[3])),s=r(d[4]),c=r(d[5]),u=r(d[6]),p=r(d[7]),h=r(d[8]),f=r(d[9]),b=(0,p.compose)([(0,h.withDispatch)(function(t){var o=t('core/block-editor').toggleSelection;return{onResizeStart:function(){return o(!1)},onResizeStop:function(){return o(!0)}}}),p.withInstanceId])(function(t){var p=t.attributes,h=t.isSelected,b=t.setAttributes,_=t.onResizeStart,S=t.onResizeStop,R=(0,o.useState)(!1),v=(0,n.default)(R,2),z=v[0],x=v[1],E=p.height,w=function(t){b({height:t})};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(f.View,(0,c.useBlockProps)(),(0,o.createElement)(u.ResizableBox,{className:(0,l.default)('block-library-spacer__resize-container',{'is-selected':h}),size:{height:E},minHeight:1,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:function(){_.apply(void 0,arguments),x(!0)},onResizeStop:function(t,o,n,l){S();var s=Math.min(parseInt(E+l.height,10),500);w(s),x(!1)},showHandle:h,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:'y',position:'bottom',isVisible:z}})),(0,o.createElement)(c.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:(0,s.__)('Spacer settings')},(0,o.createElement)(u.RangeControl,{label:(0,s.__)('Height in pixels'),min:1,max:Math.max(500,E),value:E,onChange:w}))))});e.default=b},2649,[5,946,36,1719,1027,1073,1699,1116,1076,1250]); +__d(function(e,t,r,o,p,s,a){p.exports={apiVersion:2,name:"core/spacer",category:"design",attributes:{height:{type:"number",default:100}},supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"}},2650,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var l=u.attributes;return(0,t.createElement)("div",n.useBlockProps.save({style:{height:l.height},'aria-hidden':!0}))};var t=r(d[0]),n=r(d[1])},2651,[946,1073]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),l=r(d[2]),s=r(d[3]),o=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),f=t(r(d[7])),h=c.default.name;e.name=h;var v={title:(0,l._x)('Subheading (deprecated)','block title'),description:(0,l.__)('This block is deprecated. Please use the Paragraph block instead.'),icon:(0,n.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(s.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),transforms:f.default,edit:o.default,save:u.default};e.settings=v},2652,[5,946,1027,1699,2653,2654,2655,2656]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u=t.attributes,s=t.setAttributes,b=t.className,h=u.align,v=u.content,_=u.placeholder;return(0,l.default)('The Subheading block',{alternative:'the Paragraph block',plugin:'Gutenberg'}),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.BlockControls,null,(0,n.createElement)(o.AlignmentToolbar,{value:h,onChange:function(t){s({align:t})}})),(0,n.createElement)("div",(0,o.useBlockProps)(),(0,n.createElement)(o.RichText,{tagName:"p",value:v,onChange:function(t){s({content:t})},style:{textAlign:h},className:b,"aria-label":(0,c.__)('Subheading text'),placeholder:_||(0,c.__)('Write subheading\u2026')})))};var n=r(d[1]),l=t(r(d[2])),c=r(d[3]),o=r(d[4])},2653,[5,946,1111,1027,1073]); +__d(function(e,t,r,s,o,i,n){o.exports={apiVersion:2,name:"core/subhead",category:"text",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}},supports:{inserter:!1,multiple:!1},editorStyle:"wp-block-subhead-editor",style:"wp-block-subhead"}},2654,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var u=l.attributes,c=u.align,o=u.content;return(0,t.createElement)("p",n.useBlockProps.save({style:{textAlign:c}}),(0,t.createElement)(n.RichText.Content,{value:o}))};var t=r(d[0]),n=r(d[1])},2655,[946,1073]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t={to:[{type:'block',blocks:['core/paragraph'],transform:function(t){return(0,o.createBlock)('core/paragraph',t)}}]};e.default=t},2656,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),l=r(d[2]),c=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),_=t(r(d[6])),u=t(r(d[7])),b=s.default.name;e.name=b;var f={title:(0,n._x)('Table','block title'),description:(0,n.__)('Insert a table \u2014 perfect for sharing charts and data.'),icon:l.blockTable,example:{attributes:{head:[{cells:[{content:(0,n.__)('Version'),tag:'th'},{content:(0,n.__)('Jazz Musician'),tag:'th'},{content:(0,n.__)('Release Date'),tag:'th'}]}],body:[{cells:[{content:'5.2',tag:'td'},{content:'Jaco Pastorius',tag:'td'},{content:(0,n.__)('May 7, 2019'),tag:'td'}]},{cells:[{content:'5.1',tag:'td'},{content:'Betty Carter',tag:'td'},{content:(0,n.__)('February 21, 2019'),tag:'td'}]},{cells:[{content:'5.0',tag:'td'},{content:'Bebo Vald\xe9s',tag:'td'},{content:(0,n.__)('December 6, 2018'),tag:'td'}]}]}},styles:[{name:'regular',label:(0,n._x)('Default','block style'),isDefault:!0},{name:'stripes',label:(0,n.__)('Stripes')}],transforms:u.default,edit:o.default,save:_.default,deprecated:c.default};e.settings=f},2657,[5,1027,1247,2658,2659,2661,2662,2663]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),s=r(d[3]),l=[{attributes:{hasFixedLayout:{type:'boolean',default:!1},backgroundColor:{type:'string'},head:{type:'array',default:[],source:'query',selector:'thead tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},body:{type:'array',default:[],source:'query',selector:'tbody tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},foot:{type:'array',default:[],source:'query',selector:'tfoot tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}}},supports:{align:!0},save:function(t){var l=t.attributes,c=l.hasFixedLayout,n=l.head,y=l.body,p=l.foot,f=l.backgroundColor;if(!n.length&&!y.length&&!p.length)return null;var h=(0,s.getColorClassName)('background-color',f),b=(0,u.default)(h,{'has-fixed-layout':c,'has-background':!!h}),v=function(t){var u=t.type,l=t.rows;if(!l.length)return null;var c="t"+u;return(0,o.createElement)(c,null,l.map(function(t,u){var l=t.cells;return(0,o.createElement)("tr",{key:u},l.map(function(t,u){var l=t.content,c=t.tag,n=t.scope;return(0,o.createElement)(s.RichText.Content,{tagName:c,value:l,key:u,scope:'th'===c?n:void 0})}))}))};return(0,o.createElement)("table",{className:b},(0,o.createElement)(v,{type:"head",rows:n}),(0,o.createElement)(v,{type:"body",rows:y}),(0,o.createElement)(v,{type:"foot",rows:p}))}}];e.default=l},2658,[5,946,1719,1073]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=r(d[6]),b=r(d[7]),f=r(d[8]),_=r(d[9]),p=r(d[10]),h=r(d[11]);function C(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function y(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:0;if(z){var n=z.columnIndex+t;O((0,h.insertColumn)(c,{columnIndex:n})),J({rowIndex:0,columnIndex:n,type:'cell'})}}(0,n.useEffect)(function(){N||J()},[N]);var X=['head','body','foot'].filter(function(t){return!(0,h.isEmptyTableSection)(c[t])}),Y=[{icon:_.tableRowBefore,title:(0,b.__)('Insert row before'),isDisabled:!z,onClick:function(){U(0)}},{icon:_.tableRowAfter,title:(0,b.__)('Insert row after'),isDisabled:!z,onClick:function(){U(1)}},{icon:_.tableRowDelete,title:(0,b.__)('Delete row'),isDisabled:!z,onClick:function(){if(z){var t=z.sectionName,n=z.rowIndex;J(),O((0,h.deleteRow)(c,{sectionName:t,rowIndex:n}))}}},{icon:_.tableColumnBefore,title:(0,b.__)('Insert column before'),isDisabled:!z,onClick:function(){V(0)}},{icon:_.tableColumnAfter,title:(0,b.__)('Insert column after'),isDisabled:!z,onClick:function(){V(1)}},{icon:_.tableColumnDelete,title:(0,b.__)('Delete column'),isDisabled:!z,onClick:function(){if(z){var t=z.sectionName,n=z.columnIndex;J(),O((0,h.deleteColumn)(c,{sectionName:t,columnIndex:n}))}}}],Z=['head','body','foot'].map(function(t){return(0,n.createElement)(I,{name:t,key:t},c[t].map(function(o,c){var b=o.cells;return(0,n.createElement)("tr",{key:c},b.map(function(o,b){var f=o.content,_=o.tag,p=o.scope,h=o.align;return(0,n.createElement)(s.RichText,{tagName:_,key:b,className:(0,u.default)((0,l.default)({},"has-text-align-"+h,h),'wp-block-table__cell-content'),scope:'th'===_?p:void 0,value:f,onChange:K,unstableOnFocus:function(){J({sectionName:t,rowIndex:c,columnIndex:b,type:'cell'})},"aria-label":x[t],placeholder:w[t]})}))}))}),$=!X.length;return(0,n.createElement)("figure",(0,s.useBlockProps)(),!$&&(0,n.createElement)(s.BlockControls,null,(0,n.createElement)(f.ToolbarGroup,null,(0,n.createElement)(f.ToolbarItem,null,function(t){return(0,n.createElement)(f.DropdownMenu,{hasArrowIndicator:!0,icon:_.table,toggleProps:t,label:(0,b.__)('Edit table'),controls:Y})})),(0,n.createElement)(s.AlignmentToolbar,{label:(0,b.__)('Change column alignment'),alignmentControls:v,value:(function(){if(z)return(0,h.getCellAttribute)(c,z,'align')})(),onChange:function(t){return Q(t)}})),!$&&(0,n.createElement)(s.InspectorControls,null,(0,n.createElement)(f.PanelBody,{title:(0,b.__)('Table settings'),className:"blocks-table-settings"},(0,n.createElement)(f.ToggleControl,{label:(0,b.__)('Fixed width table cells'),checked:!!T,onChange:function(){O({hasFixedLayout:!T})}}),(0,n.createElement)(f.ToggleControl,{label:(0,b.__)('Header section'),checked:!(!P||!P.length),onChange:function(){O((0,h.toggleSection)(c,'head'))}}),(0,n.createElement)(f.ToggleControl,{label:(0,b.__)('Footer section'),checked:!(!j||!j.length),onChange:function(){O((0,h.toggleSection)(c,'foot'))}})),(0,n.createElement)(s.PanelColorSettings,{title:(0,b.__)('Color settings'),initialOpen:!1,colorSettings:[{value:C.color,onChange:E,label:(0,b.__)('Background color'),disableCustomColors:!0,colors:k}]})),!$&&(0,n.createElement)("table",{className:(0,u.default)(C.class,{'has-fixed-layout':T,'has-background':!!C.color})},Z),!$&&(0,n.createElement)(s.RichText,{tagName:"figcaption","aria-label":(0,b.__)('Table caption text'),placeholder:(0,b.__)('Write caption\u2026'),value:D,onChange:function(t){return O({caption:t})},unstableOnFocus:function(){return J()},__unstableOnSplitAtEnd:function(){return S((0,p.createBlock)('core/paragraph'))}}),$&&(0,n.createElement)(f.Placeholder,{label:(0,b.__)('Table'),icon:(0,n.createElement)(s.BlockIcon,{icon:_.blockTable,showColors:!0}),instructions:(0,b.__)('Insert a table for sharing data.')},(0,n.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(t){t.preventDefault(),O((0,h.createTable)({rowCount:parseInt(R,10)||2,columnCount:parseInt(M,10)||2}))}},(0,n.createElement)(f.TextControl,{type:"number",label:(0,b.__)('Column count'),value:M,onChange:function(t){G(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(f.TextControl,{type:"number",label:(0,b.__)('Row count'),value:R,onChange:function(t){F(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(f.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},(0,b.__)('Create Table')))))});e.default=O},2659,[5,946,66,36,67,1719,1073,1027,1699,1247,1223,2660]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createTable=function(t){var n=t.rowCount,o=t.columnCount;return{body:(0,c.times)(n,function(){return{cells:(0,c.times)(o,function(){return{content:'',tag:'td'}})}})}},e.getFirstRow=s,e.getCellAttribute=function(t,n,o){var l=n.sectionName,u=n.rowIndex,f=n.columnIndex;return(0,c.get)(t,[l,u,'cells',f,o])},e.updateSelectedCell=function(t,n,o){if(!n)return t;var l=(0,c.pick)(t,['head','body','foot']),u=n.sectionName,f=n.rowIndex;return(0,c.mapValues)(l,function(t,c){return u&&u!==c?t:t.map(function(t,l){return f&&f!==l?t:{cells:t.cells.map(function(t,u){var f={sectionName:c,columnIndex:u,rowIndex:l};return p(f,n)?o(t):t})}})})},e.isCellSelected=p,e.insertRow=b,e.deleteRow=function(t,o){var c=o.sectionName,l=o.rowIndex;return(0,n.default)({},c,t[c].filter(function(t,n){return n!==l}))},e.insertColumn=function(t,n){var l=n.columnIndex,u=(0,c.pick)(t,['head','body','foot']);return(0,c.mapValues)(u,function(t,n){return y(t)?t:t.map(function(t){return h(t)||t.cells.length=o?t.cells.filter(function(t,n){return n!==o}):t.cells}}).filter(function(t){return t.cells.length})})},e.toggleSection=function(t,o){if(!y(t[o]))return(0,n.default)({},o,[]);var l=(0,c.get)(t,['body',0,'cells','length'],1);return b(t,{sectionName:o,rowIndex:0,columnCount:l})},e.isEmptyTableSection=y,e.isEmptyRow=h;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function u(t){for(var o=1;o table"},editorStyle:"wp-block-table-editor",style:"wp-block-table"}},2661,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u=t.attributes,s=u.hasFixedLayout,f=u.head,v=u.body,h=u.foot,p=u.backgroundColor,y=u.caption;if(!f.length&&!v.length&&!h.length)return null;var E=(0,c.getColorClassName)('background-color',p),b=(0,o.default)(E,{'has-fixed-layout':s,'has-background':!!E}),k=!c.RichText.isEmpty(y),x=function(t){var u=t.type,s=t.rows;if(!s.length)return null;var f="t"+u;return(0,n.createElement)(f,null,s.map(function(t,u){var s=t.cells;return(0,n.createElement)("tr",{key:u},s.map(function(t,u){var s=t.content,f=t.tag,v=t.scope,h=t.align,p=(0,o.default)((0,l.default)({},"has-text-align-"+h,h));return(0,n.createElement)(c.RichText.Content,{className:p||void 0,"data-align":h,tagName:f,value:s,key:u,scope:'th'===f?v:void 0})}))}))};return(0,n.createElement)("figure",c.useBlockProps.save(),(0,n.createElement)("table",{className:''===b?void 0:b},(0,n.createElement)(x,{type:"head",rows:f}),(0,n.createElement)(x,{type:"body",rows:v}),(0,n.createElement)(x,{type:"foot",rows:h})),k&&(0,n.createElement)(c.RichText.Content,{tagName:"figcaption",value:y}))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4])},2662,[5,946,66,1719,1073]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t){var l=t.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:l,attributes:['scope']},td:{allowEmpty:!0,children:l}}}}},l={from:[{type:'raw',selector:'table',schema:function(l){return{table:{children:{thead:{allowEmpty:!0,children:t(l)},tfoot:{allowEmpty:!0,children:t(l)},tbody:{allowEmpty:!0,children:t(l)}}}}}}]};e.default=l},2663,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),l=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),o=t(r(d[5])),f=s.default.name;e.name=f;var c={title:(0,n._x)('Text Columns (deprecated)','block title'),description:(0,n.__)('This block is deprecated. Please use the Columns block instead.'),transforms:o.default,getEditWrapperProps:function(t){var n=t.width;if('wide'===n||'full'===n)return{'data-align':n}},edit:l.default,save:u.default};e.settings=c},2664,[5,1027,2665,2666,2667,2668]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var h=n.attributes,C=n.setAttributes,b=h.width,v=h.content,_=h.columns;return(0,f.default)('The Text Columns block',{alternative:'the Columns block',plugin:'Gutenberg'}),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(s.BlockControls,null,(0,t.createElement)(s.BlockAlignmentToolbar,{value:b,onChange:function(n){return C({width:n})},controls:['center','wide','full']})),(0,t.createElement)(s.InspectorControls,null,(0,t.createElement)(u.PanelBody,null,(0,t.createElement)(u.RangeControl,{label:(0,c.__)('Columns'),value:_,onChange:function(n){return C({columns:n})},min:2,max:4,required:!0}))),(0,t.createElement)("div",(0,s.useBlockProps)({className:"align"+b+" columns-"+_}),(0,o.times)(_,function(n){return(0,t.createElement)("div",{className:"wp-block-column",key:"column-"+n},(0,t.createElement)(s.RichText,{tagName:"p",value:(0,o.get)(v,[n,'children']),onChange:function(t){C({content:[].concat((0,l.default)(v.slice(0,n)),[{children:t}],(0,l.default)(v.slice(n+1)))})},"aria-label":(0,c.sprintf)((0,c.__)('Column %d text'),n+1),placeholder:(0,c.__)('New Column')}))})))};var t=r(d[1]),l=n(r(d[2])),o=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=n(r(d[7]))},2665,[5,946,14,1068,1027,1699,1073,1111]); +__d(function(e,t,r,o,n,s,c){n.exports={apiVersion:2,name:"core/text-columns",icon:"columns",category:"design",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1},editorStyle:"wp-block-text-columns-editor",style:"wp-block-text-columns"}},2666,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var u=l.attributes,o=u.width,s=u.content,v=u.columns;return(0,t.createElement)("div",c.useBlockProps.save({className:"align"+o+" columns-"+v}),(0,n.times)(v,function(l){return(0,t.createElement)("div",{className:"wp-block-column",key:"column-"+l},(0,t.createElement)(c.RichText.Content,{tagName:"p",value:(0,n.get)(s,[l,'children'])}))}))};var t=r(d[0]),n=r(d[1]),c=r(d[2])},2667,[946,1068,1073]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=r(d[0]),o={to:[{type:'block',blocks:['core/columns'],transform:function(o){var n=o.className,l=o.columns,t=o.content,u=o.width;return(0,c.createBlock)('core/columns',{align:'wide'===u||'full'===u?u:void 0,className:n,columns:l},t.map(function(o){var n=o.children;return(0,c.createBlock)('core/column',{},[(0,c.createBlock)('core/paragraph',{content:n})])}))}}]};e.default=o},2668,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),f=t(r(d[6])),u=t(r(d[7])),p=c.default.name;e.name=p;var _={title:(0,n._x)('Verse','block title'),description:(0,n.__)('Insert poetry. Use special spacing formats. Or quote song lyrics.'),icon:o.verse,example:{attributes:{content:(0,n.__)('WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.')}},keywords:[(0,n.__)('poetry'),(0,n.__)('poem')],transforms:u.default,deprecated:s.default,merge:function(t,n){return{content:t.content+n.content}},edit:l.default,save:f.default};e.settings=_},2669,[5,1027,1247,2670,2671,2672,2673,2674]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),l=[{attributes:{content:{type:'string',source:'html',selector:'pre',default:''},textAlign:{type:'string'}},save:function(l){var u=l.attributes,o=u.textAlign,c=u.content;return(0,t.createElement)(n.RichText.Content,{tagName:"pre",style:{textAlign:o},value:c})}}];e.default=l},2670,[946,1073]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=t.attributes,v=t.setAttributes,_=t.mergeBlocks,h=f.textAlign,p=f.content,x=(0,s.useBlockProps)({className:(0,c.default)((0,o.default)({},"has-text-align-"+h,h))});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.BlockControls,null,(0,n.createElement)(s.AlignmentToolbar,{value:h,onChange:function(t){v({textAlign:t})}})),(0,n.createElement)(s.RichText,(0,l.default)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:p,onChange:function(t){v({content:t})},"aria-label":(0,u.__)('Verse text'),placeholder:(0,u.__)('Write verse\u2026'),onMerge:_,textAlign:h},x)))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=r(d[5]),s=r(d[6])},2671,[5,946,24,66,1719,1027,1073]); +__d(function(e,t,r,o,s,n,i){s.exports={apiVersion:2,name:"core/verse",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}},supports:{anchor:!0,__experimentalFontFamily:!0,fontSize:!0},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"}},2672,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.attributes,s=o.textAlign,f=o.content,v=(0,u.default)((0,l.default)({},"has-text-align-"+s,s));return(0,n.createElement)("pre",c.useBlockProps.save({className:v}),(0,n.createElement)(c.RichText.Content,{value:f}))};var n=r(d[1]),l=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},2673,[5,946,66,1719,1073]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),c={from:[{type:'block',blocks:['core/paragraph'],transform:function(c){return(0,o.createBlock)('core/verse',c)}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(c){return(0,o.createBlock)('core/paragraph',c)}}]};e.default=c},2674,[1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return _.default}}),e.settings=e.name=void 0;var o=r(d[1]),n=r(d[2]),s=t(r(d[3])),_=t(r(d[4])),l=t(r(d[5])),u=t(r(d[6])),c=_.default.name;e.name=c;var f={title:(0,o._x)('Video','block title'),description:(0,o.__)('Embed a video from your media library or upload a new one.'),icon:n.video,keywords:[(0,o.__)('movie')],example:{attributes:{src:'https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm',caption:(0,o.__)('Wood thrush singing in Central Park, NYC.')}},transforms:u.default,edit:s.default,save:l.default};e.settings=f},2675,[5,1027,1247,2676,2680,2681,2683]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),p=t(r(d[7])),f=t(r(d[8])),h=t(r(d[9])),y=r(d[10]),S=r(d[11]),v=r(d[12]),b=r(d[13]),U=r(d[14]),C=r(d[15]),P=r(d[16]),E=r(d[17]),M=r(d[18]),k=r(d[19]),I=t(r(d[20])),O=t(r(d[21])),F=t(r(d[22]));function V(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,s)}return n}function w(t){for(var o=1;o0&&b,l&&(0,o.createElement)(y.Text,{style:I.default.uploadFailedText},u)))}}),(0,o.createElement)(C.BlockCaption,{accessible:!0,accessibilityLabelCreator:function(t){return(0,S.isEmpty)(t)?(0,P.__)('Video caption. Empty'):(0,P.sprintf)((0,P.__)('Video caption. %s'),t)},clientId:this.props.clientId,isSelected:this.state.isCaptionSelected,onFocus:this.onFocusCaption,onBlur:this.props.onBlur,insertBlocksAfter:this.props.insertBlocksAfter}))):(0,o.createElement)(y.View,{style:{flex:1}},(0,o.createElement)(C.MediaPlaceholder,{allowedTypes:[C.MEDIA_TYPE_VIDEO],onSelect:this.onSelectMediaUploadOption,icon:this.getIcon(_),onFocus:this.props.onFocus}))}}],[{key:"getDerivedStateFromProps",value:function(t,o){return{isCaptionSelected:t.isSelected&&o.isCaptionSelected}}}]),j})(o.Component),W=(0,U.withPreferredColorScheme)(j);e.default=W},2676,[5,946,66,24,7,42,60,57,59,56,25,1068,945,1699,1116,1073,1027,1043,4,1247,2677,2678,2679]); +__d(function(g,r,i,a,m,e,d){m.exports={video:{width:"100%"},videoContainer:{flexGrow:1,flexShrink:1,flexBasis:0,backgroundColor:"#000"},placeholderContainer:{flexGrow:1,flexShrink:1,flexBasis:0,justifyContent:"center",alignItems:"center",backgroundColor:"#f3f6f8"},placeholderContainerDark:{backgroundColor:"#1d2327"},placeholderIcon:{justifyContent:"center",alignItems:"center",fill:"#2e4453",backgroundColor:"#e9eff3"},uploadFailedText:{color:"#2e4453",fontSize:14,marginTop:5},modalIcon:{width:40,height:40,justifyContent:"center",alignItems:"center"},modalIconRetry:{width:80,height:80,justifyContent:"center",alignItems:"center"},container:{flexGrow:1,flexShrink:1,flexBasis:0},containerFocused:{flexGrow:1,flexShrink:1,flexBasis:0,borderColor:"#00aadc",borderWidth:2,borderStyle:"solid"},icon:{fill:"#2e4453",width:"100%",height:"100%"},iconDark:{fill:"#fff"},iconUploading:{fill:"#c8d7e1",width:"100%",height:"100%"},iconUploadingDark:{fill:"#3c434a"}}},2677,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),c=(0,t.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(l.Path,{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),(0,t.createElement)(l.Path,{d:"M0 0h24v24H0z",fill:"none"}));e.default=c},2678,[946,1699]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),t=l(r(d[2])),n=r(d[3]),u=r(d[4]),c=[{value:'auto',label:(0,n.__)('Auto')},{value:'metadata',label:(0,n.__)('Metadata')},{value:'none',label:(0,n.__)('None')}],s=function(l){var s=l.setAttributes,_=l.attributes,p=_.autoplay,b=_.controls,y=_.loop,C=_.muted,f=_.playsInline,h=_.preload,v=(0,o.useCallback)(function(l){return l?(0,n.__)('Note: Autoplaying videos may cause usability issues for some visitors.'):null},[]),k=(0,o.useMemo)(function(){var l=function(l){return function(o){s((0,t.default)({},l,o))}};return{autoplay:l('autoplay'),loop:l('loop'),muted:l('muted'),controls:l('controls'),playsInline:l('playsInline')}},[]),E=(0,o.useCallback)(function(l){s({preload:l})},[]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Autoplay'),onChange:k.autoplay,checked:p,help:v}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Loop'),onChange:k.loop,checked:y}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Muted'),onChange:k.muted,checked:C}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Playback controls'),onChange:k.controls,checked:b}),(0,o.createElement)(u.ToggleControl,{label:(0,n.__)('Play inline'),onChange:k.playsInline,checked:f}),(0,o.createElement)(u.SelectControl,{label:(0,n.__)('Preload'),value:h,onChange:E,options:c}))};e.default=s},2679,[5,946,66,1027,1699]); +__d(function(t,e,o,r,a,i,s){a.exports={apiVersion:2,name:"core/video",category:"media",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"},tracks:{type:"array",items:{type:"object"},default:[]}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-video-editor",style:"wp-block-video"}},2680,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var c=t.attributes,s=c.autoplay,u=c.caption,p=c.controls,v=c.loop,f=c.muted,y=c.poster,E=c.preload,_=c.src,k=c.playsInline,P=c.tracks;return(0,o.createElement)("figure",l.useBlockProps.save(),_&&(0,o.createElement)("video",{autoPlay:s,controls:p,loop:v,muted:f,poster:y,preload:'metadata'!==E?E:void 0,src:_,playsInline:k},(0,o.createElement)(n.default,{tracks:P})),!l.RichText.isEmpty(u)&&(0,o.createElement)(l.RichText.Content,{tagName:"figcaption",value:u}))};var o=r(d[1]),l=r(d[2]),n=t(r(d[3]))},2681,[5,946,1073,2682]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var c=t.tracks;return(void 0===c?[]:c).map(function(t){return(0,n.createElement)("track",(0,u.default)({key:t.src},t))})};var n=r(d[1]),u=t(r(d[2]))},2682,[5,946,24]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),n={from:[{type:'files',isMatch:function(t){return 1===t.length&&0===t[0].type.indexOf('video/')},transform:function(n){var c=n[0];return(0,o.createBlock)('core/video',{src:(0,t.createBlobURL)(c)})}},{type:'shortcode',tag:'video',attributes:{src:{type:'string',shortcode:function(t){var o=t.named,n=o.src,c=o.mp4,u=o.m4v,s=o.webm,p=o.ogv,f=o.flv;return n||c||u||s||p||f}},poster:{type:'string',shortcode:function(t){return t.named.poster}},loop:{type:'string',shortcode:function(t){return t.named.loop}},autoplay:{type:'string',shortcode:function(t){return t.named.autoplay}},preload:{type:'string',shortcode:function(t){return t.named.preload}}}}]};e.default=n},2683,[2439,1223]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),o=r(d[2]),u=t(r(d[3])),l=t(r(d[4])),s=u.default.name;e.name=s;var c={title:(0,n._x)('Tag Cloud','block title'),description:(0,n.__)('A cloud of your most used tags.'),icon:o.tag,example:{},edit:l.default};e.settings=c},2684,[5,1027,1247,2685,2686]); +__d(function(t,o,e,a,s,i,l){s.exports={apiVersion:2,name:"core/tag-cloud",category:"widgets",attributes:{taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"}},2685,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),_=r(d[7]),f=t(r(d[8]));var b=(0,c.withSelect)(function(t){return{taxonomies:t('core').getTaxonomies({per_page:-1})}})(function(t){var c,b,v=t.attributes,h=t.setAttributes,p=t.taxonomies,C=v.taxonomy,E=v.showTagCounts,x=(0,o.createElement)(_.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:(0,s.__)('Tag Cloud settings')},(0,o.createElement)(u.SelectControl,{label:(0,s.__)('Taxonomy'),options:(c={label:(0,s.__)('- Select -'),value:'',disabled:!0},b=(0,l.map)((0,l.filter)(p,'show_cloud'),function(t){return{value:t.slug,label:t.name}}),[c].concat((0,n.default)(b))),value:C,onChange:function(t){return h({taxonomy:t})}}),(0,o.createElement)(u.ToggleControl,{label:(0,s.__)('Show post counts'),checked:E,onChange:function(){return h({showTagCounts:!E})}})));return(0,o.createElement)(o.Fragment,null,x,(0,o.createElement)("div",(0,_.useBlockProps)(),(0,o.createElement)(f.default,{key:"tag-cloud",block:"core/tag-cloud",attributes:v})))});e.default=b},2686,[5,946,14,1068,1699,1076,1027,1073,2475]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return c.default}}),e.settings=e.name=void 0;var s=r(d[1]),n=r(d[2]),l=t(r(d[3])),c=t(r(d[4])),o=t(r(d[5])),u=c.default.name;e.name=u;var f={title:(0,s._x)('Classic','block title'),description:(0,s.__)('Use the classic WordPress editor.'),icon:n.classic,edit:l.default,save:o.default};e.settings=f},2687,[5,1027,1247,2688,2689,2690]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4]));function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function O(t){for(var n=1;no.indexOf(t)?c:t},void 0),u=t.map(function(t){return(0,n.createBlock)(t.name,t.attributes,t.innerBlocks)});return(0,n.createBlock)('core/group',{align:c},u)}}}]},edit:l.default,save:s.default,deprecated:u.default};e.settings=p},2691,[5,1027,1223,1247,2692,2693,2695,2696]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=o(r(d[2])),l=o(r(d[3])),c=r(d[4]),u=r(d[5]);function s(o,t){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);t&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})),n.push.apply(n,l)}return n}function C(o){for(var t=1;tn.length)&&(t=n.length);for(var l=0,o=new Array(t);l"']/g,jn=RegExp(wn.source),An=RegExp(mn.source),kn=/<%-([\s\S]+?)%>/g,zn=/<%([\s\S]+?)%>/g,On=/<%=([\s\S]+?)%>/g,In=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rn=/^\w*$/,En=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,Ln=RegExp(Sn.source),Wn=/^\s+|\s+$/g,Cn=/^\s+/,Tn=/\s+$/,Un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,$n=/,? & /,Dn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mn=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nn=/\w*$/,Pn=/^[-+]0x[0-9a-f]+$/i,Zn=/^0b[01]+$/i,qn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Vn=/^(?:0|[1-9]\d*)$/,Gn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hn=/($^)/,Jn=/['\n\r\u2028\u2029\\]/g,Yn="[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]",Qn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Xn="(?:\\ud83c[\\udde6-\\uddff]){2}",nt="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?"+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Xn,nt].join('|')+")[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"),rt='(?:'+["[\\u2700-\\u27bf]",Xn,nt].join('|')+')'+tt,et='(?:'+["[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?",Qn,Xn,nt,"[\\ud800-\\udfff]"].join('|')+')',ut=RegExp("['\u2019]",'g'),it=RegExp(Qn,'g'),ot=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+et+tt,'g'),ft=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde]",'$'].join('|')+')',"(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",'$'].join('|')+')',"[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?","[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",'\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])','\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])','\\d+',rt].join('|'),'g'),at=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),ct=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,lt=['Array','Buffer','DataView','Date','Error','Float32Array','Float64Array','Function','Int8Array','Int16Array','Int32Array','Map','Math','Object','Promise','RegExp','Set','String','Symbol','TypeError','Uint8Array','Uint8ClampedArray','Uint16Array','Uint32Array','WeakMap','_','clearTimeout','isFinite','parseInt','setTimeout'],st=-1,ht={};ht[cn]=ht[ln]=ht[sn]=ht[hn]=ht[pn]=ht[vn]=ht[_n]=ht[gn]=ht[dn]=!0,ht[D]=ht[M]=ht[fn]=ht[N]=ht[an]=ht[P]=ht[q]=ht[K]=ht[G]=ht[H]=ht[Y]=ht[X]=ht[nn]=ht[tn]=ht[un]=!1;var pt={};pt[D]=pt[M]=pt[fn]=pt[an]=pt[N]=pt[P]=pt[cn]=pt[ln]=pt[sn]=pt[hn]=pt[pn]=pt[G]=pt[H]=pt[Y]=pt[X]=pt[nn]=pt[tn]=pt[rn]=pt[vn]=pt[_n]=pt[gn]=pt[dn]=!0,pt[q]=pt[K]=pt[un]=!1;var vt={'\\':'\\',"'":"'",'\n':'n','\r':'r',"\u2028":'u2028',"\u2029":'u2029'},_t=parseFloat,gt=parseInt,dt='object'==typeof n&&n&&n.Object===Object&&n,yt='object'==typeof self&&self&&self.Object===Object&&self,xt=dt||yt||Function('return this')(),bt='object'==typeof i&&i&&!i.nodeType&&i,wt=bt&&'object'==typeof u&&u&&!u.nodeType&&u,mt=wt&&wt.exports===bt,jt=mt&&dt.process,At=(function(){try{var n=wt&&wt.require&&wt.require('util').types;return n||jt&&jt.binding&&jt.binding('util')}catch(n){}})(),kt=At&&At.isArrayBuffer,zt=At&&At.isDate,Ot=At&&At.isMap,It=At&&At.isRegExp,Rt=At&&At.isSet,Et=At&&At.isTypedArray;function St(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Lt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function $t(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function lr(n,t){for(var r=n.length;r--&&Ht(t,n[r],0)>-1;);return r}function sr(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}var hr=nr({'\xc0':'A','\xc1':'A','\xc2':'A','\xc3':'A','\xc4':'A','\xc5':'A','\xe0':'a','\xe1':'a','\xe2':'a','\xe3':'a','\xe4':'a','\xe5':'a','\xc7':'C','\xe7':'c','\xd0':'D','\xf0':'d','\xc8':'E','\xc9':'E','\xca':'E','\xcb':'E','\xe8':'e','\xe9':'e','\xea':'e','\xeb':'e','\xcc':'I','\xcd':'I','\xce':'I','\xcf':'I','\xec':'i','\xed':'i','\xee':'i','\xef':'i','\xd1':'N','\xf1':'n','\xd2':'O','\xd3':'O','\xd4':'O','\xd5':'O','\xd6':'O','\xd8':'O','\xf2':'o','\xf3':'o','\xf4':'o','\xf5':'o','\xf6':'o','\xf8':'o','\xd9':'U','\xda':'U','\xdb':'U','\xdc':'U','\xf9':'u','\xfa':'u','\xfb':'u','\xfc':'u','\xdd':'Y','\xfd':'y','\xff':'y','\xc6':'Ae','\xe6':'ae','\xde':'Th','\xfe':'th','\xdf':'ss',"\u0100":'A',"\u0102":'A',"\u0104":'A',"\u0101":'a',"\u0103":'a',"\u0105":'a',"\u0106":'C',"\u0108":'C',"\u010a":'C',"\u010c":'C',"\u0107":'c',"\u0109":'c',"\u010b":'c',"\u010d":'c',"\u010e":'D',"\u0110":'D',"\u010f":'d',"\u0111":'d',"\u0112":'E',"\u0114":'E',"\u0116":'E',"\u0118":'E',"\u011a":'E',"\u0113":'e',"\u0115":'e',"\u0117":'e',"\u0119":'e',"\u011b":'e',"\u011c":'G',"\u011e":'G',"\u0120":'G',"\u0122":'G',"\u011d":'g',"\u011f":'g',"\u0121":'g',"\u0123":'g',"\u0124":'H',"\u0126":'H',"\u0125":'h',"\u0127":'h',"\u0128":'I',"\u012a":'I',"\u012c":'I',"\u012e":'I',"\u0130":'I',"\u0129":'i',"\u012b":'i',"\u012d":'i',"\u012f":'i',"\u0131":'i',"\u0134":'J',"\u0135":'j',"\u0136":'K',"\u0137":'k',"\u0138":'k',"\u0139":'L',"\u013b":'L',"\u013d":'L',"\u013f":'L',"\u0141":'L',"\u013a":'l',"\u013c":'l',"\u013e":'l',"\u0140":'l',"\u0142":'l',"\u0143":'N',"\u0145":'N',"\u0147":'N',"\u014a":'N',"\u0144":'n',"\u0146":'n',"\u0148":'n',"\u014b":'n',"\u014c":'O',"\u014e":'O',"\u0150":'O',"\u014d":'o',"\u014f":'o',"\u0151":'o',"\u0154":'R',"\u0156":'R',"\u0158":'R',"\u0155":'r',"\u0157":'r',"\u0159":'r',"\u015a":'S',"\u015c":'S',"\u015e":'S',"\u0160":'S',"\u015b":'s',"\u015d":'s',"\u015f":'s',"\u0161":'s',"\u0162":'T',"\u0164":'T',"\u0166":'T',"\u0163":'t',"\u0165":'t',"\u0167":'t',"\u0168":'U',"\u016a":'U',"\u016c":'U',"\u016e":'U',"\u0170":'U',"\u0172":'U',"\u0169":'u',"\u016b":'u',"\u016d":'u',"\u016f":'u',"\u0171":'u',"\u0173":'u',"\u0174":'W',"\u0175":'w',"\u0176":'Y',"\u0177":'y',"\u0178":'Y',"\u0179":'Z',"\u017b":'Z',"\u017d":'Z',"\u017a":'z',"\u017c":'z',"\u017e":'z',"\u0132":'IJ',"\u0133":'ij',"\u0152":'Oe',"\u0153":'oe',"\u0149":"'n","\u017f":'s'}),pr=nr({'&':'&','<':'<','>':'>','"':'"',"'":'''});function vr(n){return'\\'+vt[n]}function _r(n,r){return null==n?t:n[r]}function gr(n){return at.test(n)}function dr(n){return ct.test(n)}function yr(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}function xr(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function br(n,t){return function(r){return n(t(r))}}function wr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r','"':'"',''':"'"});function Rr(n){for(var t=ot.lastIndex=0;ot.test(n);)++t;return t}function Er(n){return n.match(ot)||[]}function Sr(n){return n.match(ft)||[]}var Lr=(function n(u){var i,Dn=(u=null==u?xt:Lr.defaults(xt.Object(),u,Lr.pick(xt,lt))).Array,Yn=u.Date,Qn=u.Error,Xn=u.Function,nt=u.Math,tt=u.Object,rt=u.RegExp,et=u.String,ot=u.TypeError,ft=Dn.prototype,at=Xn.prototype,ct=tt.prototype,vt=u['__core-js_shared__'],dt=at.toString,yt=ct.hasOwnProperty,bt=0,wt=(i=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||''))?'Symbol(src)_1.'+i:'',jt=ct.toString,At=dt.call(tt),Zt=xt._,qt=rt('^'+dt.call(yt).replace(Sn,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$'),nr=mt?u.Buffer:t,Ar=u.Symbol,Rr=u.Uint8Array,Er=nr?nr.allocUnsafe:t,Wr=br(tt.getPrototypeOf,tt),Cr=tt.create,Tr=ct.propertyIsEnumerable,Ur=ft.splice,Br=Ar?"function"==typeof Ar?Ar.isConcatSpreadable:"@@isConcatSpreadable":t,$r=Ar?"function"==typeof Ar?Ar.iterator:"@@iterator":t,Dr=Ar?"function"==typeof Ar?Ar.toStringTag:"@@toStringTag":t,Mr=(function(){try{var n=co(tt,'defineProperty');return n({},'',{}),n}catch(n){}})(),Fr=u.clearTimeout!==xt.clearTimeout&&u.clearTimeout,Nr=Yn&&Yn.now!==xt.Date.now&&Yn.now,Pr=u.setTimeout!==xt.setTimeout&&u.setTimeout,Zr=nt.ceil,qr=nt.floor,Kr=tt.getOwnPropertySymbols,Vr=nr?nr.isBuffer:t,Gr=u.isFinite,Hr=ft.join,Jr=br(tt.keys,tt),Yr=nt.max,Qr=nt.min,Xr=Yn.now,ne=u.parseInt,te=nt.random,re=ft.reverse,ee=co(u,'DataView'),ue=co(u,'Map'),ie=co(u,'Promise'),oe=co(u,'Set'),fe=co(u,'WeakMap'),ae=co(tt,'create'),ce=fe&&new fe,le={},se=Ko(ee),he=Ko(ue),pe=Ko(ie),ve=Ko(oe),_e=Ko(fe),ge=Ar?"function"==typeof Ar?Ar.prototype:"@@prototype":t,de=ge?ge.valueOf:t,ye=ge?ge.toString:t;function xe(n){if(sa(n)&&!na(n)&&!(n instanceof je)){if(n instanceof me)return n;if(yt.call(n,'__wrapped__'))return Go(n)}return new me(n)}var be=(function(){function n(){}return function(r){if(!la(r))return{};if(Cr)return Cr(r);n.prototype=r;var e=new n;return n.prototype=t,e}})();function we(){}function me(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function je(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=T,this.__views__=[]}function Ae(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=r?n:r)),n}function Ne(n,r,e,u,i,o){var f,a=r&l,c=r&s,p=r&h;if(e&&(f=i?e(n,u,i,o):e(n)),f!==t)return f;if(!la(n))return n;var v=na(n);if(v){if(f=yo(n),!a)return bi(n,f)}else{var _=po(n),g=_==K||_==V;if(ua(n))return hi(n,a);if(_==Y||_==D||g&&!i){if(f=c||g?{}:xo(n),!a)return c?ji(n,$e(f,n)):mi(n,Be(f,n))}else{if(!pt[_])return i?n:{};f=bo(n,_,a)}}o||(o=new Ie);var d=o.get(n);if(d)return d;o.set(n,f),ga(n)?n.forEach(function(t){f.add(Ne(t,r,e,t,n,o))}):ha(n)&&n.forEach(function(t,u){f.set(u,Ne(t,r,e,u,n,o))});var y=v?t:(p?c?ro:to:c?Na:Fa)(n);return Wt(y||n,function(t,u){y&&(t=n[u=t]),Ce(f,u,Ne(t,r,e,u,n,o))}),f}function Pe(n){var t=Fa(n);return function(r){return Ze(r,n,t)}}function Ze(n,r,e){var u=e.length;if(null==n)return!u;for(n=tt(n);u--;){var i=e[u],o=r[i],f=n[i];if(f===t&&!(i in n)||!o(f))return!1}return!0}function qe(n,r,e){if('function'!=typeof n)throw new ot(o);return Do(function(){n.apply(t,e)},r)}function Ke(n,t,e,u){var i=-1,o=Bt,f=!0,a=n.length,c=[],l=t.length;if(!a)return c;e&&(t=Dt(t,or(e))),u?(o=$t,f=!1):t.length>=r&&(o=ar,f=!1,t=new Oe(t));n:for(;++i-1},ke.prototype.set=function(n,t){var r=this.__data__,e=Te(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(ue||ke),string:new Ae}},ze.prototype.delete=function(n){var t=fo(this,n).delete(n);return this.size-=t?1:0,t},ze.prototype.get=function(n){return fo(this,n).get(n)},ze.prototype.has=function(n){return fo(this,n).has(n)},ze.prototype.set=function(n,t){var r=fo(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Oe.prototype.add=Oe.prototype.push=function(n){return this.__data__.set(n,f),this},Oe.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.clear=function(){this.__data__=new ke,this.size=0},Ie.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Ie.prototype.get=function(n){return this.__data__.get(n)},Ie.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.set=function(n,t){var r=this.__data__;if(r instanceof ke){var e=r.__data__;if(!ue||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new ze(e)}return r.set(n,t),this.size=r.size,this};var Ve=zi(ru),Ge=zi(eu,!0);function He(n,t){var r=!0;return Ve(n,function(n,e,u){return r=!!t(n,e,u)}),r}function Je(n,r,e){for(var u=-1,i=n.length;++ui?0:i+e),(u=u===t||u>i?i:Aa(u))<0&&(u+=i),u=e>u?0:ka(u);e0&&r(f)?t>1?Xe(f,t-1,r,e,u):Mt(u,f):e||(u[u.length]=f)}return u}var nu=Oi(),tu=Oi(!0);function ru(n,t){return n&&nu(n,t,Fa)}function eu(n,t){return n&&tu(n,t,Fa)}function uu(n,t){return Ut(t,function(t){return fa(n[t])})}function iu(n,r){for(var e=0,u=(r=ai(r,n)).length;null!=n&&et}function cu(n,t){return null!=n&&yt.call(n,t)}function lu(n,t){return null!=n&&t in tt(n)}function su(n,t,r){return n>=Qr(t,r)&&n=120&&s.length>=120)?new Oe(f&&s):t}s=n[0];var h=-1,p=a[0];n:for(;++h-1;)f!==n&&Ur.call(f,a,1),Ur.call(n,a,1);return n}function Tu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;jo(u)?Ur.call(n,u,1):ni(n,u)}}return n}function Uu(n,t){return n+qr(te()*(t-n+1))}function Bu(n,t,r,e){for(var u=-1,i=Yr(Zr((t-n)/(r||1)),0),o=Dn(i);i--;)o[e?i:++u]=n,n+=r;return o}function $u(n,t){var r='';if(!n||t<1||t>L)return r;do{t%2&&(r+=n),(t=qr(t/2))&&(n+=n)}while(t);return r}function Du(n,t){return Mo(Co(n,t,pc),n+'')}function Mu(n){return Ee(Ja(n))}function Fu(n,t){var r=Ja(n);return Po(r,Fe(t,0,r.length))}function Nu(n,r,e,u){if(!la(n))return n;for(var i=-1,o=(r=ai(r,n)).length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=Dn(u);++e>>1,o=n[i];null!==o&&!ya(o)&&(r?o<=t:o=r){var l=t?null:qi(n);if(l)return mr(l);f=!1,i=ar,c=new Oe}else c=t?[]:a;n:for(;++u=u?n:Ku(n,r,e)}var si=Fr||function(n){return xt.clearTimeout(n)};function hi(n,t){if(t)return n.slice();var r=n.length,e=Er?Er(r):new n.constructor(r);return n.copy(e),e}function pi(n){var t=new n.constructor(n.byteLength);return new Rr(t).set(new Rr(n)),t}function vi(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}function _i(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function gi(n,r){if(n!==r){var e=n!==t,u=null===n,i=n==n,o=ya(n),f=r!==t,a=null===r,c=r==r,l=ya(r);if(!a&&!l&&!o&&n>r||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n=f?a:a*('desc'==r[e]?-1:1)}return n.index-t.index}function yi(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=Yr(i-o,0),l=Dn(a+c),s=!e;++f1?e[i-1]:t,f=i>2?e[2]:t;for(o=n.length>3&&'function'==typeof o?(i--,o):t,f&&Ao(e[0],e[1],f)&&(o=i<3?t:o,i=1),r=tt(r);++u-1?i[o?r[f]:f]:t}}function Ci(n){return no(function(r){var e=r.length,u=e,i=me.prototype.thru;for(n&&r.reverse();u--;){var f=r[u];if('function'!=typeof f)throw new ot(o);if(i&&!a&&'wrapper'==uo(f))var a=new me([],!0)}for(u=a?u:e;++u1&&g.reverse(),s&&c<_&&(g.length=c),this&&this!==xt&&this instanceof t&&(A=y||Si(A)),A.apply(j,g)}}function Ui(n,t){return function(r,e){return pu(r,n,t(e),{})}}function Bi(n,r){return function(e,u){var i;if(e===t&&u===t)return r;if(e!==t&&(i=e),u!==t){if(i===t)return u;'string'==typeof e||'string'==typeof u?(e=Qu(e),u=Qu(u)):(e=Yu(e),u=Yu(u)),i=n(e,u)}return i}}function $i(n){return no(function(t){return t=Dt(t,or(oo())),Du(function(r){var e=this;return n(t,function(n){return St(n,e,r)})})})}function Di(n,r){var e=(r=r===t?' ':Qu(r)).length;if(e<2)return e?$u(r,n):r;var u=$u(r,Zr(n/zr(r)));return gr(r)?li(Or(u),0,n).join(''):u.slice(0,n)}function Mi(n,t,r,e){var u=t&_,i=Si(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=Dn(c+f),s=this&&this!==xt&&this instanceof t?i:n;++aa))return!1;var l=o.get(n);if(l&&o.get(r))return l==r;var s=-1,h=!0,_=e&v?new Oe:t;for(o.set(n,r),o.set(r,n);++s1?'& ':'')+t[e],t=t.join(r>2?', ':' '),n.replace(Un,'{\n/* [wrapped with '+t+'] */\n')}function mo(n){return na(n)||Xf(n)||!!(Br&&n&&n[Br])}function jo(n,t){var r=typeof n;return!!(t=null==t?L:t)&&('number'==r||'symbol'!=r&&Vn.test(n))&&n>-1&&n%1==0&&n0){if(++r>=O)return arguments[0]}else r=0;return n.apply(t,arguments)}}function Po(n,r){var e=-1,u=n.length,i=u-1;for(r=r===t?u:r;++e1?n[r-1]:t;return _f(n,e='function'==typeof e?(n.pop(),e):t)});function mf(n){var t=xe(n);return t.__chain__=!0,t}function jf(n,t){return t(n)}var Af=no(function(n){var r=n.length,e=r?n[0]:0,u=this.__wrapped__,i=function(t){return Me(t,n)};return!(r>1||this.__actions__.length)&&u instanceof je&&jo(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:jf,args:[i],thisArg:t}),new me(u,this.__chain__).thru(function(n){return r&&!n.length&&n.push(t),n})):this.thru(i)});var kf=Ai(function(n,t,r){yt.call(n,r)?++n[r]:De(n,r,1)});var zf=Wi(Qo),Of=Wi(Xo);function If(n,t){return(na(n)?Wt:Ve)(n,oo(t,3))}function Rf(n,t){return(na(n)?Ct:Ge)(n,oo(t,3))}var Ef=Ai(function(n,t,r){yt.call(n,r)?n[r].push(t):De(n,r,[t])});var Sf=Du(function(n,t,r){var e=-1,u='function'==typeof t,i=ra(n)?Dn(n.length):[];return Ve(n,function(n){i[++e]=u?St(t,n,r):vu(n,t,r)}),i}),Lf=Ai(function(n,t,r){De(n,r,t)});function Wf(n,t){return(na(n)?Dt:Au)(n,oo(t,3))}var Cf=Ai(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var Tf=Du(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Ao(n,t[0],t[1])?t=[]:r>2&&Ao(t[0],t[1],t[2])&&(t=[t[0]]),Eu(n,Xe(t,1),[])}),Uf=Nr||function(){return xt.Date.now()};function Bf(n,r,e){return r=e?t:r,r=n&&null==r?n.length:r,Vi(n,m,t,t,t,t,r)}function $f(n,r){var e;if('function'!=typeof r)throw new ot(o);return n=Aa(n),function(){return--n>0&&(e=r.apply(this,arguments)),n<=1&&(r=t),e}}var Df=Du(function(n,t,r){var e=_;if(r.length){var u=wr(r,io(Df));e|=b}return Vi(n,e,t,r,u)}),Mf=Du(function(n,t,r){var e=3;if(r.length){var u=wr(r,io(Mf));e|=b}return Vi(t,e,n,r,u)});function Ff(n,r,e){var u,i,f,a,c,l,s=0,h=!1,p=!1,v=!0;if('function'!=typeof n)throw new ot(o);function _(r){var e=u,o=i;return u=i=t,s=r,a=n.apply(o,e)}function g(n){return s=n,c=Do(x,r),h?_(n):a}function d(n){var t=r-(n-l);return p?Qr(t,f-(n-s)):t}function y(n){var e=n-l;return l===t||e>=r||e<0||p&&n-s>=f}function x(){var n=Uf();if(y(n))return b(n);c=Do(x,d(n))}function b(n){return c=t,v&&u?_(n):(u=i=t,a)}function w(){var n=Uf(),e=y(n);if(u=arguments,i=this,l=n,e){if(c===t)return g(l);if(p)return si(c),c=Do(x,r),_(l)}return c===t&&(c=Do(x,r)),a}return r=za(r)||0,la(e)&&(h=!!e.leading,f=(p='maxWait'in e)?Yr(za(e.maxWait)||0,r):f,v='trailing'in e?!!e.trailing:v),w.cancel=function(){c!==t&&si(c),s=0,u=l=i=c=t},w.flush=function(){return c===t?a:b(Uf())},w}var Nf=Du(function(n,t){return qe(n,1,t)}),Pf=Du(function(n,t,r){return qe(n,za(t)||0,r)});function Zf(n,t){if('function'!=typeof n||null!=t&&'function'!=typeof t)throw new ot(o);var r=function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Zf.Cache||ze),r}function qf(n){if('function'!=typeof n)throw new ot(o);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Zf.Cache=ze;var Kf=ci(function(n,t){var r=(t=1==t.length&&na(t[0])?Dt(t[0],or(oo())):Dt(Xe(t,1),or(oo()))).length;return Du(function(e){for(var u=-1,i=Qr(e.length,r);++u=t}),Xf=_u((function(){return arguments})())?_u:function(n){return sa(n)&&yt.call(n,'callee')&&!Tr.call(n,'callee')},na=Dn.isArray,ta=kt?or(kt):function(n){return sa(n)&&fu(n)==fn};function ra(n){return null!=n&&ca(n.length)&&!fa(n)}function ea(n){return sa(n)&&ra(n)}var ua=Vr||zc,ia=zt?or(zt):function(n){return sa(n)&&fu(n)==P};function oa(n){if(!sa(n))return!1;var t=fu(n);return t==q||t==Z||'string'==typeof n.message&&'string'==typeof n.name&&!va(n)}function fa(n){if(!la(n))return!1;var t=fu(n);return t==K||t==V||t==F||t==Q}function aa(n){return'number'==typeof n&&n==Aa(n)}function ca(n){return'number'==typeof n&&n>-1&&n%1==0&&n<=L}function la(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}function sa(n){return null!=n&&'object'==typeof n}var ha=Ot?or(Ot):function(n){return sa(n)&&po(n)==G};function pa(n){return'number'==typeof n||sa(n)&&fu(n)==H}function va(n){if(!sa(n)||fu(n)!=Y)return!1;var t=Wr(n);if(null===t)return!0;var r=yt.call(t,'constructor')&&t.constructor;return'function'==typeof r&&r instanceof r&&dt.call(r)==At}var _a=It?or(It):function(n){return sa(n)&&fu(n)==X};var ga=Rt?or(Rt):function(n){return sa(n)&&po(n)==nn};function da(n){return'string'==typeof n||!na(n)&&sa(n)&&fu(n)==tn}function ya(n){return'symbol'==typeof n||sa(n)&&fu(n)==rn}var xa=Et?or(Et):function(n){return sa(n)&&ca(n.length)&&!!ht[fu(n)]};var ba=Ni(ju),wa=Ni(function(n,t){return n<=t});function ma(n){if(!n)return[];if(ra(n))return da(n)?Or(n):bi(n);if($r&&n[$r])return yr(n[$r]());var t=po(n);return(t==G?xr:t==nn?mr:Ja)(n)}function ja(n){return n?(n=za(n))===S||n===-1/0?(n<0?-1:1)*W:n==n?n:0:0===n?n:0}function Aa(n){var t=ja(n),r=t%1;return t==t?r?t-r:t:0}function ka(n){return n?Fe(Aa(n),0,T):0}function za(n){if('number'==typeof n)return n;if(ya(n))return C;if(la(n)){var t='function'==typeof n.valueOf?n.valueOf():n;n=la(t)?t+'':t}if('string'!=typeof n)return 0===n?n:+n;n=n.replace(Wn,'');var r=Zn.test(n);return r||Kn.test(n)?gt(n.slice(2),r?2:8):Pn.test(n)?C:+n}function Oa(n){return wi(n,Na(n))}function Ia(n){return null==n?'':Qu(n)}var Ra=ki(function(n,t){if(Io(t)||ra(t))wi(t,Fa(t),n);else for(var r in t)yt.call(t,r)&&Ce(n,r,t[r])}),Ea=ki(function(n,t){wi(t,Na(t),n)}),Sa=ki(function(n,t,r,e){wi(t,Na(t),n,e)}),La=ki(function(n,t,r,e){wi(t,Fa(t),n,e)}),Wa=no(Me);var Ca=Du(function(n,r){n=tt(n);var e=-1,u=r.length,i=u>2?r[2]:t;for(i&&Ao(r[0],r[1],i)&&(u=1);++e1),t}),wi(n,ro(n),r),e&&(r=Ne(r,7,Ji));for(var u=t.length;u--;)ni(r,t[u]);return r});var Ka=no(function(n,t){return null==n?{}:Su(n,t)});function Va(n,t){if(null==n)return{};var r=Dt(ro(n),function(n){return[n]});return t=oo(t),Lu(n,r,function(n,r){return t(n,r[0])})}var Ga=Ki(Fa),Ha=Ki(Na);function Ja(n){return null==n?[]:fr(n,Fa(n))}var Ya=Ei(function(n,t,r){return t=t.toLowerCase(),n+(r?Qa(t):t)});function Qa(n){return oc(Ia(n).toLowerCase())}function Xa(n){return(n=Ia(n))&&n.replace(Gn,hr).replace(it,'')}var nc=Ei(function(n,t,r){return n+(r?'-':'')+t.toLowerCase()}),tc=Ei(function(n,t,r){return n+(r?' ':'')+t.toLowerCase()}),rc=Ri('toLowerCase');var ec=Ei(function(n,t,r){return n+(r?'_':'')+t.toLowerCase()});var uc=Ei(function(n,t,r){return n+(r?' ':'')+oc(t)});var ic=Ei(function(n,t,r){return n+(r?' ':'')+t.toUpperCase()}),oc=Ri('toUpperCase');function fc(n,r,e){return n=Ia(n),(r=e?t:r)===t?dr(n)?Sr(n):Kt(n):n.match(r)||[]}var ac=Du(function(n,r){try{return St(n,t,r)}catch(n){return oa(n)?n:new Qn(n)}}),cc=no(function(n,t){return Wt(t,function(t){t=qo(t),De(n,t,Df(n[t],n))}),n});function lc(n){return function(){return n}}var sc=Ci(),hc=Ci(!0);function pc(n){return n}function vc(n){return bu('function'==typeof n?n:Ne(n,l))}var _c=Du(function(n,t){return function(r){return vu(r,n,t)}}),gc=Du(function(n,t){return function(r){return vu(n,r,t)}});function dc(n,t,r){var e=Fa(t),u=uu(t,e);null!=r||la(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=uu(t,Fa(t)));var i=!(la(r)&&'chain'in r&&!r.chain),o=fa(n);return Wt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=bi(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Mt([this.value()],arguments))})}),n}function yc(){}var xc=$i(Dt),bc=$i(Tt),wc=$i(Pt);function mc(n){return ko(n)?Xt(qo(n)):Wu(n)}var jc=Fi(),Ac=Fi(!0);function kc(){return[]}function zc(){return!1}var Oc=Bi(function(n,t){return n+t},0),Ic=Zi('ceil'),Rc=Bi(function(n,t){return n/t},1),Ec=Zi('floor');var Sc,Lc=Bi(function(n,t){return n*t},1),Wc=Zi('round'),Cc=Bi(function(n,t){return n-t},0);return xe.after=function(n,t){if('function'!=typeof t)throw new ot(o);return n=Aa(n),function(){if(--n<1)return t.apply(this,arguments)}},xe.ary=Bf,xe.assign=Ra,xe.assignIn=Ea,xe.assignInWith=Sa,xe.assignWith=La,xe.at=Wa,xe.before=$f,xe.bind=Df,xe.bindAll=cc,xe.bindKey=Mf,xe.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return na(n)?n:[n]},xe.chain=mf,xe.chunk=function(n,r,e){r=(e?Ao(n,r,e):r===t)?1:Yr(Aa(r),0);var u=null==n?0:n.length;if(!u||r<1)return[];for(var i=0,o=0,f=Dn(Zr(u/r));i>>0)?(n=Ia(n))&&('string'==typeof r||null!=r&&!_a(r))&&!(r=Qu(r))&&gr(n)?li(Or(n),0,e):n.split(r,e):[]},xe.spread=function(n,t){if('function'!=typeof n)throw new ot(o);return t=null==t?0:Yr(Aa(t),0),Du(function(r){var e=r[t],u=li(r,0,t);return e&&Mt(u,e),St(n,this,u)})},xe.tail=function(n){var t=null==n?0:n.length;return t?Ku(n,1,t):[]},xe.take=function(n,r,e){return n&&n.length?Ku(n,0,(r=e||r===t?1:Aa(r))<0?0:r):[]},xe.takeRight=function(n,r,e){var u=null==n?0:n.length;return u?Ku(n,(r=u-(r=e||r===t?1:Aa(r)))<0?0:r,u):[]},xe.takeRightWhile=function(n,t){return n&&n.length?ri(n,oo(t,3),!1,!0):[]},xe.takeWhile=function(n,t){return n&&n.length?ri(n,oo(t,3)):[]},xe.tap=function(n,t){return t(n),n},xe.throttle=function(n,t,r){var e=!0,u=!0;if('function'!=typeof n)throw new ot(o);return la(r)&&(e='leading'in r?!!r.leading:e,u='trailing'in r?!!r.trailing:u),Ff(n,t,{leading:e,maxWait:t,trailing:u})},xe.thru=jf,xe.toArray=ma,xe.toPairs=Ga,xe.toPairsIn=Ha,xe.toPath=function(n){return na(n)?Dt(n,qo):ya(n)?[n]:bi(Zo(Ia(n)))},xe.toPlainObject=Oa,xe.transform=function(n,t,r){var e=na(n),u=e||ua(n)||xa(n);if(t=oo(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:la(n)&&fa(i)?be(Wr(n)):{}}return(u?Wt:ru)(n,function(n,e,u){return t(r,n,e,u)}),r},xe.unary=function(n){return Bf(n,1)},xe.union=sf,xe.unionBy=hf,xe.unionWith=pf,xe.uniq=function(n){return n&&n.length?Xu(n):[]},xe.uniqBy=function(n,t){return n&&n.length?Xu(n,oo(t,2)):[]},xe.uniqWith=function(n,r){return r='function'==typeof r?r:t,n&&n.length?Xu(n,t,r):[]},xe.unset=function(n,t){return null==n||ni(n,t)},xe.unzip=vf,xe.unzipWith=_f,xe.update=function(n,t,r){return null==n?n:ti(n,t,fi(r))},xe.updateWith=function(n,r,e,u){return u='function'==typeof u?u:t,null==n?n:ti(n,r,fi(e),u)},xe.values=Ja,xe.valuesIn=function(n){return null==n?[]:fr(n,Na(n))},xe.without=gf,xe.words=fc,xe.wrap=function(n,t){return Vf(fi(t),n)},xe.xor=df,xe.xorBy=yf,xe.xorWith=xf,xe.zip=bf,xe.zipObject=function(n,t){return ii(n||[],t||[],Ce)},xe.zipObjectDeep=function(n,t){return ii(n||[],t||[],Nu)},xe.zipWith=wf,xe.entries=Ga,xe.entriesIn=Ha,xe.extend=Ea,xe.extendWith=Sa,dc(xe,xe),xe.add=Oc,xe.attempt=ac,xe.camelCase=Ya,xe.capitalize=Qa,xe.ceil=Ic,xe.clamp=function(n,r,e){return e===t&&(e=r,r=t),e!==t&&(e=(e=za(e))==e?e:0),r!==t&&(r=(r=za(r))==r?r:0),Fe(za(n),r,e)},xe.clone=function(n){return Ne(n,h)},xe.cloneDeep=function(n){return Ne(n,5)},xe.cloneDeepWith=function(n,r){return Ne(n,5,r='function'==typeof r?r:t)},xe.cloneWith=function(n,r){return Ne(n,h,r='function'==typeof r?r:t)},xe.conformsTo=function(n,t){return null==t||Ze(n,t,Fa(t))},xe.deburr=Xa,xe.defaultTo=function(n,t){return null==n||n!=n?t:n},xe.divide=Rc,xe.endsWith=function(n,r,e){n=Ia(n),r=Qu(r);var u=n.length,i=e=e===t?u:Fe(Aa(e),0,u);return(e-=r.length)>=0&&n.slice(e,i)==r},xe.eq=Jf,xe.escape=function(n){return(n=Ia(n))&&An.test(n)?n.replace(mn,pr):n},xe.escapeRegExp=function(n){return(n=Ia(n))&&Ln.test(n)?n.replace(Sn,'\\$&'):n},xe.every=function(n,r,e){var u=na(n)?Tt:He;return e&&Ao(n,r,e)&&(r=t),u(n,oo(r,3))},xe.find=zf,xe.findIndex=Qo,xe.findKey=function(n,t){return Vt(n,oo(t,3),ru)},xe.findLast=Of,xe.findLastIndex=Xo,xe.findLastKey=function(n,t){return Vt(n,oo(t,3),eu)},xe.floor=Ec,xe.forEach=If,xe.forEachRight=Rf,xe.forIn=function(n,t){return null==n?n:nu(n,oo(t,3),Na)},xe.forInRight=function(n,t){return null==n?n:tu(n,oo(t,3),Na)},xe.forOwn=function(n,t){return n&&ru(n,oo(t,3))},xe.forOwnRight=function(n,t){return n&&eu(n,oo(t,3))},xe.get=Ua,xe.gt=Yf,xe.gte=Qf,xe.has=function(n,t){return null!=n&&go(n,t,cu)},xe.hasIn=Ba,xe.head=tf,xe.identity=pc,xe.includes=function(n,t,r,e){n=ra(n)?n:Ja(n),r=r&&!e?Aa(r):0;var u=n.length;return r<0&&(r=Yr(u+r,0)),da(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Ht(n,t,r)>-1},xe.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Aa(r);return u<0&&(u=Yr(e+u,0)),Ht(n,t,u)},xe.inRange=function(n,r,e){return r=ja(r),e===t?(e=r,r=0):e=ja(e),su(n=za(n),r,e)},xe.invoke=Ma,xe.isArguments=Xf,xe.isArray=na,xe.isArrayBuffer=ta,xe.isArrayLike=ra,xe.isArrayLikeObject=ea,xe.isBoolean=function(n){return!0===n||!1===n||sa(n)&&fu(n)==N},xe.isBuffer=ua,xe.isDate=ia,xe.isElement=function(n){return sa(n)&&1===n.nodeType&&!va(n)},xe.isEmpty=function(n){if(null==n)return!0;if(ra(n)&&(na(n)||'string'==typeof n||'function'==typeof n.splice||ua(n)||xa(n)||Xf(n)))return!n.length;var t=po(n);if(t==G||t==nn)return!n.size;if(Io(n))return!wu(n).length;for(var r in n)if(yt.call(n,r))return!1;return!0},xe.isEqual=function(n,t){return gu(n,t)},xe.isEqualWith=function(n,r,e){var u=(e='function'==typeof e?e:t)?e(n,r):t;return u===t?gu(n,r,t,e):!!u},xe.isError=oa,xe.isFinite=function(n){return'number'==typeof n&&Gr(n)},xe.isFunction=fa,xe.isInteger=aa,xe.isLength=ca,xe.isMap=ha,xe.isMatch=function(n,t){return n===t||yu(n,t,ao(t))},xe.isMatchWith=function(n,r,e){return e='function'==typeof e?e:t,yu(n,r,ao(r),e)},xe.isNaN=function(n){return pa(n)&&n!=+n},xe.isNative=function(n){if(Oo(n))throw new Qn(e);return xu(n)},xe.isNil=function(n){return null==n},xe.isNull=function(n){return null===n},xe.isNumber=pa,xe.isObject=la,xe.isObjectLike=sa,xe.isPlainObject=va,xe.isRegExp=_a,xe.isSafeInteger=function(n){return aa(n)&&n>=-9007199254740991&&n<=L},xe.isSet=ga,xe.isString=da,xe.isSymbol=ya,xe.isTypedArray=xa,xe.isUndefined=function(n){return n===t},xe.isWeakMap=function(n){return sa(n)&&po(n)==un},xe.isWeakSet=function(n){return sa(n)&&fu(n)==on},xe.join=function(n,t){return null==n?'':Hr.call(n,t)},xe.kebabCase=nc,xe.last=of,xe.lastIndexOf=function(n,r,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==t&&(i=(i=Aa(e))<0?Yr(u+i,0):Qr(i,u-1)),r==r?kr(n,r,i):Gt(n,Yt,i,!0)},xe.lowerCase=tc,xe.lowerFirst=rc,xe.lt=ba,xe.lte=wa,xe.max=function(n){return n&&n.length?Je(n,pc,au):t},xe.maxBy=function(n,r){return n&&n.length?Je(n,oo(r,2),au):t},xe.mean=function(n){return Qt(n,pc)},xe.meanBy=function(n,t){return Qt(n,oo(t,2))},xe.min=function(n){return n&&n.length?Je(n,pc,ju):t},xe.minBy=function(n,r){return n&&n.length?Je(n,oo(r,2),ju):t},xe.stubArray=kc,xe.stubFalse=zc,xe.stubObject=function(){return{}},xe.stubString=function(){return''},xe.stubTrue=function(){return!0},xe.multiply=Lc,xe.nth=function(n,r){return n&&n.length?Ru(n,Aa(r)):t},xe.noConflict=function(){return xt._===this&&(xt._=Zt),this},xe.noop=yc,xe.now=Uf,xe.pad=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Di(qr(u),r)+n+Di(Zr(u),r)},xe.padEnd=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;return t&&er){var u=n;n=r,r=u}if(e||n%1||r%1){var i=te();return Qr(n+i*(r-n+_t('1e-'+((i+'').length-1))),r)}return Uu(n,r)},xe.reduce=function(n,t,r){var e=na(n)?Ft:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ve)},xe.reduceRight=function(n,t,r){var e=na(n)?Nt:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ge)},xe.repeat=function(n,r,e){return r=(e?Ao(n,r,e):r===t)?1:Aa(r),$u(Ia(n),r)},xe.replace=function(){var n=arguments,t=Ia(n[0]);return n.length<3?t:t.replace(n[1],n[2])},xe.result=function(n,r,e){var u=-1,i=(r=ai(r,n)).length;for(i||(i=1,n=t);++uL)return[];var r=T,e=Qr(n,T);t=oo(t),n-=T;for(var u=ur(e,t);++r=o)return n;var a=e-zr(u);if(a<1)return u;var c=f?li(f,0,a).join(''):n.slice(0,a);if(i===t)return c+u;if(f&&(a+=c.length-a),_a(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=rt(i.source,Ia(Nn.exec(i))+'g')),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===t?a:h)}}else if(n.indexOf(Qu(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},xe.unescape=function(n){return(n=Ia(n))&&jn.test(n)?n.replace(wn,Ir):n},xe.uniqueId=function(n){var t=++bt;return Ia(n)+t},xe.upperCase=ic,xe.upperFirst=oc,xe.each=If,xe.eachRight=Rf,xe.first=tf,dc(xe,(Sc={},ru(xe,function(n,t){yt.call(xe.prototype,t)||(Sc[t]=n)}),Sc),{chain:!1}),xe.VERSION="4.17.15",Wt(['bind','bindKey','curry','curryRight','partial','partialRight'],function(n){xe[n].placeholder=xe}),Wt(['drop','take'],function(n,r){je.prototype[n]=function(e){e=e===t?1:Yr(Aa(e),0);var u=this.__filtered__&&!r?new je(this):this.clone();return u.__filtered__?u.__takeCount__=Qr(e,u.__takeCount__):u.__views__.push({size:Qr(e,T),type:n+(u.__dir__<0?'Right':'')}),u},je.prototype[n+'Right']=function(t){return this.reverse()[n](t).reverse()}}),Wt(['filter','map','takeWhile'],function(n,t){var r=t+1,e=r==R||3==r;je.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:oo(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Wt(['head','last'],function(n,t){var r='take'+(t?'Right':'');je.prototype[n]=function(){return this[r](1).value()[0]}}),Wt(['initial','tail'],function(n,t){var r='drop'+(t?'':'Right');je.prototype[n]=function(){return this.__filtered__?new je(this):this[r](1)}}),je.prototype.compact=function(){return this.filter(pc)},je.prototype.find=function(n){return this.filter(n).head()},je.prototype.findLast=function(n){return this.reverse().find(n)},je.prototype.invokeMap=Du(function(n,t){return'function'==typeof n?new je(this):this.map(function(r){return vu(r,n,t)})}),je.prototype.reject=function(n){return this.filter(qf(oo(n)))},je.prototype.slice=function(n,r){n=Aa(n);var e=this;return e.__filtered__&&(n>0||r<0)?new je(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),r!==t&&(e=(r=Aa(r))<0?e.dropRight(-r):e.take(r-n)),e)},je.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},je.prototype.toArray=function(){return this.take(T)},ru(je.prototype,function(n,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=xe[u?'take'+('last'==r?'Right':''):r],o=u||/^find/.test(r);i&&(xe.prototype[r]=function(){var r=this.__wrapped__,f=u?[1]:arguments,a=r instanceof je,c=f[0],l=a||na(r),s=function(n){var t=i.apply(xe,Mt([n],f));return u&&h?t[0]:t};l&&e&&'function'==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){r=_?r:new je(this);var g=n.apply(r,f);return g.__actions__.push({func:jf,args:[s],thisArg:t}),new me(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),Wt(['pop','push','shift','sort','splice','unshift'],function(n){var t=ft[n],r=/^(?:push|sort|unshift)$/.test(n)?'tap':'thru',e=/^(?:pop|shift)$/.test(n);xe.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(na(u)?u:[],n)}return this[r](function(r){return t.apply(na(r)?r:[],n)})}}),ru(je.prototype,function(n,t){var r=xe[t];if(r){var e=r.name+'';yt.call(le,e)||(le[e]=[]),le[e].push({name:t,func:r})}}),le[Ti(t,g).name]=[{name:'wrapper',func:t}],je.prototype.clone=function(){var n=new je(this.__wrapped__);return n.__actions__=bi(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=bi(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=bi(this.__views__),n},je.prototype.reverse=function(){if(this.__filtered__){var n=new je(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},je.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=na(n),e=t<0,u=r?n.length:0,i=vo(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Qr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return ei(n,this.__actions__);var v=[];n:for(;a--&&h=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},xe.prototype.plant=function(n){for(var r,e=this;e instanceof we;){var u=Go(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},xe.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof je){var r=n;return this.__actions__.length&&(r=new je(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new me(r,this.__chain__)}return this.thru(lf)},xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},xe.prototype.first=xe.prototype.head,$r&&(xe.prototype[$r]=function(){return this}),xe})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Lr,define(function(){return Lr})):wt?((wt.exports=Lr)._=Lr,bt._=Lr):xt._=Lr}).call(this)},2767,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=r(d[1]),c={'contact-info':{available:!1},story:{available:!0}};e.default=function(l){if(l.isJetpackActive){var s,n,p,v,u,k,b,f,_,y=(n=(s=l).isJetpackActive,p=void 0!==n&&n,v=s.userData,u=void 0===v?null:v,k=s.siteFragment,b=void 0===k?null:k,f=s.blogId,_={available_blocks:c,jetpack:{is_active:p},siteFragment:b,tracksUserData:u,wpcomBlogId:f},g.window[t.JETPACK_DATA_PATH]=_,_);return setTimeout(function(){!0!==(0,o.select)('core/block-editor').getSettings('capabilities').mediaFilesCollectionBlock?(0,o.dispatch)('core/edit-post').hideBlockTypes(['jetpack/story']):(0,o.dispatch)('core/edit-post').showBlockTypes(['jetpack/story'])}),r(d[2]),y}}},2768,[2769,1076,2771]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,t.get)('object'==typeof window?window:null,[n],null)},e.JETPACK_DATA_PATH=void 0;var t=r(d[0]),n='Jetpack_Editor_Initial_State';e.JETPACK_DATA_PATH=n},2769,[2770]); +__d(function(n,t,r,e,u,i,o){(function(){var t,r=200,e='Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',o='Expected a function',f='__lodash_hash_undefined__',a=500,c='__lodash_placeholder__',l=1,s=2,h=4,p=1,v=2,_=1,g=2,d=4,y=8,x=16,b=32,w=64,m=128,j=256,A=512,k=30,z='...',O=800,I=16,R=1,E=2,S=1/0,L=9007199254740991,W=1.7976931348623157e308,C=NaN,T=4294967295,U=4294967294,B=2147483647,$=[['ary',m],['bind',_],['bindKey',g],['curry',y],['curryRight',x],['flip',A],['partial',b],['partialRight',w],['rearg',j]],D='[object Arguments]',M='[object Array]',F='[object AsyncFunction]',N='[object Boolean]',P='[object Date]',Z='[object DOMException]',q='[object Error]',K='[object Function]',V='[object GeneratorFunction]',G='[object Map]',H='[object Number]',J='[object Null]',Y='[object Object]',Q='[object Proxy]',X='[object RegExp]',nn='[object Set]',tn='[object String]',rn='[object Symbol]',en='[object Undefined]',un='[object WeakMap]',on='[object WeakSet]',fn='[object ArrayBuffer]',an='[object DataView]',cn='[object Float32Array]',ln='[object Float64Array]',sn='[object Int8Array]',hn='[object Int16Array]',pn='[object Int32Array]',vn='[object Uint8Array]',_n='[object Uint8ClampedArray]',gn='[object Uint16Array]',dn='[object Uint32Array]',yn=/\b__p \+= '';/g,xn=/\b(__p \+=) '' \+/g,bn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wn=/&(?:amp|lt|gt|quot|#39);/g,mn=/[&<>"']/g,jn=RegExp(wn.source),An=RegExp(mn.source),kn=/<%-([\s\S]+?)%>/g,zn=/<%([\s\S]+?)%>/g,On=/<%=([\s\S]+?)%>/g,In=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rn=/^\w*$/,En=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,Ln=RegExp(Sn.source),Wn=/^\s+|\s+$/g,Cn=/^\s+/,Tn=/\s+$/,Un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,$n=/,? & /,Dn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mn=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nn=/\w*$/,Pn=/^[-+]0x[0-9a-f]+$/i,Zn=/^0b[01]+$/i,qn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Vn=/^(?:0|[1-9]\d*)$/,Gn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hn=/($^)/,Jn=/['\n\r\u2028\u2029\\]/g,Yn="[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]",Qn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Xn="(?:\\ud83c[\\udde6-\\uddff]){2}",nt="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?"+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Xn,nt].join('|')+")[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"),rt='(?:'+["[\\u2700-\\u27bf]",Xn,nt].join('|')+')'+tt,et='(?:'+["[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?",Qn,Xn,nt,"[\\ud800-\\udfff]"].join('|')+')',ut=RegExp("['\u2019]",'g'),it=RegExp(Qn,'g'),ot=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+et+tt,'g'),ft=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde]",'$'].join('|')+')',"(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",'$'].join('|')+')',"[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?","[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",'\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])','\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])','\\d+',rt].join('|'),'g'),at=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),ct=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,lt=['Array','Buffer','DataView','Date','Error','Float32Array','Float64Array','Function','Int8Array','Int16Array','Int32Array','Map','Math','Object','Promise','RegExp','Set','String','Symbol','TypeError','Uint8Array','Uint8ClampedArray','Uint16Array','Uint32Array','WeakMap','_','clearTimeout','isFinite','parseInt','setTimeout'],st=-1,ht={};ht[cn]=ht[ln]=ht[sn]=ht[hn]=ht[pn]=ht[vn]=ht[_n]=ht[gn]=ht[dn]=!0,ht[D]=ht[M]=ht[fn]=ht[N]=ht[an]=ht[P]=ht[q]=ht[K]=ht[G]=ht[H]=ht[Y]=ht[X]=ht[nn]=ht[tn]=ht[un]=!1;var pt={};pt[D]=pt[M]=pt[fn]=pt[an]=pt[N]=pt[P]=pt[cn]=pt[ln]=pt[sn]=pt[hn]=pt[pn]=pt[G]=pt[H]=pt[Y]=pt[X]=pt[nn]=pt[tn]=pt[rn]=pt[vn]=pt[_n]=pt[gn]=pt[dn]=!0,pt[q]=pt[K]=pt[un]=!1;var vt={'\\':'\\',"'":"'",'\n':'n','\r':'r',"\u2028":'u2028',"\u2029":'u2029'},_t=parseFloat,gt=parseInt,dt='object'==typeof n&&n&&n.Object===Object&&n,yt='object'==typeof self&&self&&self.Object===Object&&self,xt=dt||yt||Function('return this')(),bt='object'==typeof i&&i&&!i.nodeType&&i,wt=bt&&'object'==typeof u&&u&&!u.nodeType&&u,mt=wt&&wt.exports===bt,jt=mt&&dt.process,At=(function(){try{var n=wt&&wt.require&&wt.require('util').types;return n||jt&&jt.binding&&jt.binding('util')}catch(n){}})(),kt=At&&At.isArrayBuffer,zt=At&&At.isDate,Ot=At&&At.isMap,It=At&&At.isRegExp,Rt=At&&At.isSet,Et=At&&At.isTypedArray;function St(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Lt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function $t(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function lr(n,t){for(var r=n.length;r--&&Ht(t,n[r],0)>-1;);return r}function sr(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}var hr=nr({'\xc0':'A','\xc1':'A','\xc2':'A','\xc3':'A','\xc4':'A','\xc5':'A','\xe0':'a','\xe1':'a','\xe2':'a','\xe3':'a','\xe4':'a','\xe5':'a','\xc7':'C','\xe7':'c','\xd0':'D','\xf0':'d','\xc8':'E','\xc9':'E','\xca':'E','\xcb':'E','\xe8':'e','\xe9':'e','\xea':'e','\xeb':'e','\xcc':'I','\xcd':'I','\xce':'I','\xcf':'I','\xec':'i','\xed':'i','\xee':'i','\xef':'i','\xd1':'N','\xf1':'n','\xd2':'O','\xd3':'O','\xd4':'O','\xd5':'O','\xd6':'O','\xd8':'O','\xf2':'o','\xf3':'o','\xf4':'o','\xf5':'o','\xf6':'o','\xf8':'o','\xd9':'U','\xda':'U','\xdb':'U','\xdc':'U','\xf9':'u','\xfa':'u','\xfb':'u','\xfc':'u','\xdd':'Y','\xfd':'y','\xff':'y','\xc6':'Ae','\xe6':'ae','\xde':'Th','\xfe':'th','\xdf':'ss',"\u0100":'A',"\u0102":'A',"\u0104":'A',"\u0101":'a',"\u0103":'a',"\u0105":'a',"\u0106":'C',"\u0108":'C',"\u010a":'C',"\u010c":'C',"\u0107":'c',"\u0109":'c',"\u010b":'c',"\u010d":'c',"\u010e":'D',"\u0110":'D',"\u010f":'d',"\u0111":'d',"\u0112":'E',"\u0114":'E',"\u0116":'E',"\u0118":'E',"\u011a":'E',"\u0113":'e',"\u0115":'e',"\u0117":'e',"\u0119":'e',"\u011b":'e',"\u011c":'G',"\u011e":'G',"\u0120":'G',"\u0122":'G',"\u011d":'g',"\u011f":'g',"\u0121":'g',"\u0123":'g',"\u0124":'H',"\u0126":'H',"\u0125":'h',"\u0127":'h',"\u0128":'I',"\u012a":'I',"\u012c":'I',"\u012e":'I',"\u0130":'I',"\u0129":'i',"\u012b":'i',"\u012d":'i',"\u012f":'i',"\u0131":'i',"\u0134":'J',"\u0135":'j',"\u0136":'K',"\u0137":'k',"\u0138":'k',"\u0139":'L',"\u013b":'L',"\u013d":'L',"\u013f":'L',"\u0141":'L',"\u013a":'l',"\u013c":'l',"\u013e":'l',"\u0140":'l',"\u0142":'l',"\u0143":'N',"\u0145":'N',"\u0147":'N',"\u014a":'N',"\u0144":'n',"\u0146":'n',"\u0148":'n',"\u014b":'n',"\u014c":'O',"\u014e":'O',"\u0150":'O',"\u014d":'o',"\u014f":'o',"\u0151":'o',"\u0154":'R',"\u0156":'R',"\u0158":'R',"\u0155":'r',"\u0157":'r',"\u0159":'r',"\u015a":'S',"\u015c":'S',"\u015e":'S',"\u0160":'S',"\u015b":'s',"\u015d":'s',"\u015f":'s',"\u0161":'s',"\u0162":'T',"\u0164":'T',"\u0166":'T',"\u0163":'t',"\u0165":'t',"\u0167":'t',"\u0168":'U',"\u016a":'U',"\u016c":'U',"\u016e":'U',"\u0170":'U',"\u0172":'U',"\u0169":'u',"\u016b":'u',"\u016d":'u',"\u016f":'u',"\u0171":'u',"\u0173":'u',"\u0174":'W',"\u0175":'w',"\u0176":'Y',"\u0177":'y',"\u0178":'Y',"\u0179":'Z',"\u017b":'Z',"\u017d":'Z',"\u017a":'z',"\u017c":'z',"\u017e":'z',"\u0132":'IJ',"\u0133":'ij',"\u0152":'Oe',"\u0153":'oe',"\u0149":"'n","\u017f":'s'}),pr=nr({'&':'&','<':'<','>':'>','"':'"',"'":'''});function vr(n){return'\\'+vt[n]}function _r(n,r){return null==n?t:n[r]}function gr(n){return at.test(n)}function dr(n){return ct.test(n)}function yr(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}function xr(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function br(n,t){return function(r){return n(t(r))}}function wr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r','"':'"',''':"'"});function Rr(n){for(var t=ot.lastIndex=0;ot.test(n);)++t;return t}function Er(n){return n.match(ot)||[]}function Sr(n){return n.match(ft)||[]}var Lr=(function n(u){var i,Dn=(u=null==u?xt:Lr.defaults(xt.Object(),u,Lr.pick(xt,lt))).Array,Yn=u.Date,Qn=u.Error,Xn=u.Function,nt=u.Math,tt=u.Object,rt=u.RegExp,et=u.String,ot=u.TypeError,ft=Dn.prototype,at=Xn.prototype,ct=tt.prototype,vt=u['__core-js_shared__'],dt=at.toString,yt=ct.hasOwnProperty,bt=0,wt=(i=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||''))?'Symbol(src)_1.'+i:'',jt=ct.toString,At=dt.call(tt),Zt=xt._,qt=rt('^'+dt.call(yt).replace(Sn,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$'),nr=mt?u.Buffer:t,Ar=u.Symbol,Rr=u.Uint8Array,Er=nr?nr.allocUnsafe:t,Wr=br(tt.getPrototypeOf,tt),Cr=tt.create,Tr=ct.propertyIsEnumerable,Ur=ft.splice,Br=Ar?"function"==typeof Ar?Ar.isConcatSpreadable:"@@isConcatSpreadable":t,$r=Ar?"function"==typeof Ar?Ar.iterator:"@@iterator":t,Dr=Ar?"function"==typeof Ar?Ar.toStringTag:"@@toStringTag":t,Mr=(function(){try{var n=co(tt,'defineProperty');return n({},'',{}),n}catch(n){}})(),Fr=u.clearTimeout!==xt.clearTimeout&&u.clearTimeout,Nr=Yn&&Yn.now!==xt.Date.now&&Yn.now,Pr=u.setTimeout!==xt.setTimeout&&u.setTimeout,Zr=nt.ceil,qr=nt.floor,Kr=tt.getOwnPropertySymbols,Vr=nr?nr.isBuffer:t,Gr=u.isFinite,Hr=ft.join,Jr=br(tt.keys,tt),Yr=nt.max,Qr=nt.min,Xr=Yn.now,ne=u.parseInt,te=nt.random,re=ft.reverse,ee=co(u,'DataView'),ue=co(u,'Map'),ie=co(u,'Promise'),oe=co(u,'Set'),fe=co(u,'WeakMap'),ae=co(tt,'create'),ce=fe&&new fe,le={},se=Ko(ee),he=Ko(ue),pe=Ko(ie),ve=Ko(oe),_e=Ko(fe),ge=Ar?"function"==typeof Ar?Ar.prototype:"@@prototype":t,de=ge?ge.valueOf:t,ye=ge?ge.toString:t;function xe(n){if(sa(n)&&!na(n)&&!(n instanceof je)){if(n instanceof me)return n;if(yt.call(n,'__wrapped__'))return Go(n)}return new me(n)}var be=(function(){function n(){}return function(r){if(!la(r))return{};if(Cr)return Cr(r);n.prototype=r;var e=new n;return n.prototype=t,e}})();function we(){}function me(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function je(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=T,this.__views__=[]}function Ae(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=r?n:r)),n}function Ne(n,r,e,u,i,o){var f,a=r&l,c=r&s,p=r&h;if(e&&(f=i?e(n,u,i,o):e(n)),f!==t)return f;if(!la(n))return n;var v=na(n);if(v){if(f=yo(n),!a)return bi(n,f)}else{var _=po(n),g=_==K||_==V;if(ua(n))return hi(n,a);if(_==Y||_==D||g&&!i){if(f=c||g?{}:xo(n),!a)return c?ji(n,$e(f,n)):mi(n,Be(f,n))}else{if(!pt[_])return i?n:{};f=bo(n,_,a)}}o||(o=new Ie);var d=o.get(n);if(d)return d;o.set(n,f),ga(n)?n.forEach(function(t){f.add(Ne(t,r,e,t,n,o))}):ha(n)&&n.forEach(function(t,u){f.set(u,Ne(t,r,e,u,n,o))});var y=v?t:(p?c?ro:to:c?Na:Fa)(n);return Wt(y||n,function(t,u){y&&(t=n[u=t]),Ce(f,u,Ne(t,r,e,u,n,o))}),f}function Pe(n){var t=Fa(n);return function(r){return Ze(r,n,t)}}function Ze(n,r,e){var u=e.length;if(null==n)return!u;for(n=tt(n);u--;){var i=e[u],o=r[i],f=n[i];if(f===t&&!(i in n)||!o(f))return!1}return!0}function qe(n,r,e){if('function'!=typeof n)throw new ot(o);return Do(function(){n.apply(t,e)},r)}function Ke(n,t,e,u){var i=-1,o=Bt,f=!0,a=n.length,c=[],l=t.length;if(!a)return c;e&&(t=Dt(t,or(e))),u?(o=$t,f=!1):t.length>=r&&(o=ar,f=!1,t=new Oe(t));n:for(;++i-1},ke.prototype.set=function(n,t){var r=this.__data__,e=Te(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(ue||ke),string:new Ae}},ze.prototype.delete=function(n){var t=fo(this,n).delete(n);return this.size-=t?1:0,t},ze.prototype.get=function(n){return fo(this,n).get(n)},ze.prototype.has=function(n){return fo(this,n).has(n)},ze.prototype.set=function(n,t){var r=fo(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Oe.prototype.add=Oe.prototype.push=function(n){return this.__data__.set(n,f),this},Oe.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.clear=function(){this.__data__=new ke,this.size=0},Ie.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Ie.prototype.get=function(n){return this.__data__.get(n)},Ie.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.set=function(n,t){var r=this.__data__;if(r instanceof ke){var e=r.__data__;if(!ue||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new ze(e)}return r.set(n,t),this.size=r.size,this};var Ve=zi(ru),Ge=zi(eu,!0);function He(n,t){var r=!0;return Ve(n,function(n,e,u){return r=!!t(n,e,u)}),r}function Je(n,r,e){for(var u=-1,i=n.length;++ui?0:i+e),(u=u===t||u>i?i:Aa(u))<0&&(u+=i),u=e>u?0:ka(u);e0&&r(f)?t>1?Xe(f,t-1,r,e,u):Mt(u,f):e||(u[u.length]=f)}return u}var nu=Oi(),tu=Oi(!0);function ru(n,t){return n&&nu(n,t,Fa)}function eu(n,t){return n&&tu(n,t,Fa)}function uu(n,t){return Ut(t,function(t){return fa(n[t])})}function iu(n,r){for(var e=0,u=(r=ai(r,n)).length;null!=n&&et}function cu(n,t){return null!=n&&yt.call(n,t)}function lu(n,t){return null!=n&&t in tt(n)}function su(n,t,r){return n>=Qr(t,r)&&n=120&&s.length>=120)?new Oe(f&&s):t}s=n[0];var h=-1,p=a[0];n:for(;++h-1;)f!==n&&Ur.call(f,a,1),Ur.call(n,a,1);return n}function Tu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;jo(u)?Ur.call(n,u,1):ni(n,u)}}return n}function Uu(n,t){return n+qr(te()*(t-n+1))}function Bu(n,t,r,e){for(var u=-1,i=Yr(Zr((t-n)/(r||1)),0),o=Dn(i);i--;)o[e?i:++u]=n,n+=r;return o}function $u(n,t){var r='';if(!n||t<1||t>L)return r;do{t%2&&(r+=n),(t=qr(t/2))&&(n+=n)}while(t);return r}function Du(n,t){return Mo(Co(n,t,pc),n+'')}function Mu(n){return Ee(Ja(n))}function Fu(n,t){var r=Ja(n);return Po(r,Fe(t,0,r.length))}function Nu(n,r,e,u){if(!la(n))return n;for(var i=-1,o=(r=ai(r,n)).length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=Dn(u);++e>>1,o=n[i];null!==o&&!ya(o)&&(r?o<=t:o=r){var l=t?null:qi(n);if(l)return mr(l);f=!1,i=ar,c=new Oe}else c=t?[]:a;n:for(;++u=u?n:Ku(n,r,e)}var si=Fr||function(n){return xt.clearTimeout(n)};function hi(n,t){if(t)return n.slice();var r=n.length,e=Er?Er(r):new n.constructor(r);return n.copy(e),e}function pi(n){var t=new n.constructor(n.byteLength);return new Rr(t).set(new Rr(n)),t}function vi(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}function _i(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function gi(n,r){if(n!==r){var e=n!==t,u=null===n,i=n==n,o=ya(n),f=r!==t,a=null===r,c=r==r,l=ya(r);if(!a&&!l&&!o&&n>r||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n=f?a:a*('desc'==r[e]?-1:1)}return n.index-t.index}function yi(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=Yr(i-o,0),l=Dn(a+c),s=!e;++f1?e[i-1]:t,f=i>2?e[2]:t;for(o=n.length>3&&'function'==typeof o?(i--,o):t,f&&Ao(e[0],e[1],f)&&(o=i<3?t:o,i=1),r=tt(r);++u-1?i[o?r[f]:f]:t}}function Ci(n){return no(function(r){var e=r.length,u=e,i=me.prototype.thru;for(n&&r.reverse();u--;){var f=r[u];if('function'!=typeof f)throw new ot(o);if(i&&!a&&'wrapper'==uo(f))var a=new me([],!0)}for(u=a?u:e;++u1&&g.reverse(),s&&c<_&&(g.length=c),this&&this!==xt&&this instanceof t&&(A=y||Si(A)),A.apply(j,g)}}function Ui(n,t){return function(r,e){return pu(r,n,t(e),{})}}function Bi(n,r){return function(e,u){var i;if(e===t&&u===t)return r;if(e!==t&&(i=e),u!==t){if(i===t)return u;'string'==typeof e||'string'==typeof u?(e=Qu(e),u=Qu(u)):(e=Yu(e),u=Yu(u)),i=n(e,u)}return i}}function $i(n){return no(function(t){return t=Dt(t,or(oo())),Du(function(r){var e=this;return n(t,function(n){return St(n,e,r)})})})}function Di(n,r){var e=(r=r===t?' ':Qu(r)).length;if(e<2)return e?$u(r,n):r;var u=$u(r,Zr(n/zr(r)));return gr(r)?li(Or(u),0,n).join(''):u.slice(0,n)}function Mi(n,t,r,e){var u=t&_,i=Si(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=Dn(c+f),s=this&&this!==xt&&this instanceof t?i:n;++aa))return!1;var l=o.get(n),s=o.get(r);if(l&&s)return l==r&&s==n;var h=-1,_=!0,g=e&v?new Oe:t;for(o.set(n,r),o.set(r,n);++h1?'& ':'')+t[e],t=t.join(r>2?', ':' '),n.replace(Un,'{\n/* [wrapped with '+t+'] */\n')}function mo(n){return na(n)||Xf(n)||!!(Br&&n&&n[Br])}function jo(n,t){var r=typeof n;return!!(t=null==t?L:t)&&('number'==r||'symbol'!=r&&Vn.test(n))&&n>-1&&n%1==0&&n0){if(++r>=O)return arguments[0]}else r=0;return n.apply(t,arguments)}}function Po(n,r){var e=-1,u=n.length,i=u-1;for(r=r===t?u:r;++e1?n[r-1]:t;return _f(n,e='function'==typeof e?(n.pop(),e):t)});function mf(n){var t=xe(n);return t.__chain__=!0,t}function jf(n,t){return t(n)}var Af=no(function(n){var r=n.length,e=r?n[0]:0,u=this.__wrapped__,i=function(t){return Me(t,n)};return!(r>1||this.__actions__.length)&&u instanceof je&&jo(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:jf,args:[i],thisArg:t}),new me(u,this.__chain__).thru(function(n){return r&&!n.length&&n.push(t),n})):this.thru(i)});var kf=Ai(function(n,t,r){yt.call(n,r)?++n[r]:De(n,r,1)});var zf=Wi(Qo),Of=Wi(Xo);function If(n,t){return(na(n)?Wt:Ve)(n,oo(t,3))}function Rf(n,t){return(na(n)?Ct:Ge)(n,oo(t,3))}var Ef=Ai(function(n,t,r){yt.call(n,r)?n[r].push(t):De(n,r,[t])});var Sf=Du(function(n,t,r){var e=-1,u='function'==typeof t,i=ra(n)?Dn(n.length):[];return Ve(n,function(n){i[++e]=u?St(t,n,r):vu(n,t,r)}),i}),Lf=Ai(function(n,t,r){De(n,r,t)});function Wf(n,t){return(na(n)?Dt:Au)(n,oo(t,3))}var Cf=Ai(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var Tf=Du(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Ao(n,t[0],t[1])?t=[]:r>2&&Ao(t[0],t[1],t[2])&&(t=[t[0]]),Eu(n,Xe(t,1),[])}),Uf=Nr||function(){return xt.Date.now()};function Bf(n,r,e){return r=e?t:r,r=n&&null==r?n.length:r,Vi(n,m,t,t,t,t,r)}function $f(n,r){var e;if('function'!=typeof r)throw new ot(o);return n=Aa(n),function(){return--n>0&&(e=r.apply(this,arguments)),n<=1&&(r=t),e}}var Df=Du(function(n,t,r){var e=_;if(r.length){var u=wr(r,io(Df));e|=b}return Vi(n,e,t,r,u)}),Mf=Du(function(n,t,r){var e=3;if(r.length){var u=wr(r,io(Mf));e|=b}return Vi(t,e,n,r,u)});function Ff(n,r,e){var u,i,f,a,c,l,s=0,h=!1,p=!1,v=!0;if('function'!=typeof n)throw new ot(o);function _(r){var e=u,o=i;return u=i=t,s=r,a=n.apply(o,e)}function g(n){return s=n,c=Do(x,r),h?_(n):a}function d(n){var t=r-(n-l);return p?Qr(t,f-(n-s)):t}function y(n){var e=n-l;return l===t||e>=r||e<0||p&&n-s>=f}function x(){var n=Uf();if(y(n))return b(n);c=Do(x,d(n))}function b(n){return c=t,v&&u?_(n):(u=i=t,a)}function w(){var n=Uf(),e=y(n);if(u=arguments,i=this,l=n,e){if(c===t)return g(l);if(p)return si(c),c=Do(x,r),_(l)}return c===t&&(c=Do(x,r)),a}return r=za(r)||0,la(e)&&(h=!!e.leading,f=(p='maxWait'in e)?Yr(za(e.maxWait)||0,r):f,v='trailing'in e?!!e.trailing:v),w.cancel=function(){c!==t&&si(c),s=0,u=l=i=c=t},w.flush=function(){return c===t?a:b(Uf())},w}var Nf=Du(function(n,t){return qe(n,1,t)}),Pf=Du(function(n,t,r){return qe(n,za(t)||0,r)});function Zf(n,t){if('function'!=typeof n||null!=t&&'function'!=typeof t)throw new ot(o);var r=function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Zf.Cache||ze),r}function qf(n){if('function'!=typeof n)throw new ot(o);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Zf.Cache=ze;var Kf=ci(function(n,t){var r=(t=1==t.length&&na(t[0])?Dt(t[0],or(oo())):Dt(Xe(t,1),or(oo()))).length;return Du(function(e){for(var u=-1,i=Qr(e.length,r);++u=t}),Xf=_u((function(){return arguments})())?_u:function(n){return sa(n)&&yt.call(n,'callee')&&!Tr.call(n,'callee')},na=Dn.isArray,ta=kt?or(kt):function(n){return sa(n)&&fu(n)==fn};function ra(n){return null!=n&&ca(n.length)&&!fa(n)}function ea(n){return sa(n)&&ra(n)}var ua=Vr||zc,ia=zt?or(zt):function(n){return sa(n)&&fu(n)==P};function oa(n){if(!sa(n))return!1;var t=fu(n);return t==q||t==Z||'string'==typeof n.message&&'string'==typeof n.name&&!va(n)}function fa(n){if(!la(n))return!1;var t=fu(n);return t==K||t==V||t==F||t==Q}function aa(n){return'number'==typeof n&&n==Aa(n)}function ca(n){return'number'==typeof n&&n>-1&&n%1==0&&n<=L}function la(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}function sa(n){return null!=n&&'object'==typeof n}var ha=Ot?or(Ot):function(n){return sa(n)&&po(n)==G};function pa(n){return'number'==typeof n||sa(n)&&fu(n)==H}function va(n){if(!sa(n)||fu(n)!=Y)return!1;var t=Wr(n);if(null===t)return!0;var r=yt.call(t,'constructor')&&t.constructor;return'function'==typeof r&&r instanceof r&&dt.call(r)==At}var _a=It?or(It):function(n){return sa(n)&&fu(n)==X};var ga=Rt?or(Rt):function(n){return sa(n)&&po(n)==nn};function da(n){return'string'==typeof n||!na(n)&&sa(n)&&fu(n)==tn}function ya(n){return'symbol'==typeof n||sa(n)&&fu(n)==rn}var xa=Et?or(Et):function(n){return sa(n)&&ca(n.length)&&!!ht[fu(n)]};var ba=Ni(ju),wa=Ni(function(n,t){return n<=t});function ma(n){if(!n)return[];if(ra(n))return da(n)?Or(n):bi(n);if($r&&n[$r])return yr(n[$r]());var t=po(n);return(t==G?xr:t==nn?mr:Ja)(n)}function ja(n){return n?(n=za(n))===S||n===-1/0?(n<0?-1:1)*W:n==n?n:0:0===n?n:0}function Aa(n){var t=ja(n),r=t%1;return t==t?r?t-r:t:0}function ka(n){return n?Fe(Aa(n),0,T):0}function za(n){if('number'==typeof n)return n;if(ya(n))return C;if(la(n)){var t='function'==typeof n.valueOf?n.valueOf():n;n=la(t)?t+'':t}if('string'!=typeof n)return 0===n?n:+n;n=n.replace(Wn,'');var r=Zn.test(n);return r||Kn.test(n)?gt(n.slice(2),r?2:8):Pn.test(n)?C:+n}function Oa(n){return wi(n,Na(n))}function Ia(n){return null==n?'':Qu(n)}var Ra=ki(function(n,t){if(Io(t)||ra(t))wi(t,Fa(t),n);else for(var r in t)yt.call(t,r)&&Ce(n,r,t[r])}),Ea=ki(function(n,t){wi(t,Na(t),n)}),Sa=ki(function(n,t,r,e){wi(t,Na(t),n,e)}),La=ki(function(n,t,r,e){wi(t,Fa(t),n,e)}),Wa=no(Me);var Ca=Du(function(n,r){n=tt(n);var e=-1,u=r.length,i=u>2?r[2]:t;for(i&&Ao(r[0],r[1],i)&&(u=1);++e1),t}),wi(n,ro(n),r),e&&(r=Ne(r,7,Ji));for(var u=t.length;u--;)ni(r,t[u]);return r});var Ka=no(function(n,t){return null==n?{}:Su(n,t)});function Va(n,t){if(null==n)return{};var r=Dt(ro(n),function(n){return[n]});return t=oo(t),Lu(n,r,function(n,r){return t(n,r[0])})}var Ga=Ki(Fa),Ha=Ki(Na);function Ja(n){return null==n?[]:fr(n,Fa(n))}var Ya=Ei(function(n,t,r){return t=t.toLowerCase(),n+(r?Qa(t):t)});function Qa(n){return oc(Ia(n).toLowerCase())}function Xa(n){return(n=Ia(n))&&n.replace(Gn,hr).replace(it,'')}var nc=Ei(function(n,t,r){return n+(r?'-':'')+t.toLowerCase()}),tc=Ei(function(n,t,r){return n+(r?' ':'')+t.toLowerCase()}),rc=Ri('toLowerCase');var ec=Ei(function(n,t,r){return n+(r?'_':'')+t.toLowerCase()});var uc=Ei(function(n,t,r){return n+(r?' ':'')+oc(t)});var ic=Ei(function(n,t,r){return n+(r?' ':'')+t.toUpperCase()}),oc=Ri('toUpperCase');function fc(n,r,e){return n=Ia(n),(r=e?t:r)===t?dr(n)?Sr(n):Kt(n):n.match(r)||[]}var ac=Du(function(n,r){try{return St(n,t,r)}catch(n){return oa(n)?n:new Qn(n)}}),cc=no(function(n,t){return Wt(t,function(t){t=qo(t),De(n,t,Df(n[t],n))}),n});function lc(n){return function(){return n}}var sc=Ci(),hc=Ci(!0);function pc(n){return n}function vc(n){return bu('function'==typeof n?n:Ne(n,l))}var _c=Du(function(n,t){return function(r){return vu(r,n,t)}}),gc=Du(function(n,t){return function(r){return vu(n,r,t)}});function dc(n,t,r){var e=Fa(t),u=uu(t,e);null!=r||la(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=uu(t,Fa(t)));var i=!(la(r)&&'chain'in r&&!r.chain),o=fa(n);return Wt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=bi(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Mt([this.value()],arguments))})}),n}function yc(){}var xc=$i(Dt),bc=$i(Tt),wc=$i(Pt);function mc(n){return ko(n)?Xt(qo(n)):Wu(n)}var jc=Fi(),Ac=Fi(!0);function kc(){return[]}function zc(){return!1}var Oc=Bi(function(n,t){return n+t},0),Ic=Zi('ceil'),Rc=Bi(function(n,t){return n/t},1),Ec=Zi('floor');var Sc,Lc=Bi(function(n,t){return n*t},1),Wc=Zi('round'),Cc=Bi(function(n,t){return n-t},0);return xe.after=function(n,t){if('function'!=typeof t)throw new ot(o);return n=Aa(n),function(){if(--n<1)return t.apply(this,arguments)}},xe.ary=Bf,xe.assign=Ra,xe.assignIn=Ea,xe.assignInWith=Sa,xe.assignWith=La,xe.at=Wa,xe.before=$f,xe.bind=Df,xe.bindAll=cc,xe.bindKey=Mf,xe.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return na(n)?n:[n]},xe.chain=mf,xe.chunk=function(n,r,e){r=(e?Ao(n,r,e):r===t)?1:Yr(Aa(r),0);var u=null==n?0:n.length;if(!u||r<1)return[];for(var i=0,o=0,f=Dn(Zr(u/r));i>>0)?(n=Ia(n))&&('string'==typeof r||null!=r&&!_a(r))&&!(r=Qu(r))&&gr(n)?li(Or(n),0,e):n.split(r,e):[]},xe.spread=function(n,t){if('function'!=typeof n)throw new ot(o);return t=null==t?0:Yr(Aa(t),0),Du(function(r){var e=r[t],u=li(r,0,t);return e&&Mt(u,e),St(n,this,u)})},xe.tail=function(n){var t=null==n?0:n.length;return t?Ku(n,1,t):[]},xe.take=function(n,r,e){return n&&n.length?Ku(n,0,(r=e||r===t?1:Aa(r))<0?0:r):[]},xe.takeRight=function(n,r,e){var u=null==n?0:n.length;return u?Ku(n,(r=u-(r=e||r===t?1:Aa(r)))<0?0:r,u):[]},xe.takeRightWhile=function(n,t){return n&&n.length?ri(n,oo(t,3),!1,!0):[]},xe.takeWhile=function(n,t){return n&&n.length?ri(n,oo(t,3)):[]},xe.tap=function(n,t){return t(n),n},xe.throttle=function(n,t,r){var e=!0,u=!0;if('function'!=typeof n)throw new ot(o);return la(r)&&(e='leading'in r?!!r.leading:e,u='trailing'in r?!!r.trailing:u),Ff(n,t,{leading:e,maxWait:t,trailing:u})},xe.thru=jf,xe.toArray=ma,xe.toPairs=Ga,xe.toPairsIn=Ha,xe.toPath=function(n){return na(n)?Dt(n,qo):ya(n)?[n]:bi(Zo(Ia(n)))},xe.toPlainObject=Oa,xe.transform=function(n,t,r){var e=na(n),u=e||ua(n)||xa(n);if(t=oo(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:la(n)&&fa(i)?be(Wr(n)):{}}return(u?Wt:ru)(n,function(n,e,u){return t(r,n,e,u)}),r},xe.unary=function(n){return Bf(n,1)},xe.union=sf,xe.unionBy=hf,xe.unionWith=pf,xe.uniq=function(n){return n&&n.length?Xu(n):[]},xe.uniqBy=function(n,t){return n&&n.length?Xu(n,oo(t,2)):[]},xe.uniqWith=function(n,r){return r='function'==typeof r?r:t,n&&n.length?Xu(n,t,r):[]},xe.unset=function(n,t){return null==n||ni(n,t)},xe.unzip=vf,xe.unzipWith=_f,xe.update=function(n,t,r){return null==n?n:ti(n,t,fi(r))},xe.updateWith=function(n,r,e,u){return u='function'==typeof u?u:t,null==n?n:ti(n,r,fi(e),u)},xe.values=Ja,xe.valuesIn=function(n){return null==n?[]:fr(n,Na(n))},xe.without=gf,xe.words=fc,xe.wrap=function(n,t){return Vf(fi(t),n)},xe.xor=df,xe.xorBy=yf,xe.xorWith=xf,xe.zip=bf,xe.zipObject=function(n,t){return ii(n||[],t||[],Ce)},xe.zipObjectDeep=function(n,t){return ii(n||[],t||[],Nu)},xe.zipWith=wf,xe.entries=Ga,xe.entriesIn=Ha,xe.extend=Ea,xe.extendWith=Sa,dc(xe,xe),xe.add=Oc,xe.attempt=ac,xe.camelCase=Ya,xe.capitalize=Qa,xe.ceil=Ic,xe.clamp=function(n,r,e){return e===t&&(e=r,r=t),e!==t&&(e=(e=za(e))==e?e:0),r!==t&&(r=(r=za(r))==r?r:0),Fe(za(n),r,e)},xe.clone=function(n){return Ne(n,h)},xe.cloneDeep=function(n){return Ne(n,5)},xe.cloneDeepWith=function(n,r){return Ne(n,5,r='function'==typeof r?r:t)},xe.cloneWith=function(n,r){return Ne(n,h,r='function'==typeof r?r:t)},xe.conformsTo=function(n,t){return null==t||Ze(n,t,Fa(t))},xe.deburr=Xa,xe.defaultTo=function(n,t){return null==n||n!=n?t:n},xe.divide=Rc,xe.endsWith=function(n,r,e){n=Ia(n),r=Qu(r);var u=n.length,i=e=e===t?u:Fe(Aa(e),0,u);return(e-=r.length)>=0&&n.slice(e,i)==r},xe.eq=Jf,xe.escape=function(n){return(n=Ia(n))&&An.test(n)?n.replace(mn,pr):n},xe.escapeRegExp=function(n){return(n=Ia(n))&&Ln.test(n)?n.replace(Sn,'\\$&'):n},xe.every=function(n,r,e){var u=na(n)?Tt:He;return e&&Ao(n,r,e)&&(r=t),u(n,oo(r,3))},xe.find=zf,xe.findIndex=Qo,xe.findKey=function(n,t){return Vt(n,oo(t,3),ru)},xe.findLast=Of,xe.findLastIndex=Xo,xe.findLastKey=function(n,t){return Vt(n,oo(t,3),eu)},xe.floor=Ec,xe.forEach=If,xe.forEachRight=Rf,xe.forIn=function(n,t){return null==n?n:nu(n,oo(t,3),Na)},xe.forInRight=function(n,t){return null==n?n:tu(n,oo(t,3),Na)},xe.forOwn=function(n,t){return n&&ru(n,oo(t,3))},xe.forOwnRight=function(n,t){return n&&eu(n,oo(t,3))},xe.get=Ua,xe.gt=Yf,xe.gte=Qf,xe.has=function(n,t){return null!=n&&go(n,t,cu)},xe.hasIn=Ba,xe.head=tf,xe.identity=pc,xe.includes=function(n,t,r,e){n=ra(n)?n:Ja(n),r=r&&!e?Aa(r):0;var u=n.length;return r<0&&(r=Yr(u+r,0)),da(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Ht(n,t,r)>-1},xe.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Aa(r);return u<0&&(u=Yr(e+u,0)),Ht(n,t,u)},xe.inRange=function(n,r,e){return r=ja(r),e===t?(e=r,r=0):e=ja(e),su(n=za(n),r,e)},xe.invoke=Ma,xe.isArguments=Xf,xe.isArray=na,xe.isArrayBuffer=ta,xe.isArrayLike=ra,xe.isArrayLikeObject=ea,xe.isBoolean=function(n){return!0===n||!1===n||sa(n)&&fu(n)==N},xe.isBuffer=ua,xe.isDate=ia,xe.isElement=function(n){return sa(n)&&1===n.nodeType&&!va(n)},xe.isEmpty=function(n){if(null==n)return!0;if(ra(n)&&(na(n)||'string'==typeof n||'function'==typeof n.splice||ua(n)||xa(n)||Xf(n)))return!n.length;var t=po(n);if(t==G||t==nn)return!n.size;if(Io(n))return!wu(n).length;for(var r in n)if(yt.call(n,r))return!1;return!0},xe.isEqual=function(n,t){return gu(n,t)},xe.isEqualWith=function(n,r,e){var u=(e='function'==typeof e?e:t)?e(n,r):t;return u===t?gu(n,r,t,e):!!u},xe.isError=oa,xe.isFinite=function(n){return'number'==typeof n&&Gr(n)},xe.isFunction=fa,xe.isInteger=aa,xe.isLength=ca,xe.isMap=ha,xe.isMatch=function(n,t){return n===t||yu(n,t,ao(t))},xe.isMatchWith=function(n,r,e){return e='function'==typeof e?e:t,yu(n,r,ao(r),e)},xe.isNaN=function(n){return pa(n)&&n!=+n},xe.isNative=function(n){if(Oo(n))throw new Qn(e);return xu(n)},xe.isNil=function(n){return null==n},xe.isNull=function(n){return null===n},xe.isNumber=pa,xe.isObject=la,xe.isObjectLike=sa,xe.isPlainObject=va,xe.isRegExp=_a,xe.isSafeInteger=function(n){return aa(n)&&n>=-9007199254740991&&n<=L},xe.isSet=ga,xe.isString=da,xe.isSymbol=ya,xe.isTypedArray=xa,xe.isUndefined=function(n){return n===t},xe.isWeakMap=function(n){return sa(n)&&po(n)==un},xe.isWeakSet=function(n){return sa(n)&&fu(n)==on},xe.join=function(n,t){return null==n?'':Hr.call(n,t)},xe.kebabCase=nc,xe.last=of,xe.lastIndexOf=function(n,r,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==t&&(i=(i=Aa(e))<0?Yr(u+i,0):Qr(i,u-1)),r==r?kr(n,r,i):Gt(n,Yt,i,!0)},xe.lowerCase=tc,xe.lowerFirst=rc,xe.lt=ba,xe.lte=wa,xe.max=function(n){return n&&n.length?Je(n,pc,au):t},xe.maxBy=function(n,r){return n&&n.length?Je(n,oo(r,2),au):t},xe.mean=function(n){return Qt(n,pc)},xe.meanBy=function(n,t){return Qt(n,oo(t,2))},xe.min=function(n){return n&&n.length?Je(n,pc,ju):t},xe.minBy=function(n,r){return n&&n.length?Je(n,oo(r,2),ju):t},xe.stubArray=kc,xe.stubFalse=zc,xe.stubObject=function(){return{}},xe.stubString=function(){return''},xe.stubTrue=function(){return!0},xe.multiply=Lc,xe.nth=function(n,r){return n&&n.length?Ru(n,Aa(r)):t},xe.noConflict=function(){return xt._===this&&(xt._=Zt),this},xe.noop=yc,xe.now=Uf,xe.pad=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Di(qr(u),r)+n+Di(Zr(u),r)},xe.padEnd=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;return t&&er){var u=n;n=r,r=u}if(e||n%1||r%1){var i=te();return Qr(n+i*(r-n+_t('1e-'+((i+'').length-1))),r)}return Uu(n,r)},xe.reduce=function(n,t,r){var e=na(n)?Ft:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ve)},xe.reduceRight=function(n,t,r){var e=na(n)?Nt:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ge)},xe.repeat=function(n,r,e){return r=(e?Ao(n,r,e):r===t)?1:Aa(r),$u(Ia(n),r)},xe.replace=function(){var n=arguments,t=Ia(n[0]);return n.length<3?t:t.replace(n[1],n[2])},xe.result=function(n,r,e){var u=-1,i=(r=ai(r,n)).length;for(i||(i=1,n=t);++uL)return[];var r=T,e=Qr(n,T);t=oo(t),n-=T;for(var u=ur(e,t);++r=o)return n;var a=e-zr(u);if(a<1)return u;var c=f?li(f,0,a).join(''):n.slice(0,a);if(i===t)return c+u;if(f&&(a+=c.length-a),_a(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=rt(i.source,Ia(Nn.exec(i))+'g')),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===t?a:h)}}else if(n.indexOf(Qu(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},xe.unescape=function(n){return(n=Ia(n))&&jn.test(n)?n.replace(wn,Ir):n},xe.uniqueId=function(n){var t=++bt;return Ia(n)+t},xe.upperCase=ic,xe.upperFirst=oc,xe.each=If,xe.eachRight=Rf,xe.first=tf,dc(xe,(Sc={},ru(xe,function(n,t){yt.call(xe.prototype,t)||(Sc[t]=n)}),Sc),{chain:!1}),xe.VERSION="4.17.20",Wt(['bind','bindKey','curry','curryRight','partial','partialRight'],function(n){xe[n].placeholder=xe}),Wt(['drop','take'],function(n,r){je.prototype[n]=function(e){e=e===t?1:Yr(Aa(e),0);var u=this.__filtered__&&!r?new je(this):this.clone();return u.__filtered__?u.__takeCount__=Qr(e,u.__takeCount__):u.__views__.push({size:Qr(e,T),type:n+(u.__dir__<0?'Right':'')}),u},je.prototype[n+'Right']=function(t){return this.reverse()[n](t).reverse()}}),Wt(['filter','map','takeWhile'],function(n,t){var r=t+1,e=r==R||3==r;je.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:oo(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Wt(['head','last'],function(n,t){var r='take'+(t?'Right':'');je.prototype[n]=function(){return this[r](1).value()[0]}}),Wt(['initial','tail'],function(n,t){var r='drop'+(t?'':'Right');je.prototype[n]=function(){return this.__filtered__?new je(this):this[r](1)}}),je.prototype.compact=function(){return this.filter(pc)},je.prototype.find=function(n){return this.filter(n).head()},je.prototype.findLast=function(n){return this.reverse().find(n)},je.prototype.invokeMap=Du(function(n,t){return'function'==typeof n?new je(this):this.map(function(r){return vu(r,n,t)})}),je.prototype.reject=function(n){return this.filter(qf(oo(n)))},je.prototype.slice=function(n,r){n=Aa(n);var e=this;return e.__filtered__&&(n>0||r<0)?new je(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),r!==t&&(e=(r=Aa(r))<0?e.dropRight(-r):e.take(r-n)),e)},je.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},je.prototype.toArray=function(){return this.take(T)},ru(je.prototype,function(n,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=xe[u?'take'+('last'==r?'Right':''):r],o=u||/^find/.test(r);i&&(xe.prototype[r]=function(){var r=this.__wrapped__,f=u?[1]:arguments,a=r instanceof je,c=f[0],l=a||na(r),s=function(n){var t=i.apply(xe,Mt([n],f));return u&&h?t[0]:t};l&&e&&'function'==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){r=_?r:new je(this);var g=n.apply(r,f);return g.__actions__.push({func:jf,args:[s],thisArg:t}),new me(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),Wt(['pop','push','shift','sort','splice','unshift'],function(n){var t=ft[n],r=/^(?:push|sort|unshift)$/.test(n)?'tap':'thru',e=/^(?:pop|shift)$/.test(n);xe.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(na(u)?u:[],n)}return this[r](function(r){return t.apply(na(r)?r:[],n)})}}),ru(je.prototype,function(n,t){var r=xe[t];if(r){var e=r.name+'';yt.call(le,e)||(le[e]=[]),le[e].push({name:t,func:r})}}),le[Ti(t,g).name]=[{name:'wrapper',func:t}],je.prototype.clone=function(){var n=new je(this.__wrapped__);return n.__actions__=bi(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=bi(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=bi(this.__views__),n},je.prototype.reverse=function(){if(this.__filtered__){var n=new je(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},je.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=na(n),e=t<0,u=r?n.length:0,i=vo(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Qr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return ei(n,this.__actions__);var v=[];n:for(;a--&&h=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},xe.prototype.plant=function(n){for(var r,e=this;e instanceof we;){var u=Go(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},xe.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof je){var r=n;return this.__actions__.length&&(r=new je(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new me(r,this.__chain__)}return this.thru(lf)},xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},xe.prototype.first=xe.prototype.head,$r&&(xe.prototype[$r]=function(){return this}),xe})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Lr,define(function(){return Lr})):wt?((wt.exports=Lr)._=Lr,bt._=Lr):xt._=Lr}).call(this)},2770,[]); +__d(function(g,r,i,a,m,e,d){r(d[0]),r(d[1]),r(d[2])},2771,[2772,2787,2817]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]),l=t(r(d[2])),c=r(d[3]),n=r(d[4]),u=r(d[5]),s=r(d[6]);(0,s.isSimpleSite)()||(0,s.isAtomicSite)()||(0,c.registerBlockCollection)('jetpack',{title:'Jetpack',icon:(0,o.createElement)(u.JetpackLogo,null)}),(0,c.setCategories)([].concat((0,l.default)((0,c.getCategories)().filter(function(t){return'earn'!==t.slug})),[{slug:'earn',title:(0,n.__)('Earn','jetpack'),icon:(0,o.createElement)(u.JetpackLogo,null)}])),(0,c.setCategories)([].concat((0,l.default)((0,c.getCategories)().filter(function(t){return'grow'!==t.slug})),[{slug:'grow',title:(0,n.__)('Grow','jetpack'),icon:(0,o.createElement)(u.JetpackLogo,null)}]))},2772,[2773,946,2774,1223,1027,2780,2786]); +__d(function(g,r,i,a,m,e,d){m.exports=function(n){return n&&n.__esModule?n:{default:n}}},2773,[]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3]);m.exports=function(c){return n(c)||t(c)||o(c)||u()}},2774,[2775,2777,2778,2779]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);m.exports=function(t){if(Array.isArray(t))return n(t)}},2775,[2776]); +__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){(null==t||t>n.length)&&(t=n.length);for(var l=0,o=new Array(t);l2&&void 0!==arguments[2]?arguments[2]:[],u=(0,l.default)(t),b=u.available,O=u.details,j=s(u.unavailableReason,O);if(!b&&!j)return!1;var v=(0,o.registerBlockType)("jetpack/"+t,p(p({},n),{},{title:f.includes(t)?n.title+" (beta)":n.title,edit:n.edit,example:j?void 0:n.example}));return c.forEach(function(t){return(0,o.registerBlockType)("jetpack/"+t.name,t.settings)}),v};var n=t(r(d[1])),o=r(d[2]),c=t(r(d[3])),l=t(r(d[4]));function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function p(t){for(var o=1;o1&&void 0!==arguments[1]?arguments[1]:24,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'0 0 24 24';return(0,t.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:o,height:v,viewBox:h},(0,t.createElement)(n.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),l)};e.default=l},2795,[946,1699]); +__d(function(g,r,i,a,m,e,d){m.exports={placeholder:{color:"#87a6bc"},placeholderDark:{color:"#646970"},blockEditorPlainText:{flexGrow:1,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"transparent",shadowOpacity:1,fontSize:16,fontFamily:"Noto Serif",borderWidth:0,borderColor:"black",borderStyle:"solid",color:"#1e1e1e",textDecorationColor:"#016087"},blockEditorPlainTextDark:{color:"#fff",textDecorationColor:"#5198d9"}}},2796,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var s=r(d[1]),c=r(d[2]),n=r(d[3]),l=t(r(d[4])),o=t(r(d[5])),p=t(r(d[6]));e.name='address';var u={title:(0,c.__)('Address','jetpack'),description:(0,c.__)('Lets you add a physical address with Schema markup.','jetpack'),keywords:[(0,c._x)('location','block search term','jetpack'),(0,c._x)('direction','block search term','jetpack'),(0,c._x)('place','block search term','jetpack')],icon:(0,p.default)((0,s.createElement)(s.Fragment,null,(0,s.createElement)(n.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),(0,s.createElement)(n.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:'grow',attributes:{address:{type:'string',default:''},addressLine2:{type:'string',default:''},addressLine3:{type:'string',default:''},city:{type:'string',default:''},region:{type:'string',default:''},postal:{type:'string',default:''},country:{type:'string',default:''},linkToGoogleMaps:{type:'boolean',default:!1}},parent:['jetpack/contact-info'],edit:l.default,save:o.default};e.settings=u},2797,[2773,946,1027,1699,2798,2807,2795]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),p=t(r(d[7])),f=t(r(d[8])),y=r(d[9]),h=r(d[10]),v=r(d[11]),k=r(d[12]),b=r(d[13]),_=t(r(d[14])),j=t(r(d[15]));function O(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function P(t){for(var n=1;n254)return!1;if(!t.test(n))return!1;var u=n.split("@");return!(u[0].length>64)&&!u[1].split(".").some(function(t){return t.length>63})}},2811,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),l=r(d[2]),n=t(r(d[3])),c=t(r(d[4]));function u(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,n)}return l}function f(t){for(var l=1;l\x3c!-- wp:jetpack/email {\"email\":\"me@wordpress.org\"} --\x3e\n\n\x3c!-- /wp:jetpack/email --\x3e\n\n\x3c!-- wp:jetpack/phone {\"phone\":\"+1\"} --\x3e\n\n\x3c!-- /wp:jetpack/phone --\x3e\n\n\x3c!-- wp:jetpack/address {\"address\":\"Random Street\"} --\x3e\n
    Random Street
    \n\x3c!-- /wp:jetpack/address --\x3e\n\x3c!-- /wp:jetpack/contact-info --\x3e\n\n\x3c!-- wp:jetpack/story {\"mediaFiles\":[{\"alt\":\"\",\"caption\":\"\",\"id\":320,\"link\":\"https://cldup.com/n48GTQmw7s.jpg\",\"mime\":\"image/jpeg\",\"type\":\"image\",\"url\":\"https://cldup.com/n48GTQmw7s.jpg\"},{\"alt\":\"\",\"caption\":\"\",\"id\":321,\"link\":\"https://cldup.com/u2kdydrlQv.jpg\",\"mime\":\"image/jpeg\",\"type\":\"image\",\"url\":\"https://cldup.com/u2kdydrlQv.jpg\"},{\"alt\":\"\",\"caption\":\"\",\"id\":319,\"link\":\"https://cldup.com/fi7gqyUrbL.jpg\",\"mime\":\"image/jpeg\",\"type\":\"image\",\"url\":\"https://cldup.com/fi7gqyUrbL.jpg\"}]} --\x3e\n
    \n\x3c!-- /wp:jetpack/story --\x3e\n\n\x3c!-- wp:jetpack/story --\x3e\n
    \n\x3c!-- /wp:jetpack/story --\x3e\n\n\x3c!-- wp:jetpack/story {\"mediaFiles\":[]}} --\x3e\n
    \n\x3c!-- /wp:jetpack/story --\x3e\n"},2831,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]);(0,n.addFilter)('native.missing_block_detail','native/missing_block',function(n){var c=(0,t.select)('core/block-editor').getSettings,s=!0===c('capabilities').unsupportedBlockEditor,l=!0===c('capabilities').canEnableUnsupportedBlockEditor,b=(0,o.__)('You can edit this block using the web version of the editor.');return!1===s&&l?b+'\n\n'+(0,o.__)('Note: You must allow WordPress.com login to edit this block in the mobile editor.'):s?b:n}),(0,n.addFilter)('native.missing_block_action_button','native/missing_block',function(n){var c=(0,t.select)('core/block-editor').getSettings,s=!0===c('capabilities').unsupportedBlockEditor,l=!0===c('capabilities').canEnableUnsupportedBlockEditor;return!1===s&&l?(0,o.__)('Open Jetpack Security settings'):n})},2832,[1076,1027,4]); __r(107); __r(0); //# sourceMappingURL=App.js.map \ No newline at end of file diff --git a/bundle/ios/App.js.map b/bundle/ios/App.js.map index 9258713d5f..0bde0c162f 100644 --- a/bundle/ios/App.js.map +++ b/bundle/ios/App.js.map @@ -1 +1 @@ -{"version":3,"sources":["__prelude__","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/metro/src/lib/polyfills/require.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/polyfills/console.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/polyfills/error-guard.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/polyfills/Object.es7.js","/Users/fluiddot/workspace/gutenberg-mobile/index.js","/Users/fluiddot/workspace/gutenberg-mobile/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/defineProperty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createHooks.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/classCallCheck.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createAddHook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/validateNamespace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/validateHookName.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createRemoveHook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createHasHook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createRunHook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createCurrentHook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createDoingHook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/hooks/src/createDidHook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/extends.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/react-native/react-native-implementation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/invariant/browser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/warnOnce.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/warning.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/emptyFunction.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/interopRequireWildcard.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/typeof.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/TurboModule/TurboModuleRegistry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/slicedToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/arrayWithHoles.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/nonIterableRest.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BatchedBridge/BatchedBridge.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/createClass.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/core/ErrorUtils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Performance/Systrace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/stringifySafe.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/defineLazyObjectProperty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Promise.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/promise/setimmediate/es6-extensions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/promise/setimmediate/core.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/promise/setimmediate/done.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/promise/setimmediate/finally.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/RCTDeviceEventEmitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/get.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/superPropBase.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/getPrototypeOf.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/inherits.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/setPrototypeOf.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/assertThisInitialized.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/EmitterSubscription.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/EventSubscription.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/EventSubscriptionVendor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/defineProperty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/Platform.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/NativePlatformConstantsIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react/cjs/react.production.min.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/object-assign/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/StyleSheet.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/PixelRatio.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/Dimensions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/NativeDeviceInfo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeStyleAttributes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedImageStylePropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedColorPropType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Color/normalizeColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedLayoutPropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/prop-types/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/prop-types/factoryWithThrowingShims.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/prop-types/lib/ReactPropTypesSecret.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedShadowPropTypesIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTransformPropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/deprecatedPropType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/UIManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/DummyUIManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/PaperUIManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/NativeUIManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/UIManagerProperties.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTextStylePropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/processColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/processTransform.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/MatrixMath.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/sizesDiffer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/StyleSheetValidation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/flattenStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/View.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/ReactNative.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/InitializeCore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpGlobals.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpSystrace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpErrorHandling.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/ExceptionsManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/wrapNativeSuper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/isNativeFunction.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/construct.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/NativeExceptionsManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Devtools/parseErrorStack.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/stacktrace-parser/dist/stack-trace-parser.umd.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/polyfillPromise.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/PolyfillFunctions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpRegeneratorRuntime.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/regenerator-runtime/runtime.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpTimers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Timers/JSTimers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Timers/NativeTiming.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/performanceNow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/performance.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/ExecutionEnvironment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpXHR.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/XMLHttpRequest.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/BlobManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/NativeBlobModule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/Blob.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/BlobRegistry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/event-target-shim/dist/event-target-shim.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/RCTNetworking.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/NativeNetworkingIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/convertRequestBody.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/binaryToBase64.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/base64-js/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/FormData.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/fetch.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/whatwg-fetch/dist/fetch.umd.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/WebSocket/WebSocket.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/WebSocket/NativeWebSocketModule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/WebSocket/WebSocketEvent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/File.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/FileReader.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/NativeFileReaderModule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/URL.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/abort-controller/dist/abort-controller.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpAlert.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Alert/Alert.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Alert/RCTAlertManager.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Alert/NativeAlertManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpNavigator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpBatchedBridge.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/HeapCapture/HeapCapture.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/HeapCapture/NativeHeapCapture.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Performance/SamplingProfiler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Performance/NativeJSCSamplingProfiler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/RCTLog.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/GlobalPerformanceLogger.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/createPerformanceLogger.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/infoLog.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/JSDevSupportModule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/NativeJSDevSupport.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/HMRClientProdShim.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpSegmentFetcher.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInterface.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/RCTEventEmitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/TextInputState.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/deepDiffer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/ReactFiberErrorDialog.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/scheduler/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/scheduler/cjs/scheduler.production.min.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeViewViewConfigAndroid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/registerGeneratedViewConfig.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/verifyComponentAttributeEquivalence.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeViewViewConfig.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/insetsDiffer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/matricesDiffer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/getNativeComponentAttributes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/pointsDiffer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/processColorArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/resolveAssetSource.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/AssetRegistry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/AssetSourceResolver.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/assetPathUtils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeModules/specs/NativeSourceCode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/requireNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/createReactNativeComponentClass.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/codegenNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ART/ReactNativeART.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/art/core/color.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ART/ARTSerializablePath.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/art/core/class.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/art/core/path.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/art/core/transform.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeViewAttributes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/core/merge.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/core/mergeInto.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/core/mergeHelpers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Button.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Text/Text.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedStyleSheetPropType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/deprecatedCreateStrictShapeTypeChecker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Text/TextAncestor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/Touchable.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/BoundingDimensions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/PooledClass.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/Position.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AppleTV/TVEventHandler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AppleTV/NativeTVNavigationEventEmitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/keyMirror.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/invariant.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/nullthrows/nullthrows.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableOpacity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/Animated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/AnimatedMock.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/AnimatedEvent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedValue.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedInterpolation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedNode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/NativeAnimatedHelper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/NativeAnimatedModule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedWithChildren.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/InteractionManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/TaskQueue.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedAddition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedDiffClamp.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedDivision.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedModulo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedMultiplication.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedProps.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedTransform.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedSubtraction.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedTracking.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedValueXY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/animations/DecayAnimation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/animations/Animation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/animations/SpringAnimation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/SpringConfig.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/animations/TimingAnimation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/Easing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/bezier.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/createAnimatedComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/components/AnimatedFlatList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/FlatList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/VirtualizedList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/Batchinator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/FillRateHelper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/RefreshControl/RefreshControl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollResponder.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/FrameRateLogger.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/NativeFrameRateLogger.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Keyboard/Keyboard.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Keyboard/NativeKeyboardObserver.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/LayoutAnimation/LayoutAnimation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/dismissKeyboard.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewStickyHeader.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/processDecelerationRate.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/splitLayoutProps.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/ViewabilityHelper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/VirtualizeUtils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/components/AnimatedImage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/Image.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/regenerator/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedImagePropType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedImageSourcePropType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/components/AnimatedScrollView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/components/AnimatedSectionList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/SectionList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/VirtualizedSectionList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/components/AnimatedText.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/src/components/AnimatedView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/NativeMethodsMixin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableWithoutFeedback.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/create-react-class/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/create-react-class/factory.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/fbjs/lib/emptyObject.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/fbjs/lib/invariant.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/ensurePositiveDelayProps.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedViewAccessibility.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/CheckBox/CheckBox.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/UnimplementedViews/UnimplementedView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DatePicker/DatePickerIOS.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DatePicker/RCTDatePickerNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/ImageBackground.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/InputAccessoryView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/MaskedView/MaskedViewIOS.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/MaskedView/RCTMaskedViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Modal/Modal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Modal/NativeModalManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Modal/RCTModalHostViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/AppContainer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/RootTagContext.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/I18nManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/NativeI18nManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Picker/Picker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Picker/PickerAndroid.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Picker/PickerIOS.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Picker/RCTPickerNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ProgressViewIOS/RCTProgressViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SafeAreaView/SafeAreaView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SegmentedControlIOS/RCTSegmentedControlNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Slider/Slider.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Slider/SliderNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Switch/Switch.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Switch/SwitchNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Switch/AndroidSwitchNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/StatusBar/StatusBar.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/TextInput.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/PlatformViewPropTypes.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/document/selection/DocumentSelectionState.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/mixInEventEmitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/EventEmitterWithHolding.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/EventHolder.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/fbjs/lib/keyOf.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ActionSheetIOS/NativeActionSheetManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/AppRegistry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/HeadlessJsTaskError.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BugReporting/BugReporting.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BugReporting/NativeBugReporting.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeModules/specs/NativeRedBox.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BugReporting/dumpReactTree.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/SceneTracker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/renderApplication.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/PerformanceLoggerContext.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/ReactFabricIndicator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/BackHandler.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/ReactFabric.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/AppState/AppState.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/AppState/NativeAppState.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/logError.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Storage/AsyncStorage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Storage/NativeAsyncStorage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Clipboard/Clipboard.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Clipboard/NativeClipboard.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/DeviceInfo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/ImagePickerIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/NativeImagePickerIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Linking/Linking.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Linking/NativeLinking.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/PanResponder.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/TouchHistoryMath.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PermissionsAndroid/NativePermissionsAndroid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PushNotificationIOS/PushNotificationIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Settings/Settings.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Settings/NativeSettingsManager.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Share/Share.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Share/NativeShareModule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/StatusBar/StatusBarIOS.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TimePickerAndroid/TimePickerAndroid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TimePickerAndroid/NativeTimePickerAndroid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ToastAndroid/ToastAndroid.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/useWindowDimensions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/UTFSequence.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Vibration/Vibration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Vibration/NativeVibration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/YellowBox/YellowBox.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedPointPropType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/src/globals.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-get-random-values/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/fast-base64-decode/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/url/url.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/punycode/punycode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/querystring/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/querystring/decode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/querystring/encode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/path-browserify/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/Parser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/Tokenizer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/lib/decode_codepoint.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/maps/decode.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/maps/entities.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/maps/legacy.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/maps/xml.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/inherits/inherits_browser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/eventemitter2/lib/eventemitter2.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domhandler/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domelementtype/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domhandler/lib/node.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domhandler/lib/element.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/FeedHandler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/ProxyHandler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domutils/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domutils/lib/stringify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/dom-serializer/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/dom-serializer/node_modules/domelementtype/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/lib/encode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/entities/lib/decode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domutils/lib/traversal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domutils/lib/manipulation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domutils/lib/querying.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domutils/lib/legacy.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/domutils/lib/helpers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/CollectingHandler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/nwmatcher/src/nwmatcher-noqsa.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSStyleDeclaration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/parse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSStyleSheet.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/StyleSheet.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSStyleRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSImportRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/MediaList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSMediaRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSFontFaceRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSKeyframeRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSKeyframesRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSValueExpression.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSValue.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSDocumentRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/MatcherList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/clone.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/CSSStyleDeclaration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/parsers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/alignmentBaseline.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/azimuth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/background.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundImage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundRepeat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundAttachment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundPosition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundClip.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundOrigin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundPositionX.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundPositionY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundRepeatX.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundRepeatY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundSize.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/baselineShift.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/border.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomLeftRadius.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomRightRadius.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderCollapse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageOutset.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageRepeat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageSlice.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageSource.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeft.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeftWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeftStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeftColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRadius.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRightWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRightStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRightColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderSpacing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTop.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopLeftRadius.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopRightRadius.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/bottom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/boxShadow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/boxSizing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/captionSide.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/clear.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/clip.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/color.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorInterpolation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorInterpolationFilters.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorProfile.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorRendering.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/content.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/counterIncrement.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/counterReset.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cssFloat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cue.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cueAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cueBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cursor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/direction.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/display.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/dominantBaseline.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/elevation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/emptyCells.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/enableBackground.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fill.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fillOpacity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fillRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/filter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/floodColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/floodOpacity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/font.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontFamily.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontSize.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontVariant.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontWeight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/lineHeight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontSizeAdjust.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontStretch.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/glyphOrientationHorizontal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/glyphOrientationVertical.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/height.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/imageRendering.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/kerning.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/letterSpacing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/lightingColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStyleImage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStylePosition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStyleType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/margin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginBottom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginLeft.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginRight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginTop.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerEnd.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerMid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerOffset.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerStart.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marks.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/mask.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/maxHeight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/maxWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/minHeight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/minWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/opacity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/orphans.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outline.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineOffset.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/overflow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/overflowX.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/overflowY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/padding.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingBottom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingLeft.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingRight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingTop.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/page.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pageBreakAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pageBreakBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pageBreakInside.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pause.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pauseAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pauseBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pitch.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pitchRange.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/playDuring.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pointerEvents.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/position.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/quotes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/resize.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/richness.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/shapeRendering.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/size.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speak.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speakHeader.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speakNumeral.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speakPunctuation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speechRate.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/src.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stopColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stopOpacity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stress.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stroke.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeDasharray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeDashoffset.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeLinecap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeLinejoin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeMiterlimit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeOpacity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/tableLayout.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textAlign.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textAnchor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textDecoration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textIndent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThrough.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverflow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverline.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textRendering.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textShadow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textTransform.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderline.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/top.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/unicodeBidi.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/unicodeRange.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/vectorEffect.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/verticalAlign.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/visibility.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/voiceFamily.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/volume.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationDelay.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationDirection.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationDuration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationFillMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationIterationCount.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationName.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationPlayState.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationTimingFunction.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAppearance.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAspectRatio.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackfaceVisibility.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundClip.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundComposite.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundOrigin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundSize.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfterColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfterStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfterWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBeforeColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBeforeStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBeforeWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEnd.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEndColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEndStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEndWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderFit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderHorizontalSpacing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderImage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderRadius.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStart.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStartColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStartStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStartWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderVerticalSpacing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxAlign.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxDirection.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxFlex.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxFlexGroup.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxLines.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxOrdinalGroup.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxOrient.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxPack.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxReflect.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxShadow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColorCorrection.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnAxis.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnBreakAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnBreakBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnBreakInside.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnCount.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnGap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRuleColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRuleStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRuleWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnSpan.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumns.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFilter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexAlign.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexDirection.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexFlow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexItemAlign.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexLinePack.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexOrder.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexPack.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexWrap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlowFrom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlowInto.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontFeatureSettings.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontKerning.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontSizeDelta.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontSmoothing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontVariantLigatures.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHighlight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateCharacter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateLimitAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateLimitBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateLimitLines.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphens.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineAlign.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineBoxContain.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineBreak.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineClamp.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineGrid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineSnap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLocale.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLogicalHeight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLogicalWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginAfterCollapse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginBeforeCollapse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginBottomCollapse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginCollapse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginEnd.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginStart.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginTopCollapse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarquee.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeDirection.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeIncrement.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeRepetition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeSpeed.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMask.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskAttachment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageOutset.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageRepeat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageSlice.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageSource.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskClip.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskComposite.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskImage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskOrigin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskPosition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskPositionX.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskPositionY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskRepeat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskRepeatX.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskRepeatY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskSize.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaxLogicalHeight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaxLogicalWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMinLogicalHeight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMinLogicalWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitNbspMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitOverflowScrolling.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingEnd.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingStart.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspective.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspectiveOrigin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspectiveOriginX.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspectiveOriginY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPrintColorAdjust.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionBreakAfter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionBreakBefore.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionBreakInside.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionOverflow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRtlOrdering.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitSvgShadow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTapHighlightColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextCombine.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextDecorationsInEffect.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasis.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasisColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasisPosition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasisStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextFillColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextOrientation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextSecurity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextSizeAdjust.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextStroke.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextStrokeColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextStrokeWidth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransform.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOrigin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOriginX.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOriginY.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOriginZ.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionDelay.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionDuration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionProperty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionTimingFunction.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitUserDrag.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitUserModify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitUserSelect.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapFlow.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapMargin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapPadding.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapShapeInside.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapShapeOutside.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapThrough.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWritingMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/whiteSpace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/widows.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/width.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/wordBreak.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/wordSpacing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/wordWrap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/writingMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/zIndex.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/zoom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/core.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level2/core.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level1/core.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/xpath.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/html.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level2/html.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/ls.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/htmltodom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/htmlencoding.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/domtohtml.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/selectors/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/auto.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/package.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/js/URL.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/webidl2js-wrapper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URL.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/node_modules/webidl-conversions/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URL-impl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/url-state-machine.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/punycode/punycode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/infra.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/urlencoded.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URLSearchParams.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URLSearchParams-impl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/js/URLSearchParams.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/node_modules/buffer/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/ieee754/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/features/array/flat-map.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/es/array/flat-map.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/modules/es.array.flat-map.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/export.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/global.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-get-own-property-descriptor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/descriptors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/fails.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-property-is-enumerable.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/create-property-descriptor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/to-indexed-object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/indexed-object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/classof-raw.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/require-object-coercible.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/to-primitive.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/is-object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/has.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/ie8-dom-define.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/document-create-element.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/create-non-enumerable-property.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-define-property.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/an-object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/redefine.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/set-global.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/inspect-source.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/shared-store.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/internal-state.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/native-weak-map.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/shared-key.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/shared.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/is-pure.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/uid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/hidden-keys.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/copy-constructor-properties.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/own-keys.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/get-built-in.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/path.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-get-own-property-names.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-keys-internal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/array-includes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/to-length.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/to-integer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/to-absolute-index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/enum-bug-keys.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-get-own-property-symbols.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/is-forced.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/flatten-into-array.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/is-array.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/function-bind-context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/a-function.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/to-object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/array-species-create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/well-known-symbol.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/native-symbol.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/use-symbol-as-uid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/modules/es.array.unscopables.flat-map.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/add-to-unscopables.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-define-properties.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/object-keys.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/html.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/node_modules/core-js/internals/entry-unbind.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-bridge/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/create-interpolate-element.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/slicedToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/arrayWithHoles.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/nonIterableRest.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/react.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/defineProperty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/lodash/lodash.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/react-platform.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/platform.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/serialize.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/extends.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/escape-html/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/escape-html/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/escape-html/src/escape-greater.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/element/src/raw-html.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/src/jsdom-patches.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ar.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/bg.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/bo.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ca.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/cs.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/cy.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/da.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/de.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-au.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-ca.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-gb.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-nz.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-za.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/el.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es-ar.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es-cl.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es-cr.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/fa.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/fr.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/gl.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/he.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/hr.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/hu.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/id.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/is.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/it.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ja.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ka.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ko.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/nb.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/nl.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/nl-be.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/pl.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/pt.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/pt-br.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ro.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ru.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sk.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sq.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sr.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sv.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/th.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/tr.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/uk.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ur.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/vi.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/zh-cn.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/zh-tw.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/src/initial-html.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-editor/src/api-fetch-setup.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/i18n/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/i18n/src/sprintf.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/memize/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/sprintf-js/src/sprintf.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/i18n/src/create-i18n.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/tannin/build/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@tannin/plural-forms/build/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@tannin/compile/build/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@tannin/postfix/build/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@tannin/evaluate/build/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/i18n/src/default-i18n.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/nonce.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/root-url.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/namespace-endpoint.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/preloading.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/fetch-all-middleware.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/is-url.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/is-email.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-protocol.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/is-valid-protocol.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-authority.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/is-valid-authority.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-path.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/is-valid-path.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-query-string.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/build-query-string.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/is-valid-query-string.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-path-and-query-string.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-fragment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/is-valid-fragment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/add-query-args.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-query-args.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/get-query-arg.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/has-query-arg.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/remove-query-args.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/prepend-http.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/safe-decode-uri.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/safe-decode-uri-component.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/filter-url-for-display.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/url/src/clean-for-slug.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/lodash/lodash.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/http-v1.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/user-locale.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/media-upload.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/api-fetch/src/utils/response.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/turbo-combine-reducers/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/default-registry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/registry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/redux-store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/redux/lib/redux.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/symbol-observable/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/symbol-observable/lib/ponyfill.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/equivalent-key-map/equivalent-key-map.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/redux-routine/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/redux-routine/src/is-generator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/redux-routine/src/runtime.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/helpers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/keys.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/controls/builtin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/is.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/controls/async.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/dispatcher.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rungen/dist/controls/wrap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/is-promise/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/redux-routine/src/is-action.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/controls.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/factory.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/promise-middleware.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/resolvers-cache-middleware.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/redux-store/thunk-middleware.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/plugins/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/plugins/controls/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/deprecated/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/plugins/persistence/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/plugins/persistence/storage/default.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/plugins/persistence/storage/object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/with-select/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/utils/create-higher-order-component/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/compose.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/if-condition/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/pure/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/is-shallow-equal/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/is-shallow-equal/src/objects.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/is-shallow-equal/src/arrays.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-global-events/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-global-events/listener.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-instance-id/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-instance-id/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-safe-timeout/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-state/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-constrained-tabbing/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-dragging/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-isomorphic-layout-effect/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-focus-outside/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-keyboard-shortcut/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-media-query/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-reduced-motion/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-viewport-match/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-async-list/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/priority-queue/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/priority-queue/src/request-idle-callback.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-preferred-color-scheme/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-preferred-color-scheme/index.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/event-emitter-wrapper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/event-emitter.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/dark-mode-event-emitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/node_modules/events/events.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/initial-mode-wrapper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/initial-mode.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/native-module.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/dynamic-style-sheet.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/dynamic-value.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/use-dark-mode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/use-dynamic-style-sheet.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-dark-mode/dist/use-dynamic-value.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-preferred-color-scheme-style/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-resize-observer/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-debounce/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/use-memo-one/dist/use-memo-one.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/use-select/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/registry-provider/use-registry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/registry-provider/context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/async-mode-provider/use-async-mode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/async-mode-provider/context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/with-dispatch/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/use-dispatch/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/use-dispatch/use-dispatch.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/use-dispatch/use-dispatch-with-map.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/with-registry/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/registry-provider/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data/src/components/async-mode-provider/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/rememo/rememo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/apply-format.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/normalise-formats.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/is-format-equal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/concat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/create-element.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/special-characters.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-active-format.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-active-formats.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-active-object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-text-content.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/is-list-root-selected.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-line-index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/is-active-list-type.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/is-collapsed.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/is-empty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/join.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/register-format-type.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/remove-format.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/remove.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/insert.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/replace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/insert-line-separator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/remove-line-separator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/insert-object.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/slice.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/split.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/to-dom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/to-tree.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-format-type.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/to-html-string.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/toggle-format.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/unregister-format-type.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/can-indent-list-items.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/can-outdent-list-items.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/indent-list-items.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/outdent-list-items.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-parent-line-index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/get-last-child-index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/change-list-type.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/component/use-anchor-ref.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/component/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-aztec/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/react-native-aztec/src/AztecView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/keycodes/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/keycodes/src/platform.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/store/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/factory.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v1.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/rng-browser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/stringify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/validate.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/regex.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v3.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v35.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/parse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/md5-browser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v4.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v5.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/sha1-browser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/nil.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/uuid/dist/version.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/registration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/icon/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/align-center.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/svg/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/index.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/ReactNativeSVG.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Shape.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/SvgTouchableMixin.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Rect.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractProps.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractFill.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractBrush.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractColor.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractOpacity.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractStroke.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractLengthList.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractTransform.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/Matrix2D.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/transform.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractResponder.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/util.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Circle.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Ellipse.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Polygon.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Path.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractPolyPoints.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Polyline.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Line.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Svg.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractViewBox.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/G.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractText.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Text.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/TSpan.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/TextPath.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Use.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Image.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Symbol.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Defs.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/LinearGradient.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractGradient.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/units.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/RadialGradient.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Stop.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/ClipPath.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Pattern.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Mask.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Marker.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/xml.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/css.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/common/List.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/common/SyntaxError.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/utils/createCustomError.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/common/TokenStream.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/tokenizer/const.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/tokenizer/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/tokenizer/char-code-definitions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/Lexer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/error.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/definition-syntax/generate.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/utils/names.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/generic.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/tokenizer/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/common/adopt-buffer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/generic-an-plus-b.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/generic-urange.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/definition-syntax/parse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/definition-syntax/tokenizer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/definition-syntax/SyntaxError.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/definition-syntax/walk.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/prepare-tokens.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/match-graph.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/match.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/trace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/search.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/lexer/structure.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/definition-syntax/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/parser/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/common/OffsetToLocation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/parser/sequence.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/generator/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/generator/sourceMap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/source-map/lib/source-map-generator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/source-map/lib/base64-vlq.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/source-map/lib/base64.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/source-map/lib/util.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/source-map/lib/array-set.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/source-map/lib/mapping-list.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/convertor/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/walker/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/utils/clone.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/config/mix.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/config/lexer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/dist/default-syntax.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/AnPlusB.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Atrule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Raw.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/AttributeSelector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Block.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Brackets.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/CDC.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/CDO.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/ClassSelector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Combinator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Comment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Declaration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/DeclarationList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Dimension.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Function.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/HexColor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Identifier.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/IdSelector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/MediaFeature.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/MediaQuery.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/MediaQueryList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Nth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Number.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Operator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Parentheses.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Percentage.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Ratio.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Rule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Selector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/SelectorList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/String.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/StyleSheet.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/TypeSelector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/UnicodeRange.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Url.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/Value.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/node/WhiteSpace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/config/parser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/scope/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/scope/default.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/scope/selector.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/scope/value.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/function/element.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/function/expression.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/function/var.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/atrule/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/atrule/font-face.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/atrule/import.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/atrule/media.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/atrule/page.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/atrule/supports.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/dir.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/has.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/lang.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/matches.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/not.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/nth-child.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/common/nth.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/pseudo/slotted.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-tree/lib/syntax/config/walker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/stringify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/traversal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/manipulation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/querying.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/legacy.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/helpers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/boolbase/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/compile.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-what/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-what/lib/parse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-what/lib/stringify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/sort.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/procedure.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/general.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/attributes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/pseudos.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/nth-check/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/nth-check/parse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/nth-check/compile.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/svg/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/horizontal-rule/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-hr/dist/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/horizontal-rule/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/block-quotation/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/block-quotation/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/primitives/src/view/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/align-justify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/align-left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/align-right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/archive.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-down.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-up.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/at-symbol.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/aspect-ratio.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/audio.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/backup.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/block-default.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/block-table.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/box.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/brush.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/button.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/calendar.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/camera.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/cancel-circle-filled.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/capture-photo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/capture-video.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/category.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/chart-bar.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/chart-line.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/check.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-back-ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-down.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-up.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/classic.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/close-circle-filled.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/close.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/close-small.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/cloud-upload.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/cloud.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/code.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/cog.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/column.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/columns.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/comment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/controls-repeat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/cover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/create.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/crop.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/currency-dollar.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/currency-euro.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/currency-pound.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/desktop.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/drag-handle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/download.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/pencil.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/expand.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/external.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/file.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/flip-horizontal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/flip-vertical.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-bold.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-capitalize.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-indent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-indent-rtl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-italic.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-bullets.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-bullets-rtl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-numbered.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-numbered-rtl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-ltr.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-lowercase.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-outdent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-outdent-rtl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-rtl.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-strikethrough.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-underline.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/format-uppercase.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/fullscreen.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/gallery.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/globe.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/grid.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/group.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/handle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/heading.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/help.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/inbox.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/institution.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/home.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/html.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/image.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/info.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/insert-after.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/insert-before.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-center.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-space-between.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/keyboard-close.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/keyboard-return.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/layout.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/lifesaver.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/link.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/link-off.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/list.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/lock.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/loop.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/map-marker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/media.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/media-and-text.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/megaphone.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/menu.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/minus.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/mobile.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/more.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/more-horizontal.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/more-horizontal-mobile.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/more-vertical.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/navigation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/page-break.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/page.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/paragraph.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/payment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/percent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/position-center.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/position-left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/position-right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/people.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/pin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/plugins.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/plus-circle-filled.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/plus-circle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/plus.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-comments.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-comments-count.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-comments-form.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-date.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-excerpt.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-featured-image.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-list.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/post-title.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/preformatted.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/pull-left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/pull-right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/pullquote.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination-next.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination-numbers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination-previous.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/quote.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/receipt.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/redo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/replace.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/resize-corner-n-e.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/reusable-block.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/rotate-left.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/rotate-right.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/rss.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/search.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/separator.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/settings.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/share.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/shortcode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/stack.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/star-empty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/star-filled.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/star-half.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/store.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/stretch-full-width.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/shipping.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/stretch-wide.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/subscript.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/superscript.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/table-column-after.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/table-column-before.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/table-column-delete.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/table-row-after.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/table-row-before.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/table-row-delete.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/table.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/tag.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/footer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/header.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/sidebar.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/text-color.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/tablet.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/title.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/tool.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/trash.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/typography.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/undo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/ungroup.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/update.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/upload.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/verse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/video.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/warning.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/widget.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/icons/src/library/wordpress.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/tinycolor2/tinycolor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/dom/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/dom/src/focusable.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/dom/src/tabbable.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/dom/src/dom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/dom/src/phrasing-content.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/dom/src/data-transfer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/hpq/dist/hpq.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/autop/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-serialization-default-parser/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/validation/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/toArray.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/simple-html-tokenizer/dist/simple-html-tokenizer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/html-entities/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/validation/logger.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/serializer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/block-content-provider/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/matchers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/node.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/children.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/paste-handler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/html-to-blocks.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/get-raw-transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/normalise-blocks.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/special-comment-converter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/comment-remover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/is-inline-content.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/phrasing-content-reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/head-remover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/ms-list-converter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/list-reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/image-corrector.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/blockquote-normaliser.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/figure-content-reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/shortcode-converter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/shortcode/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/markdown-converter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/showdown/dist/showdown.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/iframe-remover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/google-docs-uid-remover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/html-formatting-remover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/br-remover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/empty-paragraph-remover.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/categories.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blocks/src/api/templates.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/component/use-format-types.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/component/format-edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/component/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/rich-text/src/component/toolbar-button-with-options.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/color-indicator/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/color-indicator/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/utils.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/color-palette/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/color-palette/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/color-picker/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/HsvColorPicker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/HuePicker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-linear-gradient/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-linear-gradient/index.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-linear-gradient/common.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-linear-gradient/index.android.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/SaturationValuePicker.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/color-picker/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/dashicon/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/dropdown/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/dropdown-menu/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/classnames/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/button/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/tooltip/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/icon/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-button/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-item/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/warning/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-context/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-button/toolbar-button-container.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/toolbar-group-container.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/toolbar-group-collapsed.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toolbar/toolbar-container.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/spinner/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/spinner/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/slot.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot-fill-provider.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot-fill-context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/fill.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/bubbles-virtually/slot.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/bubbles-virtually/fill.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/bubbles-virtually/use-slot.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/base-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/textarea-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/panel/body.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/panel/body.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/panel/bottom-separator-cover.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/panel/bottom-separator-cover.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/panel/actions.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/panel/actions.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/text/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/native/dist/native.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/dist/primitives-core.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/css-to-react-native/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/postcss-value-parser/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/postcss-value-parser/lib/parse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/postcss-value-parser/lib/walk.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/postcss-value-parser/lib/stringify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/postcss-value-parser/lib/unit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/css-color-keywords/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/css-color-keywords/colors.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/camelize/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/core/dist/core.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/inheritsLoose.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/dist/cache.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/sheet/dist/sheet.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/stylis/dist/stylis.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/core/dist/emotion-element-8aec08a7.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/core/node_modules/@emotion/utils/dist/utils.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/serialize/dist/serialize.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/hash.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/unitless.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/serialize/node_modules/@emotion/memoize/dist/memoize.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@emotion/css/dist/css.browser.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/text/styles/text-mixins.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/text/styles/font-family.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/text/styles/emotion-css.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/utils/colors-values.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/utils/colors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/external-link/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/text-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/ripple.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/ripple.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cellStyles.ios.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cellStyles.android.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/toggle-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/switch-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/select-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/picker-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/picker/index.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/range-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/range-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-native-community/slider/src/js/Slider.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-native-community/slider/src/js/RNCSliderNativeComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/range-cell.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/range-text-input.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/utils/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/borderStyles.ios.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/borderStyles.android.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/stepper-cell/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/stepper-cell/stepper.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/stepper-cell/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/resizable-box/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/resizable-box/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/footer-message-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/footer-message-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/color-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/color-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/query-controls/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/query-controls/category-select.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/query-controls/terms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/tree-select/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/notice/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-native-community/blur/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-native-community/blur/src/BlurView.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-native-community/blur/src/VibrancyView.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/notice/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/notice/list.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/radio-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/radio-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/unit-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/unit-control/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/unit-control/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/disabled/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-constrained-tabbing/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-fallback-styles/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-filters/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-focus-outside/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-focus-return/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-notices/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-spoken-messages/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/a11y/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/a11y/src/filter-message.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-modal/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/createAnimatableComponent.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/wrapStyleTransforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/getStyleValues.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/flattenStyle.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/getDefaultStyleValue.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/createAnimation.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/registry.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/easing.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/attention-seekers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/bouncing-entrances.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/bouncing-exits.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/fading-entrances.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/fading-exits.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/flippers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/lightspeed.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/sliding-entrances.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/sliding-exits.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/zooming-entrances.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/zooming-exits.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-modal/src/animations.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-modal/src/index.style.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/SafeArea.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/withSafeArea.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/TypeDefinition.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/button.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cycle-picker-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/link-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/link-suggestion-item-cell.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/link-suggestion-styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/gridicons/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/index.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/index.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/index.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/CommonActions.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/BaseRouter.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/nanoid/non-secure/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/StackRouter.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/TabRouter.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/DrawerRouter.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/types.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/BaseNavigationContainer.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/EnsureSingleNavigator.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationBuilderContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationStateContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/UnhandledActionContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useScheduleUpdate.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useChildListeners.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useKeyedChildListeners.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOptionsGetters.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useEventEmitter.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useSyncState.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/checkSerializable.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/createNavigatorFactory.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/Screen.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationHelpersContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationRouteContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/CurrentRenderContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationBuilder.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/react-is/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/react-is/cjs/react-is.production.min.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useRegisterNavigator.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useDescriptors.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/SceneView.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/StaticContainer.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationCache.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationHelpers.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/types.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnAction.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnPreventRemove.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useFocusEvents.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnRouteFocus.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useFocusedListenersChildrenAdapter.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnGetState.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/isArrayEqual.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useCurrentRender.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigation.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useRoute.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useFocusEffect.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useIsFocused.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/use-subscription/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/use-subscription/cjs/use-subscription.production.min.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationState.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getStateFromPath.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/escape-string-regexp/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/query-string/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/strict-uri-encode/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/decode-uri-component/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/split-on-first/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/checkLegacyPathConfig.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getPathFromState.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getActionFromState.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getFocusedRouteNameFromRoute.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/NavigationContainer.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/ThemeProvider.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/ThemeContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/DefaultTheme.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/LinkingContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useThenable.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinking.native.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useDocumentTitle.native.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useBackButton.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useScrollToTop.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/DarkTheme.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/useTheme.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/Link.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinkProps.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinkTo.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinkBuilder.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/ServerContainer.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/ServerContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/types.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/index.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/CardStyleInterpolators.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-iphone-x-helper/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/conditional.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/HeaderStyleInterpolators.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/TransitionSpecs.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/TransitionPresets.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/index.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/NativeSafeAreaProvider.native.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/SafeAreaView.native.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/InitialWindow.native.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/SafeArea.types.ts","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/GestureHandler.native.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/Swipeable.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/GestureHandler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/createNativeWrapper.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/NativeViewGestureHandler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/createHandler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/fbjs/lib/areEqual.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/RNGestureHandlerModule.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/State.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/GestureHandlerPropTypes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/Directions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/gestureHandlerRootHOC.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/GestureHandlerRootView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/GestureButtons.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/GestureHandlerButton.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/GestureComponents.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/Gestures.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/PlatformConstants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/DrawerLayout.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/touchables/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/touchables/TouchableNativeFeedback.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/touchables/TouchableWithoutFeedback.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/touchables/GenericTouchable.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/touchables/TouchableOpacity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/touchables/TouchableHighlight.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/GestureHandlerRefContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Screens.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-screens/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/ReactNativeVersion.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/MaskedView.native.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-native-community/masked-view/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-native-community/masked-view/js/MaskedView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/TouchableItem.native.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/BorderlessButton.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/assets/back-icon.png","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/assets/back-icon-mask.png","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/memoize.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/Card.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/color/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/color-string/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/color-name/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/simple-swizzle/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/simple-swizzle/node_modules/is-arrayish/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/color-convert/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/color-convert/conversions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/color-convert/route.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/CardSheet.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/CardAnimationContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/getDistanceForDirection.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/getInvertedMultiplier.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/HeaderHeightContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/HeaderShownContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/PreviousSceneContext.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/KeyboardManager.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/Header.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/debounce.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/SafeAreaProviderCompat.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/useCardAnimation.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/useHeaderHeight.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/useGestureHandlerRef.tsx","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/layout-animation/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/keyboard-avoiding-view.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-context.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/html-text-input/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/html-text-input/container.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-avoiding-view/index.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-avoiding-view/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/html-text-input/style.ios.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/html-text-input/style.android.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-aware-flat-list/index.ios.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareScrollView.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareFlatList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareSectionList.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/readable-content-view/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/readable-content-view/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/cycle-select-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/gradient/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/gradient-parser/build/node.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/gradient/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/picker-screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/gradient-picker-screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/serializer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/navigation-header.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/palette.screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/segmented-control/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/segmented-control/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/link-picker-results.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/link-picker-screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/link-rel.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/link-settings-screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/link-settings-navigation.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/utils/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/icon-retry.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/image-editing-button.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/media-edit/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/icon-customize.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/inserter-button/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/inserter-button/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/clipboard/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/preview/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/preview/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/audio-player/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-video/Video.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-video/TextTrackType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-video/FilterType.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-video/VideoResizeMode.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/audio-player/styles.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/utils/alignments.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/utils/use-unit-converter-to-mobile.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/global-styles-context/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/global-styles-context/utils.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/align.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/align.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-alignment-toolbar/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/layout.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-context/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-controls/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-display-block-controls/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-edit/context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-edit/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-edit/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-format-controls/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-icon/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-icon/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-vertical-alignment-toolbar/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-vertical-alignment-toolbar/icons.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/with-colors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-editor-feature/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/use-colors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inspector-controls/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/button.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/container.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/container.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/color-panel.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/gradients/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/gradients/use-gradient.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/gradients/with-gradient.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-sizes/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-sizes/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/alignment-toolbar/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/button-block-appender.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/button-block-appender/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/menu.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/insertion-point.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/button-block-appender/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/with-client-id.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/default-block-appender.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/default-block-appender/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/default-block-appender/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/use-nested-settings-update.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/use-inner-block-template-sync.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/get-block-context.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list-appender/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list-appender/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-list-item.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-invalid-warning.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/warning/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/warning/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mobile-toolbar/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mobile-toolbar/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mover/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mover/mover-description.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-list-item.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inspector-advanced-controls/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/line-height-control/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/line-height-control/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/plain-text/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/plain-text/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/autocomplete/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/remove-browser-shortcuts.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/file-paste-handler.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/format-toolbar-container.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/format-toolbar/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/shortcut.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/toolbar-button.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/input-event.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-placeholder/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-placeholder/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-upload/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-upload-progress/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-upload-progress/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-media-update-progress/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-media-update-progress/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/url-input/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-caption/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-caption/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/caption/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/panel-color-settings/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors-gradients/panel-color-gradient-settings.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/video-player/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/video-player/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/video-player/gridicon-play.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-toolbar/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/ungroup-button/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/ungroup-button/icon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-variation-picker/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-variation-picker/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/token-list/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/preview.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/editor-styles/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/traverse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/traverse/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/parse.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/compress.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/compiler.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/identity.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/transforms/url-rewrite.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/transforms/wrap.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/use-block-props/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-wrapper.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-wrapper-elements.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/floating-toolbar/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/floating-toolbar/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/floating-toolbar/nav-up-icon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-selection-button.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-title/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-block-display-information/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/defaults.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/defaults.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/array.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/store/controls.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/subdirectory-icon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-selection-button.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/provider/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/anchor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/custom-class-name.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/generated-class-name.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/style.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/border.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/border-radius.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/color.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/color-panel.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/contrast-checker/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/dom.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/typography.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/text-decoration-and-transform/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/text-decoration.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/text-decoration-control/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/text-transform.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/text-transform-control/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/line-height.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/font-appearance.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-appearance-control/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/font-family.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-family/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/font-size.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/padding.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/spacing-panel-control/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/theme.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/block-variation-transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/data-controls/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/conservative-map-item.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/get-normalized-comma-separable.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/if-matching-action.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/if-not-resolved.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/on-sub-key.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/replace-action.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/utils/with-weak-map-cache.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/get-query-parts.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/entities.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/locks/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/locks/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/locks/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/locks/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/locks/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/batch/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/batch/create-batch.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/batch/default-processor.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/controls.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/name.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/resolvers.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/core-data/src/entity-provider.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/default-formats.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/bold/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/italic/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/link/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal-screens/screens.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal-screens/link-settings-screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/link/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal-screens/link-picker-screen.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/format-library/src/strikethrough/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/store/defaults.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/store/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/components/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/listener.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/if-viewport-matches.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/viewport/src/with-viewport-match.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area-header/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area-toggle/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area-context/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/plugins/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/plugins/src/components/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/plugins/src/components/plugin-area/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/plugins/src/components/plugin-context/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/plugins/src/api/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/interface/src/components/pinned-items/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/utils/meta-boxes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/store/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/editor.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/hooks/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/reducer.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/defaults.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/selectors.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/date/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/moment/moment.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/moment-timezone/moment-timezone.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/moment-timezone/moment-timezone-utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/moment-timezone/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/moment-timezone/data/packed/latest.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/utils/url.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/actions.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/notices/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/notices/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/notices/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/notices/src/store/utils/on-sub-key.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/notices/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/notices/src/store/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/notices/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/utils/notice-builder.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/store/controls.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/autosave-monitor/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/post-title/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/post-title/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-history/redo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-history/undo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/defaultSettings.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/stripTags.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/transposeAstralsToCountableChar.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/stripHTMLEntities.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/stripConnectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/stripRemovables.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/stripHTMLComments.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/stripShortcodes.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/stripSpaces.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/wordcount/src/transposeHTMLEntitiesToCountableChars.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/actions.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/controls.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/reducer.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/selectors.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/components/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/components/reusable-blocks-menu-items/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/with-registry-provider.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/use-block-editor-settings.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/utils/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/utils/media-upload/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/editor/src/components/deprecated.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/layout/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/layout/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/header/header-toolbar/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/header/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/header/header-toolbar/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/visual-editor/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/visual-editor/header.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/edit-post/src/components/visual-editor/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/index.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/image/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/blob/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/heading-level-dropdown.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/heading-level-icon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/heading/shared.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/quote/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/quote/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/quote/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/quote/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/quote/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/quote/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/shared.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/shared-icon.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gallery.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gallery-image.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gallery-button.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gallery-image-style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gallery-styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/tiles.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/tiles-styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/archives/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/archives/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/archives/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/server-side-render/src/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/server-side-render/src/server-side-render.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/audio/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/audio/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/audio/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/audio/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/audio/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/audio/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/audio/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/color-background.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/color-edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/color-props.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/rich-text.ios.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/rich-text.android.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/button/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/calendar/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/calendar/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/calendar/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/categories/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/categories/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/categories/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/code/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/code/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/code/theme.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/code/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/code/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/code/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/code/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/variations.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/utils.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/columnCalculations.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/column/column-preview.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/column/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/columns/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/column/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/column/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/column/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/column/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/column/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/shared.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/overlay-color-settings.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/cover/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/util.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/classnames/dedupe.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-controls.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-loading.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-placeholder.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-preview.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/wp-embed-preview.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/variations.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/icons.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/embed/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/file/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/file/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/file/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/file/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/file/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/file/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/html/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/html/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/html/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/html/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/html/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/media-container.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/media-container-icon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/icon-retry.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/media-container.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-comments/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-comments/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-comments/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/constants.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/list/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/list/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/list/ordered-list-settings.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/list/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/list/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/list/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/missing/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/missing/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/missing/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/missing/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/missing/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/more/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/more/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/more/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/more/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/more/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/more/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/styles.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/shared.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/figure.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/figure.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/blockquote.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/blockquote.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/block/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/block/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/block/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/block/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/block/edit-title.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/rss/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/rss/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/rss/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/search/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/search/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/search/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/search/icons.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/search/variations.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/separator/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/separator/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/separator/separator-settings.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/separator/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/separator/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/separator/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/subhead/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/subhead/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/subhead/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/subhead/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/subhead/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/table/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/table/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/table/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/table/state.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/table/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/table/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/table/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/verse/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/verse/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/verse/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/verse/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/verse/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/verse/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/icon-retry.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/edit-common-settings.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/tracks.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/video/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/tag-cloud/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/tag-cloud/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/tag-cloud/edit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/group/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/group/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/group/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/group/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/group/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/group/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/deprecated.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/transforms.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/content-justification-dropdown.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/save.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/variations.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/social-list.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/variations.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/amazon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/bandcamp.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/behance.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/chain.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/codepen.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/deviantart.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/dribbble.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/dropbox.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/etsy.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/facebook.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/feed.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/fivehundredpx.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/flickr.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/foursquare.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/goodreads.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/google.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/github.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/instagram.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/lastfm.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/linkedin.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/mail.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/mastodon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/meetup.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/medium.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/patreon.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/pinterest.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/pocket.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/reddit.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/skype.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/snapchat.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/soundcloud.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/spotify.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/telegram.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/tiktok.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/tumblr.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/twitch.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/twitter.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/vimeo.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/vk.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/wordpress.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/yelp.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/youtube.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/index.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/block.json","/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/save.js","/Users/fluiddot/workspace/gutenberg-mobile/src/text-font-weight-correct.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/fluiddot/workspace/gutenberg-mobile/node_modules/lodash/lodash.js","/Users/fluiddot/workspace/gutenberg-mobile/src/jetpack-editor-setup.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/get-jetpack-data.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/lodash/lodash.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/editor.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/block-category.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/icons.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/extends.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/classnames/index.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@automattic/color-studio/dist/colors.json","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/icons.scss","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/block-icons.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/site-type-utils.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/editor.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/register-jetpack-block.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/defineProperty.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/index.json","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/get-jetpack-extension-availability.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/index.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/render-material-icon.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/style.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/address/index.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/address/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/classCallCheck.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/createClass.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/assertThisInitialized.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/inherits.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/setPrototypeOf.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/typeof.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/getPrototypeOf.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/address/save.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/email/index.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/email/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/email/save.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/email-validator/index.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/common.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/simple-input.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/phone/index.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/phone/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/phone/save.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/editor.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/index.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/edit.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/slicedToArray.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/arrayWithHoles.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/node_modules/@babel/runtime/helpers/nonIterableRest.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/editor.native.scss","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/story-editing-button.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/icon-customize.native.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/save.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/icon.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/get-category-with-fallbacks.js","/Users/fluiddot/workspace/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/story_example-1.png","/Users/fluiddot/workspace/gutenberg-mobile/src/initial-html.js","/Users/fluiddot/workspace/gutenberg-mobile/src/strings-overrides.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{};process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n *\n * @format\n */\n\"use strict\";\n/* eslint-disable no-bitwise */\n\nglobal.__r = metroRequire;\nglobal.__d = define;\nglobal.__c = clear;\nglobal.__registerSegment = registerSegment;\nvar modules = clear(); // Don't use a Symbol here, it would pull in an extra polyfill with all sorts of\n// additional stuff (e.g. Array.from).\n\nconst EMPTY = {};\nconst _ref = {},\n hasOwnProperty = _ref.hasOwnProperty;\n\nif (__DEV__) {\n global.$RefreshReg$ = () => {};\n\n global.$RefreshSig$ = () => type => type;\n}\n\nfunction clear() {\n modules = Object.create(null); // We return modules here so that we can assign an initial value to modules\n // when defining it. Otherwise, we would have to do \"let modules = null\",\n // which will force us to add \"nullthrows\" everywhere.\n\n return modules;\n}\n\nif (__DEV__) {\n var verboseNamesToModuleIds = Object.create(null);\n var initializingModuleIds = [];\n}\n\nfunction define(factory, moduleId, dependencyMap) {\n if (modules[moduleId] != null) {\n if (__DEV__) {\n // (We take `inverseDependencies` from `arguments` to avoid an unused\n // named parameter in `define` in production.\n const inverseDependencies = arguments[4]; // If the module has already been defined and the define method has been\n // called with inverseDependencies, we can hot reload it.\n\n if (inverseDependencies) {\n global.__accept(moduleId, factory, dependencyMap, inverseDependencies);\n }\n } // prevent repeated calls to `global.nativeRequire` to overwrite modules\n // that are already loaded\n\n return;\n }\n\n const mod = {\n dependencyMap,\n factory,\n hasError: false,\n importedAll: EMPTY,\n importedDefault: EMPTY,\n isInitialized: false,\n publicModule: {\n exports: {}\n }\n };\n modules[moduleId] = mod;\n\n if (__DEV__) {\n // HMR\n mod.hot = createHotReloadingObject(); // DEBUGGABLE MODULES NAMES\n // we take `verboseName` from `arguments` to avoid an unused named parameter\n // in `define` in production.\n\n const verboseName = arguments[3];\n\n if (verboseName) {\n mod.verboseName = verboseName;\n verboseNamesToModuleIds[verboseName] = moduleId;\n }\n }\n}\n\nfunction metroRequire(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n\n if (moduleId == null) {\n throw new Error(`Unknown named module: \"${verboseName}\"`);\n } else {\n console.warn(\n `Requiring module \"${verboseName}\" by name is only supported for ` +\n \"debugging purposes and will BREAK IN PRODUCTION!\"\n );\n }\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (__DEV__) {\n const initializingIndex = initializingModuleIds.indexOf(\n moduleIdReallyIsNumber\n );\n\n if (initializingIndex !== -1) {\n const cycle = initializingModuleIds\n .slice(initializingIndex)\n .map(id => (modules[id] ? modules[id].verboseName : \"[unknown]\")); // We want to show A -> B -> A:\n\n cycle.push(cycle[0]);\n console.warn(\n `Require cycle: ${cycle.join(\" -> \")}\\n\\n` +\n \"Require cycles are allowed, but can result in uninitialized values. \" +\n \"Consider refactoring to remove the need for a cycle.\"\n );\n }\n }\n\n const module = modules[moduleIdReallyIsNumber];\n return module && module.isInitialized\n ? module.publicModule.exports\n : guardedLoadModule(moduleIdReallyIsNumber, module);\n}\n\nfunction metroImportDefault(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedDefault !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedDefault;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n const importedDefault =\n exports && exports.__esModule ? exports.default : exports; // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedDefault = importedDefault);\n}\n\nmetroRequire.importDefault = metroImportDefault;\n\nfunction metroImportAll(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedAll !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedAll;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n let importedAll;\n\n if (exports && exports.__esModule) {\n importedAll = exports;\n } else {\n importedAll = {}; // Refrain from using Object.assign, it has to work in ES3 environments.\n\n if (exports) {\n for (const key in exports) {\n if (hasOwnProperty.call(exports, key)) {\n importedAll[key] = exports[key];\n }\n }\n }\n\n importedAll.default = exports;\n } // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedAll = importedAll);\n}\n\nmetroRequire.importAll = metroImportAll;\nlet inGuard = false;\n\nfunction guardedLoadModule(moduleId, module) {\n if (!inGuard && global.ErrorUtils) {\n inGuard = true;\n let returnValue;\n\n try {\n returnValue = loadModuleImplementation(moduleId, module);\n } catch (e) {\n // TODO: (moti) T48204692 Type this use of ErrorUtils.\n global.ErrorUtils.reportFatalError(e);\n }\n\n inGuard = false;\n return returnValue;\n } else {\n return loadModuleImplementation(moduleId, module);\n }\n}\n\nconst ID_MASK_SHIFT = 16;\nconst LOCAL_ID_MASK = ~0 >>> ID_MASK_SHIFT;\n\nfunction unpackModuleId(moduleId) {\n const segmentId = moduleId >>> ID_MASK_SHIFT;\n const localId = moduleId & LOCAL_ID_MASK;\n return {\n segmentId,\n localId\n };\n}\n\nmetroRequire.unpackModuleId = unpackModuleId;\n\nfunction packModuleId(value) {\n return (value.segmentId << ID_MASK_SHIFT) + value.localId;\n}\n\nmetroRequire.packModuleId = packModuleId;\nconst moduleDefinersBySegmentID = [];\n\nfunction registerSegment(segmentID, moduleDefiner) {\n moduleDefinersBySegmentID[segmentID] = moduleDefiner;\n}\n\nfunction loadModuleImplementation(moduleId, module) {\n if (!module && moduleDefinersBySegmentID.length > 0) {\n const _unpackModuleId = unpackModuleId(moduleId),\n segmentId = _unpackModuleId.segmentId,\n localId = _unpackModuleId.localId;\n\n const definer = moduleDefinersBySegmentID[segmentId];\n\n if (definer != null) {\n definer(localId);\n module = modules[moduleId];\n }\n }\n\n const nativeRequire = global.nativeRequire;\n\n if (!module && nativeRequire) {\n const _unpackModuleId2 = unpackModuleId(moduleId),\n segmentId = _unpackModuleId2.segmentId,\n localId = _unpackModuleId2.localId;\n\n nativeRequire(localId, segmentId);\n module = modules[moduleId];\n }\n\n if (!module) {\n throw unknownModuleError(moduleId);\n }\n\n if (module.hasError) {\n throw moduleThrewError(moduleId, module.error);\n } // `metroRequire` calls into the require polyfill itself are not analyzed and\n // replaced so that they use numeric module IDs.\n // The systrace module will expose itself on the metroRequire function so that\n // it can be used here.\n // TODO(t9759686) Scan polyfills for dependencies, too\n\n if (__DEV__) {\n var Systrace = metroRequire.Systrace,\n Refresh = metroRequire.Refresh;\n } // We must optimistically mark module as initialized before running the\n // factory to keep any require cycles inside the factory from causing an\n // infinite require loop.\n\n module.isInitialized = true;\n const _module = module,\n factory = _module.factory,\n dependencyMap = _module.dependencyMap;\n\n if (__DEV__) {\n initializingModuleIds.push(moduleId);\n }\n\n try {\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.beginEvent(\"JS_require_\" + (module.verboseName || moduleId));\n }\n\n const moduleObject = module.publicModule;\n\n if (__DEV__) {\n moduleObject.hot = module.hot;\n var prevRefreshReg = global.$RefreshReg$;\n var prevRefreshSig = global.$RefreshSig$;\n\n if (Refresh != null) {\n const RefreshRuntime = Refresh;\n\n global.$RefreshReg$ = (type, id) => {\n RefreshRuntime.register(type, moduleId + \" \" + id);\n };\n\n global.$RefreshSig$ =\n RefreshRuntime.createSignatureFunctionForTransform;\n }\n }\n\n moduleObject.id = moduleId; // keep args in sync with with defineModuleCode in\n // metro/src/Resolver/index.js\n // and metro/src/ModuleGraph/worker.js\n\n factory(\n global,\n metroRequire,\n metroImportDefault,\n metroImportAll,\n moduleObject,\n moduleObject.exports,\n dependencyMap\n ); // avoid removing factory in DEV mode as it breaks HMR\n\n if (!__DEV__) {\n // $FlowFixMe: This is only sound because we never access `factory` again\n module.factory = undefined;\n module.dependencyMap = undefined;\n }\n\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.endEvent();\n\n if (Refresh != null) {\n registerExportsForReactRefresh(Refresh, moduleObject.exports, moduleId);\n }\n }\n\n return moduleObject.exports;\n } catch (e) {\n module.hasError = true;\n module.error = e;\n module.isInitialized = false;\n module.publicModule.exports = undefined;\n throw e;\n } finally {\n if (__DEV__) {\n if (initializingModuleIds.pop() !== moduleId) {\n throw new Error(\n \"initializingModuleIds is corrupt; something is terribly wrong\"\n );\n }\n\n global.$RefreshReg$ = prevRefreshReg;\n global.$RefreshSig$ = prevRefreshSig;\n }\n }\n}\n\nfunction unknownModuleError(id) {\n let message = 'Requiring unknown module \"' + id + '\".';\n\n if (__DEV__) {\n message +=\n \" If you are sure the module exists, try restarting Metro. \" +\n \"You may also want to run `yarn` or `npm install`.\";\n }\n\n return Error(message);\n}\n\nfunction moduleThrewError(id, error) {\n const displayName = (__DEV__ && modules[id] && modules[id].verboseName) || id;\n return Error(\n 'Requiring module \"' + displayName + '\", which threw an exception: ' + error\n );\n}\n\nif (__DEV__) {\n metroRequire.Systrace = {\n beginEvent: () => {},\n endEvent: () => {}\n };\n\n metroRequire.getModules = () => {\n return modules;\n }; // HOT MODULE RELOADING\n\n var createHotReloadingObject = function() {\n const hot = {\n _acceptCallback: null,\n _disposeCallback: null,\n _didAccept: false,\n accept: callback => {\n hot._didAccept = true;\n hot._acceptCallback = callback;\n },\n dispose: callback => {\n hot._disposeCallback = callback;\n }\n };\n return hot;\n };\n\n let reactRefreshTimeout = null;\n\n const metroHotUpdateModule = function(\n id,\n factory,\n dependencyMap,\n inverseDependencies\n ) {\n const mod = modules[id];\n\n if (!mod) {\n if (factory) {\n // New modules are going to be handled by the define() method.\n return;\n }\n\n throw unknownModuleError(id);\n }\n\n if (!mod.hasError && !mod.isInitialized) {\n // The module hasn't actually been executed yet,\n // so we can always safely replace it.\n mod.factory = factory;\n mod.dependencyMap = dependencyMap;\n return;\n }\n\n const Refresh = metroRequire.Refresh;\n const pendingModuleIDs = [id];\n const updatedModuleIDs = [];\n const seenModuleIDs = new Set();\n const refreshBoundaryIDs = new Set(); // In this loop, we will traverse the dependency tree upwards from the\n // changed module. Updates \"bubble\" up to the closest accepted parent.\n //\n // If we reach the module root and nothing along the way accepted the update,\n // we know hot reload is going to fail. In that case we return false.\n //\n // The main purpose of this loop is to figure out whether it's safe to apply\n // a hot update. It is only safe when the update was accepted somewhere\n // along the way upwards for each of its parent dependency module chains.\n //\n // If we didn't have this check, we'd risk re-evaluating modules that\n // have side effects and lead to confusing and meaningless crashes.\n\n while (pendingModuleIDs.length > 0) {\n const pendingID = pendingModuleIDs.pop(); // Don't process twice if we have a cycle.\n\n if (seenModuleIDs.has(pendingID)) {\n continue;\n }\n\n seenModuleIDs.add(pendingID); // If the module accepts itself, no need to bubble.\n // We can stop worrying about this module chain and pick the next one.\n\n const pendingModule = modules[pendingID];\n\n if (pendingModule != null) {\n const pendingHot = pendingModule.hot;\n\n if (pendingHot == null) {\n throw new Error(\n \"[Refresh] Expected module.hot to always exist in DEV.\"\n );\n } // A module can be accepted manually from within itself.\n\n let canAccept = pendingHot._didAccept;\n\n if (!canAccept && Refresh != null) {\n // Or React Refresh may mark it accepted based on exports.\n const isBoundary = isReactRefreshBoundary(\n Refresh,\n pendingModule.publicModule.exports\n );\n\n if (isBoundary) {\n canAccept = true;\n refreshBoundaryIDs.add(pendingID);\n }\n }\n\n if (canAccept) {\n updatedModuleIDs.push(pendingID);\n continue;\n }\n } // If we bubble through the roof, there is no way to do a hot update.\n // Bail out altogether. This is the failure case.\n\n const parentIDs = inverseDependencies[pendingID];\n\n if (parentIDs.length === 0) {\n // Reload the app because the hot reload can't succeed.\n // This should work both on web and React Native.\n performFullRefresh();\n return;\n } // This module didn't accept but maybe all its parents did?\n // Put them all in the queue to run the same set of checks.\n\n updatedModuleIDs.push(pendingID);\n parentIDs.forEach(parentID => pendingModuleIDs.push(parentID));\n } // If we reached here, it is likely that hot reload will be successful.\n // Run the actual factories.\n\n seenModuleIDs.clear();\n\n for (let i = 0; i < updatedModuleIDs.length; i++) {\n // Don't process twice if we have a cycle.\n const updatedID = updatedModuleIDs[i];\n\n if (seenModuleIDs.has(updatedID)) {\n continue;\n }\n\n seenModuleIDs.add(updatedID);\n const mod = modules[updatedID];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the updated module.\");\n }\n\n const prevExports = mod.publicModule.exports;\n const didError = runUpdatedModule(\n updatedID,\n updatedID === id ? factory : undefined,\n updatedID === id ? dependencyMap : undefined\n );\n const nextExports = mod.publicModule.exports;\n\n if (didError) {\n // The user was shown a redbox about module initialization.\n // There's nothing for us to do here until it's fixed.\n return;\n }\n\n if (refreshBoundaryIDs.has(updatedID)) {\n // Since we just executed the code for it, it's possible\n // that the new exports make it ineligible for being a boundary.\n const isNoLongerABoundary = !isReactRefreshBoundary(\n Refresh,\n nextExports\n ); // It can also become ineligible if its exports are incompatible\n // with the previous exports.\n // For example, if you add/remove/change exports, we'll want\n // to re-execute the importing modules, and force those components\n // to re-render. Similarly, if you convert a class component\n // to a function, we want to invalidate the boundary.\n\n const didInvalidate = shouldInvalidateReactRefreshBoundary(\n Refresh,\n prevExports,\n nextExports\n );\n\n if (isNoLongerABoundary || didInvalidate) {\n // We'll be conservative. The only case in which we won't do a full\n // reload is if all parent modules are also refresh boundaries.\n // In that case we'll add them to the current queue.\n const parentIDs = inverseDependencies[updatedID];\n\n if (parentIDs.length === 0) {\n // Looks like we bubbled to the root. Can't recover from that.\n performFullRefresh();\n return;\n } // Schedule all parent refresh boundaries to re-run in this loop.\n\n for (let j = 0; j < parentIDs.length; j++) {\n const parentID = parentIDs[j];\n const parentMod = modules[parentID];\n\n if (parentMod == null) {\n throw new Error(\"[Refresh] Expected to find parent module.\");\n }\n\n const canAcceptParent = isReactRefreshBoundary(\n Refresh,\n parentMod.publicModule.exports\n );\n\n if (canAcceptParent) {\n // All parents will have to re-run too.\n refreshBoundaryIDs.add(parentID);\n updatedModuleIDs.push(parentID);\n } else {\n performFullRefresh();\n return;\n }\n }\n }\n }\n }\n\n if (Refresh != null) {\n // Debounce a little in case there are multiple updates queued up.\n // This is also useful because __accept may be called multiple times.\n if (reactRefreshTimeout == null) {\n reactRefreshTimeout = setTimeout(() => {\n reactRefreshTimeout = null; // Update React components.\n\n Refresh.performReactRefresh();\n }, 30);\n }\n }\n };\n\n const runUpdatedModule = function(id, factory, dependencyMap) {\n const mod = modules[id];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the module.\");\n }\n\n const hot = mod.hot;\n\n if (!hot) {\n throw new Error(\"[Refresh] Expected module.hot to always exist in DEV.\");\n }\n\n if (hot._disposeCallback) {\n try {\n hot._disposeCallback();\n } catch (error) {\n console.error(\n `Error while calling dispose handler for module ${id}: `,\n error\n );\n }\n }\n\n if (factory) {\n mod.factory = factory;\n }\n\n if (dependencyMap) {\n mod.dependencyMap = dependencyMap;\n }\n\n mod.hasError = false;\n mod.error = undefined;\n mod.importedAll = EMPTY;\n mod.importedDefault = EMPTY;\n mod.isInitialized = false;\n const prevExports = mod.publicModule.exports;\n mod.publicModule.exports = {};\n hot._didAccept = false;\n hot._acceptCallback = null;\n hot._disposeCallback = null;\n metroRequire(id);\n\n if (mod.hasError) {\n // This error has already been reported via a redbox.\n // We know it's likely a typo or some mistake that was just introduced.\n // Our goal now is to keep the rest of the application working so that by\n // the time user fixes the error, the app isn't completely destroyed\n // underneath the redbox. So we'll revert the module object to the last\n // successful export and stop propagating this update.\n mod.hasError = false;\n mod.isInitialized = true;\n mod.error = null;\n mod.publicModule.exports = prevExports; // We errored. Stop the update.\n\n return true;\n }\n\n if (hot._acceptCallback) {\n try {\n hot._acceptCallback();\n } catch (error) {\n console.error(\n `Error while calling accept handler for module ${id}: `,\n error\n );\n }\n } // No error.\n\n return false;\n };\n\n const performFullRefresh = () => {\n /* global window */\n if (\n typeof window !== \"undefined\" &&\n window.location != null &&\n typeof window.location.reload === \"function\"\n ) {\n window.location.reload();\n } else {\n // This is attached in setUpDeveloperTools.\n const Refresh = metroRequire.Refresh;\n\n if (Refresh != null) {\n Refresh.performFullRefresh();\n } else {\n console.warn(\"Could not reload the application after an edit.\");\n }\n }\n }; // Modules that only export components become React Refresh boundaries.\n\n var isReactRefreshBoundary = function(Refresh, moduleExports) {\n if (Refresh.isLikelyComponentType(moduleExports)) {\n return true;\n }\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n return false;\n }\n\n let hasExports = false;\n let areAllExportsComponents = true;\n\n for (const key in moduleExports) {\n hasExports = true;\n\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n return false;\n }\n\n const exportValue = moduleExports[key];\n\n if (!Refresh.isLikelyComponentType(exportValue)) {\n areAllExportsComponents = false;\n }\n }\n\n return hasExports && areAllExportsComponents;\n };\n\n var shouldInvalidateReactRefreshBoundary = (\n Refresh,\n prevExports,\n nextExports\n ) => {\n const prevSignature = getRefreshBoundarySignature(Refresh, prevExports);\n const nextSignature = getRefreshBoundarySignature(Refresh, nextExports);\n\n if (prevSignature.length !== nextSignature.length) {\n return true;\n }\n\n for (let i = 0; i < nextSignature.length; i++) {\n if (prevSignature[i] !== nextSignature[i]) {\n return true;\n }\n }\n\n return false;\n }; // When this signature changes, it's unsafe to stop at this refresh boundary.\n\n var getRefreshBoundarySignature = (Refresh, moduleExports) => {\n const signature = [];\n signature.push(Refresh.getFamilyByType(moduleExports));\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return signature;\n }\n\n for (const key in moduleExports) {\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n continue;\n }\n\n const exportValue = moduleExports[key];\n signature.push(key);\n signature.push(Refresh.getFamilyByType(exportValue));\n }\n\n return signature;\n };\n\n var registerExportsForReactRefresh = (Refresh, moduleExports, moduleID) => {\n Refresh.register(moduleExports, moduleID + \" %exports%\");\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return;\n }\n\n for (const key in moduleExports) {\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n continue;\n }\n\n const exportValue = moduleExports[key];\n const typeID = moduleID + \" %exports% \" + key;\n Refresh.register(exportValue, typeID);\n }\n };\n\n global.__accept = metroHotUpdateModule;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function() {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${\n ctx.formatValueCalls\n } exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function() {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function(arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n let logLevel = level;\n if (str.slice(0, 9) === 'Warning: ' && logLevel >= LOG_LEVELS.error) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function() {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function(k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function(cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function(columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function() {\n // TODO(T43930203): remove this special case once originalConsole.assert properly checks\n // the condition\n if (methodName === 'assert') {\n if (!arguments[0]) {\n originalConsole.assert(...arguments);\n }\n } else {\n originalConsole[methodName](...arguments);\n }\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n [\n 'clear',\n 'dir',\n 'dirxml',\n 'groupCollapsed',\n 'profile',\n 'profileEnd',\n ].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n const log = global.print || function consoleLoggingStub() {};\n global.console = {\n error: log,\n info: log,\n log: log,\n warn: log,\n trace: log,\n debug: log,\n table: log,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard, TOut>(\n fun: Fn,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '';\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function() {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","/**\n * Internal dependencies\n */\nimport './src';\n","/**\n * WordPress dependencies\n */\nimport { addAction, addFilter } from '@wordpress/hooks';\nimport {\n\tdoGutenbergNativeSetup,\n\tinitialHtmlGutenberg,\n} from '@wordpress/react-native-editor';\n\n/**\n * Internal dependencies\n */\nimport correctTextFontWeight from './text-font-weight-correct';\nimport setupJetpackEditor from './jetpack-editor-setup';\nimport initialHtml from './initial-html';\n\naddAction( 'native.pre-render', 'gutenberg-mobile', () => {\n\trequire( './strings-overrides' );\n\tcorrectTextFontWeight();\n} );\n\naddAction( 'native.render', 'gutenberg-mobile', ( props ) => {\n\tsetupJetpackEditor(\n\t\tprops.jetpackState || { blogId: 1, isJetpackActive: true }\n\t);\n} );\n\naddFilter( 'native.block_editor_props', 'gutenberg-mobile', ( editorProps ) => {\n\tif ( __DEV__ ) {\n\t\tlet { initialTitle, initialData } = editorProps;\n\n\t\tif ( initialTitle === undefined ) {\n\t\t\tinitialTitle = 'Welcome to gutenberg for WP Apps!';\n\t\t}\n\n\t\tif ( initialData === undefined ) {\n\t\t\tinitialData = initialHtml + initialHtmlGutenberg;\n\t\t}\n\n\t\treturn {\n\t\t\t...editorProps,\n\t\t\tinitialTitle,\n\t\t\tinitialData,\n\t\t};\n\t}\n\treturn editorProps;\n} );\n\ndoGutenbergNativeSetup();\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;","/**\n * Internal dependencies\n */\nimport createHooks from './createHooks';\n\n/** @typedef {(...args: any[])=>any} Callback */\n\n/**\n * @typedef Handler\n * @property {Callback} callback The callback\n * @property {string} namespace The namespace\n * @property {number} priority The namespace\n */\n\n/**\n * @typedef Hook\n * @property {Handler[]} handlers Array of handlers\n * @property {number} runs Run counter\n */\n\n/**\n * @typedef Current\n * @property {string} name Hook name\n * @property {number} currentIndex The index\n */\n\n/**\n * @typedef {Record & {__current: Current[]}} Store\n */\n\n/**\n * @typedef {'actions' | 'filters'} StoreKey\n */\n\n/**\n * @typedef {import('./createHooks').Hooks} Hooks\n */\n\nconst {\n\taddAction,\n\taddFilter,\n\tremoveAction,\n\tremoveFilter,\n\thasAction,\n\thasFilter,\n\tremoveAllActions,\n\tremoveAllFilters,\n\tdoAction,\n\tapplyFilters,\n\tcurrentAction,\n\tcurrentFilter,\n\tdoingAction,\n\tdoingFilter,\n\tdidAction,\n\tdidFilter,\n\tactions,\n\tfilters,\n} = createHooks();\n\nexport {\n\tcreateHooks,\n\taddAction,\n\taddFilter,\n\tremoveAction,\n\tremoveFilter,\n\thasAction,\n\thasFilter,\n\tremoveAllActions,\n\tremoveAllFilters,\n\tdoAction,\n\tapplyFilters,\n\tcurrentAction,\n\tcurrentFilter,\n\tdoingAction,\n\tdoingFilter,\n\tdidAction,\n\tdidFilter,\n\tactions,\n\tfilters,\n};\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;","/**\n * Internal dependencies\n */\nimport createAddHook from './createAddHook';\nimport createRemoveHook from './createRemoveHook';\nimport createHasHook from './createHasHook';\nimport createRunHook from './createRunHook';\nimport createCurrentHook from './createCurrentHook';\nimport createDoingHook from './createDoingHook';\nimport createDidHook from './createDidHook';\n\n/**\n * Internal class for constructing hooks. Use `createHooks()` function\n *\n * Note, it is necessary to expose this class to make its type public.\n *\n * @private\n */\nexport class _Hooks {\n\tconstructor() {\n\t\t/** @type {import('.').Store} actions */\n\t\tthis.actions = Object.create( null );\n\t\tthis.actions.__current = [];\n\n\t\t/** @type {import('.').Store} filters */\n\t\tthis.filters = Object.create( null );\n\t\tthis.filters.__current = [];\n\n\t\tthis.addAction = createAddHook( this, 'actions' );\n\t\tthis.addFilter = createAddHook( this, 'filters' );\n\t\tthis.removeAction = createRemoveHook( this, 'actions' );\n\t\tthis.removeFilter = createRemoveHook( this, 'filters' );\n\t\tthis.hasAction = createHasHook( this, 'actions' );\n\t\tthis.hasFilter = createHasHook( this, 'filters' );\n\t\tthis.removeAllActions = createRemoveHook( this, 'actions', true );\n\t\tthis.removeAllFilters = createRemoveHook( this, 'filters', true );\n\t\tthis.doAction = createRunHook( this, 'actions' );\n\t\tthis.applyFilters = createRunHook( this, 'filters', true );\n\t\tthis.currentAction = createCurrentHook( this, 'actions' );\n\t\tthis.currentFilter = createCurrentHook( this, 'filters' );\n\t\tthis.doingAction = createDoingHook( this, 'actions' );\n\t\tthis.doingFilter = createDoingHook( this, 'filters' );\n\t\tthis.didAction = createDidHook( this, 'actions' );\n\t\tthis.didFilter = createDidHook( this, 'filters' );\n\t}\n}\n\n/** @typedef {_Hooks} Hooks */\n\n/**\n * Returns an instance of the hooks object.\n *\n * @return {Hooks} A Hooks instance.\n */\nfunction createHooks() {\n\treturn new _Hooks();\n}\n\nexport default createHooks;\n","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;","/**\n * Internal dependencies\n */\nimport validateNamespace from './validateNamespace.js';\nimport validateHookName from './validateHookName.js';\n\n/**\n * @callback AddHook\n *\n * Adds the hook to the appropriate hooks container.\n *\n * @param {string} hookName Name of hook to add\n * @param {string} namespace The unique namespace identifying the callback in the form `vendor/plugin/function`.\n * @param {import('.').Callback} callback Function to call when the hook is run\n * @param {number} [priority=10] Priority of this hook\n */\n\n/**\n * Returns a function which, when invoked, will add a hook.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {AddHook} Function that adds a new hook.\n */\nfunction createAddHook( hooks, storeKey ) {\n\treturn function addHook( hookName, namespace, callback, priority = 10 ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! validateHookName( hookName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( ! validateNamespace( namespace ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( 'function' !== typeof callback ) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.error( 'The hook callback must be a function.' );\n\t\t\treturn;\n\t\t}\n\n\t\t// Validate numeric priority\n\t\tif ( 'number' !== typeof priority ) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.error(\n\t\t\t\t'If specified, the hook priority must be a number.'\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tconst handler = { callback, priority, namespace };\n\n\t\tif ( hooksStore[ hookName ] ) {\n\t\t\t// Find the correct insert index of the new hook.\n\t\t\tconst handlers = hooksStore[ hookName ].handlers;\n\n\t\t\t/** @type {number} */\n\t\t\tlet i;\n\t\t\tfor ( i = handlers.length; i > 0; i-- ) {\n\t\t\t\tif ( priority >= handlers[ i - 1 ].priority ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( i === handlers.length ) {\n\t\t\t\t// If append, operate via direct assignment.\n\t\t\t\thandlers[ i ] = handler;\n\t\t\t} else {\n\t\t\t\t// Otherwise, insert before index via splice.\n\t\t\t\thandlers.splice( i, 0, handler );\n\t\t\t}\n\n\t\t\t// We may also be currently executing this hook. If the callback\n\t\t\t// we're adding would come after the current callback, there's no\n\t\t\t// problem; otherwise we need to increase the execution index of\n\t\t\t// any other runs by 1 to account for the added element.\n\t\t\thooksStore.__current.forEach( ( hookInfo ) => {\n\t\t\t\tif (\n\t\t\t\t\thookInfo.name === hookName &&\n\t\t\t\t\thookInfo.currentIndex >= i\n\t\t\t\t) {\n\t\t\t\t\thookInfo.currentIndex++;\n\t\t\t\t}\n\t\t\t} );\n\t\t} else {\n\t\t\t// This is the first hook of its type.\n\t\t\thooksStore[ hookName ] = {\n\t\t\t\thandlers: [ handler ],\n\t\t\t\truns: 0,\n\t\t\t};\n\t\t}\n\n\t\tif ( hookName !== 'hookAdded' ) {\n\t\t\thooks.doAction(\n\t\t\t\t'hookAdded',\n\t\t\t\thookName,\n\t\t\t\tnamespace,\n\t\t\t\tcallback,\n\t\t\t\tpriority\n\t\t\t);\n\t\t}\n\t};\n}\n\nexport default createAddHook;\n","/**\n * Validate a namespace string.\n *\n * @param {string} namespace The namespace to validate - should take the form\n * `vendor/plugin/function`.\n *\n * @return {boolean} Whether the namespace is valid.\n */\nfunction validateNamespace( namespace ) {\n\tif ( 'string' !== typeof namespace || '' === namespace ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error( 'The namespace must be a non-empty string.' );\n\t\treturn false;\n\t}\n\n\tif ( ! /^[a-zA-Z][a-zA-Z0-9_.\\-\\/]*$/.test( namespace ) ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error(\n\t\t\t'The namespace can only contain numbers, letters, dashes, periods, underscores and slashes.'\n\t\t);\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n\nexport default validateNamespace;\n","/**\n * Validate a hookName string.\n *\n * @param {string} hookName The hook name to validate. Should be a non empty string containing\n * only numbers, letters, dashes, periods and underscores. Also,\n * the hook name cannot begin with `__`.\n *\n * @return {boolean} Whether the hook name is valid.\n */\nfunction validateHookName( hookName ) {\n\tif ( 'string' !== typeof hookName || '' === hookName ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error( 'The hook name must be a non-empty string.' );\n\t\treturn false;\n\t}\n\n\tif ( /^__/.test( hookName ) ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error( 'The hook name cannot begin with `__`.' );\n\t\treturn false;\n\t}\n\n\tif ( ! /^[a-zA-Z][a-zA-Z0-9_.-]*$/.test( hookName ) ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error(\n\t\t\t'The hook name can only contain numbers, letters, dashes, periods and underscores.'\n\t\t);\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n\nexport default validateHookName;\n","/**\n * Internal dependencies\n */\nimport validateNamespace from './validateNamespace.js';\nimport validateHookName from './validateHookName.js';\n\n/**\n * @callback RemoveHook\n * Removes the specified callback (or all callbacks) from the hook with a given hookName\n * and namespace.\n *\n * @param {string} hookName The name of the hook to modify.\n * @param {string} namespace The unique namespace identifying the callback in the\n * form `vendor/plugin/function`.\n *\n * @return {number | undefined} The number of callbacks removed.\n */\n\n/**\n * Returns a function which, when invoked, will remove a specified hook or all\n * hooks by the given name.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n * @param {boolean} [removeAll=false] Whether to remove all callbacks for a hookName,\n * without regard to namespace. Used to create\n * `removeAll*` functions.\n *\n * @return {RemoveHook} Function that removes hooks.\n */\nfunction createRemoveHook( hooks, storeKey, removeAll = false ) {\n\treturn function removeHook( hookName, namespace ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! validateHookName( hookName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( ! removeAll && ! validateNamespace( namespace ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Bail if no hooks exist by this name\n\t\tif ( ! hooksStore[ hookName ] ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tlet handlersRemoved = 0;\n\n\t\tif ( removeAll ) {\n\t\t\thandlersRemoved = hooksStore[ hookName ].handlers.length;\n\t\t\thooksStore[ hookName ] = {\n\t\t\t\truns: hooksStore[ hookName ].runs,\n\t\t\t\thandlers: [],\n\t\t\t};\n\t\t} else {\n\t\t\t// Try to find the specified callback to remove.\n\t\t\tconst handlers = hooksStore[ hookName ].handlers;\n\t\t\tfor ( let i = handlers.length - 1; i >= 0; i-- ) {\n\t\t\t\tif ( handlers[ i ].namespace === namespace ) {\n\t\t\t\t\thandlers.splice( i, 1 );\n\t\t\t\t\thandlersRemoved++;\n\t\t\t\t\t// This callback may also be part of a hook that is\n\t\t\t\t\t// currently executing. If the callback we're removing\n\t\t\t\t\t// comes after the current callback, there's no problem;\n\t\t\t\t\t// otherwise we need to decrease the execution index of any\n\t\t\t\t\t// other runs by 1 to account for the removed element.\n\t\t\t\t\thooksStore.__current.forEach( ( hookInfo ) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\thookInfo.name === hookName &&\n\t\t\t\t\t\t\thookInfo.currentIndex >= i\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\thookInfo.currentIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( hookName !== 'hookRemoved' ) {\n\t\t\thooks.doAction( 'hookRemoved', hookName, namespace );\n\t\t}\n\n\t\treturn handlersRemoved;\n\t};\n}\n\nexport default createRemoveHook;\n","/**\n * @callback HasHook\n *\n * Returns whether any handlers are attached for the given hookName and optional namespace.\n *\n * @param {string} hookName The name of the hook to check for.\n * @param {string} [namespace] Optional. The unique namespace identifying the callback\n * in the form `vendor/plugin/function`.\n *\n * @return {boolean} Whether there are handlers that are attached to the given hook.\n */\n/**\n * Returns a function which, when invoked, will return whether any handlers are\n * attached to a particular hook.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {HasHook} Function that returns whether any handlers are\n * attached to a particular hook and optional namespace.\n */\nfunction createHasHook( hooks, storeKey ) {\n\treturn function hasHook( hookName, namespace ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\t// Use the namespace if provided.\n\t\tif ( 'undefined' !== typeof namespace ) {\n\t\t\treturn (\n\t\t\t\thookName in hooksStore &&\n\t\t\t\thooksStore[ hookName ].handlers.some(\n\t\t\t\t\t( hook ) => hook.namespace === namespace\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\treturn hookName in hooksStore;\n\t};\n}\n\nexport default createHasHook;\n","/**\n * Returns a function which, when invoked, will execute all callbacks\n * registered to a hook of the specified type, optionally returning the final\n * value of the call chain.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n * @param {boolean} [returnFirstArg=false] Whether each hook callback is expected to\n * return its first argument.\n *\n * @return {(hookName:string, ...args: unknown[]) => unknown} Function that runs hook callbacks.\n */\nfunction createRunHook( hooks, storeKey, returnFirstArg = false ) {\n\treturn function runHooks( hookName, ...args ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! hooksStore[ hookName ] ) {\n\t\t\thooksStore[ hookName ] = {\n\t\t\t\thandlers: [],\n\t\t\t\truns: 0,\n\t\t\t};\n\t\t}\n\n\t\thooksStore[ hookName ].runs++;\n\n\t\tconst handlers = hooksStore[ hookName ].handlers;\n\n\t\t// The following code is stripped from production builds.\n\t\tif ( 'production' !== process.env.NODE_ENV ) {\n\t\t\t// Handle any 'all' hooks registered.\n\t\t\tif ( 'hookAdded' !== hookName && hooksStore.all ) {\n\t\t\t\thandlers.push( ...hooksStore.all.handlers );\n\t\t\t}\n\t\t}\n\n\t\tif ( ! handlers || ! handlers.length ) {\n\t\t\treturn returnFirstArg ? args[ 0 ] : undefined;\n\t\t}\n\n\t\tconst hookInfo = {\n\t\t\tname: hookName,\n\t\t\tcurrentIndex: 0,\n\t\t};\n\n\t\thooksStore.__current.push( hookInfo );\n\n\t\twhile ( hookInfo.currentIndex < handlers.length ) {\n\t\t\tconst handler = handlers[ hookInfo.currentIndex ];\n\n\t\t\tconst result = handler.callback.apply( null, args );\n\t\t\tif ( returnFirstArg ) {\n\t\t\t\targs[ 0 ] = result;\n\t\t\t}\n\n\t\t\thookInfo.currentIndex++;\n\t\t}\n\n\t\thooksStore.__current.pop();\n\n\t\tif ( returnFirstArg ) {\n\t\t\treturn args[ 0 ];\n\t\t}\n\t};\n}\n\nexport default createRunHook;\n","var arrayWithoutHoles = require(\"./arrayWithoutHoles\");\n\nvar iterableToArray = require(\"./iterableToArray\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray;","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray;","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread;","/**\n * Returns a function which, when invoked, will return the name of the\n * currently running hook, or `null` if no hook of the given type is currently\n * running.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {() => string | null} Function that returns the current hook name or null.\n */\nfunction createCurrentHook( hooks, storeKey ) {\n\treturn function currentHook() {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\treturn (\n\t\t\thooksStore.__current[ hooksStore.__current.length - 1 ]?.name ??\n\t\t\tnull\n\t\t);\n\t};\n}\n\nexport default createCurrentHook;\n","/**\n * @callback DoingHook\n * Returns whether a hook is currently being executed.\n *\n * @param {string} [hookName] The name of the hook to check for. If\n * omitted, will check for any hook being executed.\n *\n * @return {boolean} Whether the hook is being executed.\n */\n\n/**\n * Returns a function which, when invoked, will return whether a hook is\n * currently being executed.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {DoingHook} Function that returns whether a hook is currently\n * being executed.\n */\nfunction createDoingHook( hooks, storeKey ) {\n\treturn function doingHook( hookName ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\t// If the hookName was not passed, check for any current hook.\n\t\tif ( 'undefined' === typeof hookName ) {\n\t\t\treturn 'undefined' !== typeof hooksStore.__current[ 0 ];\n\t\t}\n\n\t\t// Return the __current hook.\n\t\treturn hooksStore.__current[ 0 ]\n\t\t\t? hookName === hooksStore.__current[ 0 ].name\n\t\t\t: false;\n\t};\n}\n\nexport default createDoingHook;\n","/**\n * Internal dependencies\n */\nimport validateHookName from './validateHookName.js';\n\n/**\n * @callback DidHook\n *\n * Returns the number of times an action has been fired.\n *\n * @param {string} hookName The hook name to check.\n *\n * @return {number | undefined} The number of times the hook has run.\n */\n\n/**\n * Returns a function which, when invoked, will return the number of times a\n * hook has been called.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {DidHook} Function that returns a hook's call count.\n */\nfunction createDidHook( hooks, storeKey ) {\n\treturn function didHook( hookName ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! validateHookName( hookName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn hooksStore[ hookName ] && hooksStore[ hookName ].runs\n\t\t\t? hooksStore[ hookName ].runs\n\t\t\t: 0;\n\t};\n}\n\nexport default createDidHook;\n","/**\n * External dependencies\n */\nimport { I18nManager } from 'react-native';\n\n/**\n * Internal dependencies\n */\nimport './globals';\nimport { getTranslation } from '../i18n-cache';\nimport initialHtml from './initial-html';\nimport setupApiFetch from './api-fetch-setup';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tvalidateThemeColors,\n\tvalidateThemeGradients,\n} from '@wordpress/block-editor';\n\nconst reactNativeSetup = () => {\n\t// Disable warnings as they disrupt the user experience in dev mode\n\t// eslint-disable-next-line no-console\n\tconsole.disableYellowBox = true;\n\n\tI18nManager.forceRTL( false ); // Change to `true` to debug RTL layout easily.\n};\n\nconst gutenbergSetup = () => {\n\tconst wpData = require( '@wordpress/data' );\n\n\t// wp-data\n\tconst userId = 1;\n\tconst storageKey = 'WP_DATA_USER_' + userId;\n\twpData.use( wpData.plugins.persistence, { storageKey } );\n\n\tsetupApiFetch();\n\n\tconst isHermes = () => global.HermesInternal !== null;\n\t// eslint-disable-next-line no-console\n\tconsole.log( 'Hermes is: ' + isHermes() );\n\n\tsetupInitHooks();\n\n\tconst initializeEditor = require( '@wordpress/edit-post' ).initializeEditor;\n\tinitializeEditor( 'gutenberg', 'post', 1 );\n};\n\nconst setupInitHooks = () => {\n\tconst wpHooks = require( '@wordpress/hooks' );\n\n\twpHooks.addAction(\n\t\t'native.pre-render',\n\t\t'core/react-native-editor',\n\t\t( props ) => {\n\t\t\tsetupLocale( props.locale, props.translations );\n\t\t}\n\t);\n\n\t// Map native props to Editor props\n\t// TODO: normalize props in the bridge (So we don't have to map initialData to initialHtml)\n\twpHooks.addFilter(\n\t\t'native.block_editor_props',\n\t\t'core/react-native-editor',\n\t\t( props ) => {\n\t\t\tconst { capabilities = {} } = props;\n\t\t\tlet {\n\t\t\t\tinitialData,\n\t\t\t\tinitialTitle,\n\t\t\t\tpostType,\n\t\t\t\tcolors,\n\t\t\t\tgradients,\n\t\t\t} = props;\n\n\t\t\tif ( initialData === undefined && __DEV__ ) {\n\t\t\t\tinitialData = initialHtml;\n\t\t\t}\n\t\t\tif ( initialTitle === undefined ) {\n\t\t\t\tinitialTitle = 'Welcome to Gutenberg!';\n\t\t\t}\n\t\t\tif ( postType === undefined ) {\n\t\t\t\tpostType = 'post';\n\t\t\t}\n\n\t\t\tcolors = validateThemeColors( colors );\n\n\t\t\tgradients = validateThemeGradients( gradients );\n\n\t\t\treturn {\n\t\t\t\tinitialHtml: initialData,\n\t\t\t\tinitialHtmlModeEnabled: props.initialHtmlModeEnabled,\n\t\t\t\tinitialTitle,\n\t\t\t\tpostType,\n\t\t\t\tcapabilities,\n\t\t\t\tcolors,\n\t\t\t\tgradients,\n\t\t\t\teditorMode: props.editorMode,\n\t\t\t};\n\t\t}\n\t);\n};\n\nlet blocksRegistered = false;\n\nconst setupLocale = ( locale, extraTranslations ) => {\n\tconst setLocaleData = require( '@wordpress/i18n' ).setLocaleData;\n\n\tI18nManager.forceRTL( false ); // Change to `true` to debug RTL layout easily.\n\n\tlet gutenbergTranslations = getTranslation( locale );\n\tif ( locale && ! gutenbergTranslations ) {\n\t\t// Try stripping out the regional\n\t\tlocale = locale.replace( /[-_][A-Za-z]+$/, '' );\n\t\tgutenbergTranslations = getTranslation( locale );\n\t}\n\tconst translations = Object.assign(\n\t\t{},\n\t\tgutenbergTranslations,\n\t\textraTranslations\n\t);\n\t// eslint-disable-next-line no-console\n\tconsole.log( 'locale', locale, translations );\n\t// Only change the locale if it's supported by gutenberg\n\tif ( gutenbergTranslations || extraTranslations ) {\n\t\tsetLocaleData( translations );\n\t}\n\n\tif ( blocksRegistered ) {\n\t\treturn;\n\t}\n\n\tconst registerCoreBlocks = require( '@wordpress/block-library' )\n\t\t.registerCoreBlocks;\n\tregisterCoreBlocks();\n\tblocksRegistered = true;\n};\n\nexport { initialHtml as initialHtmlGutenberg };\nexport function doGutenbergNativeSetup() {\n\treactNativeSetup();\n\tgutenbergSetup();\n}\n","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\nconst warnOnce = require('../Utilities/warnOnce');\n\n// Export React, plus some native additions.\nmodule.exports = {\n // Components\n get AccessibilityInfo() {\n return require('../Components/AccessibilityInfo/AccessibilityInfo');\n },\n get ActivityIndicator() {\n return require('../Components/ActivityIndicator/ActivityIndicator');\n },\n get ART() {\n warnOnce(\n 'art-moved',\n 'React Native ART has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/art' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/art',\n );\n return require('../ART/ReactNativeART');\n },\n get Button() {\n return require('../Components/Button');\n },\n get CheckBox() {\n warnOnce(\n 'checkBox-moved',\n 'CheckBox has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/checkbox' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-checkbox',\n );\n return require('../Components/CheckBox/CheckBox');\n },\n get DatePickerIOS() {\n warnOnce(\n 'DatePickerIOS-merged',\n 'DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-datetimepicker',\n );\n return require('../Components/DatePicker/DatePickerIOS');\n },\n get DrawerLayoutAndroid() {\n return require('../Components/DrawerAndroid/DrawerLayoutAndroid');\n },\n get FlatList() {\n return require('../Lists/FlatList');\n },\n get Image() {\n return require('../Image/Image');\n },\n get ImageBackground() {\n return require('../Image/ImageBackground');\n },\n get InputAccessoryView() {\n return require('../Components/TextInput/InputAccessoryView');\n },\n get KeyboardAvoidingView() {\n return require('../Components/Keyboard/KeyboardAvoidingView');\n },\n get MaskedViewIOS() {\n warnOnce(\n 'maskedviewios-moved',\n 'MaskedViewIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/masked-view' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-masked-view',\n );\n return require('../Components/MaskedView/MaskedViewIOS');\n },\n get Modal() {\n return require('../Modal/Modal');\n },\n get Picker() {\n return require('../Components/Picker/Picker');\n },\n get PickerIOS() {\n return require('../Components/Picker/PickerIOS');\n },\n get ProgressBarAndroid() {\n return require('../Components/ProgressBarAndroid/ProgressBarAndroid');\n },\n get ProgressViewIOS() {\n return require('../Components/ProgressViewIOS/ProgressViewIOS');\n },\n get SafeAreaView() {\n return require('../Components/SafeAreaView/SafeAreaView');\n },\n get ScrollView() {\n return require('../Components/ScrollView/ScrollView');\n },\n get SectionList() {\n return require('../Lists/SectionList');\n },\n get SegmentedControlIOS() {\n return require('../Components/SegmentedControlIOS/SegmentedControlIOS');\n },\n get Slider() {\n warnOnce(\n 'slider-moved',\n 'Slider has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-slider',\n );\n return require('../Components/Slider/Slider');\n },\n get Switch() {\n return require('../Components/Switch/Switch');\n },\n get RefreshControl() {\n return require('../Components/RefreshControl/RefreshControl');\n },\n get StatusBar() {\n return require('../Components/StatusBar/StatusBar');\n },\n get Text() {\n return require('../Text/Text');\n },\n get TextInput() {\n return require('../Components/TextInput/TextInput');\n },\n get Touchable() {\n return require('../Components/Touchable/Touchable');\n },\n get TouchableHighlight() {\n return require('../Components/Touchable/TouchableHighlight');\n },\n get TouchableNativeFeedback() {\n return require('../Components/Touchable/TouchableNativeFeedback');\n },\n get TouchableOpacity() {\n return require('../Components/Touchable/TouchableOpacity');\n },\n get TouchableWithoutFeedback() {\n return require('../Components/Touchable/TouchableWithoutFeedback');\n },\n get View() {\n return require('../Components/View/View');\n },\n get VirtualizedList() {\n return require('../Lists/VirtualizedList');\n },\n get VirtualizedSectionList() {\n return require('../Lists/VirtualizedSectionList');\n },\n\n // APIs\n get ActionSheetIOS() {\n return require('../ActionSheetIOS/ActionSheetIOS');\n },\n get Alert() {\n return require('../Alert/Alert');\n },\n get Animated() {\n return require('../Animated/src/Animated');\n },\n get AppRegistry() {\n return require('../ReactNative/AppRegistry');\n },\n get AppState() {\n return require('../AppState/AppState');\n },\n get AsyncStorage() {\n warnOnce(\n 'async-storage-moved',\n 'AsyncStorage has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-async-storage',\n );\n return require('../Storage/AsyncStorage');\n },\n get BackHandler() {\n return require('../Utilities/BackHandler');\n },\n get Clipboard() {\n return require('../Components/Clipboard/Clipboard');\n },\n get DatePickerAndroid() {\n warnOnce(\n 'DatePickerAndroid-merged',\n 'DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-datetimepicker',\n );\n return require('../Components/DatePickerAndroid/DatePickerAndroid');\n },\n get DeviceInfo() {\n return require('../Utilities/DeviceInfo');\n },\n get Dimensions() {\n return require('../Utilities/Dimensions');\n },\n get Easing() {\n return require('../Animated/src/Easing');\n },\n get findNodeHandle() {\n return require('../Renderer/shims/ReactNative').findNodeHandle;\n },\n get I18nManager() {\n return require('../ReactNative/I18nManager');\n },\n get ImagePickerIOS() {\n warnOnce(\n 'imagePickerIOS-moved',\n 'ImagePickerIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"Please upgrade to use either '@react-native-community/react-native-image-picker' or 'expo-image-picker'. \" +\n \"If you cannot upgrade to a different library, please install the deprecated '@react-native-community/image-picker-ios' package. \" +\n 'See https://github.com/react-native-community/react-native-image-picker-ios',\n );\n return require('../Image/ImagePickerIOS');\n },\n get InteractionManager() {\n return require('../Interaction/InteractionManager');\n },\n get Keyboard() {\n return require('../Components/Keyboard/Keyboard');\n },\n get LayoutAnimation() {\n return require('../LayoutAnimation/LayoutAnimation');\n },\n get Linking() {\n return require('../Linking/Linking');\n },\n get NativeDialogManagerAndroid() {\n return require('../NativeModules/specs/NativeDialogManagerAndroid').default;\n },\n get NativeEventEmitter() {\n return require('../EventEmitter/NativeEventEmitter');\n },\n get PanResponder() {\n return require('../Interaction/PanResponder');\n },\n get PermissionsAndroid() {\n return require('../PermissionsAndroid/PermissionsAndroid');\n },\n get PixelRatio() {\n return require('../Utilities/PixelRatio');\n },\n get PushNotificationIOS() {\n warnOnce(\n 'pushNotificationIOS-moved',\n 'PushNotificationIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-push-notification-ios',\n );\n return require('../PushNotificationIOS/PushNotificationIOS');\n },\n get Settings() {\n return require('../Settings/Settings');\n },\n get Share() {\n return require('../Share/Share');\n },\n get StatusBarIOS() {\n warnOnce(\n 'StatusBarIOS-merged',\n 'StatusBarIOS has been merged with StatusBar and will be removed in a future release. Use StatusBar for mutating the status bar',\n );\n return require('../Components/StatusBar/StatusBarIOS');\n },\n get StyleSheet() {\n return require('../StyleSheet/StyleSheet');\n },\n get Systrace() {\n return require('../Performance/Systrace');\n },\n get TimePickerAndroid() {\n warnOnce(\n 'TimePickerAndroid-merged',\n 'TimePickerAndroid has been merged with DatePickerIOS and DatePickerAndroid and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-datetimepicker',\n );\n return require('../Components/TimePickerAndroid/TimePickerAndroid');\n },\n get ToastAndroid() {\n return require('../Components/ToastAndroid/ToastAndroid');\n },\n get TurboModuleRegistry() {\n return require('../TurboModule/TurboModuleRegistry');\n },\n get TVEventHandler() {\n return require('../Components/AppleTV/TVEventHandler');\n },\n get UIManager() {\n return require('../ReactNative/UIManager');\n },\n get unstable_batchedUpdates() {\n return require('../Renderer/shims/ReactNative').unstable_batchedUpdates;\n },\n get useWindowDimensions() {\n return require('../Utilities/useWindowDimensions').default;\n },\n get UTFSequence() {\n return require('../UTFSequence');\n },\n get Vibration() {\n return require('../Vibration/Vibration');\n },\n get YellowBox() {\n return require('../YellowBox/YellowBox');\n },\n\n // Plugins\n get DeviceEventEmitter() {\n return require('../EventEmitter/RCTDeviceEventEmitter');\n },\n get NativeAppEventEmitter() {\n return require('../EventEmitter/RCTNativeAppEventEmitter');\n },\n get NativeModules() {\n return require('../BatchedBridge/NativeModules');\n },\n get Platform() {\n return require('../Utilities/Platform');\n },\n get processColor() {\n return require('../StyleSheet/processColor');\n },\n get requireNativeComponent() {\n return require('../ReactNative/requireNativeComponent');\n },\n get unstable_RootTagContext() {\n return require('../ReactNative/RootTagContext');\n },\n\n // Prop Types\n get ColorPropType() {\n return require('../DeprecatedPropTypes/DeprecatedColorPropType');\n },\n get EdgeInsetsPropType() {\n return require('../DeprecatedPropTypes/DeprecatedEdgeInsetsPropType');\n },\n get PointPropType() {\n return require('../DeprecatedPropTypes/DeprecatedPointPropType');\n },\n get ViewPropTypes() {\n return require('../DeprecatedPropTypes/DeprecatedViewPropTypes');\n },\n};\n\nif (__DEV__) {\n // $FlowFixMe This is intentional: Flow will error when attempting to access ListView.\n Object.defineProperty(module.exports, 'ListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-listview`.',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access SwipeableListView.\n Object.defineProperty(module.exports, 'SwipeableListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'SwipeableListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-swipeable-listview`.',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access WebView.\n Object.defineProperty(module.exports, 'WebView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'WebView has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-webview' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-webview',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access NetInfo.\n Object.defineProperty(module.exports, 'NetInfo', {\n configurable: true,\n get() {\n invariant(\n false,\n 'NetInfo has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-netinfo' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-netinfo',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access CameraRoll.\n Object.defineProperty(module.exports, 'CameraRoll', {\n configurable: true,\n get() {\n invariant(\n false,\n 'CameraRoll has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-cameraroll' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-cameraroll',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access ImageStore.\n Object.defineProperty(module.exports, 'ImageStore', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageStore has been removed from React Native. ' +\n 'To get a base64-encoded string from a local image use either of the following third-party libraries:' +\n \"* expo-file-system: `readAsStringAsync(filepath, 'base64')`\" +\n \"* react-native-fs: `readFile(filepath, 'base64')`\",\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access ImageEditor.\n Object.defineProperty(module.exports, 'ImageEditor', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageEditor has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-image-editor' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-image-editor',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access ViewPagerAndroid.\n Object.defineProperty(module.exports, 'ViewPagerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ViewPagerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-viewpager' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-viewpager',\n );\n },\n });\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst warning = require('fbjs/lib/warning');\n\nconst warnedKeys: {[string]: boolean} = {};\n\n/**\n * A simple function that prints a warning message once per session.\n *\n * @param {string} key - The key used to ensure the message is printed once.\n * This should be unique to the callsite.\n * @param {string} message - The message to print\n */\nfunction warnOnce(key: string, message: string) {\n if (warnedKeys[key]) {\n return;\n }\n\n warning(false, message);\n\n warnedKeys[key] = true;\n}\n\nmodule.exports = warnOnce;\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nvar emptyFunction = require(\"./emptyFunction\");\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\n\nfunction printWarning(format) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n}\n\nvar warning = process.env.NODE_ENV !== \"production\" ? function (condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(void 0, [format].concat(args));\n }\n} : emptyFunction;\nmodule.exports = warning;","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\n\n\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\n\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Promise = require('../../Promise');\nconst RCTDeviceEventEmitter = require('../../EventEmitter/RCTDeviceEventEmitter');\n\nimport NativeAccessibilityManager from './NativeAccessibilityManager';\n\nconst CHANGE_EVENT_NAME = {\n announcementFinished: 'announcementFinished',\n boldTextChanged: 'boldTextChanged',\n grayscaleChanged: 'grayscaleChanged',\n invertColorsChanged: 'invertColorsChanged',\n reduceMotionChanged: 'reduceMotionChanged',\n reduceTransparencyChanged: 'reduceTransparencyChanged',\n screenReaderChanged: 'screenReaderChanged',\n};\n\ntype ChangeEventName = $Keys<{\n announcementFinished: string,\n boldTextChanged: string,\n change: string,\n grayscaleChanged: string,\n invertColorsChanged: string,\n reduceMotionChanged: string,\n reduceTransparencyChanged: string,\n screenReaderChanged: string,\n}>;\n\nconst _subscriptions = new Map();\n\n/**\n * Sometimes it's useful to know whether or not the device has a screen reader\n * that is currently active. The `AccessibilityInfo` API is designed for this\n * purpose. You can use it to query the current state of the screen reader as\n * well as to register to be notified when the state of the screen reader\n * changes.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html\n */\nconst AccessibilityInfo = {\n /**\n * Query whether bold text is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when bold text is enabled and `false` otherwise.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#isBoldTextEnabled\n */\n isBoldTextEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.getCurrentBoldTextState(resolve, reject);\n } else {\n reject(reject);\n }\n });\n },\n\n /**\n * Query whether grayscale is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when grayscale is enabled and `false` otherwise.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#isGrayscaleEnabled\n */\n isGrayscaleEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.getCurrentGrayscaleState(resolve, reject);\n } else {\n reject(reject);\n }\n });\n },\n\n /**\n * Query whether inverted colors are currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when invert color is enabled and `false` otherwise.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#isInvertColorsEnabled\n */\n isInvertColorsEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.getCurrentInvertColorsState(resolve, reject);\n } else {\n reject(reject);\n }\n });\n },\n\n /**\n * Query whether reduced motion is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a reduce motion is enabled and `false` otherwise.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#isReduceMotionEnabled\n */\n isReduceMotionEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.getCurrentReduceMotionState(resolve, reject);\n } else {\n reject(reject);\n }\n });\n },\n\n /**\n * Query whether reduced transparency is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a reduce transparency is enabled and `false` otherwise.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#isReduceTransparencyEnabled\n */\n isReduceTransparencyEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.getCurrentReduceTransparencyState(\n resolve,\n reject,\n );\n } else {\n reject(reject);\n }\n });\n },\n\n /**\n * Query whether a screen reader is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a screen reader is enabled and `false` otherwise.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#isScreenReaderEnabled\n */\n isScreenReaderEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.getCurrentVoiceOverState(resolve, reject);\n } else {\n reject(reject);\n }\n });\n },\n\n /**\n * Deprecated\n *\n * Same as `isScreenReaderEnabled`\n */\n get fetch(): $FlowFixMe {\n return this.isScreenReaderEnabled;\n },\n\n /**\n * Add an event handler. Supported events:\n *\n * - `boldTextChanged`: iOS-only event. Fires when the state of the bold text toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a bold text\n * is enabled and `false` otherwise.\n * - `grayscaleChanged`: iOS-only event. Fires when the state of the gray scale toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a gray scale\n * is enabled and `false` otherwise.\n * - `invertColorsChanged`: iOS-only event. Fires when the state of the invert colors toggle\n * changes. The argument to the event handler is a boolean. The boolean is `true` when a invert\n * colors is enabled and `false` otherwise.\n * - `reduceMotionChanged`: Fires when the state of the reduce motion toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a reduce\n * motion is enabled (or when \"Transition Animation Scale\" in \"Developer options\" is\n * \"Animation off\") and `false` otherwise.\n * - `reduceTransparencyChanged`: iOS-only event. Fires when the state of the reduce transparency\n * toggle changes. The argument to the event handler is a boolean. The boolean is `true`\n * when a reduce transparency is enabled and `false` otherwise.\n * - `screenReaderChanged`: Fires when the state of the screen reader changes. The argument\n * to the event handler is a boolean. The boolean is `true` when a screen\n * reader is enabled and `false` otherwise.\n * - `announcementFinished`: iOS-only event. Fires when the screen reader has\n * finished making an announcement. The argument to the event handler is a\n * dictionary with these keys:\n * - `announcement`: The string announced by the screen reader.\n * - `success`: A boolean indicating whether the announcement was\n * successfully made.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#addeventlistener\n */\n addEventListener: function(\n eventName: ChangeEventName,\n handler: Function,\n ): Object {\n let listener;\n\n if (eventName === 'change') {\n listener = RCTDeviceEventEmitter.addListener(\n CHANGE_EVENT_NAME.screenReaderChanged,\n handler,\n );\n } else if (CHANGE_EVENT_NAME[eventName]) {\n listener = RCTDeviceEventEmitter.addListener(eventName, handler);\n }\n\n _subscriptions.set(handler, listener);\n return {\n remove: AccessibilityInfo.removeEventListener.bind(\n null,\n eventName,\n handler,\n ),\n };\n },\n\n /**\n * Set accessibility focus to a react component.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#setaccessibilityfocus\n */\n setAccessibilityFocus: function(reactTag: number): void {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.setAccessibilityFocus(reactTag);\n }\n },\n\n /**\n * Post a string to be announced by the screen reader.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#announceforaccessibility\n */\n announceForAccessibility: function(announcement: string): void {\n if (NativeAccessibilityManager) {\n NativeAccessibilityManager.announceForAccessibility(announcement);\n }\n },\n\n /**\n * Remove an event handler.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#removeeventlistener\n */\n removeEventListener: function(\n eventName: ChangeEventName,\n handler: Function,\n ): void {\n const listener = _subscriptions.get(handler);\n if (!listener) {\n return;\n }\n listener.remove();\n _subscriptions.delete(handler);\n },\n};\n\nmodule.exports = AccessibilityInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getCurrentBoldTextState: (\n onSuccess: (isBoldTextEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentGrayscaleState: (\n onSuccess: (isGrayscaleEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentInvertColorsState: (\n onSuccess: (isInvertColorsEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentReduceMotionState: (\n onSuccess: (isReduceMotionEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentReduceTransparencyState: (\n onSuccess: (isReduceTransparencyEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentVoiceOverState: (\n onSuccess: (isScreenReaderEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +setAccessibilityContentSizeMultipliers: (JSMultiipliers: {|\n +extraSmall?: ?number,\n +small?: ?number,\n +medium?: ?number,\n +large?: ?number,\n +extraLarge?: ?number,\n +extraExtraLarge?: ?number,\n +extraExtraExtraLarge?: ?number,\n +accessibilityMedium?: ?number,\n +accessibilityLarge?: ?number,\n +accessibilityExtraLarge?: ?number,\n +accessibilityExtraExtraLarge?: ?number,\n +accessibilityExtraExtraExtraLarge?: ?number,\n |}) => void;\n +setAccessibilityFocus: (reactTag: number) => void;\n +announceForAccessibility: (announcement: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('AccessibilityManager'): ?Spec);\n","var _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nfunction _getRequireWildcardCache() {\n if (typeof WeakMap !== \"function\") return null;\n var cache = new WeakMap();\n\n _getRequireWildcardCache = function _getRequireWildcardCache() {\n return cache;\n };\n\n return cache;\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n }\n\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n\n var cache = _getRequireWildcardCache();\n\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n\n newObj[\"default\"] = obj;\n\n if (cache) {\n cache.set(obj, newObj);\n }\n\n return newObj;\n}\n\nmodule.exports = _interopRequireWildcard;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\nimport type {TurboModule} from './RCTExport';\nimport invariant from 'invariant';\n\nconst turboModuleProxy = global.__turboModuleProxy;\n\nexport function get(name: string): ?T {\n // Bridgeless mode requires TurboModules\n if (!global.RN$Bridgeless) {\n // Backward compatibility layer during migration.\n const legacyModule = NativeModules[name];\n if (legacyModule != null) {\n return ((legacyModule: any): T);\n }\n }\n\n if (turboModuleProxy != null) {\n const module: ?T = turboModuleProxy(name);\n return module;\n }\n\n return null;\n}\n\nexport function getEnforcing(name: string): T {\n const module = get(name);\n invariant(\n module != null,\n `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` +\n 'Verify that a module by this name is registered in the native binary.',\n );\n return module;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst BatchedBridge = require('./BatchedBridge');\n\nconst invariant = require('invariant');\n\nimport type {ExtendedError} from '../Core/Devtools/parseErrorStack';\n\nexport type ModuleConfig = [\n string /* name */,\n ?Object /* constants */,\n ?$ReadOnlyArray /* functions */,\n ?$ReadOnlyArray /* promise method IDs */,\n ?$ReadOnlyArray /* sync method IDs */,\n];\n\nexport type MethodType = 'async' | 'promise' | 'sync';\n\nfunction genModule(\n config: ?ModuleConfig,\n moduleID: number,\n): ?{name: string, module?: Object} {\n if (!config) {\n return null;\n }\n\n const [moduleName, constants, methods, promiseMethods, syncMethods] = config;\n invariant(\n !moduleName.startsWith('RCT') && !moduleName.startsWith('RK'),\n \"Module name prefixes should've been stripped by the native side \" +\n \"but wasn't for \" +\n moduleName,\n );\n\n if (!constants && !methods) {\n // Module contents will be filled in lazily later\n return {name: moduleName};\n }\n\n const module = {};\n methods &&\n methods.forEach((methodName, methodID) => {\n const isPromise =\n promiseMethods && arrayContains(promiseMethods, methodID);\n const isSync = syncMethods && arrayContains(syncMethods, methodID);\n invariant(\n !isPromise || !isSync,\n 'Cannot have a method that is both async and a sync hook',\n );\n const methodType = isPromise ? 'promise' : isSync ? 'sync' : 'async';\n module[methodName] = genMethod(moduleID, methodID, methodType);\n });\n\n Object.assign(module, constants);\n\n if (module.getConstants == null) {\n module.getConstants = () => constants || Object.freeze({});\n } else {\n console.warn(\n `Unable to define method 'getConstants()' on NativeModule '${moduleName}'. NativeModule '${moduleName}' already has a constant or method called 'getConstants'. Please remove it.`,\n );\n }\n\n if (__DEV__) {\n BatchedBridge.createDebugLookup(moduleID, moduleName, methods);\n }\n\n return {name: moduleName, module};\n}\n\n// export this method as a global so we can call it from native\nglobal.__fbGenNativeModule = genModule;\n\nfunction loadModule(name: string, moduleID: number): ?Object {\n invariant(\n global.nativeRequireModuleConfig,\n \"Can't lazily create module without nativeRequireModuleConfig\",\n );\n const config = global.nativeRequireModuleConfig(name);\n const info = genModule(config, moduleID);\n return info && info.module;\n}\n\nfunction genMethod(moduleID: number, methodID: number, type: MethodType) {\n let fn = null;\n if (type === 'promise') {\n fn = function(...args: Array) {\n // In case we reject, capture a useful stack trace here.\n const enqueueingFrameError: ExtendedError = new Error();\n enqueueingFrameError.framesToPop = 1;\n return new Promise((resolve, reject) => {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n args,\n data => resolve(data),\n errorData =>\n reject(updateErrorWithErrorData(errorData, enqueueingFrameError)),\n );\n });\n };\n } else {\n fn = function(...args: Array) {\n const lastArg = args.length > 0 ? args[args.length - 1] : null;\n const secondLastArg = args.length > 1 ? args[args.length - 2] : null;\n const hasSuccessCallback = typeof lastArg === 'function';\n const hasErrorCallback = typeof secondLastArg === 'function';\n hasErrorCallback &&\n invariant(\n hasSuccessCallback,\n 'Cannot have a non-function arg after a function arg.',\n );\n const onSuccess = hasSuccessCallback ? lastArg : null;\n const onFail = hasErrorCallback ? secondLastArg : null;\n const callbackCount = hasSuccessCallback + hasErrorCallback;\n args = args.slice(0, args.length - callbackCount);\n if (type === 'sync') {\n return BatchedBridge.callNativeSyncHook(\n moduleID,\n methodID,\n args,\n onFail,\n onSuccess,\n );\n } else {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n args,\n onFail,\n onSuccess,\n );\n }\n };\n }\n fn.type = type;\n return fn;\n}\n\nfunction arrayContains(array: $ReadOnlyArray, value: T): boolean {\n return array.indexOf(value) !== -1;\n}\n\nfunction updateErrorWithErrorData(\n errorData: {message: string},\n error: ExtendedError,\n): ExtendedError {\n return Object.assign(error, errorData || {});\n}\n\nlet NativeModules: {[moduleName: string]: Object} = {};\nif (global.nativeModuleProxy) {\n NativeModules = global.nativeModuleProxy;\n} else if (!global.nativeExtensions) {\n const bridgeConfig = global.__fbBatchedBridgeConfig;\n invariant(\n bridgeConfig,\n '__fbBatchedBridgeConfig is not set, cannot invoke native modules',\n );\n\n const defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\n (bridgeConfig.remoteModuleConfig || []).forEach(\n (config: ModuleConfig, moduleID: number) => {\n // Initially this config will only contain the module name when running in JSC. The actual\n // configuration of the module will be lazily loaded.\n const info = genModule(config, moduleID);\n if (!info) {\n return;\n }\n\n if (info.module) {\n NativeModules[info.name] = info.module;\n }\n // If there's no module config, define a lazy getter\n else {\n defineLazyObjectProperty(NativeModules, info.name, {\n get: () => loadModule(info.name, moduleID),\n });\n }\n },\n );\n}\n\nmodule.exports = NativeModules;\n","var arrayWithHoles = require(\"./arrayWithHoles\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableRest = require(\"./nonIterableRest\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;","function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst MessageQueue = require('./MessageQueue');\n\nconst BatchedBridge: MessageQueue = new MessageQueue();\n\n// Wire up the batched bridge on the global object so that we can call into it.\n// Ideally, this would be the inverse relationship. I.e. the native environment\n// provides this global directly with its script embedded. Then this module\n// would export it. A possible fix would be to trim the dependencies in\n// MessageQueue to its minimal features and embed that in the native runtime.\n\nObject.defineProperty(global, '__fbBatchedBridge', {\n configurable: true,\n value: BatchedBridge,\n});\n\nmodule.exports = BatchedBridge;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst ErrorUtils = require('../vendor/core/ErrorUtils');\nconst Systrace = require('../Performance/Systrace');\n\nconst deepFreezeAndThrowOnMutationInDev = require('../Utilities/deepFreezeAndThrowOnMutationInDev');\nconst invariant = require('invariant');\nconst stringifySafe = require('../Utilities/stringifySafe');\nconst warnOnce = require('../Utilities/warnOnce');\n\nexport type SpyData = {\n type: number,\n module: ?string,\n method: string | number,\n args: any[],\n};\n\nconst TO_JS = 0;\nconst TO_NATIVE = 1;\n\nconst MODULE_IDS = 0;\nconst METHOD_IDS = 1;\nconst PARAMS = 2;\nconst MIN_TIME_BETWEEN_FLUSHES_MS = 5;\n\n// eslint-disable-next-line no-bitwise\nconst TRACE_TAG_REACT_APPS = 1 << 17;\n\nconst DEBUG_INFO_LIMIT = 32;\n\nclass MessageQueue {\n _lazyCallableModules: {[key: string]: (void) => Object};\n _queue: [number[], number[], any[], number];\n _successCallbacks: Map;\n _failureCallbacks: Map;\n _callID: number;\n _lastFlush: number;\n _eventLoopStartTime: number;\n _immediatesCallback: ?() => void;\n\n _debugInfo: {[number]: [number, number]};\n _remoteModuleTable: {[number]: string};\n _remoteMethodTable: {[number]: $ReadOnlyArray};\n\n __spy: ?(data: SpyData) => void;\n\n constructor() {\n this._lazyCallableModules = {};\n this._queue = [[], [], [], 0];\n this._successCallbacks = new Map();\n this._failureCallbacks = new Map();\n this._callID = 0;\n this._lastFlush = 0;\n this._eventLoopStartTime = Date.now();\n this._immediatesCallback = null;\n\n if (__DEV__) {\n this._debugInfo = {};\n this._remoteModuleTable = {};\n this._remoteMethodTable = {};\n }\n\n (this: any).callFunctionReturnFlushedQueue = this.callFunctionReturnFlushedQueue.bind(\n this,\n );\n (this: any).callFunctionReturnResultAndFlushedQueue = this.callFunctionReturnResultAndFlushedQueue.bind(\n this,\n );\n (this: any).flushedQueue = this.flushedQueue.bind(this);\n (this: any).invokeCallbackAndReturnFlushedQueue = this.invokeCallbackAndReturnFlushedQueue.bind(\n this,\n );\n }\n\n /**\n * Public APIs\n */\n\n static spy(spyOrToggle: boolean | ((data: SpyData) => void)) {\n if (spyOrToggle === true) {\n MessageQueue.prototype.__spy = info => {\n console.log(\n `${info.type === TO_JS ? 'N->JS' : 'JS->N'} : ` +\n `${info.module ? info.module + '.' : ''}${info.method}` +\n `(${JSON.stringify(info.args)})`,\n );\n };\n } else if (spyOrToggle === false) {\n MessageQueue.prototype.__spy = null;\n } else {\n MessageQueue.prototype.__spy = spyOrToggle;\n }\n }\n\n callFunctionReturnFlushedQueue(\n module: string,\n method: string,\n args: any[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callFunction(module, method, args);\n });\n\n return this.flushedQueue();\n }\n\n callFunctionReturnResultAndFlushedQueue(\n module: string,\n method: string,\n args: any[],\n ): $TEMPORARY$array, Array, Array, number]> {\n let result;\n this.__guard(() => {\n result = this.__callFunction(module, method, args);\n });\n\n return [result, this.flushedQueue()];\n }\n\n invokeCallbackAndReturnFlushedQueue(\n cbID: number,\n args: any[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__invokeCallback(cbID, args);\n });\n\n return this.flushedQueue();\n }\n\n flushedQueue(): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callImmediates();\n });\n\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n return queue[0].length ? queue : null;\n }\n\n getEventLoopRunningTime(): number {\n return Date.now() - this._eventLoopStartTime;\n }\n\n registerCallableModule(name: string, module: Object) {\n this._lazyCallableModules[name] = () => module;\n }\n\n registerLazyCallableModule(name: string, factory: void => Object) {\n let module: Object;\n let getValue: ?(void) => Object = factory;\n this._lazyCallableModules[name] = () => {\n if (getValue) {\n module = getValue();\n getValue = null;\n }\n return module;\n };\n }\n\n getCallableModule(name: string): any | null {\n const getValue = this._lazyCallableModules[name];\n return getValue ? getValue() : null;\n }\n\n callNativeSyncHook(\n moduleID: number,\n methodID: number,\n params: any[],\n onFail: ?Function,\n onSucc: ?Function,\n ): any {\n if (__DEV__) {\n invariant(\n global.nativeCallSyncHook,\n 'Calling synchronous methods on native ' +\n 'modules is not supported in Chrome.\\n\\n Consider providing alternative ' +\n 'methods to expose this method in debug mode, e.g. by exposing constants ' +\n 'ahead-of-time.',\n );\n }\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n try {\n return global.nativeCallSyncHook(moduleID, methodID, params);\n } catch (e) {\n if (\n typeof e === 'object' &&\n e != null &&\n typeof e.framesToPop === 'undefined' &&\n /^Exception in HostFunction: /.test(e.message)\n ) {\n e.framesToPop = 2;\n }\n throw e;\n }\n }\n\n processCallbacks(\n moduleID: number,\n methodID: number,\n params: any[],\n onFail: ?Function,\n onSucc: ?Function,\n ) {\n if (onFail || onSucc) {\n if (__DEV__) {\n this._debugInfo[this._callID] = [moduleID, methodID];\n if (this._callID > DEBUG_INFO_LIMIT) {\n delete this._debugInfo[this._callID - DEBUG_INFO_LIMIT];\n }\n if (this._successCallbacks.size > 500) {\n const info = {};\n this._successCallbacks.forEach((_, callID) => {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n info[callID] = {module, method};\n });\n warnOnce(\n 'excessive-number-of-pending-callbacks',\n `Please report: Excessive number of pending callbacks: ${\n this._successCallbacks.size\n }. Some pending callbacks that might have leaked by never being called from native code: ${stringifySafe(\n info,\n )}`,\n );\n }\n }\n // Encode callIDs into pairs of callback identifiers by shifting left and using the rightmost bit\n // to indicate fail (0) or success (1)\n // eslint-disable-next-line no-bitwise\n onFail && params.push(this._callID << 1);\n // eslint-disable-next-line no-bitwise\n onSucc && params.push((this._callID << 1) | 1);\n this._successCallbacks.set(this._callID, onSucc);\n this._failureCallbacks.set(this._callID, onFail);\n }\n if (__DEV__) {\n global.nativeTraceBeginAsyncFlow &&\n global.nativeTraceBeginAsyncFlow(\n TRACE_TAG_REACT_APPS,\n 'native',\n this._callID,\n );\n }\n this._callID++;\n }\n\n enqueueNativeCall(\n moduleID: number,\n methodID: number,\n params: any[],\n onFail: ?Function,\n onSucc: ?Function,\n ) {\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n\n this._queue[MODULE_IDS].push(moduleID);\n this._queue[METHOD_IDS].push(methodID);\n\n if (__DEV__) {\n // Validate that parameters passed over the bridge are\n // folly-convertible. As a special case, if a prop value is a\n // function it is permitted here, and special-cased in the\n // conversion.\n const isValidArgument = val => {\n const t = typeof val;\n if (\n t === 'undefined' ||\n t === 'null' ||\n t === 'boolean' ||\n t === 'string'\n ) {\n return true;\n }\n if (t === 'number') {\n return isFinite(val);\n }\n if (t === 'function' || t !== 'object') {\n return false;\n }\n if (Array.isArray(val)) {\n return val.every(isValidArgument);\n }\n for (const k in val) {\n if (typeof val[k] !== 'function' && !isValidArgument(val[k])) {\n return false;\n }\n }\n return true;\n };\n\n // Replacement allows normally non-JSON-convertible values to be\n // seen. There is ambiguity with string values, but in context,\n // it should at least be a strong hint.\n const replacer = (key, val) => {\n const t = typeof val;\n if (t === 'function') {\n return '<>';\n } else if (t === 'number' && !isFinite(val)) {\n return '<<' + val.toString() + '>>';\n } else {\n return val;\n }\n };\n\n // Note that JSON.stringify\n invariant(\n isValidArgument(params),\n '%s is not usable as a native method argument',\n JSON.stringify(params, replacer),\n );\n\n // The params object should not be mutated after being queued\n deepFreezeAndThrowOnMutationInDev((params: any));\n }\n this._queue[PARAMS].push(params);\n\n const now = Date.now();\n if (\n global.nativeFlushQueueImmediate &&\n now - this._lastFlush >= MIN_TIME_BETWEEN_FLUSHES_MS\n ) {\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n this._lastFlush = now;\n global.nativeFlushQueueImmediate(queue);\n }\n Systrace.counterEvent('pending_js_to_native_queue', this._queue[0].length);\n if (__DEV__ && this.__spy && isFinite(moduleID)) {\n this.__spy({\n type: TO_NATIVE,\n module: this._remoteModuleTable[moduleID],\n method: this._remoteMethodTable[moduleID][methodID],\n args: params,\n });\n } else if (this.__spy) {\n this.__spy({\n type: TO_NATIVE,\n module: moduleID + '',\n method: methodID,\n args: params,\n });\n }\n }\n\n createDebugLookup(\n moduleID: number,\n name: string,\n methods: ?$ReadOnlyArray,\n ) {\n if (__DEV__) {\n this._remoteModuleTable[moduleID] = name;\n this._remoteMethodTable[moduleID] = methods || [];\n }\n }\n\n // For JSTimers to register its callback. Otherwise a circular dependency\n // between modules is introduced. Note that only one callback may be\n // registered at a time.\n setImmediatesCallback(fn: () => void) {\n this._immediatesCallback = fn;\n }\n\n /**\n * Private methods\n */\n\n __guard(fn: () => void) {\n if (this.__shouldPauseOnThrow()) {\n fn();\n } else {\n try {\n fn();\n } catch (error) {\n ErrorUtils.reportFatalError(error);\n }\n }\n }\n\n // MessageQueue installs a global handler to catch all exceptions where JS users can register their own behavior\n // This handler makes all exceptions to be propagated from inside MessageQueue rather than by the VM at their origin\n // This makes stacktraces to be placed at MessageQueue rather than at where they were launched\n // The parameter DebuggerInternal.shouldPauseOnThrow is used to check before catching all exceptions and\n // can be configured by the VM or any Inspector\n __shouldPauseOnThrow(): boolean {\n return (\n // $FlowFixMe\n typeof DebuggerInternal !== 'undefined' &&\n DebuggerInternal.shouldPauseOnThrow === true // eslint-disable-line no-undef\n );\n }\n\n __callImmediates() {\n Systrace.beginEvent('JSTimers.callImmediates()');\n if (this._immediatesCallback != null) {\n this._immediatesCallback();\n }\n Systrace.endEvent();\n }\n\n __callFunction(module: string, method: string, args: any[]): any {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n if (__DEV__ || this.__spy) {\n Systrace.beginEvent(`${module}.${method}(${stringifySafe(args)})`);\n } else {\n Systrace.beginEvent(`${module}.${method}(...)`);\n }\n if (this.__spy) {\n this.__spy({type: TO_JS, module, method, args});\n }\n const moduleMethods = this.getCallableModule(module);\n invariant(\n !!moduleMethods,\n 'Module %s is not a registered callable module (calling %s)',\n module,\n method,\n );\n invariant(\n !!moduleMethods[method],\n 'Method %s does not exist on module %s',\n method,\n module,\n );\n const result = moduleMethods[method].apply(moduleMethods, args);\n Systrace.endEvent();\n return result;\n }\n\n __invokeCallback(cbID: number, args: any[]) {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n\n // The rightmost bit of cbID indicates fail (0) or success (1), the other bits are the callID shifted left.\n // eslint-disable-next-line no-bitwise\n const callID = cbID >>> 1;\n // eslint-disable-next-line no-bitwise\n const isSuccess = cbID & 1;\n const callback = isSuccess\n ? this._successCallbacks.get(callID)\n : this._failureCallbacks.get(callID);\n\n if (__DEV__) {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n invariant(\n callback,\n `No callback found with cbID ${cbID} and callID ${callID} for ` +\n (method\n ? ` ${module}.${method} - most likely the callback was already invoked`\n : `module ${module || ''}`) +\n `. Args: '${stringifySafe(args)}'`,\n );\n const profileName = debug\n ? ''\n : cbID;\n if (callback && this.__spy) {\n this.__spy({type: TO_JS, module: null, method: profileName, args});\n }\n Systrace.beginEvent(\n `MessageQueue.invokeCallback(${profileName}, ${stringifySafe(args)})`,\n );\n }\n\n if (!callback) {\n return;\n }\n\n this._successCallbacks.delete(callID);\n this._failureCallbacks.delete(callID);\n callback(...args);\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n }\n}\n\nmodule.exports = MessageQueue;\n","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {ErrorUtilsT} from '../../polyfills/error-guard.js';\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n *\n * However, we still want to treat ErrorUtils as a module so that other modules\n * that use it aren't just using a global variable, so simply export the global\n * variable here. ErrorUtils is originally defined in a file named error-guard.js.\n */\nmodule.exports = (global.ErrorUtils: ErrorUtilsT);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nconst TRACE_TAG_REACT_APPS = 1 << 17; // eslint-disable-line no-bitwise\nconst TRACE_TAG_JS_VM_CALLS = 1 << 27; // eslint-disable-line no-bitwise\n\nlet _enabled = false;\nlet _asyncCookie = 0;\nconst _markStack = [];\nlet _markStackIndex = -1;\nlet _canInstallReactHook = false;\n\n// Implements a subset of User Timing API necessary for React measurements.\n// https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API\nconst REACT_MARKER = '\\u269B';\nconst userTimingPolyfill = __DEV__\n ? {\n mark(markName: string) {\n if (_enabled) {\n _markStackIndex++;\n _markStack[_markStackIndex] = markName;\n let systraceLabel = markName;\n // Since perf measurements are a shared namespace in User Timing API,\n // we prefix all React results with a React emoji.\n if (markName[0] === REACT_MARKER) {\n // This is coming from React.\n // Removing component IDs keeps trace colors stable.\n const indexOfId = markName.lastIndexOf(' (#');\n const cutoffIndex = indexOfId !== -1 ? indexOfId : markName.length;\n // Also cut off the emoji because it breaks Systrace\n systraceLabel = markName.slice(2, cutoffIndex);\n }\n Systrace.beginEvent(systraceLabel);\n }\n },\n measure(measureName: string, startMark: ?string, endMark: ?string) {\n if (_enabled) {\n invariant(\n typeof measureName === 'string' &&\n typeof startMark === 'string' &&\n typeof endMark === 'undefined',\n 'Only performance.measure(string, string) overload is supported.',\n );\n const topMark = _markStack[_markStackIndex];\n invariant(\n startMark === topMark,\n 'There was a mismatching performance.measure() call. ' +\n 'Expected \"%s\" but got \"%s.\"',\n topMark,\n startMark,\n );\n _markStackIndex--;\n // We can't use more descriptive measureName because Systrace doesn't\n // let us edit labels post factum.\n Systrace.endEvent();\n }\n },\n clearMarks(markName: string) {\n if (_enabled) {\n if (_markStackIndex === -1) {\n return;\n }\n if (markName === _markStack[_markStackIndex]) {\n // React uses this for \"cancelling\" started measurements.\n // Systrace doesn't support deleting measurements, so we just stop them.\n if (userTimingPolyfill != null) {\n userTimingPolyfill.measure(markName, markName);\n }\n }\n }\n },\n clearMeasures() {\n // React calls this to avoid memory leaks in browsers, but we don't keep\n // measurements anyway.\n },\n }\n : null;\n\nconst Systrace = {\n installReactHook() {\n if (_enabled) {\n if (__DEV__) {\n global.performance = userTimingPolyfill;\n }\n }\n _canInstallReactHook = true;\n },\n\n setEnabled(enabled: boolean) {\n if (_enabled !== enabled) {\n if (__DEV__) {\n if (enabled) {\n global.nativeTraceBeginLegacy &&\n global.nativeTraceBeginLegacy(TRACE_TAG_JS_VM_CALLS);\n } else {\n global.nativeTraceEndLegacy &&\n global.nativeTraceEndLegacy(TRACE_TAG_JS_VM_CALLS);\n }\n if (_canInstallReactHook) {\n if (enabled && global.performance === undefined) {\n global.performance = userTimingPolyfill;\n }\n }\n }\n _enabled = enabled;\n }\n },\n\n isEnabled(): boolean {\n return _enabled;\n },\n\n /**\n * beginEvent/endEvent for starting and then ending a profile within the same call stack frame\n **/\n beginEvent(profileName?: any, args?: any) {\n if (_enabled) {\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceBeginSection(TRACE_TAG_REACT_APPS, profileName, args);\n }\n },\n\n endEvent() {\n if (_enabled) {\n global.nativeTraceEndSection(TRACE_TAG_REACT_APPS);\n }\n },\n\n /**\n * beginAsyncEvent/endAsyncEvent for starting and then ending a profile where the end can either\n * occur on another thread or out of the current stack frame, eg await\n * the returned cookie variable should be used as input into the endAsyncEvent call to end the profile\n **/\n beginAsyncEvent(profileName?: any): any {\n const cookie = _asyncCookie;\n if (_enabled) {\n _asyncCookie++;\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceBeginAsyncSection(\n TRACE_TAG_REACT_APPS,\n profileName,\n cookie,\n );\n }\n return cookie;\n },\n\n endAsyncEvent(profileName?: any, cookie?: any) {\n if (_enabled) {\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceEndAsyncSection(\n TRACE_TAG_REACT_APPS,\n profileName,\n cookie,\n );\n }\n },\n\n /**\n * counterEvent registers the value to the profileName on the systrace timeline\n **/\n counterEvent(profileName?: any, value?: any) {\n if (_enabled) {\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceCounter &&\n global.nativeTraceCounter(TRACE_TAG_REACT_APPS, profileName, value);\n }\n },\n};\n\nif (__DEV__) {\n // This is needed, because require callis in polyfills are not processed as\n // other files. Therefore, calls to `require('moduleId')` are not replaced\n // with numeric IDs\n // TODO(davidaurelio) Scan polyfills for dependencies, too (t9759686)\n (require: any).Systrace = Systrace;\n}\n\nmodule.exports = Systrace;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n/**\n * If your application is accepting different values for the same field over\n * time and is doing a diff on them, you can either (1) create a copy or\n * (2) ensure that those values are not mutated behind two passes.\n * This function helps you with (2) by freezing the object and throwing if\n * the user subsequently modifies the value.\n *\n * There are two caveats with this function:\n * - If the call site is not in strict mode, it will only throw when\n * mutating existing fields, adding a new one\n * will unfortunately fail silently :(\n * - If the object is already frozen or sealed, it will not continue the\n * deep traversal and will leave leaf nodes unfrozen.\n *\n * Freezing the object and adding the throw mechanism is expensive and will\n * only be used in DEV.\n */\nfunction deepFreezeAndThrowOnMutationInDev(object: T): T {\n if (__DEV__) {\n if (\n typeof object !== 'object' ||\n object === null ||\n Object.isFrozen(object) ||\n Object.isSealed(object)\n ) {\n return object;\n }\n\n const keys = Object.keys(object);\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n Object.defineProperty(object, key, {\n get: identity.bind(null, object[key]),\n });\n Object.defineProperty(object, key, {\n set: throwOnImmutableMutation.bind(null, key),\n });\n }\n }\n\n Object.freeze(object);\n Object.seal(object);\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n deepFreezeAndThrowOnMutationInDev(object[key]);\n }\n }\n }\n return object;\n}\n\nfunction throwOnImmutableMutation(key, value) {\n throw Error(\n 'You attempted to set the key `' +\n key +\n '` with the value `' +\n JSON.stringify(value) +\n '` on an object that is meant to be immutable ' +\n 'and has been frozen.',\n );\n}\n\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = deepFreezeAndThrowOnMutationInDev;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n/**\n * Tries to stringify with JSON.stringify and toString, but catches exceptions\n * (e.g. from circular objects) and always returns a string and never throws.\n */\nfunction stringifySafe(arg: any): string {\n let ret;\n const type = typeof arg;\n if (arg === undefined) {\n ret = 'undefined';\n } else if (arg === null) {\n ret = 'null';\n } else if (type === 'string') {\n ret = '\"' + arg + '\"';\n } else if (type === 'function') {\n try {\n ret = arg.toString();\n } catch (e) {\n ret = '[function unknown]';\n }\n } else if (arg instanceof Error) {\n ret = arg.name + ': ' + arg.message;\n } else {\n // Perform a try catch, just in case the object has a circular\n // reference or stringify throws for some other reason.\n try {\n ret = JSON.stringify(arg);\n } catch (e) {\n if (typeof arg.toString === 'function') {\n try {\n ret = arg.toString();\n } catch (E) {}\n }\n }\n }\n return ret || '[\"' + type + '\" failed to stringify]';\n}\n\nmodule.exports = stringifySafe;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n/**\n * Defines a lazily evaluated property on the supplied `object`.\n */\nfunction defineLazyObjectProperty(\n object: Object,\n name: string,\n descriptor: {\n get: () => T,\n enumerable?: boolean,\n writable?: boolean,\n },\n): void {\n const {get} = descriptor;\n const enumerable = descriptor.enumerable !== false;\n const writable = descriptor.writable !== false;\n\n let value;\n let valueSet = false;\n function getValue(): T {\n // WORKAROUND: A weird infinite loop occurs where calling `getValue` calls\n // `setValue` which calls `Object.defineProperty` which somehow triggers\n // `getValue` again. Adding `valueSet` breaks this loop.\n if (!valueSet) {\n // Calling `get()` here can trigger an infinite loop if it fails to\n // remove the getter on the property, which can happen when executing\n // JS in a V8 context. `valueSet = true` will break this loop, and\n // sets the value of the property to undefined, until the code in `get()`\n // finishes, at which point the property is set to the correct value.\n valueSet = true;\n setValue(get());\n }\n return value;\n }\n function setValue(newValue: T): void {\n value = newValue;\n valueSet = true;\n Object.defineProperty(object, name, {\n value: newValue,\n configurable: true,\n enumerable,\n writable,\n });\n }\n\n Object.defineProperty(object, name, {\n get: getValue,\n set: setValue,\n configurable: true,\n enumerable,\n });\n}\n\nmodule.exports = defineLazyObjectProperty;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Promise = require('promise/setimmediate/es6-extensions');\n\nrequire('promise/setimmediate/done');\nrequire('promise/setimmediate/finally');\n\nif (__DEV__) {\n require('promise/setimmediate/rejection-tracking').enable({\n allRejections: true,\n onUnhandled: (id, error = {}) => {\n let message: string;\n let stack: ?string;\n\n const stringValue = Object.prototype.toString.call(error);\n if (stringValue === '[object Error]') {\n message = Error.prototype.toString.call(error);\n stack = error.stack;\n } else {\n message = require('pretty-format')(error);\n }\n\n const warning =\n `Possible Unhandled Promise Rejection (id: ${id}):\\n` +\n `${message}\\n` +\n (stack == null ? '' : stack);\n console.warn(warning);\n },\n onHandled: id => {\n const warning =\n `Promise Rejection Handled (id: ${id})\\n` +\n 'This means you can ignore any previous messages of the form ' +\n `\"Possible Unhandled Promise Rejection (id: ${id}):\"`;\n console.warn(warning);\n },\n });\n}\n\nmodule.exports = Promise;\n","'use strict';\n\n//This file contains the ES6 extensions to the core Promises/A+ API\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\n\n/* Static Functions */\n\nvar TRUE = valuePromise(true);\nvar FALSE = valuePromise(false);\nvar NULL = valuePromise(null);\nvar UNDEFINED = valuePromise(undefined);\nvar ZERO = valuePromise(0);\nvar EMPTYSTRING = valuePromise('');\n\nfunction valuePromise(value) {\n var p = new Promise(Promise._61);\n p._65 = 1;\n p._55 = value;\n return p;\n}\nPromise.resolve = function (value) {\n if (value instanceof Promise) return value;\n\n if (value === null) return NULL;\n if (value === undefined) return UNDEFINED;\n if (value === true) return TRUE;\n if (value === false) return FALSE;\n if (value === 0) return ZERO;\n if (value === '') return EMPTYSTRING;\n\n if (typeof value === 'object' || typeof value === 'function') {\n try {\n var then = value.then;\n if (typeof then === 'function') {\n return new Promise(then.bind(value));\n }\n } catch (ex) {\n return new Promise(function (resolve, reject) {\n reject(ex);\n });\n }\n }\n return valuePromise(value);\n};\n\nPromise.all = function (arr) {\n var args = Array.prototype.slice.call(arr);\n\n return new Promise(function (resolve, reject) {\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n function res(i, val) {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n if (val instanceof Promise && val.then === Promise.prototype.then) {\n while (val._65 === 3) {\n val = val._55;\n }\n if (val._65 === 1) return res(i, val._55);\n if (val._65 === 2) reject(val._55);\n val.then(function (val) {\n res(i, val);\n }, reject);\n return;\n } else {\n var then = val.then;\n if (typeof then === 'function') {\n var p = new Promise(then.bind(val));\n p.then(function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n }\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\n\nPromise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n};\n\nPromise.race = function (values) {\n return new Promise(function (resolve, reject) {\n values.forEach(function(value){\n Promise.resolve(value).then(resolve, reject);\n });\n });\n};\n\n/* Prototype Methods */\n\nPromise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n};\n","'use strict';\n\n\n\nfunction noop() {}\n\n// States:\n//\n// 0 - pending\n// 1 - fulfilled with _value\n// 2 - rejected with _value\n// 3 - adopted the state of another promise, _value\n//\n// once the state is no longer pending (0) it is immutable\n\n// All `_` prefixed properties will be reduced to `_{random number}`\n// at build time to obfuscate them and discourage their use.\n// We don't use symbols or Object.defineProperty to fully hide them\n// because the performance isn't good enough.\n\n\n// to avoid using try/catch inside critical functions, we\n// extract them to here.\nvar LAST_ERROR = null;\nvar IS_ERROR = {};\nfunction getThen(obj) {\n try {\n return obj.then;\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\n\nfunction tryCallOne(fn, a) {\n try {\n return fn(a);\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\nfunction tryCallTwo(fn, a, b) {\n try {\n fn(a, b);\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\n\nmodule.exports = Promise;\n\nfunction Promise(fn) {\n if (typeof this !== 'object') {\n throw new TypeError('Promises must be constructed via new');\n }\n if (typeof fn !== 'function') {\n throw new TypeError('Promise constructor\\'s argument is not a function');\n }\n this._40 = 0;\n this._65 = 0;\n this._55 = null;\n this._72 = null;\n if (fn === noop) return;\n doResolve(fn, this);\n}\nPromise._37 = null;\nPromise._87 = null;\nPromise._61 = noop;\n\nPromise.prototype.then = function(onFulfilled, onRejected) {\n if (this.constructor !== Promise) {\n return safeThen(this, onFulfilled, onRejected);\n }\n var res = new Promise(noop);\n handle(this, new Handler(onFulfilled, onRejected, res));\n return res;\n};\n\nfunction safeThen(self, onFulfilled, onRejected) {\n return new self.constructor(function (resolve, reject) {\n var res = new Promise(noop);\n res.then(resolve, reject);\n handle(self, new Handler(onFulfilled, onRejected, res));\n });\n}\nfunction handle(self, deferred) {\n while (self._65 === 3) {\n self = self._55;\n }\n if (Promise._37) {\n Promise._37(self);\n }\n if (self._65 === 0) {\n if (self._40 === 0) {\n self._40 = 1;\n self._72 = deferred;\n return;\n }\n if (self._40 === 1) {\n self._40 = 2;\n self._72 = [self._72, deferred];\n return;\n }\n self._72.push(deferred);\n return;\n }\n handleResolved(self, deferred);\n}\n\nfunction handleResolved(self, deferred) {\n setImmediate(function() {\n var cb = self._65 === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n if (self._65 === 1) {\n resolve(deferred.promise, self._55);\n } else {\n reject(deferred.promise, self._55);\n }\n return;\n }\n var ret = tryCallOne(cb, self._55);\n if (ret === IS_ERROR) {\n reject(deferred.promise, LAST_ERROR);\n } else {\n resolve(deferred.promise, ret);\n }\n });\n}\nfunction resolve(self, newValue) {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self) {\n return reject(\n self,\n new TypeError('A promise cannot be resolved with itself.')\n );\n }\n if (\n newValue &&\n (typeof newValue === 'object' || typeof newValue === 'function')\n ) {\n var then = getThen(newValue);\n if (then === IS_ERROR) {\n return reject(self, LAST_ERROR);\n }\n if (\n then === self.then &&\n newValue instanceof Promise\n ) {\n self._65 = 3;\n self._55 = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(then.bind(newValue), self);\n return;\n }\n }\n self._65 = 1;\n self._55 = newValue;\n finale(self);\n}\n\nfunction reject(self, newValue) {\n self._65 = 2;\n self._55 = newValue;\n if (Promise._87) {\n Promise._87(self, newValue);\n }\n finale(self);\n}\nfunction finale(self) {\n if (self._40 === 1) {\n handle(self, self._72);\n self._72 = null;\n }\n if (self._40 === 2) {\n for (var i = 0; i < self._72.length; i++) {\n handle(self, self._72[i]);\n }\n self._72 = null;\n }\n}\n\nfunction Handler(onFulfilled, onRejected, promise){\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n}\n\n/**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\nfunction doResolve(fn, promise) {\n var done = false;\n var res = tryCallTwo(fn, function (value) {\n if (done) return;\n done = true;\n resolve(promise, value);\n }, function (reason) {\n if (done) return;\n done = true;\n reject(promise, reason);\n });\n if (!done && res === IS_ERROR) {\n done = true;\n reject(promise, LAST_ERROR);\n }\n}\n","'use strict';\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\nPromise.prototype.done = function (onFulfilled, onRejected) {\n var self = arguments.length ? this.then.apply(this, arguments) : this;\n self.then(null, function (err) {\n setTimeout(function () {\n throw err;\n }, 0);\n });\n};\n","'use strict';\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\nPromise.prototype['finally'] = function (f) {\n return this.then(function (value) {\n return Promise.resolve(f()).then(function () {\n return value;\n });\n }, function (err) {\n return Promise.resolve(f()).then(function () {\n throw err;\n });\n });\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EventEmitter = require('../vendor/emitter/EventEmitter');\nconst EventSubscriptionVendor = require('../vendor/emitter/EventSubscriptionVendor');\n\nimport type EmitterSubscription from '../vendor/emitter/EmitterSubscription';\n\nfunction checkNativeEventModule(eventType: ?string) {\n if (eventType) {\n if (eventType.lastIndexOf('statusBar', 0) === 0) {\n throw new Error(\n '`' +\n eventType +\n '` event should be registered via the StatusBarIOS module',\n );\n }\n if (eventType.lastIndexOf('keyboard', 0) === 0) {\n throw new Error(\n '`' +\n eventType +\n '` event should be registered via the Keyboard module',\n );\n }\n if (eventType === 'appStateDidChange' || eventType === 'memoryWarning') {\n throw new Error(\n '`' +\n eventType +\n '` event should be registered via the AppState module',\n );\n }\n }\n}\n\n/**\n * Deprecated - subclass NativeEventEmitter to create granular event modules instead of\n * adding all event listeners directly to RCTDeviceEventEmitter.\n */\nclass RCTDeviceEventEmitter extends EventEmitter {\n sharedSubscriber: EventSubscriptionVendor;\n\n constructor() {\n const sharedSubscriber = new EventSubscriptionVendor();\n super(sharedSubscriber);\n this.sharedSubscriber = sharedSubscriber;\n }\n\n addListener(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n if (__DEV__) {\n checkNativeEventModule(eventType);\n }\n return super.addListener(eventType, listener, context);\n }\n\n removeAllListeners(eventType: ?string) {\n if (__DEV__) {\n checkNativeEventModule(eventType);\n }\n super.removeAllListeners(eventType);\n }\n\n removeSubscription(subscription: EmitterSubscription) {\n if (subscription.emitter !== this) {\n subscription.emitter.removeSubscription(subscription);\n } else {\n super.removeSubscription(subscription);\n }\n }\n}\n\nmodule.exports = (new RCTDeviceEventEmitter(): RCTDeviceEventEmitter);\n","var superPropBase = require(\"./superPropBase\");\n\nfunction _get(target, property, receiver) {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n module.exports = _get = Reflect.get;\n } else {\n module.exports = _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n\n if (desc.get) {\n return desc.get.call(receiver);\n }\n\n return desc.value;\n };\n }\n\n return _get(target, property, receiver || target);\n}\n\nmodule.exports = _get;","var getPrototypeOf = require(\"./getPrototypeOf\");\n\nfunction _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n\n return object;\n}\n\nmodule.exports = _superPropBase;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;","var setPrototypeOf = require(\"./setPrototypeOf\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;","var _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nvar assertThisInitialized = require(\"./assertThisInitialized\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n * @typecheck\n */\n\n'use strict';\n\nconst EmitterSubscription = require('./EmitterSubscription');\nconst EventSubscriptionVendor = require('./EventSubscriptionVendor');\n\nconst invariant = require('invariant');\n\nconst sparseFilterPredicate = () => true;\n\n/**\n * @class EventEmitter\n * @description\n * An EventEmitter is responsible for managing a set of listeners and publishing\n * events to them when it is told that such events happened. In addition to the\n * data for the given event it also sends a event control object which allows\n * the listeners/handlers to prevent the default behavior of the given event.\n *\n * The emitter is designed to be generic enough to support all the different\n * contexts in which one might want to emit events. It is a simple multicast\n * mechanism on top of which extra functionality can be composed. For example, a\n * more advanced emitter may use an EventHolder and EventFactory.\n */\nclass EventEmitter {\n _subscriber: EventSubscriptionVendor;\n _currentSubscription: ?EmitterSubscription;\n\n /**\n * @constructor\n *\n * @param {EventSubscriptionVendor} subscriber - Optional subscriber instance\n * to use. If omitted, a new subscriber will be created for the emitter.\n */\n constructor(subscriber: ?EventSubscriptionVendor) {\n this._subscriber = subscriber || new EventSubscriptionVendor();\n }\n\n /**\n * Adds a listener to be invoked when events of the specified type are\n * emitted. An optional calling context may be provided. The data arguments\n * emitted will be passed to the listener function.\n *\n * TODO: Annotate the listener arg's type. This is tricky because listeners\n * can be invoked with varargs.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n addListener(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n return (this._subscriber.addSubscription(\n eventType,\n new EmitterSubscription(this, this._subscriber, listener, context),\n ): any);\n }\n\n /**\n * Similar to addListener, except that the listener is removed after it is\n * invoked once.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke only once when the\n * specified event is emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n once(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n return this.addListener(eventType, (...args) => {\n this.removeCurrentListener();\n listener.apply(context, args);\n });\n }\n\n /**\n * Removes all of the registered listeners, including those registered as\n * listener maps.\n *\n * @param {?string} eventType - Optional name of the event whose registered\n * listeners to remove\n */\n removeAllListeners(eventType: ?string) {\n this._subscriber.removeAllSubscriptions(eventType);\n }\n\n /**\n * Provides an API that can be called during an eventing cycle to remove the\n * last listener that was invoked. This allows a developer to provide an event\n * object that can remove the listener (or listener map) during the\n * invocation.\n *\n * If it is called when not inside of an emitting cycle it will throw.\n *\n * @throws {Error} When called not during an eventing cycle\n *\n * @example\n * var subscription = emitter.addListenerMap({\n * someEvent: function(data, event) {\n * console.log(data);\n * emitter.removeCurrentListener();\n * }\n * });\n *\n * emitter.emit('someEvent', 'abc'); // logs 'abc'\n * emitter.emit('someEvent', 'def'); // does not log anything\n */\n removeCurrentListener() {\n invariant(\n !!this._currentSubscription,\n 'Not in an emitting cycle; there is no current subscription',\n );\n this.removeSubscription(this._currentSubscription);\n }\n\n /**\n * Removes a specific subscription. Called by the `remove()` method of the\n * subscription itself to ensure any necessary cleanup is performed.\n */\n removeSubscription(subscription: EmitterSubscription) {\n invariant(\n subscription.emitter === this,\n 'Subscription does not belong to this emitter.',\n );\n this._subscriber.removeSubscription(subscription);\n }\n\n /**\n * Returns an array of listeners that are currently registered for the given\n * event.\n *\n * @param {string} eventType - Name of the event to query\n * @returns {array}\n */\n listeners(eventType: string): [EmitterSubscription] {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n return subscriptions\n ? subscriptions\n // We filter out missing entries because the array is sparse.\n // \"callbackfn is called only for elements of the array which actually\n // exist; it is not called for missing elements of the array.\"\n // https://www.ecma-international.org/ecma-262/9.0/index.html#sec-array.prototype.filter\n .filter(sparseFilterPredicate)\n .map(subscription => subscription.listener)\n : [];\n }\n\n /**\n * Emits an event of the given type with the given data. All handlers of that\n * particular type will be notified.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {...*} Arbitrary arguments to be passed to each registered listener\n *\n * @example\n * emitter.addListener('someEvent', function(message) {\n * console.log(message);\n * });\n *\n * emitter.emit('someEvent', 'abc'); // logs 'abc'\n */\n emit(eventType: string) {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n if (subscriptions) {\n for (let i = 0, l = subscriptions.length; i < l; i++) {\n const subscription = subscriptions[i];\n\n // The subscription may have been removed during this event loop.\n if (subscription && subscription.listener) {\n this._currentSubscription = subscription;\n subscription.listener.apply(\n subscription.context,\n Array.prototype.slice.call(arguments, 1),\n );\n }\n }\n this._currentSubscription = null;\n }\n }\n\n /**\n * Removes the given listener for event of specific type.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n *\n * @example\n * emitter.removeListener('someEvent', function(message) {\n * console.log(message);\n * }); // removes the listener if already registered\n *\n */\n removeListener(eventType: String, listener) {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n if (subscriptions) {\n for (let i = 0, l = subscriptions.length; i < l; i++) {\n const subscription = subscriptions[i];\n\n // The subscription may have been removed during this event loop.\n // its listener matches the listener in method parameters\n if (subscription && subscription.listener === listener) {\n subscription.remove();\n }\n }\n }\n }\n}\n\nmodule.exports = EventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EventSubscription = require('./EventSubscription');\n\nimport type EventEmitter from './EventEmitter';\nimport type EventSubscriptionVendor from './EventSubscriptionVendor';\n\n/**\n * EmitterSubscription represents a subscription with listener and context data.\n */\nclass EmitterSubscription extends EventSubscription {\n emitter: EventEmitter;\n listener: Function;\n context: ?Object;\n\n /**\n * @param {EventEmitter} emitter - The event emitter that registered this\n * subscription\n * @param {EventSubscriptionVendor} subscriber - The subscriber that controls\n * this subscription\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n constructor(\n emitter: EventEmitter,\n subscriber: EventSubscriptionVendor,\n listener: Function,\n context: ?Object,\n ) {\n super(subscriber);\n this.emitter = emitter;\n this.listener = listener;\n this.context = context;\n }\n\n /**\n * Removes this subscription from the emitter that registered it.\n * Note: we're overriding the `remove()` method of EventSubscription here\n * but deliberately not calling `super.remove()` as the responsibility\n * for removing the subscription lies with the EventEmitter.\n */\n remove() {\n this.emitter.removeSubscription(this);\n }\n}\n\nmodule.exports = EmitterSubscription;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type EventSubscriptionVendor from './EventSubscriptionVendor';\n\n/**\n * EventSubscription represents a subscription to a particular event. It can\n * remove its own subscription.\n */\nclass EventSubscription {\n eventType: string;\n key: number;\n subscriber: EventSubscriptionVendor;\n\n /**\n * @param {EventSubscriptionVendor} subscriber the subscriber that controls\n * this subscription.\n */\n constructor(subscriber: EventSubscriptionVendor) {\n this.subscriber = subscriber;\n }\n\n /**\n * Removes this subscription from the subscriber that controls it.\n */\n remove() {\n this.subscriber.removeSubscription(this);\n }\n}\n\nmodule.exports = EventSubscription;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nimport type EventSubscription from './EventSubscription';\n\n/**\n * EventSubscriptionVendor stores a set of EventSubscriptions that are\n * subscribed to a particular event type.\n */\nclass EventSubscriptionVendor {\n _subscriptionsForType: Object;\n _currentSubscription: ?EventSubscription;\n\n constructor() {\n this._subscriptionsForType = {};\n this._currentSubscription = null;\n }\n\n /**\n * Adds a subscription keyed by an event type.\n *\n * @param {string} eventType\n * @param {EventSubscription} subscription\n */\n addSubscription(\n eventType: string,\n subscription: EventSubscription,\n ): EventSubscription {\n invariant(\n subscription.subscriber === this,\n 'The subscriber of the subscription is incorrectly set.',\n );\n if (!this._subscriptionsForType[eventType]) {\n this._subscriptionsForType[eventType] = [];\n }\n const key = this._subscriptionsForType[eventType].length;\n this._subscriptionsForType[eventType].push(subscription);\n subscription.eventType = eventType;\n subscription.key = key;\n return subscription;\n }\n\n /**\n * Removes a bulk set of the subscriptions.\n *\n * @param {?string} eventType - Optional name of the event type whose\n * registered supscriptions to remove, if null remove all subscriptions.\n */\n removeAllSubscriptions(eventType: ?string) {\n if (eventType === undefined) {\n this._subscriptionsForType = {};\n } else {\n delete this._subscriptionsForType[eventType];\n }\n }\n\n /**\n * Removes a specific subscription. Instead of calling this function, call\n * `subscription.remove()` directly.\n *\n * @param {object} subscription\n */\n removeSubscription(subscription: Object) {\n const eventType = subscription.eventType;\n const key = subscription.key;\n\n const subscriptionsForType = this._subscriptionsForType[eventType];\n if (subscriptionsForType) {\n delete subscriptionsForType[key];\n }\n }\n\n /**\n * Returns the array of subscriptions that are currently registered for the\n * given event type.\n *\n * Note: This array can be potentially sparse as subscriptions are deleted\n * from it when they are removed.\n *\n * TODO: This returns a nullable array. wat?\n *\n * @param {string} eventType\n * @returns {?array}\n */\n getSubscriptionsForType(eventType: string): ?[EventSubscription] {\n return this._subscriptionsForType[eventType];\n }\n}\n\nmodule.exports = EventSubscriptionVendor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\n\nimport type {NativeComponent} from '../../Renderer/shims/ReactNative';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nconst PlatformActivityIndicator =\n Platform.OS === 'android'\n ? require('../ProgressBarAndroid/ProgressBarAndroid')\n : require('./ActivityIndicatorViewNativeComponent').default;\n\nconst GRAY = '#999999';\n\ntype IndicatorSize = number | 'small' | 'large';\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Whether the indicator should hide when not animating (true by default).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#hideswhenstopped\n */\n hidesWhenStopped?: ?boolean,\n|}>;\ntype Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n\n /**\n * Whether to show the indicator (true, the default) or hide it (false).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#animating\n */\n animating?: ?boolean,\n\n /**\n * The foreground color of the spinner (default is gray).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#color\n */\n color?: ?string,\n\n /**\n * Size of the indicator (default is 'small').\n * Passing a number to the size prop is only supported on Android.\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#size\n */\n size?: ?IndicatorSize,\n|}>;\n\n/**\n * Displays a circular loading indicator.\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html\n */\nconst ActivityIndicator = (props: Props, forwardedRef?: any) => {\n const {onLayout, style, size, ...restProps} = props;\n let sizeStyle;\n let sizeProp;\n\n switch (size) {\n case 'small':\n sizeStyle = styles.sizeSmall;\n sizeProp = 'small';\n break;\n case 'large':\n sizeStyle = styles.sizeLarge;\n sizeProp = 'large';\n break;\n default:\n sizeStyle = {height: props.size, width: props.size};\n break;\n }\n\n const nativeProps = {\n ...restProps,\n ref: forwardedRef,\n style: sizeStyle,\n size: sizeProp,\n };\n\n const androidProps = {\n styleAttr: 'Normal',\n indeterminate: true,\n };\n\n return (\n \n {Platform.OS === 'android' ? (\n // $FlowFixMe Flow doesn't know when this is the android component\n \n ) : (\n \n )}\n \n );\n};\n\nconst ActivityIndicatorWithRef = React.forwardRef(ActivityIndicator);\nActivityIndicatorWithRef.displayName = 'ActivityIndicator';\n\n/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.89 was deployed. To see the error, delete this comment\n * and run Flow. */\nActivityIndicatorWithRef.defaultProps = {\n animating: true,\n color: Platform.OS === 'ios' ? GRAY : null,\n hidesWhenStopped: true,\n size: 'small',\n};\n\nconst styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center',\n },\n sizeSmall: {\n width: 20,\n height: 20,\n },\n sizeLarge: {\n width: 36,\n height: 36,\n },\n});\n\n/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.89 was deployed. To see the error, delete this comment\n * and run Flow. */\nmodule.exports = (ActivityIndicatorWithRef: Class>);\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport NativePlatformConstantsIOS from './NativePlatformConstantsIOS';\n\nexport type PlatformSelectSpec = {\n default?: D,\n ios?: I,\n};\n\nconst Platform = {\n __constants: null,\n OS: 'ios',\n get Version(): $FlowFixMe {\n return this.constants.osVersion;\n },\n get constants(): {|\n forceTouchAvailable: boolean,\n interfaceIdiom: string,\n isTesting: boolean,\n osVersion: string,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n systemName: string,\n |} {\n if (this.__constants == null) {\n this.__constants = NativePlatformConstantsIOS.getConstants();\n }\n return this.__constants;\n },\n get isPad(): boolean {\n return this.constants.interfaceIdiom === 'pad';\n },\n /**\n * Deprecated, use `isTV` instead.\n */\n get isTVOS(): boolean {\n return Platform.isTV;\n },\n get isTV(): boolean {\n return this.constants.interfaceIdiom === 'tv';\n },\n get isTesting(): boolean {\n if (__DEV__) {\n return this.constants.isTesting;\n }\n return false;\n },\n select: (spec: PlatformSelectSpec): D | I =>\n 'ios' in spec ? spec.ios : spec.default,\n};\n\nmodule.exports = Platform;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n isTesting: boolean,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n forceTouchAvailable: boolean,\n osVersion: string,\n systemName: string,\n interfaceIdiom: string,\n |};\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'PlatformConstants',\n): Spec);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/** @license React v16.13.1\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var l=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.forward_ref\"):60112,y=n?Symbol.for(\"react.suspense\"):60113,z=n?Symbol.for(\"react.memo\"):60115,A=n?Symbol.for(\"react.lazy\"):\n60116,B=\"function\"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cQ.length&&Q.push(a)}\nfunction T(a,b,c,e){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var k=0;k's `style` prop. This ensures call sites of the component\n * can't pass styles that View doesn't support such as `fontSize`.`\n *\n * type Props = {style: ViewStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ViewStyleProp = ____ViewStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to a 's `style` prop. This ensures call sites of the component\n * can't pass styles that Text doesn't support such as `resizeMode`.`\n *\n * type Props = {style: TextStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type TextStyleProp = ____TextStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to an 's `style` prop. This ensures call sites of the component\n * can't pass styles that Image doesn't support such as `fontSize`.`\n *\n * type Props = {style: ImageStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ImageStyleProp = ____ImageStyleProp_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type\n * is similar to the ones above except it allows styles that are accepted\n * by all of View, Text, or Image. It is therefore very unsafe to pass this\n * through to an underlying component. Using this is almost always a mistake\n * and using one of the other more restrictive types is likely the right choice.\n */\nexport type DangerouslyImpreciseStyleProp = ____DangerouslyImpreciseStyleProp_Internal;\n\n/**\n * Utility type for getting the values for specific style keys.\n *\n * The following is bad because position is more restrictive than 'string':\n * ```\n * type Props = {position: string};\n * ```\n *\n * You should use the following instead:\n *\n * ```\n * type Props = {position: TypeForStyleKey<'position'>};\n * ```\n *\n * This will correctly give you the type 'absolute' | 'relative'\n */\nexport type TypeForStyleKey<\n +key: $Keys<____DangerouslyImpreciseStyle_Internal>,\n> = $ElementType<____DangerouslyImpreciseStyle_Internal, key>;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for View.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ViewStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a View that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ViewStyle = ____ViewStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Text.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using TextStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a Text that can't be precomputed with\n * StyleSheet.create.\n */\nexport type TextStyle = ____TextStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Image.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ImageStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to an Image that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ImageStyle = ____ImageStyle_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type is an object\n * with all possible style keys and their values. Note that this isn't\n * a safe way to type a style prop for a component as results from\n * StyleSheet.create return an internal identifier, not an object of styles.\n *\n * If you want to type the style prop of a function, consider using\n * ViewStyleProp, TextStyleProp, or ImageStyleProp.\n *\n * This should only be used by very core utilities that operate on an object\n * containing any possible style value.\n */\nexport type DangerouslyImpreciseStyle = ____DangerouslyImpreciseStyle_Internal;\n\nlet hairlineWidth: number = PixelRatio.roundToNearestPixel(0.4);\nif (hairlineWidth === 0) {\n hairlineWidth = 1 / PixelRatio.get();\n}\n\nconst absoluteFill = {\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n};\nif (__DEV__) {\n Object.freeze(absoluteFill);\n}\n\n/**\n * A StyleSheet is an abstraction similar to CSS StyleSheets\n *\n * Create a new StyleSheet:\n *\n * ```\n * const styles = StyleSheet.create({\n * container: {\n * borderRadius: 4,\n * borderWidth: 0.5,\n * borderColor: '#d6d7da',\n * },\n * title: {\n * fontSize: 19,\n * fontWeight: 'bold',\n * },\n * activeTitle: {\n * color: 'red',\n * },\n * });\n * ```\n *\n * Use a StyleSheet:\n *\n * ```\n * \n * \n * \n * ```\n *\n * Code quality:\n *\n * - By moving styles away from the render function, you're making the code\n * easier to understand.\n * - Naming the styles is a good way to add meaning to the low level components\n * in the render function.\n *\n * Performance:\n *\n * - Making a stylesheet from a style object makes it possible to refer to it\n * by ID instead of creating a new style object every time.\n * - It also allows to send the style only once through the bridge. All\n * subsequent uses are going to refer an id (not implemented yet).\n */\nmodule.exports = {\n /**\n * This is defined as the width of a thin line on the platform. It can be\n * used as the thickness of a border or division between two elements.\n * Example:\n * ```\n * {\n * borderBottomColor: '#bbb',\n * borderBottomWidth: StyleSheet.hairlineWidth\n * }\n * ```\n *\n * This constant will always be a round number of pixels (so a line defined\n * by it look crisp) and will try to match the standard width of a thin line\n * on the underlying platform. However, you should not rely on it being a\n * constant size, because on different platforms and screen densities its\n * value may be calculated differently.\n *\n * A line with hairline width may not be visible if your simulator is downscaled.\n */\n hairlineWidth,\n\n /**\n * A very common pattern is to create overlays with position absolute and zero positioning,\n * so `absoluteFill` can be used for convenience and to reduce duplication of these repeated\n * styles.\n */\n absoluteFill: (absoluteFill: any), // TODO: This should be updated after we fix downstream Flow sites.\n\n /**\n * Sometimes you may want `absoluteFill` but with a couple tweaks - `absoluteFillObject` can be\n * used to create a customized entry in a `StyleSheet`, e.g.:\n *\n * const styles = StyleSheet.create({\n * wrapper: {\n * ...StyleSheet.absoluteFillObject,\n * top: 10,\n * backgroundColor: 'transparent',\n * },\n * });\n */\n absoluteFillObject: absoluteFill,\n\n /**\n * Combines two styles such that `style2` will override any styles in `style1`.\n * If either style is falsy, the other one is returned without allocating an\n * array, saving allocations and maintaining reference equality for\n * PureComponent checks.\n */\n compose(\n style1: ?T,\n style2: ?T,\n ): ?T | $ReadOnlyArray {\n if (style1 != null && style2 != null) {\n return ([style1, style2]: $ReadOnlyArray);\n } else {\n return style1 != null ? style1 : style2;\n }\n },\n\n /**\n * Flattens an array of style objects, into one aggregated style object.\n * Alternatively, this method can be used to lookup IDs, returned by\n * StyleSheet.register.\n *\n * > **NOTE**: Exercise caution as abusing this can tax you in terms of\n * > optimizations.\n * >\n * > IDs enable optimizations through the bridge and memory in general. Referring\n * > to style objects directly will deprive you of these optimizations.\n *\n * Example:\n * ```\n * const styles = StyleSheet.create({\n * listItem: {\n * flex: 1,\n * fontSize: 16,\n * color: 'white'\n * },\n * selectedListItem: {\n * color: 'green'\n * }\n * });\n *\n * StyleSheet.flatten([styles.listItem, styles.selectedListItem])\n * // returns { flex: 1, fontSize: 16, color: 'green' }\n * ```\n * Alternative use:\n * ```\n * StyleSheet.flatten(styles.listItem);\n * // return { flex: 1, fontSize: 16, color: 'white' }\n * // Simply styles.listItem would return its ID (number)\n * ```\n * This method internally uses `StyleSheetRegistry.getStyleByID(style)`\n * to resolve style objects represented by IDs. Thus, an array of style\n * objects (instances of StyleSheet.create), are individually resolved to,\n * their respective objects, merged as one and then returned. This also explains\n * the alternative use.\n */\n flatten,\n\n /**\n * WARNING: EXPERIMENTAL. Breaking changes will probably happen a lot and will\n * not be reliably announced. The whole thing might be deleted, who knows? Use\n * at your own risk.\n *\n * Sets a function to use to pre-process a style property value. This is used\n * internally to process color and transform values. You should not use this\n * unless you really know what you are doing and have exhausted other options.\n */\n setStyleAttributePreprocessor(\n property: string,\n process: (nextProp: mixed) => mixed,\n ) {\n let value;\n\n if (ReactNativeStyleAttributes[property] === true) {\n value = {};\n } else if (typeof ReactNativeStyleAttributes[property] === 'object') {\n value = ReactNativeStyleAttributes[property];\n } else {\n console.error(`${property} is not a valid style attribute`);\n return;\n }\n\n if (__DEV__ && typeof value.process === 'function') {\n console.warn(`Overwriting ${property} style attribute preprocessor`);\n }\n\n ReactNativeStyleAttributes[property] = {...value, process};\n },\n\n /**\n * Creates a StyleSheet style reference from the given object.\n */\n create<+S: ____Styles_Internal>(obj: S): $ObjMap any> {\n // TODO: This should return S as the return type. But first,\n // we need to codemod all the callsites that are typing this\n // return value as a number (even though it was opaque).\n if (__DEV__) {\n for (const key in obj) {\n StyleSheetValidation.validateStyle(key, obj);\n if (obj[key]) {\n Object.freeze(obj[key]);\n }\n }\n }\n return obj;\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst Dimensions = require('./Dimensions');\n\n/**\n * PixelRatio class gives access to the device pixel density.\n *\n * ## Fetching a correctly sized image\n *\n * You should get a higher resolution image if you are on a high pixel density\n * device. A good rule of thumb is to multiply the size of the image you display\n * by the pixel ratio.\n *\n * ```\n * var image = getImage({\n * width: PixelRatio.getPixelSizeForLayoutSize(200),\n * height: PixelRatio.getPixelSizeForLayoutSize(100),\n * });\n * \n * ```\n *\n * ## Pixel grid snapping\n *\n * In iOS, you can specify positions and dimensions for elements with arbitrary\n * precision, for example 29.674825. But, ultimately the physical display only\n * have a fixed number of pixels, for example 640×960 for iPhone 4 or 750×1334\n * for iPhone 6. iOS tries to be as faithful as possible to the user value by\n * spreading one original pixel into multiple ones to trick the eye. The\n * downside of this technique is that it makes the resulting element look\n * blurry.\n *\n * In practice, we found out that developers do not want this feature and they\n * have to work around it by doing manual rounding in order to avoid having\n * blurry elements. In React Native, we are rounding all the pixels\n * automatically.\n *\n * We have to be careful when to do this rounding. You never want to work with\n * rounded and unrounded values at the same time as you're going to accumulate\n * rounding errors. Having even one rounding error is deadly because a one\n * pixel border may vanish or be twice as big.\n *\n * In React Native, everything in JavaScript and within the layout engine works\n * with arbitrary precision numbers. It's only when we set the position and\n * dimensions of the native element on the main thread that we round. Also,\n * rounding is done relative to the root rather than the parent, again to avoid\n * accumulating rounding errors.\n *\n */\nclass PixelRatio {\n /**\n * Returns the device pixel density. Some examples:\n *\n * - PixelRatio.get() === 1\n * - mdpi Android devices (160 dpi)\n * - PixelRatio.get() === 1.5\n * - hdpi Android devices (240 dpi)\n * - PixelRatio.get() === 2\n * - iPhone 4, 4S\n * - iPhone 5, 5c, 5s\n * - iPhone 6\n * - iPhone 7\n * - iPhone 8\n * - iPhone SE\n * - xhdpi Android devices (320 dpi)\n * - PixelRatio.get() === 3\n * - iPhone 6 Plus\n * - iPhone 7 Plus\n * - iPhone 8 Plus\n * - iPhone X\n * - xxhdpi Android devices (480 dpi)\n * - PixelRatio.get() === 3.5\n * - Nexus 6\n */\n static get(): number {\n return Dimensions.get('window').scale;\n }\n\n /**\n * Returns the scaling factor for font sizes. This is the ratio that is used to calculate the\n * absolute font size, so any elements that heavily depend on that should use this to do\n * calculations.\n *\n * If a font scale is not set, this returns the device pixel ratio.\n *\n * Currently this is only implemented on Android and reflects the user preference set in\n * Settings > Display > Font size, on iOS it will always return the default pixel ratio.\n * @platform android\n */\n static getFontScale(): number {\n return Dimensions.get('window').fontScale || PixelRatio.get();\n }\n\n /**\n * Converts a layout size (dp) to pixel size (px).\n *\n * Guaranteed to return an integer number.\n */\n static getPixelSizeForLayoutSize(layoutSize: number): number {\n return Math.round(layoutSize * PixelRatio.get());\n }\n\n /**\n * Rounds a layout size (dp) to the nearest layout size that corresponds to\n * an integer number of pixels. For example, on a device with a PixelRatio\n * of 3, `PixelRatio.roundToNearestPixel(8.4) = 8.33`, which corresponds to\n * exactly (8.33 * 3) = 25 pixels.\n */\n static roundToNearestPixel(layoutSize: number): number {\n const ratio = PixelRatio.get();\n return Math.round(layoutSize * ratio) / ratio;\n }\n\n // No-op for iOS, but used on the web. Should not be documented.\n static startDetecting() {}\n}\n\nmodule.exports = PixelRatio;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport EventEmitter from '../vendor/emitter/EventEmitter';\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeDeviceInfo, {\n type DisplayMetrics,\n type DimensionsPayload,\n} from './NativeDeviceInfo';\nimport invariant from 'invariant';\n\ntype DimensionsValue = {window?: DisplayMetrics, screen?: DisplayMetrics};\n\nconst eventEmitter = new EventEmitter();\nlet dimensionsInitialized = false;\nlet dimensions: DimensionsValue;\n\nclass Dimensions {\n /**\n * NOTE: `useWindowDimensions` is the preffered API for React components.\n *\n * Initial dimensions are set before `runApplication` is called so they should\n * be available before any other require's are run, but may be updated later.\n *\n * Note: Although dimensions are available immediately, they may change (e.g\n * due to device rotation) so any rendering logic or styles that depend on\n * these constants should try to call this function on every render, rather\n * than caching the value (for example, using inline styles rather than\n * setting a value in a `StyleSheet`).\n *\n * Example: `const {height, width} = Dimensions.get('window');`\n *\n * @param {string} dim Name of dimension as defined when calling `set`.\n * @returns {Object?} Value for the dimension.\n */\n static get(dim: string): Object {\n invariant(dimensions[dim], 'No dimension set for key ' + dim);\n return dimensions[dim];\n }\n\n /**\n * This should only be called from native code by sending the\n * didUpdateDimensions event.\n *\n * @param {object} dims Simple string-keyed object of dimensions to set\n */\n static set(dims: $ReadOnly<{[key: string]: any}>): void {\n // We calculate the window dimensions in JS so that we don't encounter loss of\n // precision in transferring the dimensions (which could be non-integers) over\n // the bridge.\n let {screen, window} = dims;\n const {windowPhysicalPixels} = dims;\n if (windowPhysicalPixels) {\n window = {\n width: windowPhysicalPixels.width / windowPhysicalPixels.scale,\n height: windowPhysicalPixels.height / windowPhysicalPixels.scale,\n scale: windowPhysicalPixels.scale,\n fontScale: windowPhysicalPixels.fontScale,\n };\n }\n const {screenPhysicalPixels} = dims;\n if (screenPhysicalPixels) {\n screen = {\n width: screenPhysicalPixels.width / screenPhysicalPixels.scale,\n height: screenPhysicalPixels.height / screenPhysicalPixels.scale,\n scale: screenPhysicalPixels.scale,\n fontScale: screenPhysicalPixels.fontScale,\n };\n } else if (screen == null) {\n screen = window;\n }\n\n dimensions = {window, screen};\n if (dimensionsInitialized) {\n // Don't fire 'change' the first time the dimensions are set.\n eventEmitter.emit('change', dimensions);\n } else {\n dimensionsInitialized = true;\n }\n }\n\n /**\n * Add an event handler. Supported events:\n *\n * - `change`: Fires when a property within the `Dimensions` object changes. The argument\n * to the event handler is an object with `window` and `screen` properties whose values\n * are the same as the return values of `Dimensions.get('window')` and\n * `Dimensions.get('screen')`, respectively.\n */\n static addEventListener(type: 'change', handler: Function) {\n invariant(\n type === 'change',\n 'Trying to subscribe to unknown event: \"%s\"',\n type,\n );\n eventEmitter.addListener(type, handler);\n }\n\n /**\n * Remove an event handler.\n */\n static removeEventListener(type: 'change', handler: Function) {\n invariant(\n type === 'change',\n 'Trying to remove listener for unknown event: \"%s\"',\n type,\n );\n eventEmitter.removeListener(type, handler);\n }\n}\n\nlet initialDims: ?$ReadOnly<{[key: string]: any}> =\n global.nativeExtensions &&\n global.nativeExtensions.DeviceInfo &&\n global.nativeExtensions.DeviceInfo.Dimensions;\nif (!initialDims) {\n // Subscribe before calling getConstants to make sure we don't miss any updates in between.\n RCTDeviceEventEmitter.addListener(\n 'didUpdateDimensions',\n (update: DimensionsPayload) => {\n Dimensions.set(update);\n },\n );\n // Can't use NativeDeviceInfo in ComponentScript because it does not support NativeModules,\n // but has nativeExtensions instead.\n initialDims = NativeDeviceInfo.getConstants().Dimensions;\n}\n\nDimensions.set(initialDims);\n\nmodule.exports = Dimensions;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype DisplayMetricsAndroid = $ReadOnly<{|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n densityDpi: number,\n|}>;\n\nexport type DisplayMetrics = $ReadOnly<{|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n|}>;\n\nexport type DimensionsPayload = $ReadOnly<{|\n window?: DisplayMetrics,\n screen?: DisplayMetrics,\n windowPhysicalPixels?: DisplayMetricsAndroid,\n screenPhysicalPixels?: DisplayMetricsAndroid,\n|}>;\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +Dimensions: DimensionsPayload,\n +isIPhoneX_deprecated?: boolean,\n |};\n}\n\nconst NativeModule: Spec = TurboModuleRegistry.getEnforcing('DeviceInfo');\n\nconst NativeDeviceInfo = NativeModule;\n\nexport default NativeDeviceInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format strict-local\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedImageStylePropTypes = require('../../DeprecatedPropTypes/DeprecatedImageStylePropTypes');\nconst DeprecatedTextStylePropTypes = require('../../DeprecatedPropTypes/DeprecatedTextStylePropTypes');\nconst DeprecatedViewStylePropTypes = require('../../DeprecatedPropTypes/DeprecatedViewStylePropTypes');\n\nconst processColor = require('../../StyleSheet/processColor');\nconst processTransform = require('../../StyleSheet/processTransform');\nconst sizesDiffer = require('../../Utilities/differ/sizesDiffer');\n\nconst ReactNativeStyleAttributes = {};\n\nfor (const attributeName of Object.keys({\n ...DeprecatedViewStylePropTypes,\n ...DeprecatedTextStylePropTypes,\n ...DeprecatedImageStylePropTypes,\n})) {\n ReactNativeStyleAttributes[attributeName] = true;\n}\n\nReactNativeStyleAttributes.transform = {process: processTransform};\nReactNativeStyleAttributes.shadowOffset = {diff: sizesDiffer};\n\nconst colorAttributes = {process: processColor};\nReactNativeStyleAttributes.backgroundColor = colorAttributes;\nReactNativeStyleAttributes.borderBottomColor = colorAttributes;\nReactNativeStyleAttributes.borderColor = colorAttributes;\nReactNativeStyleAttributes.borderLeftColor = colorAttributes;\nReactNativeStyleAttributes.borderRightColor = colorAttributes;\nReactNativeStyleAttributes.borderTopColor = colorAttributes;\nReactNativeStyleAttributes.borderStartColor = colorAttributes;\nReactNativeStyleAttributes.borderEndColor = colorAttributes;\nReactNativeStyleAttributes.color = colorAttributes;\nReactNativeStyleAttributes.shadowColor = colorAttributes;\nReactNativeStyleAttributes.textDecorationColor = colorAttributes;\nReactNativeStyleAttributes.tintColor = colorAttributes;\nReactNativeStyleAttributes.textShadowColor = colorAttributes;\nReactNativeStyleAttributes.overlayColor = colorAttributes;\n\nmodule.exports = ReactNativeStyleAttributes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst ReactPropTypes = require('prop-types');\n\nconst ImageStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n resizeMode: (ReactPropTypes.oneOf([\n 'center',\n 'contain',\n 'cover',\n 'repeat',\n 'stretch',\n ]): React$PropType$Primitive<\n 'center' | 'contain' | 'cover' | 'repeat' | 'stretch',\n >),\n backfaceVisibility: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n backgroundColor: DeprecatedColorPropType,\n borderColor: DeprecatedColorPropType,\n borderWidth: ReactPropTypes.number,\n borderRadius: ReactPropTypes.number,\n overflow: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n\n /**\n * Changes the color of all the non-transparent pixels to the tintColor.\n */\n tintColor: DeprecatedColorPropType,\n opacity: ReactPropTypes.number,\n /**\n * When the image has rounded corners, specifying an overlayColor will\n * cause the remaining space in the corners to be filled with a solid color.\n * This is useful in cases which are not supported by the Android\n * implementation of rounded corners:\n * - Certain resize modes, such as 'contain'\n * - Animated GIFs\n *\n * A typical way to use this prop is with images displayed on a solid\n * background and setting the `overlayColor` to the same color\n * as the background.\n *\n * For details of how this works under the hood, see\n * http://frescolib.org/docs/rounded-corners-and-circles.html\n *\n * @platform android\n */\n overlayColor: ReactPropTypes.string,\n\n // Android-Specific styles\n borderTopLeftRadius: ReactPropTypes.number,\n borderTopRightRadius: ReactPropTypes.number,\n borderBottomLeftRadius: ReactPropTypes.number,\n borderBottomRightRadius: ReactPropTypes.number,\n};\n\nmodule.exports = ImageStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst normalizeColor = require('../Color/normalizeColor');\n\nconst colorPropType = function(\n isRequired,\n props,\n propName,\n componentName,\n location,\n propFullName,\n) {\n const color = props[propName];\n if (color === undefined || color === null) {\n if (isRequired) {\n return new Error(\n 'Required ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` was not specified in `' +\n componentName +\n '`.',\n );\n }\n return;\n }\n\n if (typeof color === 'number') {\n // Developers should not use a number, but we are using the prop type\n // both for user provided colors and for transformed ones. This isn't ideal\n // and should be fixed but will do for now...\n return;\n }\n\n if (normalizeColor(color) === null) {\n return new Error(\n 'Invalid ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` supplied to `' +\n componentName +\n '`: ' +\n color +\n '\\n' +\n `Valid color formats are\n - '#f0f' (#rgb)\n - '#f0fc' (#rgba)\n - '#ff00ff' (#rrggbb)\n - '#ff00ff00' (#rrggbbaa)\n - 'rgb(255, 255, 255)'\n - 'rgba(255, 255, 255, 1.0)'\n - 'hsl(360, 100%, 100%)'\n - 'hsla(360, 100%, 100%, 1.0)'\n - 'transparent'\n - 'red'\n - 0xff00ff00 (0xrrggbbaa)\n`,\n );\n }\n};\n\nconst ColorPropType = colorPropType.bind(null, false /* isRequired */);\nColorPropType.isRequired = colorPropType.bind(null, true /* isRequired */);\n\nmodule.exports = ColorPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n/* eslint no-bitwise: 0 */\n'use strict';\n\nfunction normalizeColor(color: string | number): ?number {\n const matchers = getMatchers();\n let match;\n\n if (typeof color === 'number') {\n if (color >>> 0 === color && color >= 0 && color <= 0xffffffff) {\n return color;\n }\n return null;\n }\n\n // Ordered based on occurrences on Facebook codebase\n if ((match = matchers.hex6.exec(color))) {\n return parseInt(match[1] + 'ff', 16) >>> 0;\n }\n\n if (names.hasOwnProperty(color)) {\n return names[color];\n }\n\n if ((match = matchers.rgb.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.rgba.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hex3.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n 'ff', // a\n 16,\n ) >>> 0\n );\n }\n\n // https://drafts.csswg.org/css-color-4/#hex-notation\n if ((match = matchers.hex8.exec(color))) {\n return parseInt(match[1], 16) >>> 0;\n }\n\n if ((match = matchers.hex4.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n match[4] +\n match[4], // a\n 16,\n ) >>> 0\n );\n }\n\n if ((match = matchers.hsl.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]), // l\n ) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hsla.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]), // l\n ) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n return null;\n}\n\nfunction hue2rgb(p: number, q: number, t: number): number {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n\nfunction hslToRgb(h: number, s: number, l: number): number {\n const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n const p = 2 * l - q;\n const r = hue2rgb(p, q, h + 1 / 3);\n const g = hue2rgb(p, q, h);\n const b = hue2rgb(p, q, h - 1 / 3);\n\n return (\n (Math.round(r * 255) << 24) |\n (Math.round(g * 255) << 16) |\n (Math.round(b * 255) << 8)\n );\n}\n\n// var INTEGER = '[-+]?\\\\d+';\nconst NUMBER = '[-+]?\\\\d*\\\\.?\\\\d+';\nconst PERCENTAGE = NUMBER + '%';\n\nfunction call(...args) {\n return '\\\\(\\\\s*(' + args.join(')\\\\s*,\\\\s*(') + ')\\\\s*\\\\)';\n}\n\nlet cachedMatchers;\n\nfunction getMatchers() {\n if (cachedMatchers === undefined) {\n cachedMatchers = {\n rgb: new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER)),\n rgba: new RegExp('rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER)),\n hsl: new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE)),\n hsla: new RegExp('hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER)),\n hex3: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex4: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#([0-9a-fA-F]{6})$/,\n hex8: /^#([0-9a-fA-F]{8})$/,\n };\n }\n return cachedMatchers;\n}\n\nfunction parse255(str: string): number {\n const int = parseInt(str, 10);\n if (int < 0) {\n return 0;\n }\n if (int > 255) {\n return 255;\n }\n return int;\n}\n\nfunction parse360(str: string): number {\n const int = parseFloat(str);\n return (((int % 360) + 360) % 360) / 360;\n}\n\nfunction parse1(str: string): number {\n const num = parseFloat(str);\n if (num < 0) {\n return 0;\n }\n if (num > 1) {\n return 255;\n }\n return Math.round(num * 255);\n}\n\nfunction parsePercentage(str: string): number {\n // parseFloat conveniently ignores the final %\n const int = parseFloat(str);\n if (int < 0) {\n return 0;\n }\n if (int > 100) {\n return 1;\n }\n return int / 100;\n}\n\nconst names = {\n transparent: 0x00000000,\n\n // http://www.w3.org/TR/css3-color/#svg-color\n aliceblue: 0xf0f8ffff,\n antiquewhite: 0xfaebd7ff,\n aqua: 0x00ffffff,\n aquamarine: 0x7fffd4ff,\n azure: 0xf0ffffff,\n beige: 0xf5f5dcff,\n bisque: 0xffe4c4ff,\n black: 0x000000ff,\n blanchedalmond: 0xffebcdff,\n blue: 0x0000ffff,\n blueviolet: 0x8a2be2ff,\n brown: 0xa52a2aff,\n burlywood: 0xdeb887ff,\n burntsienna: 0xea7e5dff,\n cadetblue: 0x5f9ea0ff,\n chartreuse: 0x7fff00ff,\n chocolate: 0xd2691eff,\n coral: 0xff7f50ff,\n cornflowerblue: 0x6495edff,\n cornsilk: 0xfff8dcff,\n crimson: 0xdc143cff,\n cyan: 0x00ffffff,\n darkblue: 0x00008bff,\n darkcyan: 0x008b8bff,\n darkgoldenrod: 0xb8860bff,\n darkgray: 0xa9a9a9ff,\n darkgreen: 0x006400ff,\n darkgrey: 0xa9a9a9ff,\n darkkhaki: 0xbdb76bff,\n darkmagenta: 0x8b008bff,\n darkolivegreen: 0x556b2fff,\n darkorange: 0xff8c00ff,\n darkorchid: 0x9932ccff,\n darkred: 0x8b0000ff,\n darksalmon: 0xe9967aff,\n darkseagreen: 0x8fbc8fff,\n darkslateblue: 0x483d8bff,\n darkslategray: 0x2f4f4fff,\n darkslategrey: 0x2f4f4fff,\n darkturquoise: 0x00ced1ff,\n darkviolet: 0x9400d3ff,\n deeppink: 0xff1493ff,\n deepskyblue: 0x00bfffff,\n dimgray: 0x696969ff,\n dimgrey: 0x696969ff,\n dodgerblue: 0x1e90ffff,\n firebrick: 0xb22222ff,\n floralwhite: 0xfffaf0ff,\n forestgreen: 0x228b22ff,\n fuchsia: 0xff00ffff,\n gainsboro: 0xdcdcdcff,\n ghostwhite: 0xf8f8ffff,\n gold: 0xffd700ff,\n goldenrod: 0xdaa520ff,\n gray: 0x808080ff,\n green: 0x008000ff,\n greenyellow: 0xadff2fff,\n grey: 0x808080ff,\n honeydew: 0xf0fff0ff,\n hotpink: 0xff69b4ff,\n indianred: 0xcd5c5cff,\n indigo: 0x4b0082ff,\n ivory: 0xfffff0ff,\n khaki: 0xf0e68cff,\n lavender: 0xe6e6faff,\n lavenderblush: 0xfff0f5ff,\n lawngreen: 0x7cfc00ff,\n lemonchiffon: 0xfffacdff,\n lightblue: 0xadd8e6ff,\n lightcoral: 0xf08080ff,\n lightcyan: 0xe0ffffff,\n lightgoldenrodyellow: 0xfafad2ff,\n lightgray: 0xd3d3d3ff,\n lightgreen: 0x90ee90ff,\n lightgrey: 0xd3d3d3ff,\n lightpink: 0xffb6c1ff,\n lightsalmon: 0xffa07aff,\n lightseagreen: 0x20b2aaff,\n lightskyblue: 0x87cefaff,\n lightslategray: 0x778899ff,\n lightslategrey: 0x778899ff,\n lightsteelblue: 0xb0c4deff,\n lightyellow: 0xffffe0ff,\n lime: 0x00ff00ff,\n limegreen: 0x32cd32ff,\n linen: 0xfaf0e6ff,\n magenta: 0xff00ffff,\n maroon: 0x800000ff,\n mediumaquamarine: 0x66cdaaff,\n mediumblue: 0x0000cdff,\n mediumorchid: 0xba55d3ff,\n mediumpurple: 0x9370dbff,\n mediumseagreen: 0x3cb371ff,\n mediumslateblue: 0x7b68eeff,\n mediumspringgreen: 0x00fa9aff,\n mediumturquoise: 0x48d1ccff,\n mediumvioletred: 0xc71585ff,\n midnightblue: 0x191970ff,\n mintcream: 0xf5fffaff,\n mistyrose: 0xffe4e1ff,\n moccasin: 0xffe4b5ff,\n navajowhite: 0xffdeadff,\n navy: 0x000080ff,\n oldlace: 0xfdf5e6ff,\n olive: 0x808000ff,\n olivedrab: 0x6b8e23ff,\n orange: 0xffa500ff,\n orangered: 0xff4500ff,\n orchid: 0xda70d6ff,\n palegoldenrod: 0xeee8aaff,\n palegreen: 0x98fb98ff,\n paleturquoise: 0xafeeeeff,\n palevioletred: 0xdb7093ff,\n papayawhip: 0xffefd5ff,\n peachpuff: 0xffdab9ff,\n peru: 0xcd853fff,\n pink: 0xffc0cbff,\n plum: 0xdda0ddff,\n powderblue: 0xb0e0e6ff,\n purple: 0x800080ff,\n rebeccapurple: 0x663399ff,\n red: 0xff0000ff,\n rosybrown: 0xbc8f8fff,\n royalblue: 0x4169e1ff,\n saddlebrown: 0x8b4513ff,\n salmon: 0xfa8072ff,\n sandybrown: 0xf4a460ff,\n seagreen: 0x2e8b57ff,\n seashell: 0xfff5eeff,\n sienna: 0xa0522dff,\n silver: 0xc0c0c0ff,\n skyblue: 0x87ceebff,\n slateblue: 0x6a5acdff,\n slategray: 0x708090ff,\n slategrey: 0x708090ff,\n snow: 0xfffafaff,\n springgreen: 0x00ff7fff,\n steelblue: 0x4682b4ff,\n tan: 0xd2b48cff,\n teal: 0x008080ff,\n thistle: 0xd8bfd8ff,\n tomato: 0xff6347ff,\n turquoise: 0x40e0d0ff,\n violet: 0xee82eeff,\n wheat: 0xf5deb3ff,\n white: 0xffffffff,\n whitesmoke: 0xf5f5f5ff,\n yellow: 0xffff00ff,\n yellowgreen: 0x9acd32ff,\n};\n\nmodule.exports = normalizeColor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst ReactPropTypes = require('prop-types');\n\nconst LayoutPropTypes = {\n display: (ReactPropTypes.oneOf(['none', 'flex']): React$PropType$Primitive<\n 'none' | 'flex',\n >),\n width: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n height: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n start: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n end: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n top: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n left: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n right: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n bottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n minWidth: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n maxWidth: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n minHeight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n maxHeight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n margin: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginVertical: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginHorizontal: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginTop: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginBottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginLeft: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginRight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginStart: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginEnd: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n padding: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingVertical: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingHorizontal: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingTop: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingBottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingLeft: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingRight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingStart: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingEnd: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n borderWidth: ReactPropTypes.number,\n borderTopWidth: ReactPropTypes.number,\n borderStartWidth: ReactPropTypes.number,\n borderEndWidth: ReactPropTypes.number,\n borderRightWidth: ReactPropTypes.number,\n borderBottomWidth: ReactPropTypes.number,\n borderLeftWidth: ReactPropTypes.number,\n position: (ReactPropTypes.oneOf([\n 'absolute',\n 'relative',\n ]): React$PropType$Primitive<'absolute' | 'relative'>),\n flexDirection: (ReactPropTypes.oneOf([\n 'row',\n 'row-reverse',\n 'column',\n 'column-reverse',\n ]): React$PropType$Primitive<\n 'row' | 'row-reverse' | 'column' | 'column-reverse',\n >),\n flexWrap: (ReactPropTypes.oneOf([\n 'wrap',\n 'nowrap',\n 'wrap-reverse',\n ]): React$PropType$Primitive<'wrap' | 'nowrap' | 'wrap-reverse'>),\n justifyContent: (ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'space-between',\n 'space-around',\n 'space-evenly',\n ]): React$PropType$Primitive<\n | 'flex-start'\n | 'flex-end'\n | 'center'\n | 'space-between'\n | 'space-around'\n | 'space-evenly',\n >),\n alignItems: (ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'baseline',\n ]): React$PropType$Primitive<\n 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline',\n >),\n alignSelf: (ReactPropTypes.oneOf([\n 'auto',\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'baseline',\n ]): React$PropType$Primitive<\n 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline',\n >),\n alignContent: (ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'space-between',\n 'space-around',\n ]): React$PropType$Primitive<\n | 'flex-start'\n | 'flex-end'\n | 'center'\n | 'stretch'\n | 'space-between'\n | 'space-around',\n >),\n overflow: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n 'scroll',\n ]): React$PropType$Primitive<'visible' | 'hidden' | 'scroll'>),\n flex: ReactPropTypes.number,\n flexGrow: ReactPropTypes.number,\n flexShrink: ReactPropTypes.number,\n flexBasis: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n aspectRatio: ReactPropTypes.number,\n zIndex: ReactPropTypes.number,\n direction: (ReactPropTypes.oneOf([\n 'inherit',\n 'ltr',\n 'rtl',\n ]): React$PropType$Primitive<'inherit' | 'ltr' | 'rtl'>),\n};\n\nmodule.exports = LayoutPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst ReactPropTypes = require('prop-types');\n\nconst DeprecatedShadowPropTypesIOS = {\n shadowColor: DeprecatedColorPropType,\n shadowOffset: (ReactPropTypes.shape({\n width: ReactPropTypes.number,\n height: ReactPropTypes.number,\n }): React$PropType$Primitive<{height?: number, width?: number}>),\n shadowOpacity: ReactPropTypes.number,\n shadowRadius: ReactPropTypes.number,\n};\n\nmodule.exports = DeprecatedShadowPropTypesIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst ReactPropTypes = require('prop-types');\n\nconst deprecatedPropType = require('../Utilities/deprecatedPropType');\n\nconst TransformMatrixPropType = function(\n props: Object,\n propName: string,\n componentName: string,\n): ?Error {\n if (props[propName]) {\n return new Error(\n 'The transformMatrix style property is deprecated. ' +\n 'Use `transform: [{ matrix: ... }]` instead.',\n );\n }\n};\n\nconst DecomposedMatrixPropType = function(\n props: Object,\n propName: string,\n componentName: string,\n): ?Error {\n if (props[propName]) {\n return new Error(\n 'The decomposedMatrix style property is deprecated. ' +\n 'Use `transform: [...]` instead.',\n );\n }\n};\n\nconst DeprecatedTransformPropTypes = {\n transform: (ReactPropTypes.arrayOf(\n ReactPropTypes.oneOfType([\n ReactPropTypes.shape({perspective: ReactPropTypes.number}),\n ReactPropTypes.shape({rotate: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateX: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateY: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateZ: ReactPropTypes.string}),\n ReactPropTypes.shape({scale: ReactPropTypes.number}),\n ReactPropTypes.shape({scaleX: ReactPropTypes.number}),\n ReactPropTypes.shape({scaleY: ReactPropTypes.number}),\n ReactPropTypes.shape({translateX: ReactPropTypes.number}),\n ReactPropTypes.shape({translateY: ReactPropTypes.number}),\n ReactPropTypes.shape({skewX: ReactPropTypes.string}),\n ReactPropTypes.shape({skewY: ReactPropTypes.string}),\n ]),\n ): React$PropType$Primitive<\n Array<\n | {perspective?: number}\n | {rotate?: string}\n | {rotateX?: string}\n | {rotateY?: string}\n | {rotateZ?: string}\n | {scale?: number}\n | {scaleX?: number}\n | {scaleY?: number}\n | {translateX?: number}\n | {translateY?: number}\n | {skewX?: string}\n | {skewY?: string},\n >,\n >),\n transformMatrix: TransformMatrixPropType,\n decomposedMatrix: DecomposedMatrixPropType,\n scaleX: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n scaleY: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n rotation: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n translateX: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n translateY: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n};\n\nmodule.exports = DeprecatedTransformPropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst UIManager = require('../ReactNative/UIManager');\n\n/**\n * Adds a deprecation warning when the prop is used.\n */\nfunction deprecatedPropType(\n propType: ReactPropsCheckType,\n explanation: string,\n): ReactPropsCheckType {\n return function validate(props, propName, componentName, ...rest) {\n // Don't warn for native components.\n if (\n !UIManager.getViewManagerConfig(componentName) &&\n props[propName] !== undefined\n ) {\n console.warn(\n `\\`${propName}\\` supplied to \\`${componentName}\\` has been deprecated. ${explanation}`,\n );\n }\n\n return propType(props, propName, componentName, ...rest);\n };\n}\n\nmodule.exports = deprecatedPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nimport type {Spec} from './NativeUIManager';\n\ninterface UIManagerJSInterface extends Spec {\n +getViewManagerConfig: (viewManagerName: string) => Object;\n // The following are not marked read-only due to logic in UIManagerStatTracker.\n createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: number,\n props: Object,\n ) => void;\n updateView: (reactTag: number, viewName: string, props: Object) => void;\n manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n}\n\nconst UIManager: UIManagerJSInterface =\n global.RN$Bridgeless === true\n ? require('./DummyUIManager') // No UIManager in bridgeless mode\n : require('./PaperUIManager');\n\nmodule.exports = UIManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nmodule.exports = {\n getViewManagerConfig: (viewManagerName: string): null => {\n console.warn(\n 'Attempting to get config for view manager: ' + viewManagerName,\n );\n return null;\n },\n getConstants: (): $TEMPORARY$object<{||}> => ({}),\n getConstantsForViewManager: (viewManagerName: string) => {},\n getDefaultEventTypes: (): Array<$FlowFixMe> => [],\n playTouchSound: () => {},\n lazilyLoadView: (name: string) => {},\n createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: number,\n props: Object,\n ) => {},\n updateView: (reactTag: number, viewName: string, props: Object) => {},\n focus: (reactTag: ?number) => {},\n blur: (reactTag: ?number) => {},\n findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ) => {},\n measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ) => {},\n measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ) => {},\n viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ) => {},\n measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n setJSResponder: (reactTag: ?number, blockNativeResponder: boolean) => {},\n clearJSResponder: () => {},\n configureNextLayoutAnimation: (\n config: Object,\n callback: () => void,\n errorCallback: (error: Object) => void,\n ) => {},\n removeSubviewsFromContainerWithID: (containerID: number) => {},\n replaceExistingNonRootView: (reactTag: ?number, newReactTag: ?number) => {},\n setChildren: (containerTag: ?number, reactTags: Array) => {},\n manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => {},\n\n // Android only\n setLayoutAnimationEnabledExperimental: (enabled: boolean) => {},\n sendAccessibilityEvent: (reactTag: ?number, eventType: number) => {},\n showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ) => {},\n dismissPopupMenu: () => {},\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\nconst Platform = require('../Utilities/Platform');\nconst UIManagerProperties = require('./UIManagerProperties');\n\nconst defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\n\nimport NativeUIManager from './NativeUIManager';\n\nconst viewManagerConfigs = {};\n\nconst triedLoadingConfig = new Set();\n\nlet NativeUIManagerConstants = {};\nlet isNativeUIManagerConstantsSet = false;\nfunction getConstants(): Object {\n if (!isNativeUIManagerConstantsSet) {\n NativeUIManagerConstants = NativeUIManager.getConstants();\n isNativeUIManagerConstantsSet = true;\n }\n return NativeUIManagerConstants;\n}\n\nconst UIManagerJS = {\n ...NativeUIManager,\n getConstants(): Object {\n return getConstants();\n },\n getViewManagerConfig: function(viewManagerName: string): any {\n if (\n viewManagerConfigs[viewManagerName] === undefined &&\n NativeUIManager.getConstantsForViewManager\n ) {\n try {\n viewManagerConfigs[\n viewManagerName\n ] = NativeUIManager.getConstantsForViewManager(viewManagerName);\n } catch (e) {\n viewManagerConfigs[viewManagerName] = null;\n }\n }\n\n const config = viewManagerConfigs[viewManagerName];\n if (config) {\n return config;\n }\n\n // If we're in the Chrome Debugger, let's not even try calling the sync\n // method.\n if (!global.nativeCallSyncHook) {\n return config;\n }\n\n if (\n NativeUIManager.lazilyLoadView &&\n !triedLoadingConfig.has(viewManagerName)\n ) {\n const result = NativeUIManager.lazilyLoadView(viewManagerName);\n triedLoadingConfig.add(viewManagerName);\n if (result.viewConfig) {\n getConstants()[viewManagerName] = result.viewConfig;\n lazifyViewManagerConfig(viewManagerName);\n }\n }\n\n return viewManagerConfigs[viewManagerName];\n },\n};\n\n// TODO (T45220498): Remove this.\n// 3rd party libs may be calling `NativeModules.UIManager.getViewManagerConfig()`\n// instead of `UIManager.getViewManagerConfig()` off UIManager.js.\n// This is a workaround for now.\n// $FlowFixMe\nNativeUIManager.getViewManagerConfig = UIManagerJS.getViewManagerConfig;\n\nfunction lazifyViewManagerConfig(viewName) {\n const viewConfig = getConstants()[viewName];\n viewManagerConfigs[viewName] = viewConfig;\n if (viewConfig.Manager) {\n defineLazyObjectProperty(viewConfig, 'Constants', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const constants = {};\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value !== 'function') {\n constants[key] = value;\n }\n });\n return constants;\n },\n });\n defineLazyObjectProperty(viewConfig, 'Commands', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const commands = {};\n let index = 0;\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value === 'function') {\n commands[key] = index++;\n }\n });\n return commands;\n },\n });\n }\n}\n\n/**\n * Copies the ViewManager constants and commands into UIManager. This is\n * only needed for iOS, which puts the constants in the ViewManager\n * namespace instead of UIManager, unlike Android.\n */\nif (Platform.OS === 'ios') {\n Object.keys(getConstants()).forEach(viewName => {\n lazifyViewManagerConfig(viewName);\n });\n} else if (getConstants().ViewManagerNames) {\n NativeUIManager.getConstants().ViewManagerNames.forEach(viewManagerName => {\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => NativeUIManager.getConstantsForViewManager(viewManagerName),\n });\n });\n}\n\nif (!global.nativeCallSyncHook) {\n Object.keys(getConstants()).forEach(viewManagerName => {\n if (!UIManagerProperties.includes(viewManagerName)) {\n if (!viewManagerConfigs[viewManagerName]) {\n viewManagerConfigs[viewManagerName] = getConstants()[viewManagerName];\n }\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => {\n console.warn(\n `Accessing view manager configs directly off UIManager via UIManager['${viewManagerName}'] ` +\n `is no longer supported. Use UIManager.getViewManagerConfig('${viewManagerName}') instead.`,\n );\n\n return UIManagerJS.getViewManagerConfig(viewManagerName);\n },\n });\n }\n });\n}\n\nmodule.exports = UIManagerJS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => Object;\n +getConstantsForViewManager: (viewManagerName: string) => Object;\n +getDefaultEventTypes: () => Array;\n +playTouchSound: () => void;\n +lazilyLoadView: (name: string) => Object; // revisit return\n +createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: number,\n props: Object,\n ) => void;\n +updateView: (reactTag: number, viewName: string, props: Object) => void;\n +focus: (reactTag: ?number) => void;\n +blur: (reactTag: ?number) => void;\n +findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ) => void;\n +measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ) => void;\n +measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ) => void;\n +viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ) => void;\n +measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +setJSResponder: (reactTag: ?number, blockNativeResponder: boolean) => void;\n +clearJSResponder: () => void;\n +configureNextLayoutAnimation: (\n config: Object,\n callback: () => void, // check what is returned here\n errorCallback: (error: Object) => void,\n ) => void;\n +removeSubviewsFromContainerWithID: (containerID: number) => void;\n +replaceExistingNonRootView: (\n reactTag: ?number,\n newReactTag: ?number,\n ) => void;\n +setChildren: (containerTag: ?number, reactTags: Array) => void;\n +manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n\n // Android only\n +setLayoutAnimationEnabledExperimental: (enabled: boolean) => void;\n +sendAccessibilityEvent: (reactTag: ?number, eventType: number) => void;\n +showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ) => void;\n +dismissPopupMenu: () => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('UIManager'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\n/**\n * The list of non-ViewManager related UIManager properties.\n *\n * In an effort to improve startup performance by lazily loading view managers,\n * the interface to access view managers will change from\n * UIManager['viewManagerName'] to UIManager.getViewManagerConfig('viewManagerName').\n * By using a function call instead of a property access, the UIManager will\n * be able to initialize and load the required view manager from native\n * synchronously. All of React Native's core components have been updated to\n * use getViewManagerConfig(). For the next few releases, any usage of\n * UIManager['viewManagerName'] will result in a warning. Because React Native\n * does not support Proxy objects, a view manager access is implied if any of\n * UIManager's properties that are not one of the properties below is being\n * accessed. Once UIManager property accesses for view managers has been fully\n * deprecated, this file will also be removed.\n */\nmodule.exports = [\n 'clearJSResponder',\n 'configureNextLayoutAnimation',\n 'createView',\n 'dismissPopupMenu',\n 'dispatchViewManagerCommand',\n 'findSubviewIn',\n 'getConstantsForViewManager',\n 'getDefaultEventTypes',\n 'manageChildren',\n 'measure',\n 'measureInWindow',\n 'measureLayout',\n 'measureLayoutRelativeToParent',\n 'playTouchSound',\n 'removeRootView',\n 'removeSubviewsFromContainerWithID',\n 'replaceExistingNonRootView',\n 'sendAccessibilityEvent',\n 'setChildren',\n 'setJSResponder',\n 'setLayoutAnimationEnabledExperimental',\n 'showPopupMenu',\n 'updateView',\n 'viewIsDescendantOf',\n 'PopupMenu',\n 'LazyViewManagersEnabled',\n 'ViewManagerNames',\n 'StyleConstants',\n 'AccessibilityEventTypes',\n 'UIView',\n 'getViewManagerConfig',\n 'blur',\n 'focus',\n 'genericBubblingEventTypes',\n 'genericDirectEventTypes',\n 'lazilyLoadView',\n];\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst ReactPropTypes = require('prop-types');\n\nconst DeprecatedTextStylePropTypes = {\n ...DeprecatedViewStylePropTypes,\n\n color: DeprecatedColorPropType,\n fontFamily: ReactPropTypes.string,\n fontSize: ReactPropTypes.number,\n fontStyle: (ReactPropTypes.oneOf([\n 'normal',\n 'italic',\n ]): React$PropType$Primitive<'normal' | 'italic'>),\n /**\n * Specifies font weight. The values 'normal' and 'bold' are supported for\n * most fonts. Not all fonts have a variant for each of the numeric values,\n * in that case the closest one is chosen.\n */\n fontWeight: (ReactPropTypes.oneOf([\n 'normal' /*default*/,\n 'bold',\n '100',\n '200',\n '300',\n '400',\n '500',\n '600',\n '700',\n '800',\n '900',\n ]): React$PropType$Primitive<\n | 'normal'\n | 'bold'\n | '100'\n | '200'\n | '300'\n | '400'\n | '500'\n | '600'\n | '700'\n | '800'\n | '900',\n >),\n /**\n * @platform ios\n */\n fontVariant: (ReactPropTypes.arrayOf(\n ReactPropTypes.oneOf([\n 'small-caps',\n 'oldstyle-nums',\n 'lining-nums',\n 'tabular-nums',\n 'proportional-nums',\n ]),\n ): React$PropType$Primitive<\n Array<\n | 'small-caps'\n | 'oldstyle-nums'\n | 'lining-nums'\n | 'tabular-nums'\n | 'proportional-nums',\n >,\n >),\n textShadowOffset: (ReactPropTypes.shape({\n width: ReactPropTypes.number,\n height: ReactPropTypes.number,\n }): React$PropType$Primitive<{height?: number, width?: number}>),\n textShadowRadius: ReactPropTypes.number,\n textShadowColor: DeprecatedColorPropType,\n /**\n * @platform ios\n */\n letterSpacing: ReactPropTypes.number,\n lineHeight: ReactPropTypes.number,\n /**\n * Specifies text alignment. The value 'justify' is only supported on iOS and\n * fallbacks to `left` on Android.\n */\n textAlign: (ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'left',\n 'right',\n 'center',\n 'justify',\n ]): React$PropType$Primitive<\n 'auto' | 'left' | 'right' | 'center' | 'justify',\n >),\n /**\n * @platform android\n */\n textAlignVertical: (ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'top',\n 'bottom',\n 'center',\n ]): React$PropType$Primitive<'auto' | 'top' | 'bottom' | 'center'>),\n /**\n * Set to `false` to remove extra font padding intended to make space for certain ascenders / descenders.\n * With some fonts, this padding can make text look slightly misaligned when centered vertically.\n * For best results also set `textAlignVertical` to `center`. Default is true.\n * @platform android\n */\n includeFontPadding: ReactPropTypes.bool,\n textDecorationLine: (ReactPropTypes.oneOf([\n 'none' /*default*/,\n 'underline',\n 'line-through',\n 'underline line-through',\n ]): React$PropType$Primitive<\n 'none' | 'underline' | 'line-through' | 'underline line-through',\n >),\n /**\n * @platform ios\n */\n textDecorationStyle: (ReactPropTypes.oneOf([\n 'solid' /*default*/,\n 'double',\n 'dotted',\n 'dashed',\n ]): React$PropType$Primitive<'solid' | 'double' | 'dotted' | 'dashed'>),\n /**\n * @platform ios\n */\n textDecorationColor: DeprecatedColorPropType,\n textTransform: (ReactPropTypes.oneOf([\n 'none' /*default*/,\n 'capitalize',\n 'uppercase',\n 'lowercase',\n ]): React$PropType$Primitive<\n 'none' | 'capitalize' | 'uppercase' | 'lowercase',\n >),\n /**\n * @platform ios\n */\n writingDirection: (ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'ltr',\n 'rtl',\n ]): React$PropType$Primitive<'auto' | 'ltr' | 'rtl'>),\n};\n\nmodule.exports = DeprecatedTextStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst ReactPropTypes = require('prop-types');\n\n/**\n * Warning: Some of these properties may not be supported in all releases.\n */\nconst DeprecatedViewStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n backfaceVisibility: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n backgroundColor: DeprecatedColorPropType,\n borderColor: DeprecatedColorPropType,\n borderTopColor: DeprecatedColorPropType,\n borderRightColor: DeprecatedColorPropType,\n borderBottomColor: DeprecatedColorPropType,\n borderLeftColor: DeprecatedColorPropType,\n borderStartColor: DeprecatedColorPropType,\n borderEndColor: DeprecatedColorPropType,\n borderRadius: ReactPropTypes.number,\n borderTopLeftRadius: ReactPropTypes.number,\n borderTopRightRadius: ReactPropTypes.number,\n borderTopStartRadius: ReactPropTypes.number,\n borderTopEndRadius: ReactPropTypes.number,\n borderBottomLeftRadius: ReactPropTypes.number,\n borderBottomRightRadius: ReactPropTypes.number,\n borderBottomStartRadius: ReactPropTypes.number,\n borderBottomEndRadius: ReactPropTypes.number,\n borderStyle: (ReactPropTypes.oneOf([\n 'solid',\n 'dotted',\n 'dashed',\n ]): React$PropType$Primitive<'solid' | 'dotted' | 'dashed'>),\n borderWidth: ReactPropTypes.number,\n borderTopWidth: ReactPropTypes.number,\n borderRightWidth: ReactPropTypes.number,\n borderBottomWidth: ReactPropTypes.number,\n borderLeftWidth: ReactPropTypes.number,\n opacity: ReactPropTypes.number,\n /**\n * (Android-only) Sets the elevation of a view, using Android's underlying\n * [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation).\n * This adds a drop shadow to the item and affects z-order for overlapping views.\n * Only supported on Android 5.0+, has no effect on earlier versions.\n * @platform android\n */\n elevation: ReactPropTypes.number,\n};\n\nmodule.exports = DeprecatedViewStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst Platform = require('../Utilities/Platform');\n\nconst normalizeColor = require('../Color/normalizeColor');\n\n/* eslint no-bitwise: 0 */\nfunction processColor(color?: ?(string | number)): ?number {\n if (color === undefined || color === null) {\n return color;\n }\n\n let int32Color = normalizeColor(color);\n if (int32Color === null || int32Color === undefined) {\n return undefined;\n }\n\n // Converts 0xrrggbbaa into 0xaarrggbb\n int32Color = ((int32Color << 24) | (int32Color >>> 8)) >>> 0;\n\n if (Platform.OS === 'android') {\n // Android use 32 bit *signed* integer to represent the color\n // We utilize the fact that bitwise operations in JS also operates on\n // signed 32 bit integers, so that we can use those to convert from\n // *unsigned* to *signed* 32bit int that way.\n int32Color = int32Color | 0x0;\n }\n return int32Color;\n}\n\nmodule.exports = processColor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst MatrixMath = require('../Utilities/MatrixMath');\nconst Platform = require('../Utilities/Platform');\n\nconst invariant = require('invariant');\nconst stringifySafe = require('../Utilities/stringifySafe');\n\n/**\n * Generate a transform matrix based on the provided transforms, and use that\n * within the style object instead.\n *\n * This allows us to provide an API that is similar to CSS, where transforms may\n * be applied in an arbitrary order, and yet have a universal, singular\n * interface to native code.\n */\nfunction processTransform(\n transform: Array,\n): Array | Array {\n if (__DEV__) {\n _validateTransforms(transform);\n }\n\n // Android & iOS implementations of transform property accept the list of\n // transform properties as opposed to a transform Matrix. This is necessary\n // to control transform property updates completely on the native thread.\n if (Platform.OS === 'android' || Platform.OS === 'ios') {\n return transform;\n }\n\n const result = MatrixMath.createIdentityMatrix();\n\n transform.forEach(transformation => {\n const key = Object.keys(transformation)[0];\n const value = transformation[key];\n\n switch (key) {\n case 'matrix':\n MatrixMath.multiplyInto(result, result, value);\n break;\n case 'perspective':\n _multiplyTransform(result, MatrixMath.reusePerspectiveCommand, [value]);\n break;\n case 'rotateX':\n _multiplyTransform(result, MatrixMath.reuseRotateXCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'rotateY':\n _multiplyTransform(result, MatrixMath.reuseRotateYCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'rotate':\n case 'rotateZ':\n _multiplyTransform(result, MatrixMath.reuseRotateZCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'scale':\n _multiplyTransform(result, MatrixMath.reuseScaleCommand, [value]);\n break;\n case 'scaleX':\n _multiplyTransform(result, MatrixMath.reuseScaleXCommand, [value]);\n break;\n case 'scaleY':\n _multiplyTransform(result, MatrixMath.reuseScaleYCommand, [value]);\n break;\n case 'translate':\n _multiplyTransform(result, MatrixMath.reuseTranslate3dCommand, [\n value[0],\n value[1],\n value[2] || 0,\n ]);\n break;\n case 'translateX':\n _multiplyTransform(result, MatrixMath.reuseTranslate2dCommand, [\n value,\n 0,\n ]);\n break;\n case 'translateY':\n _multiplyTransform(result, MatrixMath.reuseTranslate2dCommand, [\n 0,\n value,\n ]);\n break;\n case 'skewX':\n _multiplyTransform(result, MatrixMath.reuseSkewXCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'skewY':\n _multiplyTransform(result, MatrixMath.reuseSkewYCommand, [\n _convertToRadians(value),\n ]);\n break;\n default:\n throw new Error('Invalid transform name: ' + key);\n }\n });\n\n return result;\n}\n\n/**\n * Performs a destructive operation on a transform matrix.\n */\nfunction _multiplyTransform(\n result: Array,\n matrixMathFunction: Function,\n args: Array,\n): void {\n const matrixToApply = MatrixMath.createIdentityMatrix();\n const argsWithIdentity = [matrixToApply].concat(args);\n matrixMathFunction.apply(this, argsWithIdentity);\n MatrixMath.multiplyInto(result, result, matrixToApply);\n}\n\n/**\n * Parses a string like '0.5rad' or '60deg' into radians expressed in a float.\n * Note that validation on the string is done in `_validateTransform()`.\n */\nfunction _convertToRadians(value: string): number {\n const floatValue = parseFloat(value);\n return value.indexOf('rad') > -1 ? floatValue : (floatValue * Math.PI) / 180;\n}\n\nfunction _validateTransforms(transform: Array): void {\n transform.forEach(transformation => {\n const keys = Object.keys(transformation);\n invariant(\n keys.length === 1,\n 'You must specify exactly one property per transform object. Passed properties: %s',\n stringifySafe(transformation),\n );\n const key = keys[0];\n const value = transformation[key];\n _validateTransform(key, value, transformation);\n });\n}\n\nfunction _validateTransform(key, value, transformation) {\n invariant(\n !value.getValue,\n 'You passed an Animated.Value to a normal component. ' +\n 'You need to wrap that component in an Animated. For example, ' +\n 'replace by .',\n );\n\n const multivalueTransforms = ['matrix', 'translate'];\n if (multivalueTransforms.indexOf(key) !== -1) {\n invariant(\n Array.isArray(value),\n 'Transform with key of %s must have an array as the value: %s',\n key,\n stringifySafe(transformation),\n );\n }\n switch (key) {\n case 'matrix':\n invariant(\n /* $FlowFixMe(>=0.88.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.88 was deployed. To see the error, delete\n * this comment and run Flow. */\n value.length === 9 || value.length === 16,\n 'Matrix transform must have a length of 9 (2d) or 16 (3d). ' +\n 'Provided matrix has a length of %s: %s',\n /* $FlowFixMe(>=0.84.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.84 was deployed. To see the error, delete\n * this comment and run Flow. */\n value.length,\n stringifySafe(transformation),\n );\n break;\n case 'translate':\n invariant(\n /* $FlowFixMe(>=0.88.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.88 was deployed. To see the error, delete\n * this comment and run Flow. */\n value.length === 2 || value.length === 3,\n 'Transform with key translate must be an array of length 2 or 3, found %s: %s',\n /* $FlowFixMe(>=0.84.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.84 was deployed. To see the error, delete\n * this comment and run Flow. */\n value.length,\n stringifySafe(transformation),\n );\n break;\n case 'rotateX':\n case 'rotateY':\n case 'rotateZ':\n case 'rotate':\n case 'skewX':\n case 'skewY':\n invariant(\n typeof value === 'string',\n 'Transform with key of \"%s\" must be a string: %s',\n key,\n stringifySafe(transformation),\n );\n invariant(\n value.indexOf('deg') > -1 || value.indexOf('rad') > -1,\n 'Rotate transform must be expressed in degrees (deg) or radians ' +\n '(rad): %s',\n stringifySafe(transformation),\n );\n break;\n case 'perspective':\n invariant(\n typeof value === 'number',\n 'Transform with key of \"%s\" must be a number: %s',\n key,\n stringifySafe(transformation),\n );\n invariant(\n value !== 0,\n 'Transform with key of \"%s\" cannot be zero: %s',\n key,\n stringifySafe(transformation),\n );\n break;\n case 'translateX':\n case 'translateY':\n case 'scale':\n case 'scaleX':\n case 'scaleY':\n invariant(\n typeof value === 'number',\n 'Transform with key of \"%s\" must be a number: %s',\n key,\n stringifySafe(transformation),\n );\n break;\n default:\n invariant(\n false,\n 'Invalid transform %s: %s',\n key,\n stringifySafe(transformation),\n );\n }\n}\n\nmodule.exports = processTransform;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n */\n\n/* eslint-disable space-infix-ops */\n'use strict';\n\nconst invariant = require('invariant');\n\n/**\n * Memory conservative (mutative) matrix math utilities. Uses \"command\"\n * matrices, which are reusable.\n */\nconst MatrixMath = {\n createIdentityMatrix: function() {\n return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\n },\n\n createCopy: function(m) {\n return [\n m[0],\n m[1],\n m[2],\n m[3],\n m[4],\n m[5],\n m[6],\n m[7],\n m[8],\n m[9],\n m[10],\n m[11],\n m[12],\n m[13],\n m[14],\n m[15],\n ];\n },\n\n createOrthographic: function(left, right, bottom, top, near, far) {\n const a = 2 / (right - left);\n const b = 2 / (top - bottom);\n const c = -2 / (far - near);\n\n const tx = -(right + left) / (right - left);\n const ty = -(top + bottom) / (top - bottom);\n const tz = -(far + near) / (far - near);\n\n return [a, 0, 0, 0, 0, b, 0, 0, 0, 0, c, 0, tx, ty, tz, 1];\n },\n\n createFrustum: function(left, right, bottom, top, near, far) {\n const r_width = 1 / (right - left);\n const r_height = 1 / (top - bottom);\n const r_depth = 1 / (near - far);\n const x = 2 * (near * r_width);\n const y = 2 * (near * r_height);\n const A = (right + left) * r_width;\n const B = (top + bottom) * r_height;\n const C = (far + near) * r_depth;\n const D = 2 * (far * near * r_depth);\n return [x, 0, 0, 0, 0, y, 0, 0, A, B, C, -1, 0, 0, D, 0];\n },\n\n /**\n * This create a perspective projection towards negative z\n * Clipping the z range of [-near, -far]\n *\n * @param fovInRadians - field of view in randians\n */\n createPerspective: function(fovInRadians, aspect, near, far) {\n const h = 1 / Math.tan(fovInRadians / 2);\n const r_depth = 1 / (near - far);\n const C = (far + near) * r_depth;\n const D = 2 * (far * near * r_depth);\n return [h / aspect, 0, 0, 0, 0, h, 0, 0, 0, 0, C, -1, 0, 0, D, 0];\n },\n\n createTranslate2d: function(x, y) {\n const mat = MatrixMath.createIdentityMatrix();\n MatrixMath.reuseTranslate2dCommand(mat, x, y);\n return mat;\n },\n\n reuseTranslate2dCommand: function(matrixCommand, x, y) {\n matrixCommand[12] = x;\n matrixCommand[13] = y;\n },\n\n reuseTranslate3dCommand: function(matrixCommand, x, y, z) {\n matrixCommand[12] = x;\n matrixCommand[13] = y;\n matrixCommand[14] = z;\n },\n\n createScale: function(factor) {\n const mat = MatrixMath.createIdentityMatrix();\n MatrixMath.reuseScaleCommand(mat, factor);\n return mat;\n },\n\n reuseScaleCommand: function(matrixCommand, factor) {\n matrixCommand[0] = factor;\n matrixCommand[5] = factor;\n },\n\n reuseScale3dCommand: function(matrixCommand, x, y, z) {\n matrixCommand[0] = x;\n matrixCommand[5] = y;\n matrixCommand[10] = z;\n },\n\n reusePerspectiveCommand: function(matrixCommand, p) {\n matrixCommand[11] = -1 / p;\n },\n\n reuseScaleXCommand(matrixCommand, factor) {\n matrixCommand[0] = factor;\n },\n\n reuseScaleYCommand(matrixCommand, factor) {\n matrixCommand[5] = factor;\n },\n\n reuseScaleZCommand(matrixCommand, factor) {\n matrixCommand[10] = factor;\n },\n\n reuseRotateXCommand: function(matrixCommand, radians) {\n matrixCommand[5] = Math.cos(radians);\n matrixCommand[6] = Math.sin(radians);\n matrixCommand[9] = -Math.sin(radians);\n matrixCommand[10] = Math.cos(radians);\n },\n\n reuseRotateYCommand: function(matrixCommand, amount) {\n matrixCommand[0] = Math.cos(amount);\n matrixCommand[2] = -Math.sin(amount);\n matrixCommand[8] = Math.sin(amount);\n matrixCommand[10] = Math.cos(amount);\n },\n\n // http://www.w3.org/TR/css3-transforms/#recomposing-to-a-2d-matrix\n reuseRotateZCommand: function(matrixCommand, radians) {\n matrixCommand[0] = Math.cos(radians);\n matrixCommand[1] = Math.sin(radians);\n matrixCommand[4] = -Math.sin(radians);\n matrixCommand[5] = Math.cos(radians);\n },\n\n createRotateZ: function(radians) {\n const mat = MatrixMath.createIdentityMatrix();\n MatrixMath.reuseRotateZCommand(mat, radians);\n return mat;\n },\n\n reuseSkewXCommand: function(matrixCommand, radians) {\n matrixCommand[4] = Math.tan(radians);\n },\n\n reuseSkewYCommand: function(matrixCommand, radians) {\n matrixCommand[1] = Math.tan(radians);\n },\n\n multiplyInto: function(out, a, b) {\n const a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3],\n a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7],\n a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11],\n a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n\n let b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3];\n out[0] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[1] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[2] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[3] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n\n b0 = b[4];\n b1 = b[5];\n b2 = b[6];\n b3 = b[7];\n out[4] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[5] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[6] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[7] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n\n b0 = b[8];\n b1 = b[9];\n b2 = b[10];\n b3 = b[11];\n out[8] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[9] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[10] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[11] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n\n b0 = b[12];\n b1 = b[13];\n b2 = b[14];\n b3 = b[15];\n out[12] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[13] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[14] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[15] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n },\n\n determinant(matrix: Array): number {\n const [\n m00,\n m01,\n m02,\n m03,\n m10,\n m11,\n m12,\n m13,\n m20,\n m21,\n m22,\n m23,\n m30,\n m31,\n m32,\n m33,\n ] = matrix;\n return (\n m03 * m12 * m21 * m30 -\n m02 * m13 * m21 * m30 -\n m03 * m11 * m22 * m30 +\n m01 * m13 * m22 * m30 +\n m02 * m11 * m23 * m30 -\n m01 * m12 * m23 * m30 -\n m03 * m12 * m20 * m31 +\n m02 * m13 * m20 * m31 +\n m03 * m10 * m22 * m31 -\n m00 * m13 * m22 * m31 -\n m02 * m10 * m23 * m31 +\n m00 * m12 * m23 * m31 +\n m03 * m11 * m20 * m32 -\n m01 * m13 * m20 * m32 -\n m03 * m10 * m21 * m32 +\n m00 * m13 * m21 * m32 +\n m01 * m10 * m23 * m32 -\n m00 * m11 * m23 * m32 -\n m02 * m11 * m20 * m33 +\n m01 * m12 * m20 * m33 +\n m02 * m10 * m21 * m33 -\n m00 * m12 * m21 * m33 -\n m01 * m10 * m22 * m33 +\n m00 * m11 * m22 * m33\n );\n },\n\n /**\n * Inverse of a matrix. Multiplying by the inverse is used in matrix math\n * instead of division.\n *\n * Formula from:\n * http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm\n */\n inverse(matrix: Array): Array {\n const det = MatrixMath.determinant(matrix);\n if (!det) {\n return matrix;\n }\n const [\n m00,\n m01,\n m02,\n m03,\n m10,\n m11,\n m12,\n m13,\n m20,\n m21,\n m22,\n m23,\n m30,\n m31,\n m32,\n m33,\n ] = matrix;\n return [\n (m12 * m23 * m31 -\n m13 * m22 * m31 +\n m13 * m21 * m32 -\n m11 * m23 * m32 -\n m12 * m21 * m33 +\n m11 * m22 * m33) /\n det,\n (m03 * m22 * m31 -\n m02 * m23 * m31 -\n m03 * m21 * m32 +\n m01 * m23 * m32 +\n m02 * m21 * m33 -\n m01 * m22 * m33) /\n det,\n (m02 * m13 * m31 -\n m03 * m12 * m31 +\n m03 * m11 * m32 -\n m01 * m13 * m32 -\n m02 * m11 * m33 +\n m01 * m12 * m33) /\n det,\n (m03 * m12 * m21 -\n m02 * m13 * m21 -\n m03 * m11 * m22 +\n m01 * m13 * m22 +\n m02 * m11 * m23 -\n m01 * m12 * m23) /\n det,\n (m13 * m22 * m30 -\n m12 * m23 * m30 -\n m13 * m20 * m32 +\n m10 * m23 * m32 +\n m12 * m20 * m33 -\n m10 * m22 * m33) /\n det,\n (m02 * m23 * m30 -\n m03 * m22 * m30 +\n m03 * m20 * m32 -\n m00 * m23 * m32 -\n m02 * m20 * m33 +\n m00 * m22 * m33) /\n det,\n (m03 * m12 * m30 -\n m02 * m13 * m30 -\n m03 * m10 * m32 +\n m00 * m13 * m32 +\n m02 * m10 * m33 -\n m00 * m12 * m33) /\n det,\n (m02 * m13 * m20 -\n m03 * m12 * m20 +\n m03 * m10 * m22 -\n m00 * m13 * m22 -\n m02 * m10 * m23 +\n m00 * m12 * m23) /\n det,\n (m11 * m23 * m30 -\n m13 * m21 * m30 +\n m13 * m20 * m31 -\n m10 * m23 * m31 -\n m11 * m20 * m33 +\n m10 * m21 * m33) /\n det,\n (m03 * m21 * m30 -\n m01 * m23 * m30 -\n m03 * m20 * m31 +\n m00 * m23 * m31 +\n m01 * m20 * m33 -\n m00 * m21 * m33) /\n det,\n (m01 * m13 * m30 -\n m03 * m11 * m30 +\n m03 * m10 * m31 -\n m00 * m13 * m31 -\n m01 * m10 * m33 +\n m00 * m11 * m33) /\n det,\n (m03 * m11 * m20 -\n m01 * m13 * m20 -\n m03 * m10 * m21 +\n m00 * m13 * m21 +\n m01 * m10 * m23 -\n m00 * m11 * m23) /\n det,\n (m12 * m21 * m30 -\n m11 * m22 * m30 -\n m12 * m20 * m31 +\n m10 * m22 * m31 +\n m11 * m20 * m32 -\n m10 * m21 * m32) /\n det,\n (m01 * m22 * m30 -\n m02 * m21 * m30 +\n m02 * m20 * m31 -\n m00 * m22 * m31 -\n m01 * m20 * m32 +\n m00 * m21 * m32) /\n det,\n (m02 * m11 * m30 -\n m01 * m12 * m30 -\n m02 * m10 * m31 +\n m00 * m12 * m31 +\n m01 * m10 * m32 -\n m00 * m11 * m32) /\n det,\n (m01 * m12 * m20 -\n m02 * m11 * m20 +\n m02 * m10 * m21 -\n m00 * m12 * m21 -\n m01 * m10 * m22 +\n m00 * m11 * m22) /\n det,\n ];\n },\n\n /**\n * Turns columns into rows and rows into columns.\n */\n transpose(m: Array): Array {\n return [\n m[0],\n m[4],\n m[8],\n m[12],\n m[1],\n m[5],\n m[9],\n m[13],\n m[2],\n m[6],\n m[10],\n m[14],\n m[3],\n m[7],\n m[11],\n m[15],\n ];\n },\n\n /**\n * Based on: http://tog.acm.org/resources/GraphicsGems/gemsii/unmatrix.c\n */\n multiplyVectorByMatrix(v: Array, m: Array): Array {\n const [vx, vy, vz, vw] = v;\n return [\n vx * m[0] + vy * m[4] + vz * m[8] + vw * m[12],\n vx * m[1] + vy * m[5] + vz * m[9] + vw * m[13],\n vx * m[2] + vy * m[6] + vz * m[10] + vw * m[14],\n vx * m[3] + vy * m[7] + vz * m[11] + vw * m[15],\n ];\n },\n\n /**\n * From: https://code.google.com/p/webgl-mjs/source/browse/mjs.js\n */\n v3Length(a: Array): number {\n return Math.sqrt(a[0] * a[0] + a[1] * a[1] + a[2] * a[2]);\n },\n\n /**\n * Based on: https://code.google.com/p/webgl-mjs/source/browse/mjs.js\n */\n v3Normalize(vector: Array, v3Length: number): Array {\n const im = 1 / (v3Length || MatrixMath.v3Length(vector));\n return [vector[0] * im, vector[1] * im, vector[2] * im];\n },\n\n /**\n * The dot product of a and b, two 3-element vectors.\n * From: https://code.google.com/p/webgl-mjs/source/browse/mjs.js\n */\n v3Dot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n },\n\n /**\n * From:\n * http://www.opensource.apple.com/source/WebCore/WebCore-514/platform/graphics/transforms/TransformationMatrix.cpp\n */\n v3Combine(\n a: Array,\n b: Array,\n aScale: number,\n bScale: number,\n ): Array {\n return [\n aScale * a[0] + bScale * b[0],\n aScale * a[1] + bScale * b[1],\n aScale * a[2] + bScale * b[2],\n ];\n },\n\n /**\n * From:\n * http://www.opensource.apple.com/source/WebCore/WebCore-514/platform/graphics/transforms/TransformationMatrix.cpp\n */\n v3Cross(a: Array, b: Array): Array {\n return [\n a[1] * b[2] - a[2] * b[1],\n a[2] * b[0] - a[0] * b[2],\n a[0] * b[1] - a[1] * b[0],\n ];\n },\n\n /**\n * Based on:\n * http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/\n * and:\n * http://quat.zachbennett.com/\n *\n * Note that this rounds degrees to the thousandth of a degree, due to\n * floating point errors in the creation of the quaternion.\n *\n * Also note that this expects the qw value to be last, not first.\n *\n * Also, when researching this, remember that:\n * yaw === heading === z-axis\n * pitch === elevation/attitude === y-axis\n * roll === bank === x-axis\n */\n quaternionToDegreesXYZ(q: Array, matrix, row): Array {\n const [qx, qy, qz, qw] = q;\n const qw2 = qw * qw;\n const qx2 = qx * qx;\n const qy2 = qy * qy;\n const qz2 = qz * qz;\n const test = qx * qy + qz * qw;\n const unit = qw2 + qx2 + qy2 + qz2;\n const conv = 180 / Math.PI;\n\n if (test > 0.49999 * unit) {\n return [0, 2 * Math.atan2(qx, qw) * conv, 90];\n }\n if (test < -0.49999 * unit) {\n return [0, -2 * Math.atan2(qx, qw) * conv, -90];\n }\n\n return [\n MatrixMath.roundTo3Places(\n Math.atan2(2 * qx * qw - 2 * qy * qz, 1 - 2 * qx2 - 2 * qz2) * conv,\n ),\n MatrixMath.roundTo3Places(\n Math.atan2(2 * qy * qw - 2 * qx * qz, 1 - 2 * qy2 - 2 * qz2) * conv,\n ),\n MatrixMath.roundTo3Places(Math.asin(2 * qx * qy + 2 * qz * qw) * conv),\n ];\n },\n\n /**\n * Based on:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round\n */\n roundTo3Places(n: number): number {\n const arr = n.toString().split('e');\n return Math.round(arr[0] + 'e' + (arr[1] ? +arr[1] - 3 : 3)) * 0.001;\n },\n\n /**\n * Decompose a matrix into separate transform values, for use on platforms\n * where applying a precomposed matrix is not possible, and transforms are\n * applied in an inflexible ordering (e.g. Android).\n *\n * Implementation based on\n * http://www.w3.org/TR/css3-transforms/#decomposing-a-2d-matrix\n * http://www.w3.org/TR/css3-transforms/#decomposing-a-3d-matrix\n * which was based on\n * http://tog.acm.org/resources/GraphicsGems/gemsii/unmatrix.c\n */\n decomposeMatrix(transformMatrix: Array): ?Object {\n invariant(\n transformMatrix.length === 16,\n 'Matrix decomposition needs a list of 3d matrix values, received %s',\n transformMatrix,\n );\n\n // output values\n let perspective = [];\n const quaternion = [];\n const scale = [];\n const skew = [];\n const translation = [];\n\n // create normalized, 2d array matrix\n // and normalized 1d array perspectiveMatrix with redefined 4th column\n if (!transformMatrix[15]) {\n return;\n }\n const matrix = [];\n const perspectiveMatrix = [];\n for (let i = 0; i < 4; i++) {\n matrix.push([]);\n for (let j = 0; j < 4; j++) {\n const value = transformMatrix[i * 4 + j] / transformMatrix[15];\n matrix[i].push(value);\n perspectiveMatrix.push(j === 3 ? 0 : value);\n }\n }\n perspectiveMatrix[15] = 1;\n\n // test for singularity of upper 3x3 part of the perspective matrix\n if (!MatrixMath.determinant(perspectiveMatrix)) {\n return;\n }\n\n // isolate perspective\n if (matrix[0][3] !== 0 || matrix[1][3] !== 0 || matrix[2][3] !== 0) {\n // rightHandSide is the right hand side of the equation.\n // rightHandSide is a vector, or point in 3d space relative to the origin.\n const rightHandSide = [\n matrix[0][3],\n matrix[1][3],\n matrix[2][3],\n matrix[3][3],\n ];\n\n // Solve the equation by inverting perspectiveMatrix and multiplying\n // rightHandSide by the inverse.\n const inversePerspectiveMatrix = MatrixMath.inverse(perspectiveMatrix);\n const transposedInversePerspectiveMatrix = MatrixMath.transpose(\n inversePerspectiveMatrix,\n );\n perspective = MatrixMath.multiplyVectorByMatrix(\n rightHandSide,\n transposedInversePerspectiveMatrix,\n );\n } else {\n // no perspective\n perspective[0] = perspective[1] = perspective[2] = 0;\n perspective[3] = 1;\n }\n\n // translation is simple\n for (let i = 0; i < 3; i++) {\n translation[i] = matrix[3][i];\n }\n\n // Now get scale and shear.\n // 'row' is a 3 element array of 3 component vectors\n const row = [];\n for (let i = 0; i < 3; i++) {\n row[i] = [matrix[i][0], matrix[i][1], matrix[i][2]];\n }\n\n // Compute X scale factor and normalize first row.\n scale[0] = MatrixMath.v3Length(row[0]);\n row[0] = MatrixMath.v3Normalize(row[0], scale[0]);\n\n // Compute XY shear factor and make 2nd row orthogonal to 1st.\n skew[0] = MatrixMath.v3Dot(row[0], row[1]);\n row[1] = MatrixMath.v3Combine(row[1], row[0], 1.0, -skew[0]);\n\n // Compute XY shear factor and make 2nd row orthogonal to 1st.\n skew[0] = MatrixMath.v3Dot(row[0], row[1]);\n row[1] = MatrixMath.v3Combine(row[1], row[0], 1.0, -skew[0]);\n\n // Now, compute Y scale and normalize 2nd row.\n scale[1] = MatrixMath.v3Length(row[1]);\n row[1] = MatrixMath.v3Normalize(row[1], scale[1]);\n skew[0] /= scale[1];\n\n // Compute XZ and YZ shears, orthogonalize 3rd row\n skew[1] = MatrixMath.v3Dot(row[0], row[2]);\n row[2] = MatrixMath.v3Combine(row[2], row[0], 1.0, -skew[1]);\n skew[2] = MatrixMath.v3Dot(row[1], row[2]);\n row[2] = MatrixMath.v3Combine(row[2], row[1], 1.0, -skew[2]);\n\n // Next, get Z scale and normalize 3rd row.\n scale[2] = MatrixMath.v3Length(row[2]);\n row[2] = MatrixMath.v3Normalize(row[2], scale[2]);\n skew[1] /= scale[2];\n skew[2] /= scale[2];\n\n // At this point, the matrix (in rows) is orthonormal.\n // Check for a coordinate system flip. If the determinant\n // is -1, then negate the matrix and the scaling factors.\n const pdum3 = MatrixMath.v3Cross(row[1], row[2]);\n if (MatrixMath.v3Dot(row[0], pdum3) < 0) {\n for (let i = 0; i < 3; i++) {\n scale[i] *= -1;\n row[i][0] *= -1;\n row[i][1] *= -1;\n row[i][2] *= -1;\n }\n }\n\n // Now, get the rotations out\n quaternion[0] =\n 0.5 * Math.sqrt(Math.max(1 + row[0][0] - row[1][1] - row[2][2], 0));\n quaternion[1] =\n 0.5 * Math.sqrt(Math.max(1 - row[0][0] + row[1][1] - row[2][2], 0));\n quaternion[2] =\n 0.5 * Math.sqrt(Math.max(1 - row[0][0] - row[1][1] + row[2][2], 0));\n quaternion[3] =\n 0.5 * Math.sqrt(Math.max(1 + row[0][0] + row[1][1] + row[2][2], 0));\n\n if (row[2][1] > row[1][2]) {\n quaternion[0] = -quaternion[0];\n }\n if (row[0][2] > row[2][0]) {\n quaternion[1] = -quaternion[1];\n }\n if (row[1][0] > row[0][1]) {\n quaternion[2] = -quaternion[2];\n }\n\n // correct for occasional, weird Euler synonyms for 2d rotation\n let rotationDegrees;\n if (\n quaternion[0] < 0.001 &&\n quaternion[0] >= 0 &&\n quaternion[1] < 0.001 &&\n quaternion[1] >= 0\n ) {\n // this is a 2d rotation on the z-axis\n rotationDegrees = [\n 0,\n 0,\n MatrixMath.roundTo3Places(\n (Math.atan2(row[0][1], row[0][0]) * 180) / Math.PI,\n ),\n ];\n } else {\n rotationDegrees = MatrixMath.quaternionToDegreesXYZ(\n quaternion,\n matrix,\n row,\n );\n }\n\n // expose both base data and convenience names\n return {\n rotationDegrees,\n perspective,\n quaternion,\n scale,\n skew,\n translation,\n\n rotate: rotationDegrees[2],\n rotateX: rotationDegrees[0],\n rotateY: rotationDegrees[1],\n scaleX: scale[0],\n scaleY: scale[1],\n translateX: translation[0],\n translateY: translation[1],\n };\n },\n};\n\nmodule.exports = MatrixMath;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst dummySize = {width: undefined, height: undefined};\n\nconst sizesDiffer = function(one, two) {\n one = one || dummySize;\n two = two || dummySize;\n return one !== two && (one.width !== two.width || one.height !== two.height);\n};\n\nmodule.exports = sizesDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedImageStylePropTypes = require('../DeprecatedPropTypes/DeprecatedImageStylePropTypes');\nconst DeprecatedTextStylePropTypes = require('../DeprecatedPropTypes/DeprecatedTextStylePropTypes');\nconst DeprecatedViewStylePropTypes = require('../DeprecatedPropTypes/DeprecatedViewStylePropTypes');\n\nconst invariant = require('invariant');\n\n// Hardcoded because this is a legit case but we don't want to load it from\n// a private API. We might likely want to unify style sheet creation with how it\n// is done in the DOM so this might move into React. I know what I'm doing so\n// plz don't fire me.\nconst ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nclass StyleSheetValidation {\n static validateStyleProp(prop: string, style: Object, caller: string) {\n if (!__DEV__ || global.__RCTProfileIsProfiling) {\n return;\n }\n if (allStylePropTypes[prop] === undefined) {\n const message1 = '\"' + prop + '\" is not a valid style property.';\n const message2 =\n '\\nValid style props: ' +\n JSON.stringify(Object.keys(allStylePropTypes).sort(), null, ' ');\n styleError(message1, style, caller, message2);\n }\n const error = allStylePropTypes[prop](\n style,\n prop,\n caller,\n 'prop',\n null,\n ReactPropTypesSecret,\n );\n if (error) {\n styleError(error.message, style, caller);\n }\n }\n\n static validateStyle(name: string, styles: Object) {\n if (!__DEV__ || global.__RCTProfileIsProfiling) {\n return;\n }\n for (const prop in styles[name]) {\n StyleSheetValidation.validateStyleProp(\n prop,\n styles[name],\n 'StyleSheet ' + name,\n );\n }\n }\n\n /* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.85 was deployed. To see the error, delete this comment\n * and run Flow. */\n static addValidStylePropTypes(stylePropTypes) {\n if (!__DEV__ || global.__RCTProfileIsProfiling) {\n return;\n }\n for (const key in stylePropTypes) {\n allStylePropTypes[key] = stylePropTypes[key];\n }\n }\n}\n\nconst styleError = function(message1, style, caller?, message2?) {\n invariant(\n false,\n message1 +\n '\\n' +\n (caller || '<>') +\n ': ' +\n JSON.stringify(style, null, ' ') +\n (message2 || ''),\n );\n};\n\nconst allStylePropTypes = {};\n\nif (__DEV__ && !global.__RCTProfileIsProfiling) {\n StyleSheetValidation.addValidStylePropTypes(DeprecatedImageStylePropTypes);\n StyleSheetValidation.addValidStylePropTypes(DeprecatedTextStylePropTypes);\n StyleSheetValidation.addValidStylePropTypes(DeprecatedViewStylePropTypes);\n}\n\nmodule.exports = StyleSheetValidation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nimport type {\n DangerouslyImpreciseStyle,\n DangerouslyImpreciseStyleProp,\n} from './StyleSheet';\n\nfunction flattenStyle(\n style: ?DangerouslyImpreciseStyleProp,\n): ?DangerouslyImpreciseStyle {\n if (style === null || typeof style !== 'object') {\n return undefined;\n }\n\n if (!Array.isArray(style)) {\n return style;\n }\n\n const result = {};\n for (let i = 0, styleLength = style.length; i < styleLength; ++i) {\n const computedStyle = flattenStyle(style[i]);\n if (computedStyle) {\n for (const key in computedStyle) {\n result[key] = computedStyle[key];\n }\n }\n }\n return result;\n}\n\nmodule.exports = flattenStyle;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ViewProps} from './ViewPropTypes';\nimport type {ViewNativeComponentType} from './ViewNativeComponent';\n\nexport type Props = ViewProps;\n\n/**\n * The most fundamental component for building a UI, View is a container that\n * supports layout with flexbox, style, some touch handling, and accessibility\n * controls.\n *\n * @see http://facebook.github.io/react-native/docs/view.html\n */\nmodule.exports = (require('./ViewNativeComponent')\n .default: ViewNativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\nconst ReactNativeViewViewConfigAndroid = require('./ReactNativeViewViewConfigAndroid');\n\nconst registerGeneratedViewConfig = require('../../Utilities/registerGeneratedViewConfig');\nconst requireNativeComponent = require('../../ReactNative/requireNativeComponent');\n\nimport type {ViewProps} from './ViewPropTypes';\n\nexport type ViewNativeComponentType = Class<\n ReactNative.NativeComponent,\n>;\n\nlet NativeViewComponent;\nlet viewConfig:\n | $TEMPORARY$object<{||}>\n | $TEMPORARY$object<{|\n bubblingEventTypes?: $ReadOnly<{\n [eventName: string]: $ReadOnly<{|\n phasedRegistrationNames: $ReadOnly<{|\n bubbled: string,\n captured: string,\n |}>,\n |}>,\n }>,\n directEventTypes?: $ReadOnly<{\n [eventName: string]: $ReadOnly<{|registrationName: string|}>,\n }>,\n uiViewClassName: string,\n validAttributes?: {\n [propName: string]:\n | true\n | $ReadOnly<{|\n diff?: (arg1: any, arg2: any) => boolean,\n process?: (arg1: any) => any,\n |}>,\n },\n |}>;\n\n// Only use the JS view config in DEV\nif (__DEV__) {\n // On Android, View extends the base component with additional view-only props\n // On iOS, the base component is View\n if (Platform.OS === 'android') {\n viewConfig = ReactNativeViewViewConfigAndroid;\n registerGeneratedViewConfig('RCTView', ReactNativeViewViewConfigAndroid);\n } else {\n viewConfig = {};\n registerGeneratedViewConfig('RCTView', {uiViewClassName: 'RCTView'});\n }\n\n NativeViewComponent = 'RCTView';\n} else {\n NativeViewComponent = requireNativeComponent('RCTView');\n}\n\nexport const __INTERNAL_VIEW_CONFIG = viewConfig;\nexport default ((NativeViewComponent: any): ViewNativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {ReactNativeType} from './ReactNativeTypes';\n\nlet ReactNative;\n\nif (__DEV__) {\n ReactNative = require('../implementations/ReactNativeRenderer-dev');\n} else {\n ReactNative = require('../implementations/ReactNativeRenderer-prod');\n}\n\nmodule.exports = (ReactNative: ReactNativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noflow\n * @providesModule ReactNativeRenderer-prod\n * @preventMunge\n * @generated\n */\n\n\"use strict\";\nrequire(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore\");\nvar ReactNativePrivateInterface = require(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInterface\"),\n React = require(\"react\"),\n Scheduler = require(\"scheduler\");\nfunction ReactError(error) {\n error.name = \"Invariant Violation\";\n return error;\n}\nvar eventPluginOrder = null,\n namesToPlugins = {};\nfunction recomputePluginOrdering() {\n if (eventPluginOrder)\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName],\n pluginIndex = eventPluginOrder.indexOf(pluginName);\n if (!(-1 < pluginIndex))\n throw ReactError(\n Error(\n \"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `\" +\n pluginName +\n \"`.\"\n )\n );\n if (!plugins[pluginIndex]) {\n if (!pluginModule.extractEvents)\n throw ReactError(\n Error(\n \"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `\" +\n pluginName +\n \"` does not.\"\n )\n );\n plugins[pluginIndex] = pluginModule;\n pluginIndex = pluginModule.eventTypes;\n for (var eventName in pluginIndex) {\n var JSCompiler_inline_result = void 0;\n var dispatchConfig = pluginIndex[eventName],\n pluginModule$jscomp$0 = pluginModule,\n eventName$jscomp$0 = eventName;\n if (eventNameDispatchConfigs.hasOwnProperty(eventName$jscomp$0))\n throw ReactError(\n Error(\n \"EventPluginHub: More than one plugin attempted to publish the same event name, `\" +\n eventName$jscomp$0 +\n \"`.\"\n )\n );\n eventNameDispatchConfigs[eventName$jscomp$0] = dispatchConfig;\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (JSCompiler_inline_result in phasedRegistrationNames)\n phasedRegistrationNames.hasOwnProperty(\n JSCompiler_inline_result\n ) &&\n publishRegistrationName(\n phasedRegistrationNames[JSCompiler_inline_result],\n pluginModule$jscomp$0,\n eventName$jscomp$0\n );\n JSCompiler_inline_result = !0;\n } else\n dispatchConfig.registrationName\n ? (publishRegistrationName(\n dispatchConfig.registrationName,\n pluginModule$jscomp$0,\n eventName$jscomp$0\n ),\n (JSCompiler_inline_result = !0))\n : (JSCompiler_inline_result = !1);\n if (!JSCompiler_inline_result)\n throw ReactError(\n Error(\n \"EventPluginRegistry: Failed to publish event `\" +\n eventName +\n \"` for plugin `\" +\n pluginName +\n \"`.\"\n )\n );\n }\n }\n }\n}\nfunction publishRegistrationName(registrationName, pluginModule) {\n if (registrationNameModules[registrationName])\n throw ReactError(\n Error(\n \"EventPluginHub: More than one plugin attempted to publish the same registration name, `\" +\n registrationName +\n \"`.\"\n )\n );\n registrationNameModules[registrationName] = pluginModule;\n}\nvar plugins = [],\n eventNameDispatchConfigs = {},\n registrationNameModules = {};\nfunction invokeGuardedCallbackImpl(name, func, context, a, b, c, d, e, f) {\n var funcArgs = Array.prototype.slice.call(arguments, 3);\n try {\n func.apply(context, funcArgs);\n } catch (error) {\n this.onError(error);\n }\n}\nvar hasError = !1,\n caughtError = null,\n hasRethrowError = !1,\n rethrowError = null,\n reporter = {\n onError: function(error) {\n hasError = !0;\n caughtError = error;\n }\n };\nfunction invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {\n hasError = !1;\n caughtError = null;\n invokeGuardedCallbackImpl.apply(reporter, arguments);\n}\nfunction invokeGuardedCallbackAndCatchFirstError(\n name,\n func,\n context,\n a,\n b,\n c,\n d,\n e,\n f\n) {\n invokeGuardedCallback.apply(this, arguments);\n if (hasError) {\n if (hasError) {\n var error = caughtError;\n hasError = !1;\n caughtError = null;\n } else\n throw ReactError(\n Error(\n \"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n hasRethrowError || ((hasRethrowError = !0), (rethrowError = error));\n }\n}\nvar getFiberCurrentPropsFromNode = null,\n getInstanceFromNode = null,\n getNodeFromInstance = null;\nfunction executeDispatch(event, listener, inst) {\n var type = event.type || \"unknown-event\";\n event.currentTarget = getNodeFromInstance(inst);\n invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event);\n event.currentTarget = null;\n}\nfunction executeDirectDispatch(event) {\n var dispatchListener = event._dispatchListeners,\n dispatchInstance = event._dispatchInstances;\n if (Array.isArray(dispatchListener))\n throw ReactError(Error(\"executeDirectDispatch(...): Invalid `event`.\"));\n event.currentTarget = dispatchListener\n ? getNodeFromInstance(dispatchInstance)\n : null;\n dispatchListener = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return dispatchListener;\n}\nfunction accumulateInto(current, next) {\n if (null == next)\n throw ReactError(\n Error(\n \"accumulateInto(...): Accumulated items must not be null or undefined.\"\n )\n );\n if (null == current) return next;\n if (Array.isArray(current)) {\n if (Array.isArray(next)) return current.push.apply(current, next), current;\n current.push(next);\n return current;\n }\n return Array.isArray(next) ? [current].concat(next) : [current, next];\n}\nfunction forEachAccumulated(arr, cb, scope) {\n Array.isArray(arr) ? arr.forEach(cb, scope) : arr && cb.call(scope, arr);\n}\nvar eventQueue = null;\nfunction executeDispatchesAndReleaseTopLevel(e) {\n if (e) {\n var dispatchListeners = e._dispatchListeners,\n dispatchInstances = e._dispatchInstances;\n if (Array.isArray(dispatchListeners))\n for (\n var i = 0;\n i < dispatchListeners.length && !e.isPropagationStopped();\n i++\n )\n executeDispatch(e, dispatchListeners[i], dispatchInstances[i]);\n else\n dispatchListeners &&\n executeDispatch(e, dispatchListeners, dispatchInstances);\n e._dispatchListeners = null;\n e._dispatchInstances = null;\n e.isPersistent() || e.constructor.release(e);\n }\n}\nvar injection = {\n injectEventPluginOrder: function(injectedEventPluginOrder) {\n if (eventPluginOrder)\n throw ReactError(\n Error(\n \"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.\"\n )\n );\n eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);\n recomputePluginOrdering();\n },\n injectEventPluginsByName: function(injectedNamesToPlugins) {\n var isOrderingDirty = !1,\n pluginName;\n for (pluginName in injectedNamesToPlugins)\n if (injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n var pluginModule = injectedNamesToPlugins[pluginName];\n if (\n !namesToPlugins.hasOwnProperty(pluginName) ||\n namesToPlugins[pluginName] !== pluginModule\n ) {\n if (namesToPlugins[pluginName])\n throw ReactError(\n Error(\n \"EventPluginRegistry: Cannot inject two different event plugins using the same name, `\" +\n pluginName +\n \"`.\"\n )\n );\n namesToPlugins[pluginName] = pluginModule;\n isOrderingDirty = !0;\n }\n }\n isOrderingDirty && recomputePluginOrdering();\n }\n};\nfunction getListener(inst, registrationName) {\n var listener = inst.stateNode;\n if (!listener) return null;\n var props = getFiberCurrentPropsFromNode(listener);\n if (!props) return null;\n listener = props[registrationName];\n a: switch (registrationName) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n (props = !props.disabled) ||\n ((inst = inst.type),\n (props = !(\n \"button\" === inst ||\n \"input\" === inst ||\n \"select\" === inst ||\n \"textarea\" === inst\n )));\n inst = !props;\n break a;\n default:\n inst = !1;\n }\n if (inst) return null;\n if (listener && \"function\" !== typeof listener)\n throw ReactError(\n Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof listener +\n \"` type.\"\n )\n );\n return listener;\n}\nfunction getParent(inst) {\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n return inst ? inst : null;\n}\nfunction traverseTwoPhase(inst, fn, arg) {\n for (var path = []; inst; ) path.push(inst), (inst = getParent(inst));\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (\n (phase = getListener(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n}\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n targetInst = targetInst ? getParent(targetInst) : null;\n traverseTwoPhase(targetInst, accumulateDirectionalDispatches, event);\n }\n}\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction SyntheticEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n) {\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n dispatchConfig = this.constructor.Interface;\n for (var propName in dispatchConfig)\n dispatchConfig.hasOwnProperty(propName) &&\n ((targetInst = dispatchConfig[propName])\n ? (this[propName] = targetInst(nativeEvent))\n : \"target\" === propName\n ? (this.target = nativeEventTarget)\n : (this[propName] = nativeEvent[propName]));\n this.isDefaultPrevented = (null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue)\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n}\nObject.assign(SyntheticEvent.prototype, {\n preventDefault: function() {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function() {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble && (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function() {\n this.isPersistent = functionThatReturnsTrue;\n },\n isPersistent: functionThatReturnsFalse,\n destructor: function() {\n var Interface = this.constructor.Interface,\n propName;\n for (propName in Interface) this[propName] = null;\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = functionThatReturnsFalse;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\nSyntheticEvent.Interface = {\n type: null,\n target: null,\n currentTarget: function() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function(event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\nSyntheticEvent.extend = function(Interface) {\n function E() {}\n function Class() {\n return Super.apply(this, arguments);\n }\n var Super = this;\n E.prototype = Super.prototype;\n var prototype = new E();\n Object.assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n Class.Interface = Object.assign({}, Super.Interface, Interface);\n Class.extend = Super.extend;\n addEventPoolingTo(Class);\n return Class;\n};\naddEventPoolingTo(SyntheticEvent);\nfunction getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) {\n if (this.eventPool.length) {\n var instance = this.eventPool.pop();\n this.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);\n return instance;\n }\n return new this(dispatchConfig, targetInst, nativeEvent, nativeInst);\n}\nfunction releasePooledEvent(event) {\n if (!(event instanceof this))\n throw ReactError(\n Error(\n \"Trying to release an event instance into a pool of a different type.\"\n )\n );\n event.destructor();\n 10 > this.eventPool.length && this.eventPool.push(event);\n}\nfunction addEventPoolingTo(EventConstructor) {\n EventConstructor.eventPool = [];\n EventConstructor.getPooled = getPooledEvent;\n EventConstructor.release = releasePooledEvent;\n}\nvar ResponderSyntheticEvent = SyntheticEvent.extend({\n touchHistory: function() {\n return null;\n }\n});\nfunction isStartish(topLevelType) {\n return \"topTouchStart\" === topLevelType;\n}\nfunction isMoveish(topLevelType) {\n return \"topTouchMove\" === topLevelType;\n}\nvar startDependencies = [\"topTouchStart\"],\n moveDependencies = [\"topTouchMove\"],\n endDependencies = [\"topTouchCancel\", \"topTouchEnd\"],\n touchBank = [],\n touchHistory = {\n touchBank: touchBank,\n numberActiveTouches: 0,\n indexOfSingleActiveTouch: -1,\n mostRecentTimeStamp: 0\n };\nfunction timestampForTouch(touch) {\n return touch.timeStamp || touch.timestamp;\n}\nfunction getTouchIdentifier(_ref) {\n _ref = _ref.identifier;\n if (null == _ref)\n throw ReactError(Error(\"Touch object is missing identifier.\"));\n return _ref;\n}\nfunction recordTouchStart(touch) {\n var identifier = getTouchIdentifier(touch),\n touchRecord = touchBank[identifier];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.startPageX = touch.pageX),\n (touchRecord.startPageY = touch.pageY),\n (touchRecord.startTimeStamp = timestampForTouch(touch)),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchRecord.previousPageX = touch.pageX),\n (touchRecord.previousPageY = touch.pageY),\n (touchRecord.previousTimeStamp = timestampForTouch(touch)))\n : ((touchRecord = {\n touchActive: !0,\n startPageX: touch.pageX,\n startPageY: touch.pageY,\n startTimeStamp: timestampForTouch(touch),\n currentPageX: touch.pageX,\n currentPageY: touch.pageY,\n currentTimeStamp: timestampForTouch(touch),\n previousPageX: touch.pageX,\n previousPageY: touch.pageY,\n previousTimeStamp: timestampForTouch(touch)\n }),\n (touchBank[identifier] = touchRecord));\n touchHistory.mostRecentTimeStamp = timestampForTouch(touch);\n}\nfunction recordTouchMove(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)))\n : console.warn(\n \"Cannot record touch move without a touch start.\\nTouch Move: %s\\n\",\n \"Touch Bank: %s\",\n printTouch(touch),\n printTouchBank()\n );\n}\nfunction recordTouchEnd(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord\n ? ((touchRecord.touchActive = !1),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)))\n : console.warn(\n \"Cannot record touch end without a touch start.\\nTouch End: %s\\n\",\n \"Touch Bank: %s\",\n printTouch(touch),\n printTouchBank()\n );\n}\nfunction printTouch(touch) {\n return JSON.stringify({\n identifier: touch.identifier,\n pageX: touch.pageX,\n pageY: touch.pageY,\n timestamp: timestampForTouch(touch)\n });\n}\nfunction printTouchBank() {\n var printed = JSON.stringify(touchBank.slice(0, 20));\n 20 < touchBank.length &&\n (printed += \" (original size: \" + touchBank.length + \")\");\n return printed;\n}\nvar ResponderTouchHistoryStore = {\n recordTouchTrack: function(topLevelType, nativeEvent) {\n if (isMoveish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchMove);\n else if (isStartish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchStart),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches &&\n (touchHistory.indexOfSingleActiveTouch =\n nativeEvent.touches[0].identifier);\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (\n (nativeEvent.changedTouches.forEach(recordTouchEnd),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches)\n )\n for (topLevelType = 0; topLevelType < touchBank.length; topLevelType++)\n if (\n ((nativeEvent = touchBank[topLevelType]),\n null != nativeEvent && nativeEvent.touchActive)\n ) {\n touchHistory.indexOfSingleActiveTouch = topLevelType;\n break;\n }\n },\n touchHistory: touchHistory\n};\nfunction accumulate(current, next) {\n if (null == next)\n throw ReactError(\n Error(\"accumulate(...): Accumulated items must not be null or undefined.\")\n );\n return null == current\n ? next\n : Array.isArray(current)\n ? current.concat(next)\n : Array.isArray(next)\n ? [current].concat(next)\n : [current, next];\n}\nvar responderInst = null,\n trackedTouchCount = 0;\nfunction changeResponder(nextResponderInst, blockHostResponder) {\n var oldResponderInst = responderInst;\n responderInst = nextResponderInst;\n if (null !== ResponderEventPlugin.GlobalResponderHandler)\n ResponderEventPlugin.GlobalResponderHandler.onChange(\n oldResponderInst,\n nextResponderInst,\n blockHostResponder\n );\n}\nvar eventTypes = {\n startShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onStartShouldSetResponder\",\n captured: \"onStartShouldSetResponderCapture\"\n },\n dependencies: startDependencies\n },\n scrollShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onScrollShouldSetResponder\",\n captured: \"onScrollShouldSetResponderCapture\"\n },\n dependencies: [\"topScroll\"]\n },\n selectionChangeShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onSelectionChangeShouldSetResponder\",\n captured: \"onSelectionChangeShouldSetResponderCapture\"\n },\n dependencies: [\"topSelectionChange\"]\n },\n moveShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onMoveShouldSetResponder\",\n captured: \"onMoveShouldSetResponderCapture\"\n },\n dependencies: moveDependencies\n },\n responderStart: {\n registrationName: \"onResponderStart\",\n dependencies: startDependencies\n },\n responderMove: {\n registrationName: \"onResponderMove\",\n dependencies: moveDependencies\n },\n responderEnd: {\n registrationName: \"onResponderEnd\",\n dependencies: endDependencies\n },\n responderRelease: {\n registrationName: \"onResponderRelease\",\n dependencies: endDependencies\n },\n responderTerminationRequest: {\n registrationName: \"onResponderTerminationRequest\",\n dependencies: []\n },\n responderGrant: { registrationName: \"onResponderGrant\", dependencies: [] },\n responderReject: {\n registrationName: \"onResponderReject\",\n dependencies: []\n },\n responderTerminate: {\n registrationName: \"onResponderTerminate\",\n dependencies: []\n }\n },\n ResponderEventPlugin = {\n _getResponder: function() {\n return responderInst;\n },\n eventTypes: eventTypes,\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (isStartish(topLevelType)) trackedTouchCount += 1;\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (0 <= trackedTouchCount) --trackedTouchCount;\n else\n return (\n console.error(\n \"Ended a touch event which was not counted in `trackedTouchCount`.\"\n ),\n null\n );\n ResponderTouchHistoryStore.recordTouchTrack(topLevelType, nativeEvent);\n if (\n targetInst &&\n ((\"topScroll\" === topLevelType && !nativeEvent.responderIgnoreScroll) ||\n (0 < trackedTouchCount && \"topSelectionChange\" === topLevelType) ||\n isStartish(topLevelType) ||\n isMoveish(topLevelType))\n ) {\n var JSCompiler_temp = isStartish(topLevelType)\n ? eventTypes.startShouldSetResponder\n : isMoveish(topLevelType)\n ? eventTypes.moveShouldSetResponder\n : \"topSelectionChange\" === topLevelType\n ? eventTypes.selectionChangeShouldSetResponder\n : eventTypes.scrollShouldSetResponder;\n if (responderInst)\n b: {\n var JSCompiler_temp$jscomp$0 = responderInst;\n for (\n var depthA = 0, tempA = JSCompiler_temp$jscomp$0;\n tempA;\n tempA = getParent(tempA)\n )\n depthA++;\n tempA = 0;\n for (var tempB = targetInst; tempB; tempB = getParent(tempB))\n tempA++;\n for (; 0 < depthA - tempA; )\n (JSCompiler_temp$jscomp$0 = getParent(JSCompiler_temp$jscomp$0)),\n depthA--;\n for (; 0 < tempA - depthA; )\n (targetInst = getParent(targetInst)), tempA--;\n for (; depthA--; ) {\n if (\n JSCompiler_temp$jscomp$0 === targetInst ||\n JSCompiler_temp$jscomp$0 === targetInst.alternate\n )\n break b;\n JSCompiler_temp$jscomp$0 = getParent(JSCompiler_temp$jscomp$0);\n targetInst = getParent(targetInst);\n }\n JSCompiler_temp$jscomp$0 = null;\n }\n else JSCompiler_temp$jscomp$0 = targetInst;\n targetInst = JSCompiler_temp$jscomp$0 === responderInst;\n JSCompiler_temp$jscomp$0 = ResponderSyntheticEvent.getPooled(\n JSCompiler_temp,\n JSCompiler_temp$jscomp$0,\n nativeEvent,\n nativeEventTarget\n );\n JSCompiler_temp$jscomp$0.touchHistory =\n ResponderTouchHistoryStore.touchHistory;\n targetInst\n ? forEachAccumulated(\n JSCompiler_temp$jscomp$0,\n accumulateTwoPhaseDispatchesSingleSkipTarget\n )\n : forEachAccumulated(\n JSCompiler_temp$jscomp$0,\n accumulateTwoPhaseDispatchesSingle\n );\n b: {\n JSCompiler_temp = JSCompiler_temp$jscomp$0._dispatchListeners;\n targetInst = JSCompiler_temp$jscomp$0._dispatchInstances;\n if (Array.isArray(JSCompiler_temp))\n for (\n depthA = 0;\n depthA < JSCompiler_temp.length &&\n !JSCompiler_temp$jscomp$0.isPropagationStopped();\n depthA++\n ) {\n if (\n JSCompiler_temp[depthA](\n JSCompiler_temp$jscomp$0,\n targetInst[depthA]\n )\n ) {\n JSCompiler_temp = targetInst[depthA];\n break b;\n }\n }\n else if (\n JSCompiler_temp &&\n JSCompiler_temp(JSCompiler_temp$jscomp$0, targetInst)\n ) {\n JSCompiler_temp = targetInst;\n break b;\n }\n JSCompiler_temp = null;\n }\n JSCompiler_temp$jscomp$0._dispatchInstances = null;\n JSCompiler_temp$jscomp$0._dispatchListeners = null;\n JSCompiler_temp$jscomp$0.isPersistent() ||\n JSCompiler_temp$jscomp$0.constructor.release(\n JSCompiler_temp$jscomp$0\n );\n JSCompiler_temp && JSCompiler_temp !== responderInst\n ? ((JSCompiler_temp$jscomp$0 = void 0),\n (targetInst = ResponderSyntheticEvent.getPooled(\n eventTypes.responderGrant,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (targetInst.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(targetInst, accumulateDirectDispatchesSingle),\n (depthA = !0 === executeDirectDispatch(targetInst)),\n responderInst\n ? ((tempA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminationRequest,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (tempA.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(tempA, accumulateDirectDispatchesSingle),\n (tempB =\n !tempA._dispatchListeners || executeDirectDispatch(tempA)),\n tempA.isPersistent() || tempA.constructor.release(tempA),\n tempB\n ? ((tempA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminate,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (tempA.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(tempA, accumulateDirectDispatchesSingle),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n [targetInst, tempA]\n )),\n changeResponder(JSCompiler_temp, depthA))\n : ((JSCompiler_temp = ResponderSyntheticEvent.getPooled(\n eventTypes.responderReject,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (JSCompiler_temp.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n JSCompiler_temp,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n JSCompiler_temp\n ))))\n : ((JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n targetInst\n )),\n changeResponder(JSCompiler_temp, depthA)),\n (JSCompiler_temp = JSCompiler_temp$jscomp$0))\n : (JSCompiler_temp = null);\n } else JSCompiler_temp = null;\n JSCompiler_temp$jscomp$0 = responderInst && isStartish(topLevelType);\n targetInst = responderInst && isMoveish(topLevelType);\n depthA =\n responderInst &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType);\n if (\n (JSCompiler_temp$jscomp$0 = JSCompiler_temp$jscomp$0\n ? eventTypes.responderStart\n : targetInst\n ? eventTypes.responderMove\n : depthA\n ? eventTypes.responderEnd\n : null)\n )\n (JSCompiler_temp$jscomp$0 = ResponderSyntheticEvent.getPooled(\n JSCompiler_temp$jscomp$0,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (JSCompiler_temp$jscomp$0.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n JSCompiler_temp$jscomp$0,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp = accumulate(\n JSCompiler_temp,\n JSCompiler_temp$jscomp$0\n ));\n JSCompiler_temp$jscomp$0 =\n responderInst && \"topTouchCancel\" === topLevelType;\n if (\n (topLevelType =\n responderInst &&\n !JSCompiler_temp$jscomp$0 &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType))\n )\n a: {\n if ((topLevelType = nativeEvent.touches) && 0 !== topLevelType.length)\n for (targetInst = 0; targetInst < topLevelType.length; targetInst++)\n if (\n ((depthA = topLevelType[targetInst].target),\n null !== depthA && void 0 !== depthA && 0 !== depthA)\n ) {\n tempA = getInstanceFromNode(depthA);\n b: {\n for (depthA = responderInst; tempA; ) {\n if (depthA === tempA || depthA === tempA.alternate) {\n depthA = !0;\n break b;\n }\n tempA = getParent(tempA);\n }\n depthA = !1;\n }\n if (depthA) {\n topLevelType = !1;\n break a;\n }\n }\n topLevelType = !0;\n }\n if (\n (topLevelType = JSCompiler_temp$jscomp$0\n ? eventTypes.responderTerminate\n : topLevelType\n ? eventTypes.responderRelease\n : null)\n )\n (nativeEvent = ResponderSyntheticEvent.getPooled(\n topLevelType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (nativeEvent.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(nativeEvent, accumulateDirectDispatchesSingle),\n (JSCompiler_temp = accumulate(JSCompiler_temp, nativeEvent)),\n changeResponder(null);\n return JSCompiler_temp;\n },\n GlobalResponderHandler: null,\n injection: {\n injectGlobalResponderHandler: function(GlobalResponderHandler) {\n ResponderEventPlugin.GlobalResponderHandler = GlobalResponderHandler;\n }\n }\n },\n customBubblingEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customBubblingEventTypes,\n customDirectEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customDirectEventTypes;\ninjection.injectEventPluginOrder([\n \"ResponderEventPlugin\",\n \"ReactNativeBridgeEventPlugin\"\n]);\ninjection.injectEventPluginsByName({\n ResponderEventPlugin: ResponderEventPlugin,\n ReactNativeBridgeEventPlugin: {\n eventTypes: {},\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (null == targetInst) return null;\n var bubbleDispatchConfig = customBubblingEventTypes[topLevelType],\n directDispatchConfig = customDirectEventTypes[topLevelType];\n if (!bubbleDispatchConfig && !directDispatchConfig)\n throw ReactError(\n Error(\n 'Unsupported top level event type \"' + topLevelType + '\" dispatched'\n )\n );\n topLevelType = SyntheticEvent.getPooled(\n bubbleDispatchConfig || directDispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n if (bubbleDispatchConfig)\n forEachAccumulated(topLevelType, accumulateTwoPhaseDispatchesSingle);\n else if (directDispatchConfig)\n forEachAccumulated(topLevelType, accumulateDirectDispatchesSingle);\n else return null;\n return topLevelType;\n }\n }\n});\nvar instanceCache = new Map(),\n instanceProps = new Map();\nfunction getInstanceFromTag(tag) {\n return instanceCache.get(tag) || null;\n}\nvar restoreTarget = null,\n restoreQueue = null;\nfunction restoreStateOfTarget(target) {\n if (getInstanceFromNode(target))\n throw ReactError(\n Error(\n \"setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n}\nfunction batchedUpdatesImpl(fn, bookkeeping) {\n return fn(bookkeeping);\n}\nfunction flushDiscreteUpdatesImpl() {}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates(fn, bookkeeping) {\n if (isInsideEventHandler) return fn(bookkeeping);\n isInsideEventHandler = !0;\n try {\n return batchedUpdatesImpl(fn, bookkeeping);\n } finally {\n if (\n ((isInsideEventHandler = !1),\n null !== restoreTarget || null !== restoreQueue)\n )\n if (\n (flushDiscreteUpdatesImpl(),\n restoreTarget &&\n ((bookkeeping = restoreTarget),\n (fn = restoreQueue),\n (restoreQueue = restoreTarget = null),\n restoreStateOfTarget(bookkeeping),\n fn))\n )\n for (bookkeeping = 0; bookkeeping < fn.length; bookkeeping++)\n restoreStateOfTarget(fn[bookkeeping]);\n }\n}\nvar EMPTY_NATIVE_EVENT = {};\nfunction _receiveRootNodeIDEvent(rootNodeID, topLevelType, nativeEventParam) {\n var nativeEvent = nativeEventParam || EMPTY_NATIVE_EVENT,\n inst = getInstanceFromTag(rootNodeID);\n batchedUpdates(function() {\n var events = nativeEvent.target;\n for (var events$jscomp$0 = null, i = 0; i < plugins.length; i++) {\n var possiblePlugin = plugins[i];\n possiblePlugin &&\n (possiblePlugin = possiblePlugin.extractEvents(\n topLevelType,\n inst,\n nativeEvent,\n events\n )) &&\n (events$jscomp$0 = accumulateInto(events$jscomp$0, possiblePlugin));\n }\n events = events$jscomp$0;\n null !== events && (eventQueue = accumulateInto(eventQueue, events));\n events = eventQueue;\n eventQueue = null;\n if (events) {\n forEachAccumulated(events, executeDispatchesAndReleaseTopLevel);\n if (eventQueue)\n throw ReactError(\n Error(\n \"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.\"\n )\n );\n if (hasRethrowError)\n throw ((events = rethrowError),\n (hasRethrowError = !1),\n (rethrowError = null),\n events);\n }\n });\n}\nReactNativePrivateInterface.RCTEventEmitter.register({\n receiveEvent: function(rootNodeID, topLevelType, nativeEventParam) {\n _receiveRootNodeIDEvent(rootNodeID, topLevelType, nativeEventParam);\n },\n receiveTouches: function(eventTopLevelType, touches, changedIndices) {\n if (\n \"topTouchEnd\" === eventTopLevelType ||\n \"topTouchCancel\" === eventTopLevelType\n ) {\n var JSCompiler_temp = [];\n for (var i = 0; i < changedIndices.length; i++) {\n var index = changedIndices[i];\n JSCompiler_temp.push(touches[index]);\n touches[index] = null;\n }\n for (i = changedIndices = 0; i < touches.length; i++)\n (index = touches[i]),\n null !== index && (touches[changedIndices++] = index);\n touches.length = changedIndices;\n } else\n for (JSCompiler_temp = [], i = 0; i < changedIndices.length; i++)\n JSCompiler_temp.push(touches[changedIndices[i]]);\n for (\n changedIndices = 0;\n changedIndices < JSCompiler_temp.length;\n changedIndices++\n ) {\n i = JSCompiler_temp[changedIndices];\n i.changedTouches = JSCompiler_temp;\n i.touches = touches;\n index = null;\n var target = i.target;\n null === target || void 0 === target || 1 > target || (index = target);\n _receiveRootNodeIDEvent(index, eventTopLevelType, i);\n }\n }\n});\ngetFiberCurrentPropsFromNode = function(stateNode) {\n return instanceProps.get(stateNode._nativeTag) || null;\n};\ngetInstanceFromNode = getInstanceFromTag;\ngetNodeFromInstance = function(inst) {\n var tag = inst.stateNode._nativeTag;\n void 0 === tag && (tag = inst.stateNode.canonical._nativeTag);\n if (!tag) throw ReactError(Error(\"All native instances should have a tag.\"));\n return tag;\n};\nResponderEventPlugin.injection.injectGlobalResponderHandler({\n onChange: function(from, to, blockNativeResponder) {\n null !== to\n ? ReactNativePrivateInterface.UIManager.setJSResponder(\n to.stateNode._nativeTag,\n blockNativeResponder\n )\n : ReactNativePrivateInterface.UIManager.clearJSResponder();\n }\n});\nvar ReactSharedInternals =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\nReactSharedInternals.hasOwnProperty(\"ReactCurrentDispatcher\") ||\n (ReactSharedInternals.ReactCurrentDispatcher = { current: null });\nReactSharedInternals.hasOwnProperty(\"ReactCurrentBatchConfig\") ||\n (ReactSharedInternals.ReactCurrentBatchConfig = { suspense: null });\nvar hasSymbol = \"function\" === typeof Symbol && Symbol.for,\n REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for(\"react.element\") : 60103,\n REACT_PORTAL_TYPE = hasSymbol ? Symbol.for(\"react.portal\") : 60106,\n REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for(\"react.fragment\") : 60107,\n REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for(\"react.strict_mode\") : 60108,\n REACT_PROFILER_TYPE = hasSymbol ? Symbol.for(\"react.profiler\") : 60114,\n REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for(\"react.provider\") : 60109,\n REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for(\"react.context\") : 60110,\n REACT_CONCURRENT_MODE_TYPE = hasSymbol\n ? Symbol.for(\"react.concurrent_mode\")\n : 60111,\n REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for(\"react.forward_ref\") : 60112,\n REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for(\"react.suspense\") : 60113,\n REACT_SUSPENSE_LIST_TYPE = hasSymbol\n ? Symbol.for(\"react.suspense_list\")\n : 60120,\n REACT_MEMO_TYPE = hasSymbol ? Symbol.for(\"react.memo\") : 60115,\n REACT_LAZY_TYPE = hasSymbol ? Symbol.for(\"react.lazy\") : 60116;\nhasSymbol && Symbol.for(\"react.fundamental\");\nhasSymbol && Symbol.for(\"react.responder\");\nvar MAYBE_ITERATOR_SYMBOL = \"function\" === typeof Symbol && Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nfunction getComponentName(type) {\n if (null == type) return null;\n if (\"function\" === typeof type) return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return \"Context.Consumer\";\n case REACT_PROVIDER_TYPE:\n return \"Context.Provider\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n innerType = innerType.displayName || innerType.name || \"\";\n return (\n type.displayName ||\n (\"\" !== innerType ? \"ForwardRef(\" + innerType + \")\" : \"ForwardRef\")\n );\n case REACT_MEMO_TYPE:\n return getComponentName(type.type);\n case REACT_LAZY_TYPE:\n if ((type = 1 === type._status ? type._result : null))\n return getComponentName(type);\n }\n return null;\n}\nfunction isFiberMountedImpl(fiber) {\n var node = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n if (0 !== (node.effectTag & 2)) return 1;\n for (; node.return; )\n if (((node = node.return), 0 !== (node.effectTag & 2))) return 1;\n }\n return 3 === node.tag ? 2 : 3;\n}\nfunction assertIsMounted(fiber) {\n if (2 !== isFiberMountedImpl(fiber))\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = isFiberMountedImpl(fiber);\n if (3 === alternate)\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n return 1 === alternate ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, _child = parentA.child; _child; ) {\n if (_child === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (_child === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n _child = _child.sibling;\n }\n if (!didFindChild) {\n for (_child = parentB.child; _child; ) {\n if (_child === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (_child === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n _child = _child.sibling;\n }\n if (!didFindChild)\n throw ReactError(\n Error(\n \"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\"\n )\n );\n }\n }\n if (a.alternate !== b)\n throw ReactError(\n Error(\n \"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n if (3 !== a.tag)\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiber(parent) {\n parent = findCurrentFiberUsingSlowPath(parent);\n if (!parent) return null;\n for (var node = parent; ; ) {\n if (5 === node.tag || 6 === node.tag) return node;\n if (node.child) (node.child.return = node), (node = node.child);\n else {\n if (node === parent) break;\n for (; !node.sibling; ) {\n if (!node.return || node.return === parent) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n }\n return null;\n}\nvar emptyObject = {},\n removedKeys = null,\n removedKeyCount = 0;\nfunction restoreDeletedValuesInNestedArray(\n updatePayload,\n node,\n validAttributes\n) {\n if (Array.isArray(node))\n for (var i = node.length; i-- && 0 < removedKeyCount; )\n restoreDeletedValuesInNestedArray(\n updatePayload,\n node[i],\n validAttributes\n );\n else if (node && 0 < removedKeyCount)\n for (i in removedKeys)\n if (removedKeys[i]) {\n var nextProp = node[i];\n if (void 0 !== nextProp) {\n var attributeConfig = validAttributes[i];\n if (attributeConfig) {\n \"function\" === typeof nextProp && (nextProp = !0);\n \"undefined\" === typeof nextProp && (nextProp = null);\n if (\"object\" !== typeof attributeConfig)\n updatePayload[i] = nextProp;\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (nextProp =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[i] = nextProp);\n removedKeys[i] = !1;\n removedKeyCount--;\n }\n }\n }\n}\nfunction diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n validAttributes\n) {\n if (!updatePayload && prevProp === nextProp) return updatePayload;\n if (!prevProp || !nextProp)\n return nextProp\n ? addNestedProperty(updatePayload, nextProp, validAttributes)\n : prevProp\n ? clearNestedProperty(updatePayload, prevProp, validAttributes)\n : updatePayload;\n if (!Array.isArray(prevProp) && !Array.isArray(nextProp))\n return diffProperties(updatePayload, prevProp, nextProp, validAttributes);\n if (Array.isArray(prevProp) && Array.isArray(nextProp)) {\n var minLength =\n prevProp.length < nextProp.length ? prevProp.length : nextProp.length,\n i;\n for (i = 0; i < minLength; i++)\n updatePayload = diffNestedProperty(\n updatePayload,\n prevProp[i],\n nextProp[i],\n validAttributes\n );\n for (; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n for (; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n }\n return Array.isArray(prevProp)\n ? diffProperties(\n updatePayload,\n ReactNativePrivateInterface.flattenStyle(prevProp),\n nextProp,\n validAttributes\n )\n : diffProperties(\n updatePayload,\n prevProp,\n ReactNativePrivateInterface.flattenStyle(nextProp),\n validAttributes\n );\n}\nfunction addNestedProperty(updatePayload, nextProp, validAttributes) {\n if (!nextProp) return updatePayload;\n if (!Array.isArray(nextProp))\n return diffProperties(\n updatePayload,\n emptyObject,\n nextProp,\n validAttributes\n );\n for (var i = 0; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction clearNestedProperty(updatePayload, prevProp, validAttributes) {\n if (!prevProp) return updatePayload;\n if (!Array.isArray(prevProp))\n return diffProperties(\n updatePayload,\n prevProp,\n emptyObject,\n validAttributes\n );\n for (var i = 0; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction diffProperties(updatePayload, prevProps, nextProps, validAttributes) {\n var attributeConfig, propKey;\n for (propKey in nextProps)\n if ((attributeConfig = validAttributes[propKey])) {\n var prevProp = prevProps[propKey];\n var nextProp = nextProps[propKey];\n \"function\" === typeof nextProp &&\n ((nextProp = !0), \"function\" === typeof prevProp && (prevProp = !0));\n \"undefined\" === typeof nextProp &&\n ((nextProp = null),\n \"undefined\" === typeof prevProp && (prevProp = null));\n removedKeys && (removedKeys[propKey] = !1);\n if (updatePayload && void 0 !== updatePayload[propKey])\n if (\"object\" !== typeof attributeConfig)\n updatePayload[propKey] = nextProp;\n else {\n if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[propKey] = attributeConfig);\n }\n else if (prevProp !== nextProp)\n if (\"object\" !== typeof attributeConfig)\n (\"object\" !== typeof nextProp ||\n null === nextProp ||\n ReactNativePrivateInterface.deepDiffer(prevProp, nextProp)) &&\n ((updatePayload || (updatePayload = {}))[propKey] = nextProp);\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ) {\n if (\n void 0 === prevProp ||\n (\"function\" === typeof attributeConfig.diff\n ? attributeConfig.diff(prevProp, nextProp)\n : \"object\" !== typeof nextProp ||\n null === nextProp ||\n ReactNativePrivateInterface.deepDiffer(prevProp, nextProp))\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n ((updatePayload || (updatePayload = {}))[\n propKey\n ] = attributeConfig);\n } else\n (removedKeys = null),\n (removedKeyCount = 0),\n (updatePayload = diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n attributeConfig\n )),\n 0 < removedKeyCount &&\n updatePayload &&\n (restoreDeletedValuesInNestedArray(\n updatePayload,\n nextProp,\n attributeConfig\n ),\n (removedKeys = null));\n }\n for (var _propKey in prevProps)\n void 0 === nextProps[_propKey] &&\n (!(attributeConfig = validAttributes[_propKey]) ||\n (updatePayload && void 0 !== updatePayload[_propKey]) ||\n ((prevProp = prevProps[_propKey]),\n void 0 !== prevProp &&\n (\"object\" !== typeof attributeConfig ||\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ? (((updatePayload || (updatePayload = {}))[_propKey] = null),\n removedKeys || (removedKeys = {}),\n removedKeys[_propKey] ||\n ((removedKeys[_propKey] = !0), removedKeyCount++))\n : (updatePayload = clearNestedProperty(\n updatePayload,\n prevProp,\n attributeConfig\n )))));\n return updatePayload;\n}\nfunction mountSafeCallback_NOT_REALLY_SAFE(context, callback) {\n return function() {\n if (\n callback &&\n (\"boolean\" !== typeof context.__isMounted || context.__isMounted)\n )\n return callback.apply(context, arguments);\n };\n}\nvar ReactNativeFiberHostComponent = (function() {\n function ReactNativeFiberHostComponent(tag, viewConfig) {\n if (!(this instanceof ReactNativeFiberHostComponent))\n throw new TypeError(\"Cannot call a class as a function\");\n this._nativeTag = tag;\n this._children = [];\n this.viewConfig = viewConfig;\n }\n ReactNativeFiberHostComponent.prototype.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(this._nativeTag);\n };\n ReactNativeFiberHostComponent.prototype.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(this._nativeTag);\n };\n ReactNativeFiberHostComponent.prototype.measure = function(callback) {\n ReactNativePrivateInterface.UIManager.measure(\n this._nativeTag,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n ReactNativeFiberHostComponent.prototype.measureInWindow = function(callback) {\n ReactNativePrivateInterface.UIManager.measureInWindow(\n this._nativeTag,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n ReactNativeFiberHostComponent.prototype.measureLayout = function(\n relativeToNativeNode,\n onSuccess,\n onFail\n ) {\n var relativeNode = void 0;\n \"number\" === typeof relativeToNativeNode\n ? (relativeNode = relativeToNativeNode)\n : relativeToNativeNode._nativeTag\n ? (relativeNode = relativeToNativeNode._nativeTag)\n : relativeToNativeNode.canonical &&\n relativeToNativeNode.canonical._nativeTag &&\n (relativeNode = relativeToNativeNode.canonical._nativeTag);\n null != relativeNode &&\n ReactNativePrivateInterface.UIManager.measureLayout(\n this._nativeTag,\n relativeNode,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n );\n };\n ReactNativeFiberHostComponent.prototype.setNativeProps = function(\n nativeProps\n ) {\n nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n this.viewConfig.validAttributes\n );\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n this._nativeTag,\n this.viewConfig.uiViewClassName,\n nativeProps\n );\n };\n return ReactNativeFiberHostComponent;\n})();\nfunction shim$1() {\n throw ReactError(\n Error(\n \"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n}\nvar getViewConfigForType =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry.get,\n UPDATE_SIGNAL = {},\n nextReactTag = 3;\nfunction allocateTag() {\n var tag = nextReactTag;\n 1 === tag % 10 && (tag += 2);\n nextReactTag = tag + 2;\n return tag;\n}\nfunction recursivelyUncacheFiberNode(node) {\n if (\"number\" === typeof node)\n instanceCache.delete(node), instanceProps.delete(node);\n else {\n var tag = node._nativeTag;\n instanceCache.delete(tag);\n instanceProps.delete(tag);\n node._children.forEach(recursivelyUncacheFiberNode);\n }\n}\nfunction finalizeInitialChildren(parentInstance) {\n if (0 === parentInstance._children.length) return !1;\n var nativeTags = parentInstance._children.map(function(child) {\n return \"number\" === typeof child ? child : child._nativeTag;\n });\n ReactNativePrivateInterface.UIManager.setChildren(\n parentInstance._nativeTag,\n nativeTags\n );\n return !1;\n}\nvar scheduleTimeout = setTimeout,\n cancelTimeout = clearTimeout,\n BEFORE_SLASH_RE = /^(.*)[\\\\\\/]/;\nfunction getStackByFiberInDevAndProd(workInProgress) {\n var info = \"\";\n do {\n a: switch (workInProgress.tag) {\n case 3:\n case 4:\n case 6:\n case 7:\n case 10:\n case 9:\n var JSCompiler_inline_result = \"\";\n break a;\n default:\n var owner = workInProgress._debugOwner,\n source = workInProgress._debugSource,\n name = getComponentName(workInProgress.type);\n JSCompiler_inline_result = null;\n owner && (JSCompiler_inline_result = getComponentName(owner.type));\n owner = name;\n name = \"\";\n source\n ? (name =\n \" (at \" +\n source.fileName.replace(BEFORE_SLASH_RE, \"\") +\n \":\" +\n source.lineNumber +\n \")\")\n : JSCompiler_inline_result &&\n (name = \" (created by \" + JSCompiler_inline_result + \")\");\n JSCompiler_inline_result = \"\\n in \" + (owner || \"Unknown\") + name;\n }\n info += JSCompiler_inline_result;\n workInProgress = workInProgress.return;\n } while (workInProgress);\n return info;\n}\nnew Set();\nvar valueStack = [],\n index = -1;\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar emptyContextObject = {},\n contextStackCursor = { current: emptyContextObject },\n didPerformWorkStackCursor = { current: !1 },\n previousContext = emptyContextObject;\nfunction getMaskedContext(workInProgress, unmaskedContext) {\n var contextTypes = workInProgress.type.contextTypes;\n if (!contextTypes) return emptyContextObject;\n var instance = workInProgress.stateNode;\n if (\n instance &&\n instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext\n )\n return instance.__reactInternalMemoizedMaskedChildContext;\n var context = {},\n key;\n for (key in contextTypes) context[key] = unmaskedContext[key];\n instance &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return context;\n}\nfunction isContextProvider(type) {\n type = type.childContextTypes;\n return null !== type && void 0 !== type;\n}\nfunction popContext(fiber) {\n pop(didPerformWorkStackCursor, fiber);\n pop(contextStackCursor, fiber);\n}\nfunction popTopLevelContextObject(fiber) {\n pop(didPerformWorkStackCursor, fiber);\n pop(contextStackCursor, fiber);\n}\nfunction pushTopLevelContextObject(fiber, context, didChange) {\n if (contextStackCursor.current !== emptyContextObject)\n throw ReactError(\n Error(\n \"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n push(contextStackCursor, context, fiber);\n push(didPerformWorkStackCursor, didChange, fiber);\n}\nfunction processChildContext(fiber, type, parentContext) {\n var instance = fiber.stateNode;\n fiber = type.childContextTypes;\n if (\"function\" !== typeof instance.getChildContext) return parentContext;\n instance = instance.getChildContext();\n for (var contextKey in instance)\n if (!(contextKey in fiber))\n throw ReactError(\n Error(\n (getComponentName(type) || \"Unknown\") +\n '.getChildContext(): key \"' +\n contextKey +\n '\" is not defined in childContextTypes.'\n )\n );\n return Object.assign({}, parentContext, instance);\n}\nfunction pushContextProvider(workInProgress) {\n var instance = workInProgress.stateNode;\n instance =\n (instance && instance.__reactInternalMemoizedMergedChildContext) ||\n emptyContextObject;\n previousContext = contextStackCursor.current;\n push(contextStackCursor, instance, workInProgress);\n push(\n didPerformWorkStackCursor,\n didPerformWorkStackCursor.current,\n workInProgress\n );\n return !0;\n}\nfunction invalidateContextProvider(workInProgress, type, didChange) {\n var instance = workInProgress.stateNode;\n if (!instance)\n throw ReactError(\n Error(\n \"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n didChange\n ? ((type = processChildContext(workInProgress, type, previousContext)),\n (instance.__reactInternalMemoizedMergedChildContext = type),\n pop(didPerformWorkStackCursor, workInProgress),\n pop(contextStackCursor, workInProgress),\n push(contextStackCursor, type, workInProgress))\n : pop(didPerformWorkStackCursor, workInProgress);\n push(didPerformWorkStackCursor, didChange, workInProgress);\n}\nvar Scheduler_runWithPriority = Scheduler.unstable_runWithPriority,\n Scheduler_scheduleCallback = Scheduler.unstable_scheduleCallback,\n Scheduler_cancelCallback = Scheduler.unstable_cancelCallback,\n Scheduler_shouldYield = Scheduler.unstable_shouldYield,\n Scheduler_requestPaint = Scheduler.unstable_requestPaint,\n Scheduler_now = Scheduler.unstable_now,\n Scheduler_getCurrentPriorityLevel =\n Scheduler.unstable_getCurrentPriorityLevel,\n Scheduler_ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n Scheduler_UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n Scheduler_NormalPriority = Scheduler.unstable_NormalPriority,\n Scheduler_LowPriority = Scheduler.unstable_LowPriority,\n Scheduler_IdlePriority = Scheduler.unstable_IdlePriority,\n fakeCallbackNode = {},\n requestPaint =\n void 0 !== Scheduler_requestPaint ? Scheduler_requestPaint : function() {},\n syncQueue = null,\n immediateQueueCallbackNode = null,\n isFlushingSyncQueue = !1,\n initialTimeMs = Scheduler_now(),\n now =\n 1e4 > initialTimeMs\n ? Scheduler_now\n : function() {\n return Scheduler_now() - initialTimeMs;\n };\nfunction getCurrentPriorityLevel() {\n switch (Scheduler_getCurrentPriorityLevel()) {\n case Scheduler_ImmediatePriority:\n return 99;\n case Scheduler_UserBlockingPriority:\n return 98;\n case Scheduler_NormalPriority:\n return 97;\n case Scheduler_LowPriority:\n return 96;\n case Scheduler_IdlePriority:\n return 95;\n default:\n throw ReactError(Error(\"Unknown priority level.\"));\n }\n}\nfunction reactPriorityToSchedulerPriority(reactPriorityLevel) {\n switch (reactPriorityLevel) {\n case 99:\n return Scheduler_ImmediatePriority;\n case 98:\n return Scheduler_UserBlockingPriority;\n case 97:\n return Scheduler_NormalPriority;\n case 96:\n return Scheduler_LowPriority;\n case 95:\n return Scheduler_IdlePriority;\n default:\n throw ReactError(Error(\"Unknown priority level.\"));\n }\n}\nfunction runWithPriority(reactPriorityLevel, fn) {\n reactPriorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);\n return Scheduler_runWithPriority(reactPriorityLevel, fn);\n}\nfunction scheduleCallback(reactPriorityLevel, callback, options) {\n reactPriorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);\n return Scheduler_scheduleCallback(reactPriorityLevel, callback, options);\n}\nfunction scheduleSyncCallback(callback) {\n null === syncQueue\n ? ((syncQueue = [callback]),\n (immediateQueueCallbackNode = Scheduler_scheduleCallback(\n Scheduler_ImmediatePriority,\n flushSyncCallbackQueueImpl\n )))\n : syncQueue.push(callback);\n return fakeCallbackNode;\n}\nfunction flushSyncCallbackQueue() {\n null !== immediateQueueCallbackNode &&\n Scheduler_cancelCallback(immediateQueueCallbackNode);\n flushSyncCallbackQueueImpl();\n}\nfunction flushSyncCallbackQueueImpl() {\n if (!isFlushingSyncQueue && null !== syncQueue) {\n isFlushingSyncQueue = !0;\n var i = 0;\n try {\n var queue = syncQueue;\n runWithPriority(99, function() {\n for (; i < queue.length; i++) {\n var callback = queue[i];\n do callback = callback(!0);\n while (null !== callback);\n }\n });\n syncQueue = null;\n } catch (error) {\n throw (null !== syncQueue && (syncQueue = syncQueue.slice(i + 1)),\n Scheduler_scheduleCallback(\n Scheduler_ImmediatePriority,\n flushSyncCallbackQueue\n ),\n error);\n } finally {\n isFlushingSyncQueue = !1;\n }\n }\n}\nfunction inferPriorityFromExpirationTime(currentTime, expirationTime) {\n if (1073741823 === expirationTime) return 99;\n if (1 === expirationTime) return 95;\n currentTime =\n 10 * (1073741821 - expirationTime) - 10 * (1073741821 - currentTime);\n return 0 >= currentTime\n ? 99\n : 250 >= currentTime\n ? 98\n : 5250 >= currentTime\n ? 97\n : 95;\n}\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction shallowEqual(objA, objB) {\n if (is(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++)\n if (\n !hasOwnProperty.call(objB, keysA[keysB]) ||\n !is(objA[keysA[keysB]], objB[keysA[keysB]])\n )\n return !1;\n return !0;\n}\nfunction resolveDefaultProps(Component, baseProps) {\n if (Component && Component.defaultProps) {\n baseProps = Object.assign({}, baseProps);\n Component = Component.defaultProps;\n for (var propName in Component)\n void 0 === baseProps[propName] &&\n (baseProps[propName] = Component[propName]);\n }\n return baseProps;\n}\nfunction readLazyComponentType(lazyComponent) {\n var result = lazyComponent._result;\n switch (lazyComponent._status) {\n case 1:\n return result;\n case 2:\n throw result;\n case 0:\n throw result;\n default:\n lazyComponent._status = 0;\n result = lazyComponent._ctor;\n result = result();\n result.then(\n function(moduleObject) {\n 0 === lazyComponent._status &&\n ((moduleObject = moduleObject.default),\n (lazyComponent._status = 1),\n (lazyComponent._result = moduleObject));\n },\n function(error) {\n 0 === lazyComponent._status &&\n ((lazyComponent._status = 2), (lazyComponent._result = error));\n }\n );\n switch (lazyComponent._status) {\n case 1:\n return lazyComponent._result;\n case 2:\n throw lazyComponent._result;\n }\n lazyComponent._result = result;\n throw result;\n }\n}\nvar valueCursor = { current: null },\n currentlyRenderingFiber = null,\n lastContextDependency = null,\n lastContextWithAllBitsObserved = null;\nfunction resetContextDependencies() {\n lastContextWithAllBitsObserved = lastContextDependency = currentlyRenderingFiber = null;\n}\nfunction pushProvider(providerFiber, nextValue) {\n var context = providerFiber.type._context;\n push(valueCursor, context._currentValue, providerFiber);\n context._currentValue = nextValue;\n}\nfunction popProvider(providerFiber) {\n var currentValue = valueCursor.current;\n pop(valueCursor, providerFiber);\n providerFiber.type._context._currentValue = currentValue;\n}\nfunction scheduleWorkOnParentPath(parent, renderExpirationTime) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n if (parent.childExpirationTime < renderExpirationTime)\n (parent.childExpirationTime = renderExpirationTime),\n null !== alternate &&\n alternate.childExpirationTime < renderExpirationTime &&\n (alternate.childExpirationTime = renderExpirationTime);\n else if (\n null !== alternate &&\n alternate.childExpirationTime < renderExpirationTime\n )\n alternate.childExpirationTime = renderExpirationTime;\n else break;\n parent = parent.return;\n }\n}\nfunction prepareToReadContext(workInProgress, renderExpirationTime) {\n currentlyRenderingFiber = workInProgress;\n lastContextWithAllBitsObserved = lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress &&\n null !== workInProgress.firstContext &&\n (workInProgress.expirationTime >= renderExpirationTime &&\n (didReceiveUpdate = !0),\n (workInProgress.firstContext = null));\n}\nfunction readContext(context, observedBits) {\n if (\n lastContextWithAllBitsObserved !== context &&\n !1 !== observedBits &&\n 0 !== observedBits\n ) {\n if (\"number\" !== typeof observedBits || 1073741823 === observedBits)\n (lastContextWithAllBitsObserved = context), (observedBits = 1073741823);\n observedBits = { context: context, observedBits: observedBits, next: null };\n if (null === lastContextDependency) {\n if (null === currentlyRenderingFiber)\n throw ReactError(\n Error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n )\n );\n lastContextDependency = observedBits;\n currentlyRenderingFiber.dependencies = {\n expirationTime: 0,\n firstContext: observedBits,\n responders: null\n };\n } else lastContextDependency = lastContextDependency.next = observedBits;\n }\n return context._currentValue;\n}\nvar hasForceUpdate = !1;\nfunction createUpdateQueue(baseState) {\n return {\n baseState: baseState,\n firstUpdate: null,\n lastUpdate: null,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\nfunction cloneUpdateQueue(currentQueue) {\n return {\n baseState: currentQueue.baseState,\n firstUpdate: currentQueue.firstUpdate,\n lastUpdate: currentQueue.lastUpdate,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\nfunction createUpdate(expirationTime, suspenseConfig) {\n return {\n expirationTime: expirationTime,\n suspenseConfig: suspenseConfig,\n tag: 0,\n payload: null,\n callback: null,\n next: null,\n nextEffect: null\n };\n}\nfunction appendUpdateToQueue(queue, update) {\n null === queue.lastUpdate\n ? (queue.firstUpdate = queue.lastUpdate = update)\n : ((queue.lastUpdate.next = update), (queue.lastUpdate = update));\n}\nfunction enqueueUpdate(fiber, update) {\n var alternate = fiber.alternate;\n if (null === alternate) {\n var queue1 = fiber.updateQueue;\n var queue2 = null;\n null === queue1 &&\n (queue1 = fiber.updateQueue = createUpdateQueue(fiber.memoizedState));\n } else\n (queue1 = fiber.updateQueue),\n (queue2 = alternate.updateQueue),\n null === queue1\n ? null === queue2\n ? ((queue1 = fiber.updateQueue = createUpdateQueue(\n fiber.memoizedState\n )),\n (queue2 = alternate.updateQueue = createUpdateQueue(\n alternate.memoizedState\n )))\n : (queue1 = fiber.updateQueue = cloneUpdateQueue(queue2))\n : null === queue2 &&\n (queue2 = alternate.updateQueue = cloneUpdateQueue(queue1));\n null === queue2 || queue1 === queue2\n ? appendUpdateToQueue(queue1, update)\n : null === queue1.lastUpdate || null === queue2.lastUpdate\n ? (appendUpdateToQueue(queue1, update),\n appendUpdateToQueue(queue2, update))\n : (appendUpdateToQueue(queue1, update), (queue2.lastUpdate = update));\n}\nfunction enqueueCapturedUpdate(workInProgress, update) {\n var workInProgressQueue = workInProgress.updateQueue;\n workInProgressQueue =\n null === workInProgressQueue\n ? (workInProgress.updateQueue = createUpdateQueue(\n workInProgress.memoizedState\n ))\n : ensureWorkInProgressQueueIsAClone(workInProgress, workInProgressQueue);\n null === workInProgressQueue.lastCapturedUpdate\n ? (workInProgressQueue.firstCapturedUpdate = workInProgressQueue.lastCapturedUpdate = update)\n : ((workInProgressQueue.lastCapturedUpdate.next = update),\n (workInProgressQueue.lastCapturedUpdate = update));\n}\nfunction ensureWorkInProgressQueueIsAClone(workInProgress, queue) {\n var current = workInProgress.alternate;\n null !== current &&\n queue === current.updateQueue &&\n (queue = workInProgress.updateQueue = cloneUpdateQueue(queue));\n return queue;\n}\nfunction getStateFromUpdate(\n workInProgress,\n queue,\n update,\n prevState,\n nextProps,\n instance\n) {\n switch (update.tag) {\n case 1:\n return (\n (workInProgress = update.payload),\n \"function\" === typeof workInProgress\n ? workInProgress.call(instance, prevState, nextProps)\n : workInProgress\n );\n case 3:\n workInProgress.effectTag = (workInProgress.effectTag & -2049) | 64;\n case 0:\n workInProgress = update.payload;\n nextProps =\n \"function\" === typeof workInProgress\n ? workInProgress.call(instance, prevState, nextProps)\n : workInProgress;\n if (null === nextProps || void 0 === nextProps) break;\n return Object.assign({}, prevState, nextProps);\n case 2:\n hasForceUpdate = !0;\n }\n return prevState;\n}\nfunction processUpdateQueue(\n workInProgress,\n queue,\n props,\n instance,\n renderExpirationTime\n) {\n hasForceUpdate = !1;\n queue = ensureWorkInProgressQueueIsAClone(workInProgress, queue);\n for (\n var newBaseState = queue.baseState,\n newFirstUpdate = null,\n newExpirationTime = 0,\n update = queue.firstUpdate,\n resultState = newBaseState;\n null !== update;\n\n ) {\n var updateExpirationTime = update.expirationTime;\n updateExpirationTime < renderExpirationTime\n ? (null === newFirstUpdate &&\n ((newFirstUpdate = update), (newBaseState = resultState)),\n newExpirationTime < updateExpirationTime &&\n (newExpirationTime = updateExpirationTime))\n : (markRenderEventTimeAndConfig(\n updateExpirationTime,\n update.suspenseConfig\n ),\n (resultState = getStateFromUpdate(\n workInProgress,\n queue,\n update,\n resultState,\n props,\n instance\n )),\n null !== update.callback &&\n ((workInProgress.effectTag |= 32),\n (update.nextEffect = null),\n null === queue.lastEffect\n ? (queue.firstEffect = queue.lastEffect = update)\n : ((queue.lastEffect.nextEffect = update),\n (queue.lastEffect = update))));\n update = update.next;\n }\n updateExpirationTime = null;\n for (update = queue.firstCapturedUpdate; null !== update; ) {\n var _updateExpirationTime = update.expirationTime;\n _updateExpirationTime < renderExpirationTime\n ? (null === updateExpirationTime &&\n ((updateExpirationTime = update),\n null === newFirstUpdate && (newBaseState = resultState)),\n newExpirationTime < _updateExpirationTime &&\n (newExpirationTime = _updateExpirationTime))\n : ((resultState = getStateFromUpdate(\n workInProgress,\n queue,\n update,\n resultState,\n props,\n instance\n )),\n null !== update.callback &&\n ((workInProgress.effectTag |= 32),\n (update.nextEffect = null),\n null === queue.lastCapturedEffect\n ? (queue.firstCapturedEffect = queue.lastCapturedEffect = update)\n : ((queue.lastCapturedEffect.nextEffect = update),\n (queue.lastCapturedEffect = update))));\n update = update.next;\n }\n null === newFirstUpdate && (queue.lastUpdate = null);\n null === updateExpirationTime\n ? (queue.lastCapturedUpdate = null)\n : (workInProgress.effectTag |= 32);\n null === newFirstUpdate &&\n null === updateExpirationTime &&\n (newBaseState = resultState);\n queue.baseState = newBaseState;\n queue.firstUpdate = newFirstUpdate;\n queue.firstCapturedUpdate = updateExpirationTime;\n workInProgress.expirationTime = newExpirationTime;\n workInProgress.memoizedState = resultState;\n}\nfunction commitUpdateQueue(finishedWork, finishedQueue, instance) {\n null !== finishedQueue.firstCapturedUpdate &&\n (null !== finishedQueue.lastUpdate &&\n ((finishedQueue.lastUpdate.next = finishedQueue.firstCapturedUpdate),\n (finishedQueue.lastUpdate = finishedQueue.lastCapturedUpdate)),\n (finishedQueue.firstCapturedUpdate = finishedQueue.lastCapturedUpdate = null));\n commitUpdateEffects(finishedQueue.firstEffect, instance);\n finishedQueue.firstEffect = finishedQueue.lastEffect = null;\n commitUpdateEffects(finishedQueue.firstCapturedEffect, instance);\n finishedQueue.firstCapturedEffect = finishedQueue.lastCapturedEffect = null;\n}\nfunction commitUpdateEffects(effect, instance) {\n for (; null !== effect; ) {\n var _callback3 = effect.callback;\n if (null !== _callback3) {\n effect.callback = null;\n var context = instance;\n if (\"function\" !== typeof _callback3)\n throw ReactError(\n Error(\n \"Invalid argument passed as callback. Expected a function. Instead received: \" +\n _callback3\n )\n );\n _callback3.call(context);\n }\n effect = effect.nextEffect;\n }\n}\nvar ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig,\n emptyRefsObject = new React.Component().refs;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : Object.assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n nextProps = workInProgress.updateQueue;\n null !== nextProps &&\n 0 === workInProgress.expirationTime &&\n (nextProps.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n isMounted: function(component) {\n return (component = component._reactInternalFiber)\n ? 2 === isFiberMountedImpl(component)\n : !1;\n },\n enqueueSetState: function(inst, payload, callback) {\n inst = inst._reactInternalFiber;\n var currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(currentTime, inst, suspenseConfig);\n suspenseConfig = createUpdate(currentTime, suspenseConfig);\n suspenseConfig.payload = payload;\n void 0 !== callback &&\n null !== callback &&\n (suspenseConfig.callback = callback);\n enqueueUpdate(inst, suspenseConfig);\n scheduleUpdateOnFiber(inst, currentTime);\n },\n enqueueReplaceState: function(inst, payload, callback) {\n inst = inst._reactInternalFiber;\n var currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(currentTime, inst, suspenseConfig);\n suspenseConfig = createUpdate(currentTime, suspenseConfig);\n suspenseConfig.tag = 1;\n suspenseConfig.payload = payload;\n void 0 !== callback &&\n null !== callback &&\n (suspenseConfig.callback = callback);\n enqueueUpdate(inst, suspenseConfig);\n scheduleUpdateOnFiber(inst, currentTime);\n },\n enqueueForceUpdate: function(inst, callback) {\n inst = inst._reactInternalFiber;\n var currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(currentTime, inst, suspenseConfig);\n suspenseConfig = createUpdate(currentTime, suspenseConfig);\n suspenseConfig.tag = 2;\n void 0 !== callback &&\n null !== callback &&\n (suspenseConfig.callback = callback);\n enqueueUpdate(inst, suspenseConfig);\n scheduleUpdateOnFiber(inst, currentTime);\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction constructClassInstance(workInProgress, ctor, props) {\n var isLegacyContextConsumer = !1,\n unmaskedContext = emptyContextObject;\n var context = ctor.contextType;\n \"object\" === typeof context && null !== context\n ? (context = readContext(context))\n : ((unmaskedContext = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (isLegacyContextConsumer = ctor.contextTypes),\n (context = (isLegacyContextConsumer =\n null !== isLegacyContextConsumer && void 0 !== isLegacyContextConsumer)\n ? getMaskedContext(workInProgress, unmaskedContext)\n : emptyContextObject));\n ctor = new ctor(props, context);\n workInProgress.memoizedState =\n null !== ctor.state && void 0 !== ctor.state ? ctor.state : null;\n ctor.updater = classComponentUpdater;\n workInProgress.stateNode = ctor;\n ctor._reactInternalFiber = workInProgress;\n isLegacyContextConsumer &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return ctor;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction mountClassInstance(\n workInProgress,\n ctor,\n newProps,\n renderExpirationTime\n) {\n var instance = workInProgress.stateNode;\n instance.props = newProps;\n instance.state = workInProgress.memoizedState;\n instance.refs = emptyRefsObject;\n var contextType = ctor.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (instance.context = readContext(contextType))\n : ((contextType = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (instance.context = getMaskedContext(workInProgress, contextType)));\n contextType = workInProgress.updateQueue;\n null !== contextType &&\n (processUpdateQueue(\n workInProgress,\n contextType,\n newProps,\n instance,\n renderExpirationTime\n ),\n (instance.state = workInProgress.memoizedState));\n contextType = ctor.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(workInProgress, ctor, contextType, newProps),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof ctor.getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n ((ctor = instance.state),\n \"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount(),\n ctor !== instance.state &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null),\n (contextType = workInProgress.updateQueue),\n null !== contextType &&\n (processUpdateQueue(\n workInProgress,\n contextType,\n newProps,\n instance,\n renderExpirationTime\n ),\n (instance.state = workInProgress.memoizedState)));\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4);\n}\nvar isArray = Array.isArray;\nfunction coerceRef(returnFiber, current$$1, element) {\n returnFiber = element.ref;\n if (\n null !== returnFiber &&\n \"function\" !== typeof returnFiber &&\n \"object\" !== typeof returnFiber\n ) {\n if (element._owner) {\n element = element._owner;\n var inst = void 0;\n if (element) {\n if (1 !== element.tag)\n throw ReactError(\n Error(\n \"Function components cannot have refs. Did you mean to use React.forwardRef()?\"\n )\n );\n inst = element.stateNode;\n }\n if (!inst)\n throw ReactError(\n Error(\n \"Missing owner for string ref \" +\n returnFiber +\n \". This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n var stringRef = \"\" + returnFiber;\n if (\n null !== current$$1 &&\n null !== current$$1.ref &&\n \"function\" === typeof current$$1.ref &&\n current$$1.ref._stringRef === stringRef\n )\n return current$$1.ref;\n current$$1 = function(value) {\n var refs = inst.refs;\n refs === emptyRefsObject && (refs = inst.refs = {});\n null === value ? delete refs[stringRef] : (refs[stringRef] = value);\n };\n current$$1._stringRef = stringRef;\n return current$$1;\n }\n if (\"string\" !== typeof returnFiber)\n throw ReactError(\n Error(\n \"Expected ref to be a function, a string, an object returned by React.createRef(), or null.\"\n )\n );\n if (!element._owner)\n throw ReactError(\n Error(\n \"Element ref was specified as a string (\" +\n returnFiber +\n \") but no owner was set. This could happen for one of the following reasons:\\n1. You may be adding a ref to a function component\\n2. You may be adding a ref to a component that was not created inside a component's render method\\n3. You have multiple copies of React loaded\\nSee https://fb.me/react-refs-must-have-owner for more information.\"\n )\n );\n }\n return returnFiber;\n}\nfunction throwOnInvalidObjectType(returnFiber, newChild) {\n if (\"textarea\" !== returnFiber.type)\n throw ReactError(\n Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === Object.prototype.toString.call(newChild)\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : newChild) +\n \").\"\n )\n );\n}\nfunction ChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var last = returnFiber.lastEffect;\n null !== last\n ? ((last.nextEffect = childToDelete),\n (returnFiber.lastEffect = childToDelete))\n : (returnFiber.firstEffect = returnFiber.lastEffect = childToDelete);\n childToDelete.nextEffect = null;\n childToDelete.effectTag = 8;\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(returnFiber, currentFirstChild) {\n for (returnFiber = new Map(); null !== currentFirstChild; )\n null !== currentFirstChild.key\n ? returnFiber.set(currentFirstChild.key, currentFirstChild)\n : returnFiber.set(currentFirstChild.index, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return returnFiber;\n }\n function useFiber(fiber, pendingProps, expirationTime) {\n fiber = createWorkInProgress(fiber, pendingProps, expirationTime);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects) return lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.effectTag = 2), lastPlacedIndex)\n : newIndex\n );\n newFiber.effectTag = 2;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.effectTag = 2);\n return newFiber;\n }\n function updateTextNode(\n returnFiber,\n current$$1,\n textContent,\n expirationTime\n ) {\n if (null === current$$1 || 6 !== current$$1.tag)\n return (\n (current$$1 = createFiberFromText(\n textContent,\n returnFiber.mode,\n expirationTime\n )),\n (current$$1.return = returnFiber),\n current$$1\n );\n current$$1 = useFiber(current$$1, textContent, expirationTime);\n current$$1.return = returnFiber;\n return current$$1;\n }\n function updateElement(returnFiber, current$$1, element, expirationTime) {\n if (null !== current$$1 && current$$1.elementType === element.type)\n return (\n (expirationTime = useFiber(current$$1, element.props, expirationTime)),\n (expirationTime.ref = coerceRef(returnFiber, current$$1, element)),\n (expirationTime.return = returnFiber),\n expirationTime\n );\n expirationTime = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n expirationTime\n );\n expirationTime.ref = coerceRef(returnFiber, current$$1, element);\n expirationTime.return = returnFiber;\n return expirationTime;\n }\n function updatePortal(returnFiber, current$$1, portal, expirationTime) {\n if (\n null === current$$1 ||\n 4 !== current$$1.tag ||\n current$$1.stateNode.containerInfo !== portal.containerInfo ||\n current$$1.stateNode.implementation !== portal.implementation\n )\n return (\n (current$$1 = createFiberFromPortal(\n portal,\n returnFiber.mode,\n expirationTime\n )),\n (current$$1.return = returnFiber),\n current$$1\n );\n current$$1 = useFiber(current$$1, portal.children || [], expirationTime);\n current$$1.return = returnFiber;\n return current$$1;\n }\n function updateFragment(\n returnFiber,\n current$$1,\n fragment,\n expirationTime,\n key\n ) {\n if (null === current$$1 || 7 !== current$$1.tag)\n return (\n (current$$1 = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n expirationTime,\n key\n )),\n (current$$1.return = returnFiber),\n current$$1\n );\n current$$1 = useFiber(current$$1, fragment, expirationTime);\n current$$1.return = returnFiber;\n return current$$1;\n }\n function createChild(returnFiber, newChild, expirationTime) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n expirationTime\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (expirationTime = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n expirationTime\n )),\n (expirationTime.ref = coerceRef(returnFiber, null, newChild)),\n (expirationTime.return = returnFiber),\n expirationTime\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n expirationTime\n )),\n (newChild.return = returnFiber),\n newChild\n );\n }\n if (isArray(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n expirationTime,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, expirationTime) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, expirationTime);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? newChild.type === REACT_FRAGMENT_TYPE\n ? updateFragment(\n returnFiber,\n oldFiber,\n newChild.props.children,\n expirationTime,\n key\n )\n : updateElement(returnFiber, oldFiber, newChild, expirationTime)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, expirationTime)\n : null;\n }\n if (isArray(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(\n returnFiber,\n oldFiber,\n newChild,\n expirationTime,\n null\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n expirationTime\n ) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(\n returnFiber,\n existingChildren,\n \"\" + newChild,\n expirationTime\n )\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n newChild.type === REACT_FRAGMENT_TYPE\n ? updateFragment(\n returnFiber,\n existingChildren,\n newChild.props.children,\n expirationTime,\n newChild.key\n )\n : updateElement(\n returnFiber,\n existingChildren,\n newChild,\n expirationTime\n )\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(\n returnFiber,\n existingChildren,\n newChild,\n expirationTime\n )\n );\n }\n if (isArray(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(\n returnFiber,\n existingChildren,\n newChild,\n expirationTime,\n null\n )\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n expirationTime\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n expirationTime\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber), resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(\n returnFiber,\n newChildren[newIdx],\n expirationTime\n )),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n expirationTime\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n null !== nextOldFiber.alternate &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n ),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildrenIterable,\n expirationTime\n ) {\n var iteratorFn = getIteratorFn(newChildrenIterable);\n if (\"function\" !== typeof iteratorFn)\n throw ReactError(\n Error(\n \"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n newChildrenIterable = iteratorFn.call(newChildrenIterable);\n if (null == newChildrenIterable)\n throw ReactError(Error(\"An iterable object provided no iterator.\"));\n for (\n var previousNewFiber = (iteratorFn = null),\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildrenIterable.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildrenIterable.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n step.value,\n expirationTime\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (iteratorFn = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return deleteRemainingChildren(returnFiber, oldFiber), iteratorFn;\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildrenIterable.next())\n (step = createChild(returnFiber, step.value, expirationTime)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n return iteratorFn;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n !step.done;\n newIdx++, step = newChildrenIterable.next()\n )\n (step = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n step.value,\n expirationTime\n )),\n null !== step &&\n (shouldTrackSideEffects &&\n null !== step.alternate &&\n oldFiber.delete(null === step.key ? newIdx : step.key),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return iteratorFn;\n }\n return function(returnFiber, currentFirstChild, newChild, expirationTime) {\n var isUnkeyedTopLevelFragment =\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key;\n isUnkeyedTopLevelFragment && (newChild = newChild.props.children);\n var isObject = \"object\" === typeof newChild && null !== newChild;\n if (isObject)\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n isObject = newChild.key;\n for (\n isUnkeyedTopLevelFragment = currentFirstChild;\n null !== isUnkeyedTopLevelFragment;\n\n ) {\n if (isUnkeyedTopLevelFragment.key === isObject) {\n if (\n 7 === isUnkeyedTopLevelFragment.tag\n ? newChild.type === REACT_FRAGMENT_TYPE\n : isUnkeyedTopLevelFragment.elementType === newChild.type\n ) {\n deleteRemainingChildren(\n returnFiber,\n isUnkeyedTopLevelFragment.sibling\n );\n currentFirstChild = useFiber(\n isUnkeyedTopLevelFragment,\n newChild.type === REACT_FRAGMENT_TYPE\n ? newChild.props.children\n : newChild.props,\n expirationTime\n );\n currentFirstChild.ref = coerceRef(\n returnFiber,\n isUnkeyedTopLevelFragment,\n newChild\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, isUnkeyedTopLevelFragment);\n break;\n } else deleteChild(returnFiber, isUnkeyedTopLevelFragment);\n isUnkeyedTopLevelFragment = isUnkeyedTopLevelFragment.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((currentFirstChild = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n expirationTime,\n newChild.key\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : ((expirationTime = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n expirationTime\n )),\n (expirationTime.ref = coerceRef(\n returnFiber,\n currentFirstChild,\n newChild\n )),\n (expirationTime.return = returnFiber),\n (returnFiber = expirationTime));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (\n isUnkeyedTopLevelFragment = newChild.key;\n null !== currentFirstChild;\n\n ) {\n if (currentFirstChild.key === isUnkeyedTopLevelFragment) {\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n currentFirstChild = useFiber(\n currentFirstChild,\n newChild.children || [],\n expirationTime\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n } else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n currentFirstChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n expirationTime\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n }\n return placeSingleChild(returnFiber);\n }\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (currentFirstChild = useFiber(\n currentFirstChild,\n newChild,\n expirationTime\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (currentFirstChild = createFiberFromText(\n newChild,\n returnFiber.mode,\n expirationTime\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild)),\n placeSingleChild(returnFiber)\n );\n if (isArray(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n expirationTime\n );\n if (getIteratorFn(newChild))\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n expirationTime\n );\n isObject && throwOnInvalidObjectType(returnFiber, newChild);\n if (\"undefined\" === typeof newChild && !isUnkeyedTopLevelFragment)\n switch (returnFiber.tag) {\n case 1:\n case 0:\n throw ((returnFiber = returnFiber.type),\n ReactError(\n Error(\n (returnFiber.displayName || returnFiber.name || \"Component\") +\n \"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.\"\n )\n ));\n }\n return deleteRemainingChildren(returnFiber, currentFirstChild);\n };\n}\nvar reconcileChildFibers = ChildReconciler(!0),\n mountChildFibers = ChildReconciler(!1),\n NO_CONTEXT = {},\n contextStackCursor$1 = { current: NO_CONTEXT },\n contextFiberStackCursor = { current: NO_CONTEXT },\n rootInstanceStackCursor = { current: NO_CONTEXT };\nfunction requiredContext(c) {\n if (c === NO_CONTEXT)\n throw ReactError(\n Error(\n \"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n return c;\n}\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance, fiber);\n push(contextFiberStackCursor, fiber, fiber);\n push(contextStackCursor$1, NO_CONTEXT, fiber);\n pop(contextStackCursor$1, fiber);\n push(contextStackCursor$1, { isInAParentText: !1 }, fiber);\n}\nfunction popHostContainer(fiber) {\n pop(contextStackCursor$1, fiber);\n pop(contextFiberStackCursor, fiber);\n pop(rootInstanceStackCursor, fiber);\n}\nfunction pushHostContext(fiber) {\n requiredContext(rootInstanceStackCursor.current);\n var context = requiredContext(contextStackCursor$1.current);\n var nextContext = fiber.type;\n nextContext =\n \"AndroidTextInput\" === nextContext ||\n \"RCTMultilineTextInputView\" === nextContext ||\n \"RCTSinglelineTextInputView\" === nextContext ||\n \"RCTText\" === nextContext ||\n \"RCTVirtualText\" === nextContext;\n nextContext =\n context.isInAParentText !== nextContext\n ? { isInAParentText: nextContext }\n : context;\n context !== nextContext &&\n (push(contextFiberStackCursor, fiber, fiber),\n push(contextStackCursor$1, nextContext, fiber));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor$1, fiber), pop(contextFiberStackCursor, fiber));\n}\nvar SubtreeSuspenseContextMask = 1,\n InvisibleParentSuspenseContext = 1,\n ForceSuspenseFallback = 2,\n suspenseStackCursor = { current: 0 };\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n if (null !== node.memoizedState) return node;\n } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {\n if (0 !== (node.effectTag & 64)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nfunction createResponderListener(responder, props) {\n return { responder: responder, props: props };\n}\nvar NoEffect$1 = 0,\n UnmountSnapshot = 2,\n UnmountMutation = 4,\n MountMutation = 8,\n UnmountLayout = 16,\n MountLayout = 32,\n MountPassive = 64,\n UnmountPassive = 128,\n ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,\n renderExpirationTime$1 = 0,\n currentlyRenderingFiber$1 = null,\n currentHook = null,\n nextCurrentHook = null,\n firstWorkInProgressHook = null,\n workInProgressHook = null,\n nextWorkInProgressHook = null,\n remainingExpirationTime = 0,\n componentUpdateQueue = null,\n sideEffectTag = 0,\n didScheduleRenderPhaseUpdate = !1,\n renderPhaseUpdates = null,\n numberOfReRenders = 0;\nfunction throwInvalidHookError() {\n throw ReactError(\n Error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.\"\n )\n );\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!is(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n refOrContext,\n nextRenderExpirationTime\n) {\n renderExpirationTime$1 = nextRenderExpirationTime;\n currentlyRenderingFiber$1 = workInProgress;\n nextCurrentHook = null !== current ? current.memoizedState : null;\n ReactCurrentDispatcher$1.current =\n null === nextCurrentHook ? HooksDispatcherOnMount : HooksDispatcherOnUpdate;\n workInProgress = Component(props, refOrContext);\n if (didScheduleRenderPhaseUpdate) {\n do\n (didScheduleRenderPhaseUpdate = !1),\n (numberOfReRenders += 1),\n (nextCurrentHook = null !== current ? current.memoizedState : null),\n (nextWorkInProgressHook = firstWorkInProgressHook),\n (componentUpdateQueue = workInProgressHook = currentHook = null),\n (ReactCurrentDispatcher$1.current = HooksDispatcherOnUpdate),\n (workInProgress = Component(props, refOrContext));\n while (didScheduleRenderPhaseUpdate);\n renderPhaseUpdates = null;\n numberOfReRenders = 0;\n }\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n current = currentlyRenderingFiber$1;\n current.memoizedState = firstWorkInProgressHook;\n current.expirationTime = remainingExpirationTime;\n current.updateQueue = componentUpdateQueue;\n current.effectTag |= sideEffectTag;\n current = null !== currentHook && null !== currentHook.next;\n renderExpirationTime$1 = 0;\n nextWorkInProgressHook = workInProgressHook = firstWorkInProgressHook = nextCurrentHook = currentHook = currentlyRenderingFiber$1 = null;\n remainingExpirationTime = 0;\n componentUpdateQueue = null;\n sideEffectTag = 0;\n if (current)\n throw ReactError(\n Error(\n \"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\"\n )\n );\n return workInProgress;\n}\nfunction resetHooks() {\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n renderExpirationTime$1 = 0;\n nextWorkInProgressHook = workInProgressHook = firstWorkInProgressHook = nextCurrentHook = currentHook = currentlyRenderingFiber$1 = null;\n remainingExpirationTime = 0;\n componentUpdateQueue = null;\n sideEffectTag = 0;\n didScheduleRenderPhaseUpdate = !1;\n renderPhaseUpdates = null;\n numberOfReRenders = 0;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n queue: null,\n baseUpdate: null,\n next: null\n };\n null === workInProgressHook\n ? (firstWorkInProgressHook = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (nextWorkInProgressHook = workInProgressHook.next),\n (currentHook = nextCurrentHook),\n (nextCurrentHook = null !== currentHook ? currentHook.next : null);\n else {\n if (null === nextCurrentHook)\n throw ReactError(\n Error(\"Rendered more hooks than during the previous render.\")\n );\n currentHook = nextCurrentHook;\n var newHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n queue: currentHook.queue,\n baseUpdate: currentHook.baseUpdate,\n next: null\n };\n workInProgressHook =\n null === workInProgressHook\n ? (firstWorkInProgressHook = newHook)\n : (workInProgressHook.next = newHook);\n nextCurrentHook = currentHook.next;\n }\n return workInProgressHook;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw ReactError(\n Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n )\n );\n queue.lastRenderedReducer = reducer;\n if (0 < numberOfReRenders) {\n var _dispatch = queue.dispatch;\n if (null !== renderPhaseUpdates) {\n var firstRenderPhaseUpdate = renderPhaseUpdates.get(queue);\n if (void 0 !== firstRenderPhaseUpdate) {\n renderPhaseUpdates.delete(queue);\n var newState = hook.memoizedState;\n do\n (newState = reducer(newState, firstRenderPhaseUpdate.action)),\n (firstRenderPhaseUpdate = firstRenderPhaseUpdate.next);\n while (null !== firstRenderPhaseUpdate);\n is(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n hook.baseUpdate === queue.last && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n return [newState, _dispatch];\n }\n }\n return [hook.memoizedState, _dispatch];\n }\n _dispatch = queue.last;\n var baseUpdate = hook.baseUpdate;\n newState = hook.baseState;\n null !== baseUpdate\n ? (null !== _dispatch && (_dispatch.next = null),\n (_dispatch = baseUpdate.next))\n : (_dispatch = null !== _dispatch ? _dispatch.next : null);\n if (null !== _dispatch) {\n var newBaseUpdate = (firstRenderPhaseUpdate = null),\n _update = _dispatch,\n didSkip = !1;\n do {\n var updateExpirationTime = _update.expirationTime;\n updateExpirationTime < renderExpirationTime$1\n ? (didSkip ||\n ((didSkip = !0),\n (newBaseUpdate = baseUpdate),\n (firstRenderPhaseUpdate = newState)),\n updateExpirationTime > remainingExpirationTime &&\n (remainingExpirationTime = updateExpirationTime))\n : (markRenderEventTimeAndConfig(\n updateExpirationTime,\n _update.suspenseConfig\n ),\n (newState =\n _update.eagerReducer === reducer\n ? _update.eagerState\n : reducer(newState, _update.action)));\n baseUpdate = _update;\n _update = _update.next;\n } while (null !== _update && _update !== _dispatch);\n didSkip ||\n ((newBaseUpdate = baseUpdate), (firstRenderPhaseUpdate = newState));\n is(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n hook.baseUpdate = newBaseUpdate;\n hook.baseState = firstRenderPhaseUpdate;\n queue.lastRenderedState = newState;\n }\n return [hook.memoizedState, queue.dispatch];\n}\nfunction pushEffect(tag, create, destroy, deps) {\n tag = { tag: tag, create: create, destroy: destroy, deps: deps, next: null };\n null === componentUpdateQueue\n ? ((componentUpdateQueue = { lastEffect: null }),\n (componentUpdateQueue.lastEffect = tag.next = tag))\n : ((create = componentUpdateQueue.lastEffect),\n null === create\n ? (componentUpdateQueue.lastEffect = tag.next = tag)\n : ((destroy = create.next),\n (create.next = tag),\n (tag.next = destroy),\n (componentUpdateQueue.lastEffect = tag)));\n return tag;\n}\nfunction mountEffectImpl(fiberEffectTag, hookEffectTag, create, deps) {\n var hook = mountWorkInProgressHook();\n sideEffectTag |= fiberEffectTag;\n hook.memoizedState = pushEffect(\n hookEffectTag,\n create,\n void 0,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberEffectTag, hookEffectTag, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var destroy = void 0;\n if (null !== currentHook) {\n var prevEffect = currentHook.memoizedState;\n destroy = prevEffect.destroy;\n if (null !== deps && areHookInputsEqual(deps, prevEffect.deps)) {\n pushEffect(NoEffect$1, create, destroy, deps);\n return;\n }\n }\n sideEffectTag |= fiberEffectTag;\n hook.memoizedState = pushEffect(hookEffectTag, create, destroy, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref)\n return (\n (create = create()),\n ref(create),\n function() {\n ref(null);\n }\n );\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function() {\n ref.current = null;\n }\n );\n}\nfunction mountDebugValue() {}\nfunction dispatchAction(fiber, queue, action) {\n if (!(25 > numberOfReRenders))\n throw ReactError(\n Error(\n \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n )\n );\n var alternate = fiber.alternate;\n if (\n fiber === currentlyRenderingFiber$1 ||\n (null !== alternate && alternate === currentlyRenderingFiber$1)\n )\n if (\n ((didScheduleRenderPhaseUpdate = !0),\n (fiber = {\n expirationTime: renderExpirationTime$1,\n suspenseConfig: null,\n action: action,\n eagerReducer: null,\n eagerState: null,\n next: null\n }),\n null === renderPhaseUpdates && (renderPhaseUpdates = new Map()),\n (action = renderPhaseUpdates.get(queue)),\n void 0 === action)\n )\n renderPhaseUpdates.set(queue, fiber);\n else {\n for (queue = action; null !== queue.next; ) queue = queue.next;\n queue.next = fiber;\n }\n else {\n var currentTime = requestCurrentTime(),\n _suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(\n currentTime,\n fiber,\n _suspenseConfig\n );\n _suspenseConfig = {\n expirationTime: currentTime,\n suspenseConfig: _suspenseConfig,\n action: action,\n eagerReducer: null,\n eagerState: null,\n next: null\n };\n var _last = queue.last;\n if (null === _last) _suspenseConfig.next = _suspenseConfig;\n else {\n var first = _last.next;\n null !== first && (_suspenseConfig.next = first);\n _last.next = _suspenseConfig;\n }\n queue.last = _suspenseConfig;\n if (\n 0 === fiber.expirationTime &&\n (null === alternate || 0 === alternate.expirationTime) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n _eagerState = alternate(currentState, action);\n _suspenseConfig.eagerReducer = alternate;\n _suspenseConfig.eagerState = _eagerState;\n if (is(_eagerState, currentState)) return;\n } catch (error) {\n } finally {\n }\n scheduleUpdateOnFiber(fiber, currentTime);\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useResponder: throwInvalidHookError\n },\n HooksDispatcherOnMount = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: function(create, deps) {\n return mountEffectImpl(516, UnmountPassive | MountPassive, create, deps);\n },\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return mountEffectImpl(\n 4,\n UnmountMutation | MountLayout,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return mountEffectImpl(4, UnmountMutation | MountLayout, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: function(reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n initialArg = void 0 !== init ? init(initialArg) : initialArg;\n hook.memoizedState = hook.baseState = initialArg;\n reducer = hook.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialArg\n };\n reducer = reducer.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function(initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: function(initialState) {\n var hook = mountWorkInProgressHook();\n \"function\" === typeof initialState && (initialState = initialState());\n hook.memoizedState = hook.baseState = initialState;\n initialState = hook.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n initialState = initialState.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n initialState\n );\n return [hook.memoizedState, initialState];\n },\n useDebugValue: mountDebugValue,\n useResponder: createResponderListener\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n },\n useContext: readContext,\n useEffect: function(create, deps) {\n return updateEffectImpl(516, UnmountPassive | MountPassive, create, deps);\n },\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return updateEffectImpl(\n 4,\n UnmountMutation | MountLayout,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return updateEffectImpl(4, UnmountMutation | MountLayout, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: updateReducer,\n useRef: function() {\n return updateWorkInProgressHook().memoizedState;\n },\n useState: function(initialState) {\n return updateReducer(basicStateReducer, initialState);\n },\n useDebugValue: mountDebugValue,\n useResponder: createResponderListener\n },\n hydrationParentFiber = null,\n nextHydratableInstance = null,\n isHydrating = !1;\nfunction tryHydrate(fiber, nextInstance) {\n switch (fiber.tag) {\n case 5:\n return (\n (nextInstance = shim$1(nextInstance, fiber.type, fiber.pendingProps)),\n null !== nextInstance ? ((fiber.stateNode = nextInstance), !0) : !1\n );\n case 6:\n return (\n (nextInstance = shim$1(nextInstance, fiber.pendingProps)),\n null !== nextInstance ? ((fiber.stateNode = nextInstance), !0) : !1\n );\n case 13:\n return !1;\n default:\n return !1;\n }\n}\nfunction tryToClaimNextHydratableInstance(fiber$jscomp$0) {\n if (isHydrating) {\n var nextInstance = nextHydratableInstance;\n if (nextInstance) {\n var firstAttemptedInstance = nextInstance;\n if (!tryHydrate(fiber$jscomp$0, nextInstance)) {\n nextInstance = shim$1(firstAttemptedInstance);\n if (!nextInstance || !tryHydrate(fiber$jscomp$0, nextInstance)) {\n fiber$jscomp$0.effectTag |= 2;\n isHydrating = !1;\n hydrationParentFiber = fiber$jscomp$0;\n return;\n }\n var returnFiber = hydrationParentFiber,\n fiber = createFiber(5, null, null, 0);\n fiber.elementType = \"DELETED\";\n fiber.type = \"DELETED\";\n fiber.stateNode = firstAttemptedInstance;\n fiber.return = returnFiber;\n fiber.effectTag = 8;\n null !== returnFiber.lastEffect\n ? ((returnFiber.lastEffect.nextEffect = fiber),\n (returnFiber.lastEffect = fiber))\n : (returnFiber.firstEffect = returnFiber.lastEffect = fiber);\n }\n hydrationParentFiber = fiber$jscomp$0;\n nextHydratableInstance = shim$1(nextInstance);\n } else\n (fiber$jscomp$0.effectTag |= 2),\n (isHydrating = !1),\n (hydrationParentFiber = fiber$jscomp$0);\n }\n}\nvar ReactCurrentOwner$3 = ReactSharedInternals.ReactCurrentOwner,\n didReceiveUpdate = !1;\nfunction reconcileChildren(\n current$$1,\n workInProgress,\n nextChildren,\n renderExpirationTime\n) {\n workInProgress.child =\n null === current$$1\n ? mountChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderExpirationTime\n )\n : reconcileChildFibers(\n workInProgress,\n current$$1.child,\n nextChildren,\n renderExpirationTime\n );\n}\nfunction updateForwardRef(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n prepareToReadContext(workInProgress, renderExpirationTime);\n nextProps = renderWithHooks(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n ref,\n renderExpirationTime\n );\n if (null !== current$$1 && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current$$1.updateQueue),\n (workInProgress.effectTag &= -517),\n current$$1.expirationTime <= renderExpirationTime &&\n (current$$1.expirationTime = 0),\n bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n );\n workInProgress.effectTag |= 1;\n reconcileChildren(\n current$$1,\n workInProgress,\n nextProps,\n renderExpirationTime\n );\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n updateExpirationTime,\n renderExpirationTime\n) {\n if (null === current$$1) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare &&\n void 0 === Component.defaultProps\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current$$1,\n workInProgress,\n type,\n nextProps,\n updateExpirationTime,\n renderExpirationTime\n )\n );\n current$$1 = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n null,\n workInProgress.mode,\n renderExpirationTime\n );\n current$$1.ref = workInProgress.ref;\n current$$1.return = workInProgress;\n return (workInProgress.child = current$$1);\n }\n type = current$$1.child;\n if (\n updateExpirationTime < renderExpirationTime &&\n ((updateExpirationTime = type.memoizedProps),\n (Component = Component.compare),\n (Component = null !== Component ? Component : shallowEqual),\n Component(updateExpirationTime, nextProps) &&\n current$$1.ref === workInProgress.ref)\n )\n return bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n workInProgress.effectTag |= 1;\n current$$1 = createWorkInProgress(type, nextProps, renderExpirationTime);\n current$$1.ref = workInProgress.ref;\n current$$1.return = workInProgress;\n return (workInProgress.child = current$$1);\n}\nfunction updateSimpleMemoComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n updateExpirationTime,\n renderExpirationTime\n) {\n return null !== current$$1 &&\n shallowEqual(current$$1.memoizedProps, nextProps) &&\n current$$1.ref === workInProgress.ref &&\n ((didReceiveUpdate = !1), updateExpirationTime < renderExpirationTime)\n ? bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n : updateFunctionComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n );\n}\nfunction markRef(current$$1, workInProgress) {\n var ref = workInProgress.ref;\n if (\n (null === current$$1 && null !== ref) ||\n (null !== current$$1 && current$$1.ref !== ref)\n )\n workInProgress.effectTag |= 128;\n}\nfunction updateFunctionComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n) {\n var context = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current;\n context = getMaskedContext(workInProgress, context);\n prepareToReadContext(workInProgress, renderExpirationTime);\n Component = renderWithHooks(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n context,\n renderExpirationTime\n );\n if (null !== current$$1 && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current$$1.updateQueue),\n (workInProgress.effectTag &= -517),\n current$$1.expirationTime <= renderExpirationTime &&\n (current$$1.expirationTime = 0),\n bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n );\n workInProgress.effectTag |= 1;\n reconcileChildren(\n current$$1,\n workInProgress,\n Component,\n renderExpirationTime\n );\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n) {\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n prepareToReadContext(workInProgress, renderExpirationTime);\n if (null === workInProgress.stateNode)\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2)),\n constructClassInstance(\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n ),\n mountClassInstance(\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n ),\n (nextProps = !0);\n else if (null === current$$1) {\n var instance = workInProgress.stateNode,\n oldProps = workInProgress.memoizedProps;\n instance.props = oldProps;\n var oldContext = instance.context,\n contextType = Component.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType)));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps,\n hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate;\n hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n oldContext = instance.state = oldState;\n var updateQueue = workInProgress.updateQueue;\n null !== updateQueue &&\n (processUpdateQueue(\n workInProgress,\n updateQueue,\n nextProps,\n instance,\n renderExpirationTime\n ),\n (oldContext = workInProgress.memoizedState));\n oldProps !== nextProps ||\n oldState !== oldContext ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n (\"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount()),\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (instance.props = nextProps),\n (instance.state = oldContext),\n (instance.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4),\n (nextProps = !1));\n } else\n (instance = workInProgress.stateNode),\n (oldProps = workInProgress.memoizedProps),\n (instance.props =\n workInProgress.type === workInProgress.elementType\n ? oldProps\n : resolveDefaultProps(workInProgress.type, oldProps)),\n (oldContext = instance.context),\n (contextType = Component.contextType),\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType))),\n (getDerivedStateFromProps = Component.getDerivedStateFromProps),\n (hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n )),\n (hasForceUpdate = !1),\n (oldContext = workInProgress.memoizedState),\n (oldState = instance.state = oldContext),\n (updateQueue = workInProgress.updateQueue),\n null !== updateQueue &&\n (processUpdateQueue(\n workInProgress,\n updateQueue,\n nextProps,\n instance,\n renderExpirationTime\n ),\n (oldState = workInProgress.memoizedState)),\n oldProps !== nextProps ||\n oldContext !== oldState ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldState = workInProgress.memoizedState)),\n (getDerivedStateFromProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldContext,\n oldState,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof instance.componentWillUpdate) ||\n (\"function\" === typeof instance.componentWillUpdate &&\n instance.componentWillUpdate(\n nextProps,\n oldState,\n contextType\n ),\n \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n instance.UNSAFE_componentWillUpdate(\n nextProps,\n oldState,\n contextType\n )),\n \"function\" === typeof instance.componentDidUpdate &&\n (workInProgress.effectTag |= 4),\n \"function\" === typeof instance.getSnapshotBeforeUpdate &&\n (workInProgress.effectTag |= 256))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 256),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldState)),\n (instance.props = nextProps),\n (instance.state = oldState),\n (instance.context = contextType),\n (nextProps = getDerivedStateFromProps))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 256),\n (nextProps = !1));\n return finishClassComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n hasContext,\n renderExpirationTime\n );\n}\nfunction finishClassComponent(\n current$$1,\n workInProgress,\n Component,\n shouldUpdate,\n hasContext,\n renderExpirationTime\n) {\n markRef(current$$1, workInProgress);\n var didCaptureError = 0 !== (workInProgress.effectTag & 64);\n if (!shouldUpdate && !didCaptureError)\n return (\n hasContext && invalidateContextProvider(workInProgress, Component, !1),\n bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n );\n shouldUpdate = workInProgress.stateNode;\n ReactCurrentOwner$3.current = workInProgress;\n var nextChildren =\n didCaptureError && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : shouldUpdate.render();\n workInProgress.effectTag |= 1;\n null !== current$$1 && didCaptureError\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current$$1.child,\n null,\n renderExpirationTime\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderExpirationTime\n )))\n : reconcileChildren(\n current$$1,\n workInProgress,\n nextChildren,\n renderExpirationTime\n );\n workInProgress.memoizedState = shouldUpdate.state;\n hasContext && invalidateContextProvider(workInProgress, Component, !0);\n return workInProgress.child;\n}\nfunction pushHostRootContext(workInProgress) {\n var root = workInProgress.stateNode;\n root.pendingContext\n ? pushTopLevelContextObject(\n workInProgress,\n root.pendingContext,\n root.pendingContext !== root.context\n )\n : root.context &&\n pushTopLevelContextObject(workInProgress, root.context, !1);\n pushHostContainer(workInProgress, root.containerInfo);\n}\nvar SUSPENDED_MARKER = {};\nfunction updateSuspenseComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n) {\n var mode = workInProgress.mode,\n nextProps = workInProgress.pendingProps,\n suspenseContext = suspenseStackCursor.current,\n nextState = null,\n nextDidTimeout = !1,\n JSCompiler_temp;\n (JSCompiler_temp = 0 !== (workInProgress.effectTag & 64)) ||\n (JSCompiler_temp =\n 0 !== (suspenseContext & ForceSuspenseFallback) &&\n (null === current$$1 || null !== current$$1.memoizedState));\n JSCompiler_temp\n ? ((nextState = SUSPENDED_MARKER),\n (nextDidTimeout = !0),\n (workInProgress.effectTag &= -65))\n : (null !== current$$1 && null === current$$1.memoizedState) ||\n void 0 === nextProps.fallback ||\n !0 === nextProps.unstable_avoidThisFallback ||\n (suspenseContext |= InvisibleParentSuspenseContext);\n suspenseContext &= SubtreeSuspenseContextMask;\n push(suspenseStackCursor, suspenseContext, workInProgress);\n if (null === current$$1)\n if (nextDidTimeout) {\n nextProps = nextProps.fallback;\n current$$1 = createFiberFromFragment(null, mode, 0, null);\n current$$1.return = workInProgress;\n if (0 === (workInProgress.mode & 2))\n for (\n nextDidTimeout =\n null !== workInProgress.memoizedState\n ? workInProgress.child.child\n : workInProgress.child,\n current$$1.child = nextDidTimeout;\n null !== nextDidTimeout;\n\n )\n (nextDidTimeout.return = current$$1),\n (nextDidTimeout = nextDidTimeout.sibling);\n renderExpirationTime = createFiberFromFragment(\n nextProps,\n mode,\n renderExpirationTime,\n null\n );\n renderExpirationTime.return = workInProgress;\n current$$1.sibling = renderExpirationTime;\n mode = current$$1;\n } else\n mode = renderExpirationTime = mountChildFibers(\n workInProgress,\n null,\n nextProps.children,\n renderExpirationTime\n );\n else {\n if (null !== current$$1.memoizedState)\n if (\n ((suspenseContext = current$$1.child),\n (mode = suspenseContext.sibling),\n nextDidTimeout)\n ) {\n nextProps = nextProps.fallback;\n renderExpirationTime = createWorkInProgress(\n suspenseContext,\n suspenseContext.pendingProps,\n 0\n );\n renderExpirationTime.return = workInProgress;\n if (\n 0 === (workInProgress.mode & 2) &&\n ((nextDidTimeout =\n null !== workInProgress.memoizedState\n ? workInProgress.child.child\n : workInProgress.child),\n nextDidTimeout !== suspenseContext.child)\n )\n for (\n renderExpirationTime.child = nextDidTimeout;\n null !== nextDidTimeout;\n\n )\n (nextDidTimeout.return = renderExpirationTime),\n (nextDidTimeout = nextDidTimeout.sibling);\n nextProps = createWorkInProgress(mode, nextProps, mode.expirationTime);\n nextProps.return = workInProgress;\n renderExpirationTime.sibling = nextProps;\n mode = renderExpirationTime;\n renderExpirationTime.childExpirationTime = 0;\n renderExpirationTime = nextProps;\n } else\n mode = renderExpirationTime = reconcileChildFibers(\n workInProgress,\n suspenseContext.child,\n nextProps.children,\n renderExpirationTime\n );\n else if (((suspenseContext = current$$1.child), nextDidTimeout)) {\n nextDidTimeout = nextProps.fallback;\n nextProps = createFiberFromFragment(null, mode, 0, null);\n nextProps.return = workInProgress;\n nextProps.child = suspenseContext;\n null !== suspenseContext && (suspenseContext.return = nextProps);\n if (0 === (workInProgress.mode & 2))\n for (\n suspenseContext =\n null !== workInProgress.memoizedState\n ? workInProgress.child.child\n : workInProgress.child,\n nextProps.child = suspenseContext;\n null !== suspenseContext;\n\n )\n (suspenseContext.return = nextProps),\n (suspenseContext = suspenseContext.sibling);\n renderExpirationTime = createFiberFromFragment(\n nextDidTimeout,\n mode,\n renderExpirationTime,\n null\n );\n renderExpirationTime.return = workInProgress;\n nextProps.sibling = renderExpirationTime;\n renderExpirationTime.effectTag |= 2;\n mode = nextProps;\n nextProps.childExpirationTime = 0;\n } else\n renderExpirationTime = mode = reconcileChildFibers(\n workInProgress,\n suspenseContext,\n nextProps.children,\n renderExpirationTime\n );\n workInProgress.stateNode = current$$1.stateNode;\n }\n workInProgress.memoizedState = nextState;\n workInProgress.child = mode;\n return renderExpirationTime;\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n last: lastContentRow,\n tail: tail,\n tailExpiration: 0,\n tailMode: tailMode\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailExpiration = 0),\n (renderState.tailMode = tailMode));\n}\nfunction updateSuspenseListComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n reconcileChildren(\n current$$1,\n workInProgress,\n nextProps.children,\n renderExpirationTime\n );\n nextProps = suspenseStackCursor.current;\n if (0 !== (nextProps & ForceSuspenseFallback))\n (nextProps =\n (nextProps & SubtreeSuspenseContextMask) | ForceSuspenseFallback),\n (workInProgress.effectTag |= 64);\n else {\n if (null !== current$$1 && 0 !== (current$$1.effectTag & 64))\n a: for (current$$1 = workInProgress.child; null !== current$$1; ) {\n if (13 === current$$1.tag) {\n if (null !== current$$1.memoizedState) {\n current$$1.expirationTime < renderExpirationTime &&\n (current$$1.expirationTime = renderExpirationTime);\n var alternate = current$$1.alternate;\n null !== alternate &&\n alternate.expirationTime < renderExpirationTime &&\n (alternate.expirationTime = renderExpirationTime);\n scheduleWorkOnParentPath(current$$1.return, renderExpirationTime);\n }\n } else if (null !== current$$1.child) {\n current$$1.child.return = current$$1;\n current$$1 = current$$1.child;\n continue;\n }\n if (current$$1 === workInProgress) break a;\n for (; null === current$$1.sibling; ) {\n if (\n null === current$$1.return ||\n current$$1.return === workInProgress\n )\n break a;\n current$$1 = current$$1.return;\n }\n current$$1.sibling.return = current$$1.return;\n current$$1 = current$$1.sibling;\n }\n nextProps &= SubtreeSuspenseContextMask;\n }\n push(suspenseStackCursor, nextProps, workInProgress);\n if (0 === (workInProgress.mode & 2)) workInProgress.memoizedState = null;\n else\n switch (revealOrder) {\n case \"forwards\":\n renderExpirationTime = workInProgress.child;\n for (revealOrder = null; null !== renderExpirationTime; )\n (nextProps = renderExpirationTime.alternate),\n null !== nextProps &&\n null === findFirstSuspended(nextProps) &&\n (revealOrder = renderExpirationTime),\n (renderExpirationTime = renderExpirationTime.sibling);\n renderExpirationTime = revealOrder;\n null === renderExpirationTime\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderExpirationTime.sibling),\n (renderExpirationTime.sibling = null));\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderExpirationTime,\n tailMode\n );\n break;\n case \"backwards\":\n renderExpirationTime = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n nextProps = revealOrder.alternate;\n if (null !== nextProps && null === findFirstSuspended(nextProps)) {\n workInProgress.child = revealOrder;\n break;\n }\n nextProps = revealOrder.sibling;\n revealOrder.sibling = renderExpirationTime;\n renderExpirationTime = revealOrder;\n revealOrder = nextProps;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderExpirationTime,\n null,\n tailMode\n );\n break;\n case \"together\":\n initSuspenseListRenderState(workInProgress, !1, null, null, void 0);\n break;\n default:\n workInProgress.memoizedState = null;\n }\n return workInProgress.child;\n}\nfunction bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n) {\n null !== current$$1 &&\n (workInProgress.dependencies = current$$1.dependencies);\n if (workInProgress.childExpirationTime < renderExpirationTime) return null;\n if (null !== current$$1 && workInProgress.child !== current$$1.child)\n throw ReactError(Error(\"Resuming work not yet implemented.\"));\n if (null !== workInProgress.child) {\n current$$1 = workInProgress.child;\n renderExpirationTime = createWorkInProgress(\n current$$1,\n current$$1.pendingProps,\n current$$1.expirationTime\n );\n workInProgress.child = renderExpirationTime;\n for (\n renderExpirationTime.return = workInProgress;\n null !== current$$1.sibling;\n\n )\n (current$$1 = current$$1.sibling),\n (renderExpirationTime = renderExpirationTime.sibling = createWorkInProgress(\n current$$1,\n current$$1.pendingProps,\n current$$1.expirationTime\n )),\n (renderExpirationTime.return = workInProgress);\n renderExpirationTime.sibling = null;\n }\n return workInProgress.child;\n}\nvar appendAllChildren = void 0,\n updateHostContainer = void 0,\n updateHostComponent$1 = void 0,\n updateHostText$1 = void 0;\nappendAllChildren = function(parent, workInProgress) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag || 6 === node.tag) parent._children.push(node.stateNode);\n else if (4 !== node.tag && null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n};\nupdateHostContainer = function() {};\nupdateHostComponent$1 = function(current, workInProgress, type, newProps) {\n current.memoizedProps !== newProps &&\n (requiredContext(contextStackCursor$1.current),\n (workInProgress.updateQueue = UPDATE_SIGNAL)) &&\n (workInProgress.effectTag |= 4);\n};\nupdateHostText$1 = function(current, workInProgress, oldText, newText) {\n oldText !== newText && (workInProgress.effectTag |= 4);\n};\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n switch (renderState.tailMode) {\n case \"hidden\":\n hasRenderedATailFallback = renderState.tail;\n for (var lastTailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (lastTailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === lastTailNode\n ? (renderState.tail = null)\n : (lastTailNode.sibling = null);\n break;\n case \"collapsed\":\n lastTailNode = renderState.tail;\n for (var _lastTailNode = null; null !== lastTailNode; )\n null !== lastTailNode.alternate && (_lastTailNode = lastTailNode),\n (lastTailNode = lastTailNode.sibling);\n null === _lastTailNode\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (_lastTailNode.sibling = null);\n }\n}\nfunction unwindWork(workInProgress) {\n switch (workInProgress.tag) {\n case 1:\n isContextProvider(workInProgress.type) && popContext(workInProgress);\n var effectTag = workInProgress.effectTag;\n return effectTag & 2048\n ? ((workInProgress.effectTag = (effectTag & -2049) | 64),\n workInProgress)\n : null;\n case 3:\n popHostContainer(workInProgress);\n popTopLevelContextObject(workInProgress);\n effectTag = workInProgress.effectTag;\n if (0 !== (effectTag & 64))\n throw ReactError(\n Error(\n \"The root failed to unmount after an error. This is likely a bug in React. Please file an issue.\"\n )\n );\n workInProgress.effectTag = (effectTag & -2049) | 64;\n return workInProgress;\n case 5:\n return popHostContext(workInProgress), null;\n case 13:\n return (\n pop(suspenseStackCursor, workInProgress),\n (effectTag = workInProgress.effectTag),\n effectTag & 2048\n ? ((workInProgress.effectTag = (effectTag & -2049) | 64),\n workInProgress)\n : null\n );\n case 18:\n return null;\n case 19:\n return pop(suspenseStackCursor, workInProgress), null;\n case 4:\n return popHostContainer(workInProgress), null;\n case 10:\n return popProvider(workInProgress), null;\n default:\n return null;\n }\n}\nfunction createCapturedValue(value, source) {\n return {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n}\nif (\n \"function\" !==\n typeof ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog\n)\n throw ReactError(\n Error(\"Expected ReactFiberErrorDialog.showErrorDialog to be a function.\")\n );\nfunction logCapturedError(capturedError) {\n !1 !==\n ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog(\n capturedError\n ) && console.error(capturedError.error);\n}\nvar PossiblyWeakSet$1 = \"function\" === typeof WeakSet ? WeakSet : Set;\nfunction logError(boundary, errorInfo) {\n var source = errorInfo.source,\n stack = errorInfo.stack;\n null === stack &&\n null !== source &&\n (stack = getStackByFiberInDevAndProd(source));\n errorInfo = {\n componentName: null !== source ? getComponentName(source.type) : null,\n componentStack: null !== stack ? stack : \"\",\n error: errorInfo.value,\n errorBoundary: null,\n errorBoundaryName: null,\n errorBoundaryFound: !1,\n willRetry: !1\n };\n null !== boundary &&\n 1 === boundary.tag &&\n ((errorInfo.errorBoundary = boundary.stateNode),\n (errorInfo.errorBoundaryName = getComponentName(boundary.type)),\n (errorInfo.errorBoundaryFound = !0),\n (errorInfo.willRetry = !0));\n try {\n logCapturedError(errorInfo);\n } catch (e) {\n setTimeout(function() {\n throw e;\n });\n }\n}\nfunction safelyCallComponentWillUnmount(current$$1, instance) {\n try {\n (instance.props = current$$1.memoizedProps),\n (instance.state = current$$1.memoizedState),\n instance.componentWillUnmount();\n } catch (unmountError) {\n captureCommitPhaseError(current$$1, unmountError);\n }\n}\nfunction safelyDetachRef(current$$1) {\n var ref = current$$1.ref;\n if (null !== ref)\n if (\"function\" === typeof ref)\n try {\n ref(null);\n } catch (refError) {\n captureCommitPhaseError(current$$1, refError);\n }\n else ref.current = null;\n}\nfunction commitHookEffectList(unmountTag, mountTag, finishedWork) {\n finishedWork = finishedWork.updateQueue;\n finishedWork = null !== finishedWork ? finishedWork.lastEffect : null;\n if (null !== finishedWork) {\n var effect = (finishedWork = finishedWork.next);\n do {\n if ((effect.tag & unmountTag) !== NoEffect$1) {\n var destroy = effect.destroy;\n effect.destroy = void 0;\n void 0 !== destroy && destroy();\n }\n (effect.tag & mountTag) !== NoEffect$1 &&\n ((destroy = effect.create), (effect.destroy = destroy()));\n effect = effect.next;\n } while (effect !== finishedWork);\n }\n}\nfunction commitUnmount(current$$1$jscomp$0, renderPriorityLevel) {\n \"function\" === typeof onCommitFiberUnmount &&\n onCommitFiberUnmount(current$$1$jscomp$0);\n switch (current$$1$jscomp$0.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n var updateQueue = current$$1$jscomp$0.updateQueue;\n if (\n null !== updateQueue &&\n ((updateQueue = updateQueue.lastEffect), null !== updateQueue)\n ) {\n var firstEffect = updateQueue.next;\n runWithPriority(\n 97 < renderPriorityLevel ? 97 : renderPriorityLevel,\n function() {\n var effect = firstEffect;\n do {\n var destroy = effect.destroy;\n if (void 0 !== destroy) {\n var current$$1 = current$$1$jscomp$0;\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current$$1, error);\n }\n }\n effect = effect.next;\n } while (effect !== firstEffect);\n }\n );\n }\n break;\n case 1:\n safelyDetachRef(current$$1$jscomp$0);\n renderPriorityLevel = current$$1$jscomp$0.stateNode;\n \"function\" === typeof renderPriorityLevel.componentWillUnmount &&\n safelyCallComponentWillUnmount(\n current$$1$jscomp$0,\n renderPriorityLevel\n );\n break;\n case 5:\n safelyDetachRef(current$$1$jscomp$0);\n break;\n case 4:\n unmountHostComponents(current$$1$jscomp$0, renderPriorityLevel);\n }\n}\nfunction detachFiber(current$$1) {\n var alternate = current$$1.alternate;\n current$$1.return = null;\n current$$1.child = null;\n current$$1.memoizedState = null;\n current$$1.updateQueue = null;\n current$$1.dependencies = null;\n current$$1.alternate = null;\n current$$1.firstEffect = null;\n current$$1.lastEffect = null;\n current$$1.pendingProps = null;\n current$$1.memoizedProps = null;\n null !== alternate && detachFiber(alternate);\n}\nfunction isHostParent(fiber) {\n return 5 === fiber.tag || 3 === fiber.tag || 4 === fiber.tag;\n}\nfunction commitPlacement(finishedWork) {\n a: {\n for (var parent = finishedWork.return; null !== parent; ) {\n if (isHostParent(parent)) {\n var parentFiber = parent;\n break a;\n }\n parent = parent.return;\n }\n throw ReactError(\n Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n parent = parentFiber.stateNode;\n switch (parentFiber.tag) {\n case 5:\n var isContainer = !1;\n break;\n case 3:\n parent = parent.containerInfo;\n isContainer = !0;\n break;\n case 4:\n parent = parent.containerInfo;\n isContainer = !0;\n break;\n default:\n throw ReactError(\n Error(\n \"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n parentFiber.effectTag & 16 && (parentFiber.effectTag &= -17);\n a: b: for (parentFiber = finishedWork; ; ) {\n for (; null === parentFiber.sibling; ) {\n if (null === parentFiber.return || isHostParent(parentFiber.return)) {\n parentFiber = null;\n break a;\n }\n parentFiber = parentFiber.return;\n }\n parentFiber.sibling.return = parentFiber.return;\n for (\n parentFiber = parentFiber.sibling;\n 5 !== parentFiber.tag && 6 !== parentFiber.tag && 18 !== parentFiber.tag;\n\n ) {\n if (parentFiber.effectTag & 2) continue b;\n if (null === parentFiber.child || 4 === parentFiber.tag) continue b;\n else\n (parentFiber.child.return = parentFiber),\n (parentFiber = parentFiber.child);\n }\n if (!(parentFiber.effectTag & 2)) {\n parentFiber = parentFiber.stateNode;\n break a;\n }\n }\n for (var node = finishedWork; ; ) {\n var isHost = 5 === node.tag || 6 === node.tag;\n if (isHost) {\n var stateNode = isHost ? node.stateNode : node.stateNode.instance;\n if (parentFiber)\n if (isContainer) {\n if (\"number\" === typeof parent)\n throw ReactError(\n Error(\"Container does not support insertBefore operation\")\n );\n } else {\n isHost = parent;\n var beforeChild = parentFiber,\n children = isHost._children,\n index = children.indexOf(stateNode);\n 0 <= index\n ? (children.splice(index, 1),\n (beforeChild = children.indexOf(beforeChild)),\n children.splice(beforeChild, 0, stateNode),\n ReactNativePrivateInterface.UIManager.manageChildren(\n isHost._nativeTag,\n [index],\n [beforeChild],\n [],\n [],\n []\n ))\n : ((index = children.indexOf(beforeChild)),\n children.splice(index, 0, stateNode),\n ReactNativePrivateInterface.UIManager.manageChildren(\n isHost._nativeTag,\n [],\n [],\n [\n \"number\" === typeof stateNode\n ? stateNode\n : stateNode._nativeTag\n ],\n [index],\n []\n ));\n }\n else\n isContainer\n ? ReactNativePrivateInterface.UIManager.setChildren(parent, [\n \"number\" === typeof stateNode ? stateNode : stateNode._nativeTag\n ])\n : ((isHost = parent),\n (children =\n \"number\" === typeof stateNode ? stateNode : stateNode._nativeTag),\n (index = isHost._children),\n (beforeChild = index.indexOf(stateNode)),\n 0 <= beforeChild\n ? (index.splice(beforeChild, 1),\n index.push(stateNode),\n ReactNativePrivateInterface.UIManager.manageChildren(\n isHost._nativeTag,\n [beforeChild],\n [index.length - 1],\n [],\n [],\n []\n ))\n : (index.push(stateNode),\n ReactNativePrivateInterface.UIManager.manageChildren(\n isHost._nativeTag,\n [],\n [],\n [children],\n [index.length - 1],\n []\n )));\n } else if (4 !== node.tag && null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === finishedWork) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === finishedWork) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n}\nfunction unmountHostComponents(current$$1, renderPriorityLevel$jscomp$0) {\n for (\n var node = current$$1,\n currentParentIsValid = !1,\n currentParent = void 0,\n currentParentIsContainer = void 0;\n ;\n\n ) {\n if (!currentParentIsValid) {\n currentParentIsValid = node.return;\n a: for (;;) {\n if (null === currentParentIsValid)\n throw ReactError(\n Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n currentParent = currentParentIsValid.stateNode;\n switch (currentParentIsValid.tag) {\n case 5:\n currentParentIsContainer = !1;\n break a;\n case 3:\n currentParent = currentParent.containerInfo;\n currentParentIsContainer = !0;\n break a;\n case 4:\n currentParent = currentParent.containerInfo;\n currentParentIsContainer = !0;\n break a;\n }\n currentParentIsValid = currentParentIsValid.return;\n }\n currentParentIsValid = !0;\n }\n if (5 === node.tag || 6 === node.tag) {\n a: for (\n var root = node,\n renderPriorityLevel = renderPriorityLevel$jscomp$0,\n node$jscomp$0 = root;\n ;\n\n )\n if (\n (commitUnmount(node$jscomp$0, renderPriorityLevel),\n null !== node$jscomp$0.child && 4 !== node$jscomp$0.tag)\n )\n (node$jscomp$0.child.return = node$jscomp$0),\n (node$jscomp$0 = node$jscomp$0.child);\n else {\n if (node$jscomp$0 === root) break;\n for (; null === node$jscomp$0.sibling; ) {\n if (null === node$jscomp$0.return || node$jscomp$0.return === root)\n break a;\n node$jscomp$0 = node$jscomp$0.return;\n }\n node$jscomp$0.sibling.return = node$jscomp$0.return;\n node$jscomp$0 = node$jscomp$0.sibling;\n }\n currentParentIsContainer\n ? ((root = currentParent),\n recursivelyUncacheFiberNode(node.stateNode),\n ReactNativePrivateInterface.UIManager.manageChildren(\n root,\n [],\n [],\n [],\n [],\n [0]\n ))\n : ((root = currentParent),\n (node$jscomp$0 = node.stateNode),\n recursivelyUncacheFiberNode(node$jscomp$0),\n (renderPriorityLevel = root._children),\n (node$jscomp$0 = renderPriorityLevel.indexOf(node$jscomp$0)),\n renderPriorityLevel.splice(node$jscomp$0, 1),\n ReactNativePrivateInterface.UIManager.manageChildren(\n root._nativeTag,\n [],\n [],\n [],\n [],\n [node$jscomp$0]\n ));\n } else if (4 === node.tag) {\n if (null !== node.child) {\n currentParent = node.stateNode.containerInfo;\n currentParentIsContainer = !0;\n node.child.return = node;\n node = node.child;\n continue;\n }\n } else if (\n (commitUnmount(node, renderPriorityLevel$jscomp$0), null !== node.child)\n ) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === current$$1) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === current$$1) return;\n node = node.return;\n 4 === node.tag && (currentParentIsValid = !1);\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n}\nfunction commitWork(current$$1, finishedWork) {\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookEffectList(UnmountMutation, MountMutation, finishedWork);\n break;\n case 1:\n break;\n case 5:\n var instance = finishedWork.stateNode;\n if (null != instance) {\n var newProps = finishedWork.memoizedProps;\n current$$1 = null !== current$$1 ? current$$1.memoizedProps : newProps;\n var updatePayload = finishedWork.updateQueue;\n finishedWork.updateQueue = null;\n null !== updatePayload &&\n ((finishedWork = instance.viewConfig),\n instanceProps.set(instance._nativeTag, newProps),\n (newProps = diffProperties(\n null,\n current$$1,\n newProps,\n finishedWork.validAttributes\n )),\n null != newProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n instance._nativeTag,\n finishedWork.uiViewClassName,\n newProps\n ));\n }\n break;\n case 6:\n if (null === finishedWork.stateNode)\n throw ReactError(\n Error(\n \"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n ReactNativePrivateInterface.UIManager.updateView(\n finishedWork.stateNode,\n \"RCTRawText\",\n { text: finishedWork.memoizedProps }\n );\n break;\n case 3:\n break;\n case 12:\n break;\n case 13:\n instance = finishedWork;\n null === finishedWork.memoizedState\n ? (newProps = !1)\n : ((newProps = !0),\n (instance = finishedWork.child),\n (globalMostRecentFallbackTime = now()));\n if (null !== instance)\n a: for (current$$1 = instance; ; ) {\n if (5 === current$$1.tag)\n if (((updatePayload = current$$1.stateNode), newProps)) {\n var viewConfig = updatePayload.viewConfig;\n var updatePayload$jscomp$0 = diffProperties(\n null,\n emptyObject,\n { style: { display: \"none\" } },\n viewConfig.validAttributes\n );\n ReactNativePrivateInterface.UIManager.updateView(\n updatePayload._nativeTag,\n viewConfig.uiViewClassName,\n updatePayload$jscomp$0\n );\n } else {\n updatePayload = current$$1.stateNode;\n updatePayload$jscomp$0 = current$$1.memoizedProps;\n viewConfig = updatePayload.viewConfig;\n var prevProps = Object.assign({}, updatePayload$jscomp$0, {\n style: [updatePayload$jscomp$0.style, { display: \"none\" }]\n });\n updatePayload$jscomp$0 = diffProperties(\n null,\n prevProps,\n updatePayload$jscomp$0,\n viewConfig.validAttributes\n );\n ReactNativePrivateInterface.UIManager.updateView(\n updatePayload._nativeTag,\n viewConfig.uiViewClassName,\n updatePayload$jscomp$0\n );\n }\n else {\n if (6 === current$$1.tag) throw Error(\"Not yet implemented.\");\n if (13 === current$$1.tag && null !== current$$1.memoizedState) {\n updatePayload = current$$1.child.sibling;\n updatePayload.return = current$$1;\n current$$1 = updatePayload;\n continue;\n } else if (null !== current$$1.child) {\n current$$1.child.return = current$$1;\n current$$1 = current$$1.child;\n continue;\n }\n }\n if (current$$1 === instance) break a;\n for (; null === current$$1.sibling; ) {\n if (null === current$$1.return || current$$1.return === instance)\n break a;\n current$$1 = current$$1.return;\n }\n current$$1.sibling.return = current$$1.return;\n current$$1 = current$$1.sibling;\n }\n attachSuspenseRetryListeners(finishedWork);\n break;\n case 19:\n attachSuspenseRetryListeners(finishedWork);\n break;\n case 17:\n break;\n case 20:\n break;\n default:\n throw ReactError(\n Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n}\nfunction attachSuspenseRetryListeners(finishedWork) {\n var thenables = finishedWork.updateQueue;\n if (null !== thenables) {\n finishedWork.updateQueue = null;\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet$1());\n thenables.forEach(function(thenable) {\n var retry = resolveRetryThenable.bind(null, finishedWork, thenable);\n retryCache.has(thenable) ||\n (retryCache.add(thenable), thenable.then(retry, retry));\n });\n }\n}\nvar PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map;\nfunction createRootErrorUpdate(fiber, errorInfo, expirationTime) {\n expirationTime = createUpdate(expirationTime, null);\n expirationTime.tag = 3;\n expirationTime.payload = { element: null };\n var error = errorInfo.value;\n expirationTime.callback = function() {\n hasUncaughtError || ((hasUncaughtError = !0), (firstUncaughtError = error));\n logError(fiber, errorInfo);\n };\n return expirationTime;\n}\nfunction createClassErrorUpdate(fiber, errorInfo, expirationTime) {\n expirationTime = createUpdate(expirationTime, null);\n expirationTime.tag = 3;\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n expirationTime.payload = function() {\n logError(fiber, errorInfo);\n return getDerivedStateFromError(error);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (expirationTime.callback = function() {\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this),\n logError(fiber, errorInfo));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n return expirationTime;\n}\nvar ceil = Math.ceil,\n ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner,\n NoContext = 0,\n LegacyUnbatchedContext = 8,\n RenderContext = 16,\n CommitContext = 32,\n RootIncomplete = 0,\n RootErrored = 1,\n RootSuspended = 2,\n RootSuspendedWithDelay = 3,\n RootCompleted = 4,\n executionContext = NoContext,\n workInProgressRoot = null,\n workInProgress = null,\n renderExpirationTime = 0,\n workInProgressRootExitStatus = RootIncomplete,\n workInProgressRootLatestProcessedExpirationTime = 1073741823,\n workInProgressRootLatestSuspenseTimeout = 1073741823,\n workInProgressRootCanSuspendUsingConfig = null,\n workInProgressRootHasPendingPing = !1,\n globalMostRecentFallbackTime = 0,\n FALLBACK_THROTTLE_MS = 500,\n nextEffect = null,\n hasUncaughtError = !1,\n firstUncaughtError = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n rootDoesHavePassiveEffects = !1,\n rootWithPendingPassiveEffects = null,\n pendingPassiveEffectsRenderPriority = 90,\n pendingPassiveEffectsExpirationTime = 0,\n rootsWithPendingDiscreteUpdates = null,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null,\n currentEventTime = 0;\nfunction requestCurrentTime() {\n return (executionContext & (RenderContext | CommitContext)) !== NoContext\n ? 1073741821 - ((now() / 10) | 0)\n : 0 !== currentEventTime\n ? currentEventTime\n : (currentEventTime = 1073741821 - ((now() / 10) | 0));\n}\nfunction computeExpirationForFiber(currentTime, fiber, suspenseConfig) {\n fiber = fiber.mode;\n if (0 === (fiber & 2)) return 1073741823;\n var priorityLevel = getCurrentPriorityLevel();\n if (0 === (fiber & 4)) return 99 === priorityLevel ? 1073741823 : 1073741822;\n if ((executionContext & RenderContext) !== NoContext)\n return renderExpirationTime;\n if (null !== suspenseConfig)\n currentTime =\n 1073741821 -\n 25 *\n ((((1073741821 -\n currentTime +\n (suspenseConfig.timeoutMs | 0 || 5e3) / 10) /\n 25) |\n 0) +\n 1);\n else\n switch (priorityLevel) {\n case 99:\n currentTime = 1073741823;\n break;\n case 98:\n currentTime =\n 1073741821 - 10 * ((((1073741821 - currentTime + 15) / 10) | 0) + 1);\n break;\n case 97:\n case 96:\n currentTime =\n 1073741821 - 25 * ((((1073741821 - currentTime + 500) / 25) | 0) + 1);\n break;\n case 95:\n currentTime = 1;\n break;\n default:\n throw ReactError(Error(\"Expected a valid priority level\"));\n }\n null !== workInProgressRoot &&\n currentTime === renderExpirationTime &&\n --currentTime;\n return currentTime;\n}\nfunction scheduleUpdateOnFiber(fiber, expirationTime) {\n if (50 < nestedUpdateCount)\n throw ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n ReactError(\n Error(\n \"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\"\n )\n ));\n fiber = markUpdateTimeFromFiberToRoot(fiber, expirationTime);\n if (null !== fiber) {\n fiber.pingTime = 0;\n var priorityLevel = getCurrentPriorityLevel();\n if (1073741823 === expirationTime)\n if (\n (executionContext & LegacyUnbatchedContext) !== NoContext &&\n (executionContext & (RenderContext | CommitContext)) === NoContext\n )\n for (\n var callback = renderRoot(fiber, 1073741823, !0);\n null !== callback;\n\n )\n callback = callback(!0);\n else\n scheduleCallbackForRoot(fiber, 99, 1073741823),\n executionContext === NoContext && flushSyncCallbackQueue();\n else scheduleCallbackForRoot(fiber, priorityLevel, expirationTime);\n (executionContext & 4) === NoContext ||\n (98 !== priorityLevel && 99 !== priorityLevel) ||\n (null === rootsWithPendingDiscreteUpdates\n ? (rootsWithPendingDiscreteUpdates = new Map([[fiber, expirationTime]]))\n : ((priorityLevel = rootsWithPendingDiscreteUpdates.get(fiber)),\n (void 0 === priorityLevel || priorityLevel > expirationTime) &&\n rootsWithPendingDiscreteUpdates.set(fiber, expirationTime)));\n }\n}\nfunction markUpdateTimeFromFiberToRoot(fiber, expirationTime) {\n fiber.expirationTime < expirationTime &&\n (fiber.expirationTime = expirationTime);\n var alternate = fiber.alternate;\n null !== alternate &&\n alternate.expirationTime < expirationTime &&\n (alternate.expirationTime = expirationTime);\n var node = fiber.return,\n root = null;\n if (null === node && 3 === fiber.tag) root = fiber.stateNode;\n else\n for (; null !== node; ) {\n alternate = node.alternate;\n node.childExpirationTime < expirationTime &&\n (node.childExpirationTime = expirationTime);\n null !== alternate &&\n alternate.childExpirationTime < expirationTime &&\n (alternate.childExpirationTime = expirationTime);\n if (null === node.return && 3 === node.tag) {\n root = node.stateNode;\n break;\n }\n node = node.return;\n }\n null !== root &&\n (expirationTime > root.firstPendingTime &&\n (root.firstPendingTime = expirationTime),\n (fiber = root.lastPendingTime),\n 0 === fiber || expirationTime < fiber) &&\n (root.lastPendingTime = expirationTime);\n return root;\n}\nfunction scheduleCallbackForRoot(root, priorityLevel, expirationTime) {\n if (root.callbackExpirationTime < expirationTime) {\n var existingCallbackNode = root.callbackNode;\n null !== existingCallbackNode &&\n existingCallbackNode !== fakeCallbackNode &&\n Scheduler_cancelCallback(existingCallbackNode);\n root.callbackExpirationTime = expirationTime;\n 1073741823 === expirationTime\n ? (root.callbackNode = scheduleSyncCallback(\n runRootCallback.bind(\n null,\n root,\n renderRoot.bind(null, root, expirationTime)\n )\n ))\n : ((existingCallbackNode = null),\n 1 !== expirationTime &&\n (existingCallbackNode = {\n timeout: 10 * (1073741821 - expirationTime) - now()\n }),\n (root.callbackNode = scheduleCallback(\n priorityLevel,\n runRootCallback.bind(\n null,\n root,\n renderRoot.bind(null, root, expirationTime)\n ),\n existingCallbackNode\n )));\n }\n}\nfunction runRootCallback(root, callback, isSync) {\n var prevCallbackNode = root.callbackNode,\n continuation = null;\n try {\n return (\n (continuation = callback(isSync)),\n null !== continuation\n ? runRootCallback.bind(null, root, continuation)\n : null\n );\n } finally {\n null === continuation &&\n prevCallbackNode === root.callbackNode &&\n ((root.callbackNode = null), (root.callbackExpirationTime = 0));\n }\n}\nfunction resolveLocksOnRoot(root, expirationTime) {\n var firstBatch = root.firstBatch;\n return null !== firstBatch &&\n firstBatch._defer &&\n firstBatch._expirationTime >= expirationTime\n ? (scheduleCallback(97, function() {\n firstBatch._onComplete();\n return null;\n }),\n !0)\n : !1;\n}\nfunction flushPendingDiscreteUpdates() {\n if (null !== rootsWithPendingDiscreteUpdates) {\n var roots = rootsWithPendingDiscreteUpdates;\n rootsWithPendingDiscreteUpdates = null;\n roots.forEach(function(expirationTime, root) {\n scheduleSyncCallback(renderRoot.bind(null, root, expirationTime));\n });\n flushSyncCallbackQueue();\n }\n}\nfunction prepareFreshStack(root, expirationTime) {\n root.finishedWork = null;\n root.finishedExpirationTime = 0;\n var timeoutHandle = root.timeoutHandle;\n -1 !== timeoutHandle &&\n ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n if (null !== workInProgress)\n for (timeoutHandle = workInProgress.return; null !== timeoutHandle; ) {\n var interruptedWork = timeoutHandle;\n switch (interruptedWork.tag) {\n case 1:\n var childContextTypes = interruptedWork.type.childContextTypes;\n null !== childContextTypes &&\n void 0 !== childContextTypes &&\n popContext(interruptedWork);\n break;\n case 3:\n popHostContainer(interruptedWork);\n popTopLevelContextObject(interruptedWork);\n break;\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer(interruptedWork);\n break;\n case 13:\n pop(suspenseStackCursor, interruptedWork);\n break;\n case 19:\n pop(suspenseStackCursor, interruptedWork);\n break;\n case 10:\n popProvider(interruptedWork);\n }\n timeoutHandle = timeoutHandle.return;\n }\n workInProgressRoot = root;\n workInProgress = createWorkInProgress(root.current, null, expirationTime);\n renderExpirationTime = expirationTime;\n workInProgressRootExitStatus = RootIncomplete;\n workInProgressRootLatestSuspenseTimeout = workInProgressRootLatestProcessedExpirationTime = 1073741823;\n workInProgressRootCanSuspendUsingConfig = null;\n workInProgressRootHasPendingPing = !1;\n}\nfunction renderRoot(root$jscomp$0, expirationTime, isSync) {\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw ReactError(Error(\"Should not already be working.\"));\n if (root$jscomp$0.firstPendingTime < expirationTime) return null;\n if (isSync && root$jscomp$0.finishedExpirationTime === expirationTime)\n return commitRoot.bind(null, root$jscomp$0);\n flushPassiveEffects();\n if (\n root$jscomp$0 !== workInProgressRoot ||\n expirationTime !== renderExpirationTime\n )\n prepareFreshStack(root$jscomp$0, expirationTime);\n else if (workInProgressRootExitStatus === RootSuspendedWithDelay)\n if (workInProgressRootHasPendingPing)\n prepareFreshStack(root$jscomp$0, expirationTime);\n else {\n var lastPendingTime = root$jscomp$0.lastPendingTime;\n if (lastPendingTime < expirationTime)\n return renderRoot.bind(null, root$jscomp$0, lastPendingTime);\n }\n if (null !== workInProgress) {\n lastPendingTime = executionContext;\n executionContext |= RenderContext;\n var prevDispatcher = ReactCurrentDispatcher.current;\n null === prevDispatcher && (prevDispatcher = ContextOnlyDispatcher);\n ReactCurrentDispatcher.current = ContextOnlyDispatcher;\n if (isSync) {\n if (1073741823 !== expirationTime) {\n var currentTime = requestCurrentTime();\n if (currentTime < expirationTime)\n return (\n (executionContext = lastPendingTime),\n resetContextDependencies(),\n (ReactCurrentDispatcher.current = prevDispatcher),\n renderRoot.bind(null, root$jscomp$0, currentTime)\n );\n }\n } else currentEventTime = 0;\n do\n try {\n if (isSync)\n for (; null !== workInProgress; )\n workInProgress = performUnitOfWork(workInProgress);\n else\n for (; null !== workInProgress && !Scheduler_shouldYield(); )\n workInProgress = performUnitOfWork(workInProgress);\n break;\n } catch (thrownValue) {\n resetContextDependencies();\n resetHooks();\n currentTime = workInProgress;\n if (null === currentTime || null === currentTime.return)\n throw (prepareFreshStack(root$jscomp$0, expirationTime),\n (executionContext = lastPendingTime),\n thrownValue);\n a: {\n var root = root$jscomp$0,\n returnFiber = currentTime.return,\n sourceFiber = currentTime,\n value = thrownValue,\n renderExpirationTime$jscomp$0 = renderExpirationTime;\n sourceFiber.effectTag |= 1024;\n sourceFiber.firstEffect = sourceFiber.lastEffect = null;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n var thenable = value,\n hasInvisibleParentBoundary =\n 0 !==\n (suspenseStackCursor.current & InvisibleParentSuspenseContext);\n value = returnFiber;\n do {\n var JSCompiler_temp;\n if ((JSCompiler_temp = 13 === value.tag))\n null !== value.memoizedState\n ? (JSCompiler_temp = !1)\n : ((JSCompiler_temp = value.memoizedProps),\n (JSCompiler_temp =\n void 0 === JSCompiler_temp.fallback\n ? !1\n : !0 !== JSCompiler_temp.unstable_avoidThisFallback\n ? !0\n : hasInvisibleParentBoundary\n ? !1\n : !0));\n if (JSCompiler_temp) {\n returnFiber = value.updateQueue;\n null === returnFiber\n ? ((returnFiber = new Set()),\n returnFiber.add(thenable),\n (value.updateQueue = returnFiber))\n : returnFiber.add(thenable);\n if (0 === (value.mode & 2)) {\n value.effectTag |= 64;\n sourceFiber.effectTag &= -1957;\n 1 === sourceFiber.tag &&\n (null === sourceFiber.alternate\n ? (sourceFiber.tag = 17)\n : ((renderExpirationTime$jscomp$0 = createUpdate(\n 1073741823,\n null\n )),\n (renderExpirationTime$jscomp$0.tag = 2),\n enqueueUpdate(\n sourceFiber,\n renderExpirationTime$jscomp$0\n )));\n sourceFiber.expirationTime = 1073741823;\n break a;\n }\n sourceFiber = root;\n root = renderExpirationTime$jscomp$0;\n hasInvisibleParentBoundary = sourceFiber.pingCache;\n null === hasInvisibleParentBoundary\n ? ((hasInvisibleParentBoundary = sourceFiber.pingCache = new PossiblyWeakMap()),\n (returnFiber = new Set()),\n hasInvisibleParentBoundary.set(thenable, returnFiber))\n : ((returnFiber = hasInvisibleParentBoundary.get(thenable)),\n void 0 === returnFiber &&\n ((returnFiber = new Set()),\n hasInvisibleParentBoundary.set(thenable, returnFiber)));\n returnFiber.has(root) ||\n (returnFiber.add(root),\n (sourceFiber = pingSuspendedRoot.bind(\n null,\n sourceFiber,\n thenable,\n root\n )),\n thenable.then(sourceFiber, sourceFiber));\n value.effectTag |= 2048;\n value.expirationTime = renderExpirationTime$jscomp$0;\n break a;\n }\n value = value.return;\n } while (null !== value);\n value = Error(\n (getComponentName(sourceFiber.type) || \"A React component\") +\n \" 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.\" +\n getStackByFiberInDevAndProd(sourceFiber)\n );\n }\n workInProgressRootExitStatus !== RootCompleted &&\n (workInProgressRootExitStatus = RootErrored);\n value = createCapturedValue(value, sourceFiber);\n sourceFiber = returnFiber;\n do {\n switch (sourceFiber.tag) {\n case 3:\n sourceFiber.effectTag |= 2048;\n sourceFiber.expirationTime = renderExpirationTime$jscomp$0;\n renderExpirationTime$jscomp$0 = createRootErrorUpdate(\n sourceFiber,\n value,\n renderExpirationTime$jscomp$0\n );\n enqueueCapturedUpdate(\n sourceFiber,\n renderExpirationTime$jscomp$0\n );\n break a;\n case 1:\n if (\n ((thenable = value),\n (root = sourceFiber.type),\n (returnFiber = sourceFiber.stateNode),\n 0 === (sourceFiber.effectTag & 64) &&\n (\"function\" === typeof root.getDerivedStateFromError ||\n (null !== returnFiber &&\n \"function\" === typeof returnFiber.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(\n returnFiber\n )))))\n ) {\n sourceFiber.effectTag |= 2048;\n sourceFiber.expirationTime = renderExpirationTime$jscomp$0;\n renderExpirationTime$jscomp$0 = createClassErrorUpdate(\n sourceFiber,\n thenable,\n renderExpirationTime$jscomp$0\n );\n enqueueCapturedUpdate(\n sourceFiber,\n renderExpirationTime$jscomp$0\n );\n break a;\n }\n }\n sourceFiber = sourceFiber.return;\n } while (null !== sourceFiber);\n }\n workInProgress = completeUnitOfWork(currentTime);\n }\n while (1);\n executionContext = lastPendingTime;\n resetContextDependencies();\n ReactCurrentDispatcher.current = prevDispatcher;\n if (null !== workInProgress)\n return renderRoot.bind(null, root$jscomp$0, expirationTime);\n }\n root$jscomp$0.finishedWork = root$jscomp$0.current.alternate;\n root$jscomp$0.finishedExpirationTime = expirationTime;\n if (resolveLocksOnRoot(root$jscomp$0, expirationTime)) return null;\n workInProgressRoot = null;\n switch (workInProgressRootExitStatus) {\n case RootIncomplete:\n throw ReactError(Error(\"Should have a work-in-progress.\"));\n case RootErrored:\n return (\n (lastPendingTime = root$jscomp$0.lastPendingTime),\n lastPendingTime < expirationTime\n ? renderRoot.bind(null, root$jscomp$0, lastPendingTime)\n : isSync\n ? commitRoot.bind(null, root$jscomp$0)\n : (prepareFreshStack(root$jscomp$0, expirationTime),\n scheduleSyncCallback(\n renderRoot.bind(null, root$jscomp$0, expirationTime)\n ),\n null)\n );\n case RootSuspended:\n if (\n 1073741823 === workInProgressRootLatestProcessedExpirationTime &&\n !isSync &&\n ((isSync = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now()),\n 10 < isSync)\n ) {\n if (workInProgressRootHasPendingPing)\n return (\n prepareFreshStack(root$jscomp$0, expirationTime),\n renderRoot.bind(null, root$jscomp$0, expirationTime)\n );\n lastPendingTime = root$jscomp$0.lastPendingTime;\n if (lastPendingTime < expirationTime)\n return renderRoot.bind(null, root$jscomp$0, lastPendingTime);\n root$jscomp$0.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root$jscomp$0),\n isSync\n );\n return null;\n }\n return commitRoot.bind(null, root$jscomp$0);\n case RootSuspendedWithDelay:\n if (!isSync) {\n if (workInProgressRootHasPendingPing)\n return (\n prepareFreshStack(root$jscomp$0, expirationTime),\n renderRoot.bind(null, root$jscomp$0, expirationTime)\n );\n isSync = root$jscomp$0.lastPendingTime;\n if (isSync < expirationTime)\n return renderRoot.bind(null, root$jscomp$0, isSync);\n 1073741823 !== workInProgressRootLatestSuspenseTimeout\n ? (isSync =\n 10 * (1073741821 - workInProgressRootLatestSuspenseTimeout) -\n now())\n : 1073741823 === workInProgressRootLatestProcessedExpirationTime\n ? (isSync = 0)\n : ((isSync =\n 10 *\n (1073741821 -\n workInProgressRootLatestProcessedExpirationTime) -\n 5e3),\n (lastPendingTime = now()),\n (expirationTime =\n 10 * (1073741821 - expirationTime) - lastPendingTime),\n (isSync = lastPendingTime - isSync),\n 0 > isSync && (isSync = 0),\n (isSync =\n (120 > isSync\n ? 120\n : 480 > isSync\n ? 480\n : 1080 > isSync\n ? 1080\n : 1920 > isSync\n ? 1920\n : 3e3 > isSync\n ? 3e3\n : 4320 > isSync\n ? 4320\n : 1960 * ceil(isSync / 1960)) - isSync),\n expirationTime < isSync && (isSync = expirationTime));\n if (10 < isSync)\n return (\n (root$jscomp$0.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root$jscomp$0),\n isSync\n )),\n null\n );\n }\n return commitRoot.bind(null, root$jscomp$0);\n case RootCompleted:\n return !isSync &&\n 1073741823 !== workInProgressRootLatestProcessedExpirationTime &&\n null !== workInProgressRootCanSuspendUsingConfig &&\n ((lastPendingTime = workInProgressRootLatestProcessedExpirationTime),\n (prevDispatcher = workInProgressRootCanSuspendUsingConfig),\n (expirationTime = prevDispatcher.busyMinDurationMs | 0),\n 0 >= expirationTime\n ? (expirationTime = 0)\n : ((isSync = prevDispatcher.busyDelayMs | 0),\n (lastPendingTime =\n now() -\n (10 * (1073741821 - lastPendingTime) -\n (prevDispatcher.timeoutMs | 0 || 5e3))),\n (expirationTime =\n lastPendingTime <= isSync\n ? 0\n : isSync + expirationTime - lastPendingTime)),\n 10 < expirationTime)\n ? ((root$jscomp$0.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root$jscomp$0),\n expirationTime\n )),\n null)\n : commitRoot.bind(null, root$jscomp$0);\n default:\n throw ReactError(Error(\"Unknown root exit status.\"));\n }\n}\nfunction markRenderEventTimeAndConfig(expirationTime, suspenseConfig) {\n expirationTime < workInProgressRootLatestProcessedExpirationTime &&\n 1 < expirationTime &&\n (workInProgressRootLatestProcessedExpirationTime = expirationTime);\n null !== suspenseConfig &&\n expirationTime < workInProgressRootLatestSuspenseTimeout &&\n 1 < expirationTime &&\n ((workInProgressRootLatestSuspenseTimeout = expirationTime),\n (workInProgressRootCanSuspendUsingConfig = suspenseConfig));\n}\nfunction performUnitOfWork(unitOfWork) {\n var next = beginWork$$1(\n unitOfWork.alternate,\n unitOfWork,\n renderExpirationTime\n );\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next && (next = completeUnitOfWork(unitOfWork));\n ReactCurrentOwner$2.current = null;\n return next;\n}\nfunction completeUnitOfWork(unitOfWork) {\n workInProgress = unitOfWork;\n do {\n var current$$1 = workInProgress.alternate;\n unitOfWork = workInProgress.return;\n if (0 === (workInProgress.effectTag & 1024)) {\n a: {\n var current = current$$1;\n current$$1 = workInProgress;\n var renderExpirationTime$jscomp$0 = renderExpirationTime,\n newProps = current$$1.pendingProps;\n switch (current$$1.tag) {\n case 2:\n break;\n case 16:\n break;\n case 15:\n case 0:\n break;\n case 1:\n isContextProvider(current$$1.type) && popContext(current$$1);\n break;\n case 3:\n popHostContainer(current$$1);\n popTopLevelContextObject(current$$1);\n newProps = current$$1.stateNode;\n newProps.pendingContext &&\n ((newProps.context = newProps.pendingContext),\n (newProps.pendingContext = null));\n if (null === current || null === current.child)\n current$$1.effectTag &= -3;\n updateHostContainer(current$$1);\n break;\n case 5:\n popHostContext(current$$1);\n renderExpirationTime$jscomp$0 = requiredContext(\n rootInstanceStackCursor.current\n );\n var type = current$$1.type;\n if (null !== current && null != current$$1.stateNode)\n updateHostComponent$1(\n current,\n current$$1,\n type,\n newProps,\n renderExpirationTime$jscomp$0\n ),\n current.ref !== current$$1.ref && (current$$1.effectTag |= 128);\n else if (newProps) {\n current = requiredContext(contextStackCursor$1.current);\n var type$jscomp$0 = type;\n var _instance6 = newProps;\n var rootContainerInstance = renderExpirationTime$jscomp$0,\n internalInstanceHandle = current$$1,\n tag = allocateTag();\n type$jscomp$0 = getViewConfigForType(type$jscomp$0);\n var updatePayload = diffProperties(\n null,\n emptyObject,\n _instance6,\n type$jscomp$0.validAttributes\n );\n ReactNativePrivateInterface.UIManager.createView(\n tag,\n type$jscomp$0.uiViewClassName,\n rootContainerInstance,\n updatePayload\n );\n rootContainerInstance = new ReactNativeFiberHostComponent(\n tag,\n type$jscomp$0\n );\n instanceCache.set(tag, internalInstanceHandle);\n instanceProps.set(tag, _instance6);\n _instance6 = rootContainerInstance;\n appendAllChildren(_instance6, current$$1, !1, !1);\n finalizeInitialChildren(\n _instance6,\n type,\n newProps,\n renderExpirationTime$jscomp$0,\n current\n ) && (current$$1.effectTag |= 4);\n current$$1.stateNode = _instance6;\n null !== current$$1.ref && (current$$1.effectTag |= 128);\n } else if (null === current$$1.stateNode)\n throw ReactError(\n Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n break;\n case 6:\n if (current && null != current$$1.stateNode)\n updateHostText$1(\n current,\n current$$1,\n current.memoizedProps,\n newProps\n );\n else {\n if (\"string\" !== typeof newProps && null === current$$1.stateNode)\n throw ReactError(\n Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n type = requiredContext(rootInstanceStackCursor.current);\n renderExpirationTime$jscomp$0 = requiredContext(\n contextStackCursor$1.current\n );\n current = current$$1;\n if (!renderExpirationTime$jscomp$0.isInAParentText)\n throw ReactError(\n Error(\n \"Text strings must be rendered within a component.\"\n )\n );\n renderExpirationTime$jscomp$0 = allocateTag();\n ReactNativePrivateInterface.UIManager.createView(\n renderExpirationTime$jscomp$0,\n \"RCTRawText\",\n type,\n { text: newProps }\n );\n instanceCache.set(renderExpirationTime$jscomp$0, current$$1);\n current.stateNode = renderExpirationTime$jscomp$0;\n }\n break;\n case 11:\n break;\n case 13:\n pop(suspenseStackCursor, current$$1);\n newProps = current$$1.memoizedState;\n if (0 !== (current$$1.effectTag & 64)) {\n current$$1.expirationTime = renderExpirationTime$jscomp$0;\n break a;\n }\n newProps = null !== newProps;\n renderExpirationTime$jscomp$0 = !1;\n null !== current &&\n ((type = current.memoizedState),\n (renderExpirationTime$jscomp$0 = null !== type),\n newProps ||\n null === type ||\n ((type = current.child.sibling),\n null !== type &&\n ((_instance6 = current$$1.firstEffect),\n null !== _instance6\n ? ((current$$1.firstEffect = type),\n (type.nextEffect = _instance6))\n : ((current$$1.firstEffect = current$$1.lastEffect = type),\n (type.nextEffect = null)),\n (type.effectTag = 8))));\n if (\n newProps &&\n !renderExpirationTime$jscomp$0 &&\n 0 !== (current$$1.mode & 2)\n )\n if (\n (null === current &&\n !0 !== current$$1.memoizedProps.unstable_avoidThisFallback) ||\n 0 !==\n (suspenseStackCursor.current & InvisibleParentSuspenseContext)\n )\n workInProgressRootExitStatus === RootIncomplete &&\n (workInProgressRootExitStatus = RootSuspended);\n else if (\n workInProgressRootExitStatus === RootIncomplete ||\n workInProgressRootExitStatus === RootSuspended\n )\n workInProgressRootExitStatus = RootSuspendedWithDelay;\n if (newProps || renderExpirationTime$jscomp$0)\n current$$1.effectTag |= 4;\n break;\n case 7:\n break;\n case 8:\n break;\n case 12:\n break;\n case 4:\n popHostContainer(current$$1);\n updateHostContainer(current$$1);\n break;\n case 10:\n popProvider(current$$1);\n break;\n case 9:\n break;\n case 14:\n break;\n case 17:\n isContextProvider(current$$1.type) && popContext(current$$1);\n break;\n case 18:\n break;\n case 19:\n pop(suspenseStackCursor, current$$1);\n newProps = current$$1.memoizedState;\n if (null === newProps) break;\n type = 0 !== (current$$1.effectTag & 64);\n _instance6 = newProps.rendering;\n if (null === _instance6)\n if (type) cutOffTailIfNeeded(newProps, !1);\n else {\n if (\n workInProgressRootExitStatus !== RootIncomplete ||\n (null !== current && 0 !== (current.effectTag & 64))\n )\n for (current = current$$1.child; null !== current; ) {\n _instance6 = findFirstSuspended(current);\n if (null !== _instance6) {\n current$$1.effectTag |= 64;\n cutOffTailIfNeeded(newProps, !1);\n newProps = _instance6.updateQueue;\n null !== newProps &&\n ((current$$1.updateQueue = newProps),\n (current$$1.effectTag |= 4));\n current$$1.firstEffect = current$$1.lastEffect = null;\n newProps = renderExpirationTime$jscomp$0;\n for (current = current$$1.child; null !== current; )\n (renderExpirationTime$jscomp$0 = current),\n (type = newProps),\n (renderExpirationTime$jscomp$0.effectTag &= 2),\n (renderExpirationTime$jscomp$0.nextEffect = null),\n (renderExpirationTime$jscomp$0.firstEffect = null),\n (renderExpirationTime$jscomp$0.lastEffect = null),\n (_instance6 =\n renderExpirationTime$jscomp$0.alternate),\n null === _instance6\n ? ((renderExpirationTime$jscomp$0.childExpirationTime = 0),\n (renderExpirationTime$jscomp$0.expirationTime = type),\n (renderExpirationTime$jscomp$0.child = null),\n (renderExpirationTime$jscomp$0.memoizedProps = null),\n (renderExpirationTime$jscomp$0.memoizedState = null),\n (renderExpirationTime$jscomp$0.updateQueue = null),\n (renderExpirationTime$jscomp$0.dependencies = null))\n : ((renderExpirationTime$jscomp$0.childExpirationTime =\n _instance6.childExpirationTime),\n (renderExpirationTime$jscomp$0.expirationTime =\n _instance6.expirationTime),\n (renderExpirationTime$jscomp$0.child =\n _instance6.child),\n (renderExpirationTime$jscomp$0.memoizedProps =\n _instance6.memoizedProps),\n (renderExpirationTime$jscomp$0.memoizedState =\n _instance6.memoizedState),\n (renderExpirationTime$jscomp$0.updateQueue =\n _instance6.updateQueue),\n (type = _instance6.dependencies),\n (renderExpirationTime$jscomp$0.dependencies =\n null === type\n ? null\n : {\n expirationTime: type.expirationTime,\n firstContext: type.firstContext,\n responders: type.responders\n })),\n (current = current.sibling);\n push(\n suspenseStackCursor,\n (suspenseStackCursor.current &\n SubtreeSuspenseContextMask) |\n ForceSuspenseFallback,\n current$$1\n );\n current$$1 = current$$1.child;\n break a;\n }\n current = current.sibling;\n }\n }\n else {\n if (!type)\n if (\n ((current = findFirstSuspended(_instance6)), null !== current)\n ) {\n if (\n ((current$$1.effectTag |= 64),\n (type = !0),\n cutOffTailIfNeeded(newProps, !0),\n null === newProps.tail && \"hidden\" === newProps.tailMode)\n ) {\n current = current.updateQueue;\n null !== current &&\n ((current$$1.updateQueue = current),\n (current$$1.effectTag |= 4));\n current$$1 = current$$1.lastEffect = newProps.lastEffect;\n null !== current$$1 && (current$$1.nextEffect = null);\n break;\n }\n } else\n now() > newProps.tailExpiration &&\n 1 < renderExpirationTime$jscomp$0 &&\n ((current$$1.effectTag |= 64),\n (type = !0),\n cutOffTailIfNeeded(newProps, !1),\n (current$$1.expirationTime = current$$1.childExpirationTime =\n renderExpirationTime$jscomp$0 - 1));\n newProps.isBackwards\n ? ((_instance6.sibling = current$$1.child),\n (current$$1.child = _instance6))\n : ((current = newProps.last),\n null !== current\n ? (current.sibling = _instance6)\n : (current$$1.child = _instance6),\n (newProps.last = _instance6));\n }\n if (null !== newProps.tail) {\n 0 === newProps.tailExpiration &&\n (newProps.tailExpiration = now() + 500);\n current = newProps.tail;\n newProps.rendering = current;\n newProps.tail = current.sibling;\n newProps.lastEffect = current$$1.lastEffect;\n current.sibling = null;\n newProps = suspenseStackCursor.current;\n newProps = type\n ? (newProps & SubtreeSuspenseContextMask) |\n ForceSuspenseFallback\n : newProps & SubtreeSuspenseContextMask;\n push(suspenseStackCursor, newProps, current$$1);\n current$$1 = current;\n break a;\n }\n break;\n case 20:\n break;\n default:\n throw ReactError(\n Error(\n \"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n current$$1 = null;\n }\n newProps = workInProgress;\n if (1 === renderExpirationTime || 1 !== newProps.childExpirationTime) {\n current = 0;\n for (\n renderExpirationTime$jscomp$0 = newProps.child;\n null !== renderExpirationTime$jscomp$0;\n\n )\n (type = renderExpirationTime$jscomp$0.expirationTime),\n (_instance6 = renderExpirationTime$jscomp$0.childExpirationTime),\n type > current && (current = type),\n _instance6 > current && (current = _instance6),\n (renderExpirationTime$jscomp$0 =\n renderExpirationTime$jscomp$0.sibling);\n newProps.childExpirationTime = current;\n }\n if (null !== current$$1) return current$$1;\n null !== unitOfWork &&\n 0 === (unitOfWork.effectTag & 1024) &&\n (null === unitOfWork.firstEffect &&\n (unitOfWork.firstEffect = workInProgress.firstEffect),\n null !== workInProgress.lastEffect &&\n (null !== unitOfWork.lastEffect &&\n (unitOfWork.lastEffect.nextEffect = workInProgress.firstEffect),\n (unitOfWork.lastEffect = workInProgress.lastEffect)),\n 1 < workInProgress.effectTag &&\n (null !== unitOfWork.lastEffect\n ? (unitOfWork.lastEffect.nextEffect = workInProgress)\n : (unitOfWork.firstEffect = workInProgress),\n (unitOfWork.lastEffect = workInProgress)));\n } else {\n current$$1 = unwindWork(workInProgress, renderExpirationTime);\n if (null !== current$$1)\n return (current$$1.effectTag &= 1023), current$$1;\n null !== unitOfWork &&\n ((unitOfWork.firstEffect = unitOfWork.lastEffect = null),\n (unitOfWork.effectTag |= 1024));\n }\n current$$1 = workInProgress.sibling;\n if (null !== current$$1) return current$$1;\n workInProgress = unitOfWork;\n } while (null !== workInProgress);\n workInProgressRootExitStatus === RootIncomplete &&\n (workInProgressRootExitStatus = RootCompleted);\n return null;\n}\nfunction commitRoot(root) {\n var renderPriorityLevel = getCurrentPriorityLevel();\n runWithPriority(99, commitRootImpl.bind(null, root, renderPriorityLevel));\n null !== rootWithPendingPassiveEffects &&\n scheduleCallback(97, function() {\n flushPassiveEffects();\n return null;\n });\n return null;\n}\nfunction commitRootImpl(root, renderPriorityLevel) {\n flushPassiveEffects();\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw ReactError(Error(\"Should not already be working.\"));\n var finishedWork = root.finishedWork,\n expirationTime = root.finishedExpirationTime;\n if (null === finishedWork) return null;\n root.finishedWork = null;\n root.finishedExpirationTime = 0;\n if (finishedWork === root.current)\n throw ReactError(\n Error(\n \"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n root.callbackNode = null;\n root.callbackExpirationTime = 0;\n var updateExpirationTimeBeforeCommit = finishedWork.expirationTime,\n childExpirationTimeBeforeCommit = finishedWork.childExpirationTime;\n updateExpirationTimeBeforeCommit =\n childExpirationTimeBeforeCommit > updateExpirationTimeBeforeCommit\n ? childExpirationTimeBeforeCommit\n : updateExpirationTimeBeforeCommit;\n root.firstPendingTime = updateExpirationTimeBeforeCommit;\n updateExpirationTimeBeforeCommit < root.lastPendingTime &&\n (root.lastPendingTime = updateExpirationTimeBeforeCommit);\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null), (renderExpirationTime = 0));\n 1 < finishedWork.effectTag\n ? null !== finishedWork.lastEffect\n ? ((finishedWork.lastEffect.nextEffect = finishedWork),\n (updateExpirationTimeBeforeCommit = finishedWork.firstEffect))\n : (updateExpirationTimeBeforeCommit = finishedWork)\n : (updateExpirationTimeBeforeCommit = finishedWork.firstEffect);\n if (null !== updateExpirationTimeBeforeCommit) {\n childExpirationTimeBeforeCommit = executionContext;\n executionContext |= CommitContext;\n ReactCurrentOwner$2.current = null;\n nextEffect = updateExpirationTimeBeforeCommit;\n do\n try {\n for (; null !== nextEffect; ) {\n if (0 !== (nextEffect.effectTag & 256)) {\n var current$$1 = nextEffect.alternate,\n finishedWork$jscomp$0 = nextEffect;\n switch (finishedWork$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectList(\n UnmountSnapshot,\n NoEffect$1,\n finishedWork$jscomp$0\n );\n break;\n case 1:\n if (\n finishedWork$jscomp$0.effectTag & 256 &&\n null !== current$$1\n ) {\n var prevProps = current$$1.memoizedProps,\n prevState = current$$1.memoizedState,\n instance = finishedWork$jscomp$0.stateNode,\n snapshot = instance.getSnapshotBeforeUpdate(\n finishedWork$jscomp$0.elementType ===\n finishedWork$jscomp$0.type\n ? prevProps\n : resolveDefaultProps(\n finishedWork$jscomp$0.type,\n prevProps\n ),\n prevState\n );\n instance.__reactInternalSnapshotBeforeUpdate = snapshot;\n }\n break;\n case 3:\n case 5:\n case 6:\n case 4:\n case 17:\n break;\n default:\n throw ReactError(\n Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n }\n nextEffect = nextEffect.nextEffect;\n }\n } catch (error) {\n if (null === nextEffect)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(nextEffect, error);\n nextEffect = nextEffect.nextEffect;\n }\n while (null !== nextEffect);\n nextEffect = updateExpirationTimeBeforeCommit;\n do\n try {\n for (current$$1 = renderPriorityLevel; null !== nextEffect; ) {\n var effectTag = nextEffect.effectTag;\n if (effectTag & 128) {\n var current$$1$jscomp$0 = nextEffect.alternate;\n if (null !== current$$1$jscomp$0) {\n var currentRef = current$$1$jscomp$0.ref;\n null !== currentRef &&\n (\"function\" === typeof currentRef\n ? currentRef(null)\n : (currentRef.current = null));\n }\n }\n switch (effectTag & 14) {\n case 2:\n commitPlacement(nextEffect);\n nextEffect.effectTag &= -3;\n break;\n case 6:\n commitPlacement(nextEffect);\n nextEffect.effectTag &= -3;\n commitWork(nextEffect.alternate, nextEffect);\n break;\n case 4:\n commitWork(nextEffect.alternate, nextEffect);\n break;\n case 8:\n (prevProps = nextEffect),\n unmountHostComponents(prevProps, current$$1),\n detachFiber(prevProps);\n }\n nextEffect = nextEffect.nextEffect;\n }\n } catch (error) {\n if (null === nextEffect)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(nextEffect, error);\n nextEffect = nextEffect.nextEffect;\n }\n while (null !== nextEffect);\n root.current = finishedWork;\n nextEffect = updateExpirationTimeBeforeCommit;\n do\n try {\n for (effectTag = expirationTime; null !== nextEffect; ) {\n var effectTag$jscomp$0 = nextEffect.effectTag;\n if (effectTag$jscomp$0 & 36) {\n var current$$1$jscomp$1 = nextEffect.alternate;\n current$$1$jscomp$0 = nextEffect;\n currentRef = effectTag;\n switch (current$$1$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectList(\n UnmountLayout,\n MountLayout,\n current$$1$jscomp$0\n );\n break;\n case 1:\n var instance$jscomp$0 = current$$1$jscomp$0.stateNode;\n if (current$$1$jscomp$0.effectTag & 4)\n if (null === current$$1$jscomp$1)\n instance$jscomp$0.componentDidMount();\n else {\n var prevProps$jscomp$0 =\n current$$1$jscomp$0.elementType ===\n current$$1$jscomp$0.type\n ? current$$1$jscomp$1.memoizedProps\n : resolveDefaultProps(\n current$$1$jscomp$0.type,\n current$$1$jscomp$1.memoizedProps\n );\n instance$jscomp$0.componentDidUpdate(\n prevProps$jscomp$0,\n current$$1$jscomp$1.memoizedState,\n instance$jscomp$0.__reactInternalSnapshotBeforeUpdate\n );\n }\n var updateQueue = current$$1$jscomp$0.updateQueue;\n null !== updateQueue &&\n commitUpdateQueue(\n current$$1$jscomp$0,\n updateQueue,\n instance$jscomp$0,\n currentRef\n );\n break;\n case 3:\n var _updateQueue = current$$1$jscomp$0.updateQueue;\n if (null !== _updateQueue) {\n current$$1 = null;\n if (null !== current$$1$jscomp$0.child)\n switch (current$$1$jscomp$0.child.tag) {\n case 5:\n current$$1 = current$$1$jscomp$0.child.stateNode;\n break;\n case 1:\n current$$1 = current$$1$jscomp$0.child.stateNode;\n }\n commitUpdateQueue(\n current$$1$jscomp$0,\n _updateQueue,\n current$$1,\n currentRef\n );\n }\n break;\n case 5:\n break;\n case 6:\n break;\n case 4:\n break;\n case 12:\n break;\n case 13:\n case 19:\n case 17:\n case 20:\n break;\n default:\n throw ReactError(\n Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n }\n if (effectTag$jscomp$0 & 128) {\n var ref = nextEffect.ref;\n if (null !== ref) {\n var instance$jscomp$1 = nextEffect.stateNode;\n switch (nextEffect.tag) {\n case 5:\n var instanceToUse = instance$jscomp$1;\n break;\n default:\n instanceToUse = instance$jscomp$1;\n }\n \"function\" === typeof ref\n ? ref(instanceToUse)\n : (ref.current = instanceToUse);\n }\n }\n effectTag$jscomp$0 & 512 && (rootDoesHavePassiveEffects = !0);\n nextEffect = nextEffect.nextEffect;\n }\n } catch (error) {\n if (null === nextEffect)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(nextEffect, error);\n nextEffect = nextEffect.nextEffect;\n }\n while (null !== nextEffect);\n nextEffect = null;\n requestPaint();\n executionContext = childExpirationTimeBeforeCommit;\n } else root.current = finishedWork;\n if (rootDoesHavePassiveEffects)\n (rootDoesHavePassiveEffects = !1),\n (rootWithPendingPassiveEffects = root),\n (pendingPassiveEffectsExpirationTime = expirationTime),\n (pendingPassiveEffectsRenderPriority = renderPriorityLevel);\n else\n for (nextEffect = updateExpirationTimeBeforeCommit; null !== nextEffect; )\n (renderPriorityLevel = nextEffect.nextEffect),\n (nextEffect.nextEffect = null),\n (nextEffect = renderPriorityLevel);\n renderPriorityLevel = root.firstPendingTime;\n 0 !== renderPriorityLevel\n ? ((effectTag$jscomp$0 = requestCurrentTime()),\n (effectTag$jscomp$0 = inferPriorityFromExpirationTime(\n effectTag$jscomp$0,\n renderPriorityLevel\n )),\n scheduleCallbackForRoot(root, effectTag$jscomp$0, renderPriorityLevel))\n : (legacyErrorBoundariesThatAlreadyFailed = null);\n \"function\" === typeof onCommitFiberRoot &&\n onCommitFiberRoot(finishedWork.stateNode, expirationTime);\n 1073741823 === renderPriorityLevel\n ? root === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n : (nestedUpdateCount = 0);\n if (hasUncaughtError)\n throw ((hasUncaughtError = !1),\n (root = firstUncaughtError),\n (firstUncaughtError = null),\n root);\n if ((executionContext & LegacyUnbatchedContext) !== NoContext) return null;\n flushSyncCallbackQueue();\n return null;\n}\nfunction flushPassiveEffects() {\n if (null === rootWithPendingPassiveEffects) return !1;\n var root = rootWithPendingPassiveEffects,\n expirationTime = pendingPassiveEffectsExpirationTime,\n renderPriorityLevel = pendingPassiveEffectsRenderPriority;\n rootWithPendingPassiveEffects = null;\n pendingPassiveEffectsExpirationTime = 0;\n pendingPassiveEffectsRenderPriority = 90;\n return runWithPriority(\n 97 < renderPriorityLevel ? 97 : renderPriorityLevel,\n flushPassiveEffectsImpl.bind(null, root, expirationTime)\n );\n}\nfunction flushPassiveEffectsImpl(root) {\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw ReactError(\n Error(\"Cannot flush passive effects while already rendering.\")\n );\n var prevExecutionContext = executionContext;\n executionContext |= CommitContext;\n for (root = root.current.firstEffect; null !== root; ) {\n try {\n var finishedWork = root;\n if (0 !== (finishedWork.effectTag & 512))\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectList(UnmountPassive, NoEffect$1, finishedWork),\n commitHookEffectList(NoEffect$1, MountPassive, finishedWork);\n }\n } catch (error) {\n if (null === root)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(root, error);\n }\n finishedWork = root.nextEffect;\n root.nextEffect = null;\n root = finishedWork;\n }\n executionContext = prevExecutionContext;\n flushSyncCallbackQueue();\n return !0;\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber, sourceFiber, 1073741823);\n enqueueUpdate(rootFiber, sourceFiber);\n rootFiber = markUpdateTimeFromFiberToRoot(rootFiber, 1073741823);\n null !== rootFiber && scheduleCallbackForRoot(rootFiber, 99, 1073741823);\n}\nfunction captureCommitPhaseError(sourceFiber, error) {\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else\n for (var fiber = sourceFiber.return; null !== fiber; ) {\n if (3 === fiber.tag) {\n captureCommitPhaseErrorOnRoot(fiber, sourceFiber, error);\n break;\n } else if (1 === fiber.tag) {\n var instance = fiber.stateNode;\n if (\n \"function\" === typeof fiber.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createClassErrorUpdate(fiber, sourceFiber, 1073741823);\n enqueueUpdate(fiber, sourceFiber);\n fiber = markUpdateTimeFromFiberToRoot(fiber, 1073741823);\n null !== fiber && scheduleCallbackForRoot(fiber, 99, 1073741823);\n break;\n }\n }\n fiber = fiber.return;\n }\n}\nfunction pingSuspendedRoot(root, thenable, suspendedTime) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(thenable);\n workInProgressRoot === root && renderExpirationTime === suspendedTime\n ? workInProgressRootExitStatus === RootSuspendedWithDelay ||\n (workInProgressRootExitStatus === RootSuspended &&\n 1073741823 === workInProgressRootLatestProcessedExpirationTime &&\n now() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS)\n ? prepareFreshStack(root, renderExpirationTime)\n : (workInProgressRootHasPendingPing = !0)\n : root.lastPendingTime < suspendedTime ||\n ((thenable = root.pingTime),\n (0 !== thenable && thenable < suspendedTime) ||\n ((root.pingTime = suspendedTime),\n root.finishedExpirationTime === suspendedTime &&\n ((root.finishedExpirationTime = 0), (root.finishedWork = null)),\n (thenable = requestCurrentTime()),\n (thenable = inferPriorityFromExpirationTime(thenable, suspendedTime)),\n scheduleCallbackForRoot(root, thenable, suspendedTime)));\n}\nfunction resolveRetryThenable(boundaryFiber, thenable) {\n var retryCache = boundaryFiber.stateNode;\n null !== retryCache && retryCache.delete(thenable);\n retryCache = requestCurrentTime();\n thenable = computeExpirationForFiber(retryCache, boundaryFiber, null);\n retryCache = inferPriorityFromExpirationTime(retryCache, thenable);\n boundaryFiber = markUpdateTimeFromFiberToRoot(boundaryFiber, thenable);\n null !== boundaryFiber &&\n scheduleCallbackForRoot(boundaryFiber, retryCache, thenable);\n}\nvar beginWork$$1 = void 0;\nbeginWork$$1 = function(current$$1, workInProgress, renderExpirationTime) {\n var updateExpirationTime = workInProgress.expirationTime;\n if (null !== current$$1)\n if (\n current$$1.memoizedProps !== workInProgress.pendingProps ||\n didPerformWorkStackCursor.current\n )\n didReceiveUpdate = !0;\n else {\n if (updateExpirationTime < renderExpirationTime) {\n didReceiveUpdate = !1;\n switch (workInProgress.tag) {\n case 3:\n pushHostRootContext(workInProgress);\n break;\n case 5:\n pushHostContext(workInProgress);\n break;\n case 1:\n isContextProvider(workInProgress.type) &&\n pushContextProvider(workInProgress);\n break;\n case 4:\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n break;\n case 10:\n pushProvider(workInProgress, workInProgress.memoizedProps.value);\n break;\n case 13:\n if (null !== workInProgress.memoizedState) {\n updateExpirationTime = workInProgress.child.childExpirationTime;\n if (\n 0 !== updateExpirationTime &&\n updateExpirationTime >= renderExpirationTime\n )\n return updateSuspenseComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n push(\n suspenseStackCursor,\n suspenseStackCursor.current & SubtreeSuspenseContextMask,\n workInProgress\n );\n workInProgress = bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n return null !== workInProgress ? workInProgress.sibling : null;\n }\n push(\n suspenseStackCursor,\n suspenseStackCursor.current & SubtreeSuspenseContextMask,\n workInProgress\n );\n break;\n case 19:\n updateExpirationTime =\n workInProgress.childExpirationTime >= renderExpirationTime;\n if (0 !== (current$$1.effectTag & 64)) {\n if (updateExpirationTime)\n return updateSuspenseListComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n workInProgress.effectTag |= 64;\n }\n var renderState = workInProgress.memoizedState;\n null !== renderState &&\n ((renderState.rendering = null), (renderState.tail = null));\n push(\n suspenseStackCursor,\n suspenseStackCursor.current,\n workInProgress\n );\n if (!updateExpirationTime) return null;\n }\n return bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n }\n }\n else didReceiveUpdate = !1;\n workInProgress.expirationTime = 0;\n switch (workInProgress.tag) {\n case 2:\n updateExpirationTime = workInProgress.type;\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2));\n current$$1 = workInProgress.pendingProps;\n renderState = getMaskedContext(\n workInProgress,\n contextStackCursor.current\n );\n prepareToReadContext(workInProgress, renderExpirationTime);\n renderState = renderWithHooks(\n null,\n workInProgress,\n updateExpirationTime,\n current$$1,\n renderState,\n renderExpirationTime\n );\n workInProgress.effectTag |= 1;\n if (\n \"object\" === typeof renderState &&\n null !== renderState &&\n \"function\" === typeof renderState.render &&\n void 0 === renderState.$$typeof\n ) {\n workInProgress.tag = 1;\n resetHooks();\n if (isContextProvider(updateExpirationTime)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n workInProgress.memoizedState =\n null !== renderState.state && void 0 !== renderState.state\n ? renderState.state\n : null;\n var getDerivedStateFromProps =\n updateExpirationTime.getDerivedStateFromProps;\n \"function\" === typeof getDerivedStateFromProps &&\n applyDerivedStateFromProps(\n workInProgress,\n updateExpirationTime,\n getDerivedStateFromProps,\n current$$1\n );\n renderState.updater = classComponentUpdater;\n workInProgress.stateNode = renderState;\n renderState._reactInternalFiber = workInProgress;\n mountClassInstance(\n workInProgress,\n updateExpirationTime,\n current$$1,\n renderExpirationTime\n );\n workInProgress = finishClassComponent(\n null,\n workInProgress,\n updateExpirationTime,\n !0,\n hasContext,\n renderExpirationTime\n );\n } else\n (workInProgress.tag = 0),\n reconcileChildren(\n null,\n workInProgress,\n renderState,\n renderExpirationTime\n ),\n (workInProgress = workInProgress.child);\n return workInProgress;\n case 16:\n renderState = workInProgress.elementType;\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2));\n current$$1 = workInProgress.pendingProps;\n renderState = readLazyComponentType(renderState);\n workInProgress.type = renderState;\n hasContext = workInProgress.tag = resolveLazyComponentTag(renderState);\n current$$1 = resolveDefaultProps(renderState, current$$1);\n switch (hasContext) {\n case 0:\n workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n renderState,\n current$$1,\n renderExpirationTime\n );\n break;\n case 1:\n workInProgress = updateClassComponent(\n null,\n workInProgress,\n renderState,\n current$$1,\n renderExpirationTime\n );\n break;\n case 11:\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n renderState,\n current$$1,\n renderExpirationTime\n );\n break;\n case 14:\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n renderState,\n resolveDefaultProps(renderState.type, current$$1),\n updateExpirationTime,\n renderExpirationTime\n );\n break;\n default:\n throw ReactError(\n Error(\n \"Element type is invalid. Received a promise that resolves to: \" +\n renderState +\n \". Lazy element type must resolve to a class or function.\"\n )\n );\n }\n return workInProgress;\n case 0:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n updateFunctionComponent(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n )\n );\n case 1:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n updateClassComponent(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n )\n );\n case 3:\n pushHostRootContext(workInProgress);\n updateExpirationTime = workInProgress.updateQueue;\n if (null === updateExpirationTime)\n throw ReactError(\n Error(\n \"If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n renderState = workInProgress.memoizedState;\n renderState = null !== renderState ? renderState.element : null;\n processUpdateQueue(\n workInProgress,\n updateExpirationTime,\n workInProgress.pendingProps,\n null,\n renderExpirationTime\n );\n updateExpirationTime = workInProgress.memoizedState.element;\n updateExpirationTime === renderState\n ? (workInProgress = bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n ))\n : (reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n (workInProgress = workInProgress.child));\n return workInProgress;\n case 5:\n return (\n pushHostContext(workInProgress),\n null === current$$1 && tryToClaimNextHydratableInstance(workInProgress),\n (updateExpirationTime = workInProgress.pendingProps.children),\n markRef(current$$1, workInProgress),\n reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 6:\n return (\n null === current$$1 && tryToClaimNextHydratableInstance(workInProgress),\n null\n );\n case 13:\n return updateSuspenseComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (updateExpirationTime = workInProgress.pendingProps),\n null === current$$1\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n updateExpirationTime,\n renderExpirationTime\n ))\n : reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 11:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n updateForwardRef(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n )\n );\n case 7:\n return (\n reconcileChildren(\n current$$1,\n workInProgress,\n workInProgress.pendingProps,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current$$1,\n workInProgress,\n workInProgress.pendingProps.children,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current$$1,\n workInProgress,\n workInProgress.pendingProps.children,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 10:\n a: {\n updateExpirationTime = workInProgress.type._context;\n renderState = workInProgress.pendingProps;\n getDerivedStateFromProps = workInProgress.memoizedProps;\n hasContext = renderState.value;\n pushProvider(workInProgress, hasContext);\n if (null !== getDerivedStateFromProps) {\n var oldValue = getDerivedStateFromProps.value;\n hasContext = is(oldValue, hasContext)\n ? 0\n : (\"function\" === typeof updateExpirationTime._calculateChangedBits\n ? updateExpirationTime._calculateChangedBits(\n oldValue,\n hasContext\n )\n : 1073741823) | 0;\n if (0 === hasContext) {\n if (\n getDerivedStateFromProps.children === renderState.children &&\n !didPerformWorkStackCursor.current\n ) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n break a;\n }\n } else\n for (\n oldValue = workInProgress.child,\n null !== oldValue && (oldValue.return = workInProgress);\n null !== oldValue;\n\n ) {\n var list = oldValue.dependencies;\n if (null !== list) {\n getDerivedStateFromProps = oldValue.child;\n for (\n var dependency = list.firstContext;\n null !== dependency;\n\n ) {\n if (\n dependency.context === updateExpirationTime &&\n 0 !== (dependency.observedBits & hasContext)\n ) {\n 1 === oldValue.tag &&\n ((dependency = createUpdate(renderExpirationTime, null)),\n (dependency.tag = 2),\n enqueueUpdate(oldValue, dependency));\n oldValue.expirationTime < renderExpirationTime &&\n (oldValue.expirationTime = renderExpirationTime);\n dependency = oldValue.alternate;\n null !== dependency &&\n dependency.expirationTime < renderExpirationTime &&\n (dependency.expirationTime = renderExpirationTime);\n scheduleWorkOnParentPath(\n oldValue.return,\n renderExpirationTime\n );\n list.expirationTime < renderExpirationTime &&\n (list.expirationTime = renderExpirationTime);\n break;\n }\n dependency = dependency.next;\n }\n } else\n getDerivedStateFromProps =\n 10 === oldValue.tag\n ? oldValue.type === workInProgress.type\n ? null\n : oldValue.child\n : oldValue.child;\n if (null !== getDerivedStateFromProps)\n getDerivedStateFromProps.return = oldValue;\n else\n for (\n getDerivedStateFromProps = oldValue;\n null !== getDerivedStateFromProps;\n\n ) {\n if (getDerivedStateFromProps === workInProgress) {\n getDerivedStateFromProps = null;\n break;\n }\n oldValue = getDerivedStateFromProps.sibling;\n if (null !== oldValue) {\n oldValue.return = getDerivedStateFromProps.return;\n getDerivedStateFromProps = oldValue;\n break;\n }\n getDerivedStateFromProps = getDerivedStateFromProps.return;\n }\n oldValue = getDerivedStateFromProps;\n }\n }\n reconcileChildren(\n current$$1,\n workInProgress,\n renderState.children,\n renderExpirationTime\n );\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 9:\n return (\n (renderState = workInProgress.type),\n (hasContext = workInProgress.pendingProps),\n (updateExpirationTime = hasContext.children),\n prepareToReadContext(workInProgress, renderExpirationTime),\n (renderState = readContext(\n renderState,\n hasContext.unstable_observedBits\n )),\n (updateExpirationTime = updateExpirationTime(renderState)),\n (workInProgress.effectTag |= 1),\n reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 14:\n return (\n (renderState = workInProgress.type),\n (hasContext = resolveDefaultProps(\n renderState,\n workInProgress.pendingProps\n )),\n (hasContext = resolveDefaultProps(renderState.type, hasContext)),\n updateMemoComponent(\n current$$1,\n workInProgress,\n renderState,\n hasContext,\n updateExpirationTime,\n renderExpirationTime\n )\n );\n case 15:\n return updateSimpleMemoComponent(\n current$$1,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n updateExpirationTime,\n renderExpirationTime\n );\n case 17:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2)),\n (workInProgress.tag = 1),\n isContextProvider(updateExpirationTime)\n ? ((current$$1 = !0), pushContextProvider(workInProgress))\n : (current$$1 = !1),\n prepareToReadContext(workInProgress, renderExpirationTime),\n constructClassInstance(\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n ),\n mountClassInstance(\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n ),\n finishClassComponent(\n null,\n workInProgress,\n updateExpirationTime,\n !0,\n current$$1,\n renderExpirationTime\n )\n );\n case 19:\n return updateSuspenseListComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n }\n throw ReactError(\n Error(\n \"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n};\nvar onCommitFiberRoot = null,\n onCommitFiberUnmount = null;\nfunction injectInternals(internals) {\n if (\"undefined\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;\n var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (hook.isDisabled || !hook.supportsFiber) return !0;\n try {\n var rendererID = hook.inject(internals);\n onCommitFiberRoot = function(root) {\n try {\n hook.onCommitFiberRoot(\n rendererID,\n root,\n void 0,\n 64 === (root.current.effectTag & 64)\n );\n } catch (err) {}\n };\n onCommitFiberUnmount = function(fiber) {\n try {\n hook.onCommitFiberUnmount(rendererID, fiber);\n } catch (err) {}\n };\n } catch (err) {}\n return !0;\n}\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = mode;\n this.effectTag = 0;\n this.lastEffect = this.firstEffect = this.nextEffect = null;\n this.childExpirationTime = this.expirationTime = 0;\n this.alternate = null;\n}\nfunction createFiber(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction resolveLazyComponentTag(Component) {\n if (\"function\" === typeof Component)\n return shouldConstruct(Component) ? 1 : 0;\n if (void 0 !== Component && null !== Component) {\n Component = Component.$$typeof;\n if (Component === REACT_FORWARD_REF_TYPE) return 11;\n if (Component === REACT_MEMO_TYPE) return 14;\n }\n return 2;\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiber(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.effectTag = 0),\n (workInProgress.nextEffect = null),\n (workInProgress.firstEffect = null),\n (workInProgress.lastEffect = null));\n workInProgress.childExpirationTime = current.childExpirationTime;\n workInProgress.expirationTime = current.expirationTime;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : {\n expirationTime: pendingProps.expirationTime,\n firstContext: pendingProps.firstContext,\n responders: pendingProps.responders\n };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n expirationTime\n) {\n var fiberTag = 2;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type) fiberTag = 5;\n else\n a: switch (type) {\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(\n pendingProps.children,\n mode,\n expirationTime,\n key\n );\n case REACT_CONCURRENT_MODE_TYPE:\n fiberTag = 8;\n mode |= 7;\n break;\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 1;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiber(12, pendingProps, key, mode | 8)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.type = REACT_PROFILER_TYPE),\n (type.expirationTime = expirationTime),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiber(13, pendingProps, key, mode)),\n (type.type = REACT_SUSPENSE_TYPE),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.expirationTime = expirationTime),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiber(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.expirationTime = expirationTime),\n type\n );\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_PROVIDER_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONTEXT_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n throw ReactError(\n Error(\n \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n (null == type ? type : typeof type) +\n \".\"\n )\n );\n }\n key = createFiber(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.expirationTime = expirationTime;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, expirationTime, key) {\n elements = createFiber(7, elements, key, mode);\n elements.expirationTime = expirationTime;\n return elements;\n}\nfunction createFiberFromText(content, mode, expirationTime) {\n content = createFiber(6, content, null, mode);\n content.expirationTime = expirationTime;\n return content;\n}\nfunction createFiberFromPortal(portal, mode, expirationTime) {\n mode = createFiber(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.expirationTime = expirationTime;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nfunction FiberRootNode(containerInfo, tag, hydrate) {\n this.tag = tag;\n this.current = null;\n this.containerInfo = containerInfo;\n this.pingCache = this.pendingChildren = null;\n this.finishedExpirationTime = 0;\n this.finishedWork = null;\n this.timeoutHandle = -1;\n this.pendingContext = this.context = null;\n this.hydrate = hydrate;\n this.callbackNode = this.firstBatch = null;\n this.pingTime = this.lastPendingTime = this.firstPendingTime = this.callbackExpirationTime = 0;\n}\nfunction findHostInstance(component) {\n var fiber = component._reactInternalFiber;\n if (void 0 === fiber) {\n if (\"function\" === typeof component.render)\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n throw ReactError(\n Error(\n \"Argument appears to not be a ReactComponent. Keys: \" +\n Object.keys(component)\n )\n );\n }\n component = findCurrentHostFiber(fiber);\n return null === component ? null : component.stateNode;\n}\nfunction updateContainer(element, container, parentComponent, callback) {\n var current$$1 = container.current,\n currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n current$$1 = computeExpirationForFiber(\n currentTime,\n current$$1,\n suspenseConfig\n );\n currentTime = container.current;\n a: if (parentComponent) {\n parentComponent = parentComponent._reactInternalFiber;\n b: {\n if (\n 2 !== isFiberMountedImpl(parentComponent) ||\n 1 !== parentComponent.tag\n )\n throw ReactError(\n Error(\n \"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n var parentContext = parentComponent;\n do {\n switch (parentContext.tag) {\n case 3:\n parentContext = parentContext.stateNode.context;\n break b;\n case 1:\n if (isContextProvider(parentContext.type)) {\n parentContext =\n parentContext.stateNode\n .__reactInternalMemoizedMergedChildContext;\n break b;\n }\n }\n parentContext = parentContext.return;\n } while (null !== parentContext);\n throw ReactError(\n Error(\n \"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n if (1 === parentComponent.tag) {\n var Component = parentComponent.type;\n if (isContextProvider(Component)) {\n parentComponent = processChildContext(\n parentComponent,\n Component,\n parentContext\n );\n break a;\n }\n }\n parentComponent = parentContext;\n } else parentComponent = emptyContextObject;\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n container = callback;\n suspenseConfig = createUpdate(current$$1, suspenseConfig);\n suspenseConfig.payload = { element: element };\n container = void 0 === container ? null : container;\n null !== container && (suspenseConfig.callback = container);\n enqueueUpdate(currentTime, suspenseConfig);\n scheduleUpdateOnFiber(currentTime, current$$1);\n return current$$1;\n}\nfunction createPortal(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nfunction _inherits(subClass, superClass) {\n if (\"function\" !== typeof superClass && null !== superClass)\n throw new TypeError(\n \"Super expression must either be null or a function, not \" +\n typeof superClass\n );\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n });\n superClass &&\n (Object.setPrototypeOf\n ? Object.setPrototypeOf(subClass, superClass)\n : (subClass.__proto__ = superClass));\n}\nvar getInspectorDataForViewTag = void 0;\ngetInspectorDataForViewTag = function() {\n throw ReactError(\n Error(\"getInspectorDataForViewTag() is not available in production\")\n );\n};\nfunction findNodeHandle(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (\"number\" === typeof componentOrHandle) return componentOrHandle;\n if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical._nativeTag;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical._nativeTag\n : componentOrHandle._nativeTag;\n}\nbatchedUpdatesImpl = function(fn, a) {\n var prevExecutionContext = executionContext;\n executionContext |= 1;\n try {\n return fn(a);\n } finally {\n (executionContext = prevExecutionContext),\n executionContext === NoContext && flushSyncCallbackQueue();\n }\n};\nflushDiscreteUpdatesImpl = function() {\n (executionContext & (1 | RenderContext | CommitContext)) === NoContext &&\n (flushPendingDiscreteUpdates(), flushPassiveEffects());\n};\nvar roots = new Map(),\n ReactNativeRenderer = {\n NativeComponent: (function(findNodeHandle, findHostInstance) {\n return (function(_React$Component) {\n function ReactNativeComponent() {\n if (!(this instanceof ReactNativeComponent))\n throw new TypeError(\"Cannot call a class as a function\");\n var call = _React$Component.apply(this, arguments);\n if (!this)\n throw new ReferenceError(\n \"this hasn't been initialised - super() hasn't been called\"\n );\n return !call ||\n (\"object\" !== typeof call && \"function\" !== typeof call)\n ? this\n : call;\n }\n _inherits(ReactNativeComponent, _React$Component);\n ReactNativeComponent.prototype.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(\n findNodeHandle(this)\n );\n };\n ReactNativeComponent.prototype.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(\n findNodeHandle(this)\n );\n };\n ReactNativeComponent.prototype.measure = function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measure(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measure(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n };\n ReactNativeComponent.prototype.measureInWindow = function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measureInWindow(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measureInWindow(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n };\n ReactNativeComponent.prototype.measureLayout = function(\n relativeToNativeNode,\n onSuccess,\n onFail\n ) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null == maybeInstance ||\n maybeInstance.canonical ||\n ((maybeInstance = void 0),\n \"number\" === typeof relativeToNativeNode\n ? (maybeInstance = relativeToNativeNode)\n : relativeToNativeNode._nativeTag &&\n (maybeInstance = relativeToNativeNode._nativeTag),\n null != maybeInstance &&\n ReactNativePrivateInterface.UIManager.measureLayout(\n findNodeHandle(this),\n maybeInstance,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n ));\n };\n ReactNativeComponent.prototype.setNativeProps = function(nativeProps) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n if (null != maybeInstance && !maybeInstance.canonical) {\n var nativeTag =\n maybeInstance._nativeTag || maybeInstance.canonical._nativeTag;\n maybeInstance =\n maybeInstance.viewConfig || maybeInstance.canonical.viewConfig;\n nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n maybeInstance.validAttributes\n );\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n nativeTag,\n maybeInstance.uiViewClassName,\n nativeProps\n );\n }\n };\n return ReactNativeComponent;\n })(React.Component);\n })(findNodeHandle, findHostInstance),\n findNodeHandle: findNodeHandle,\n dispatchCommand: function(handle, command, args) {\n null != handle._nativeTag &&\n ReactNativePrivateInterface.UIManager.dispatchViewManagerCommand(\n handle._nativeTag,\n command,\n args\n );\n },\n setNativeProps: function(handle, nativeProps) {\n null != handle._nativeTag &&\n ((nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n handle.viewConfig.validAttributes\n )),\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n handle._nativeTag,\n handle.viewConfig.uiViewClassName,\n nativeProps\n ));\n },\n render: function(element, containerTag, callback) {\n var root = roots.get(containerTag);\n if (!root) {\n root = new FiberRootNode(containerTag, 0, !1);\n var uninitializedFiber = createFiber(3, null, null, 0);\n root.current = uninitializedFiber;\n uninitializedFiber.stateNode = root;\n roots.set(containerTag, root);\n }\n updateContainer(element, root, null, callback);\n a: if (((element = root.current), element.child))\n switch (element.child.tag) {\n case 5:\n element = element.child.stateNode;\n break a;\n default:\n element = element.child.stateNode;\n }\n else element = null;\n return element;\n },\n unmountComponentAtNode: function(containerTag) {\n var root = roots.get(containerTag);\n root &&\n updateContainer(null, root, null, function() {\n roots.delete(containerTag);\n });\n },\n unmountComponentAtNodeAndRemoveContainer: function(containerTag) {\n ReactNativeRenderer.unmountComponentAtNode(containerTag);\n ReactNativePrivateInterface.UIManager.removeRootView(containerTag);\n },\n createPortal: function(children, containerTag) {\n return createPortal(\n children,\n containerTag,\n null,\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null\n );\n },\n unstable_batchedUpdates: batchedUpdates,\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {\n NativeMethodsMixin: (function(findNodeHandle, findHostInstance) {\n return {\n measure: function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measure(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measure(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n },\n measureInWindow: function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measureInWindow(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measureInWindow(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n },\n measureLayout: function(relativeToNativeNode, onSuccess, onFail) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null == maybeInstance ||\n maybeInstance.canonical ||\n ((maybeInstance = void 0),\n \"number\" === typeof relativeToNativeNode\n ? (maybeInstance = relativeToNativeNode)\n : relativeToNativeNode._nativeTag &&\n (maybeInstance = relativeToNativeNode._nativeTag),\n null != maybeInstance &&\n ReactNativePrivateInterface.UIManager.measureLayout(\n findNodeHandle(this),\n maybeInstance,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n ));\n },\n setNativeProps: function(nativeProps) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n if (null != maybeInstance && !maybeInstance.canonical) {\n var nativeTag =\n maybeInstance._nativeTag || maybeInstance.canonical._nativeTag;\n maybeInstance =\n maybeInstance.viewConfig || maybeInstance.canonical.viewConfig;\n nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n maybeInstance.validAttributes\n );\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n nativeTag,\n maybeInstance.uiViewClassName,\n nativeProps\n );\n }\n },\n focus: function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(\n findNodeHandle(this)\n );\n },\n blur: function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(\n findNodeHandle(this)\n );\n }\n };\n })(findNodeHandle, findHostInstance),\n computeComponentStackForErrorReporting: function(reactTag) {\n return (reactTag = getInstanceFromTag(reactTag))\n ? getStackByFiberInDevAndProd(reactTag)\n : \"\";\n }\n }\n };\n(function(devToolsConfig) {\n var findFiberByHostInstance = devToolsConfig.findFiberByHostInstance;\n return injectInternals(\n Object.assign({}, devToolsConfig, {\n overrideHookState: null,\n overrideProps: null,\n setSuspenseHandler: null,\n scheduleUpdate: null,\n currentDispatcherRef: ReactSharedInternals.ReactCurrentDispatcher,\n findHostInstanceByFiber: function(fiber) {\n fiber = findCurrentHostFiber(fiber);\n return null === fiber ? null : fiber.stateNode;\n },\n findFiberByHostInstance: function(instance) {\n return findFiberByHostInstance\n ? findFiberByHostInstance(instance)\n : null;\n },\n findHostInstancesForRefresh: null,\n scheduleRefresh: null,\n scheduleRoot: null,\n setRefreshHandler: null,\n getCurrentFiber: null\n })\n );\n})({\n findFiberByHostInstance: getInstanceFromTag,\n getInspectorDataForViewTag: getInspectorDataForViewTag,\n bundleType: 0,\n version: \"16.8.6\",\n rendererPackageName: \"react-native-renderer\"\n});\nvar ReactNativeRenderer$2 = { default: ReactNativeRenderer },\n ReactNativeRenderer$3 =\n (ReactNativeRenderer$2 && ReactNativeRenderer) || ReactNativeRenderer$2;\nmodule.exports = ReactNativeRenderer$3.default || ReactNativeRenderer$3;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport '../Core/InitializeCore';\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n/* globals window: true */\n\n/**\n * Sets up global variables typical in most JavaScript environments.\n *\n * 1. Global timers (via `setTimeout` etc).\n * 2. Global console object.\n * 3. Hooks for printing stack traces with source maps.\n *\n * Leaves enough room in the environment for implementing your own:\n *\n * 1. Require system.\n * 2. Bridged modules.\n *\n */\n'use strict';\n\nconst start = Date.now();\n\nrequire('./setUpGlobals');\nrequire('./setUpSystrace');\nrequire('./setUpErrorHandling');\nrequire('./polyfillPromise');\nrequire('./setUpRegeneratorRuntime');\nrequire('./setUpTimers');\nrequire('./setUpXHR');\nrequire('./setUpAlert');\nrequire('./setUpNavigator');\nrequire('./setUpBatchedBridge');\nrequire('./setUpSegmentFetcher');\nif (__DEV__) {\n require('./checkNativeVersion');\n require('./setUpDeveloperTools');\n}\n\nconst GlobalPerformanceLogger = require('../Utilities/GlobalPerformanceLogger');\n// We could just call GlobalPerformanceLogger.markPoint at the top of the file,\n// but then we'd be excluding the time it took to require the logger.\n// Instead, we just use Date.now and backdate the timestamp.\nGlobalPerformanceLogger.markPoint(\n 'initializeCore_start',\n GlobalPerformanceLogger.currentTimestamp() - (Date.now() - start),\n);\nGlobalPerformanceLogger.markPoint('initializeCore_end');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\n/**\n * Sets up global variables for React Native.\n * You can use this module directly, or just require InitializeCore.\n */\nif (global.GLOBAL === undefined) {\n global.GLOBAL = global;\n}\n\nif (global.window === undefined) {\n global.window = global;\n}\n\nif (global.self === undefined) {\n global.self = global;\n}\n\n// Set up process\nglobal.process = global.process || {};\nglobal.process.env = global.process.env || {};\nif (!global.process.env.NODE_ENV) {\n global.process.env.NODE_ENV = __DEV__ ? 'development' : 'production';\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\n/**\n * Set up Systrace profiling hooks if necessary.\n * You can use this module directly, or just require InitializeCore.\n */\nif (global.__RCTProfileIsProfiling) {\n const Systrace = require('../Performance/Systrace');\n Systrace.installReactHook();\n Systrace.setEnabled(true);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\n/**\n * Sets up the console and exception handling (redbox) for React Native.\n * You can use this module directly, or just require InitializeCore.\n */\nconst ExceptionsManager = require('./ExceptionsManager');\nExceptionsManager.installConsoleErrorReporter();\n\n// Set up error handler\nif (!global.__fbDisableExceptionsManager) {\n const handleError = (e, isFatal) => {\n try {\n ExceptionsManager.handleException(e, isFatal);\n } catch (ee) {\n console.log('Failed to print error: ', ee.message);\n throw e;\n }\n };\n\n const ErrorUtils = require('../vendor/core/ErrorUtils');\n ErrorUtils.setGlobalHandler(handleError);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ExtendedError} from './Devtools/parseErrorStack';\n\nclass SyntheticError extends Error {\n name: string = '';\n}\n\n/**\n * Handles the developer-visible aspect of errors and exceptions\n */\nlet exceptionID = 0;\nfunction reportException(e: ExtendedError, isFatal: boolean) {\n const NativeExceptionsManager = require('./NativeExceptionsManager').default;\n if (NativeExceptionsManager) {\n const parseErrorStack = require('./Devtools/parseErrorStack');\n const stack = parseErrorStack(e);\n const currentExceptionID = ++exceptionID;\n const originalMessage = e.message || '';\n let message = originalMessage;\n if (e.componentStack != null) {\n message += `\\n\\nThis error is located at:${e.componentStack}`;\n }\n const namePrefix = e.name == null || e.name === '' ? '' : `${e.name}: `;\n const isFromConsoleError = e.name === 'console.error';\n\n if (!message.startsWith(namePrefix)) {\n message = namePrefix + message;\n }\n\n // Errors created by `console.error` have already been printed.\n if (!isFromConsoleError) {\n if (console._errorOriginal) {\n console._errorOriginal(message);\n } else {\n console.error(message);\n }\n }\n\n message =\n e.jsEngine == null ? message : `${message}, js engine: ${e.jsEngine}`;\n NativeExceptionsManager.reportException({\n message,\n originalMessage: message === originalMessage ? null : originalMessage,\n name: e.name == null || e.name === '' ? null : e.name,\n componentStack:\n typeof e.componentStack === 'string' ? e.componentStack : null,\n stack,\n id: currentExceptionID,\n isFatal,\n extraData: {\n jsEngine: e.jsEngine,\n rawStack: e.stack,\n framesPopped: e.framesToPop,\n },\n });\n if (__DEV__) {\n if (e.preventSymbolication === true) {\n return;\n }\n const symbolicateStackTrace = require('./Devtools/symbolicateStackTrace');\n symbolicateStackTrace(stack)\n .then(prettyStack => {\n if (prettyStack) {\n const stackWithoutCollapsedFrames = prettyStack.filter(\n frame => !frame.collapse,\n );\n NativeExceptionsManager.updateExceptionMessage(\n message,\n stackWithoutCollapsedFrames,\n currentExceptionID,\n );\n } else {\n throw new Error('The stack is null');\n }\n })\n .catch(error => {\n console.log('Unable to symbolicate stack trace: ' + error.message);\n });\n }\n }\n}\n\ndeclare var console: typeof console & {\n _errorOriginal: typeof console.error,\n reportErrorsAsExceptions: boolean,\n};\n\n/**\n * Logs exceptions to the (native) console and displays them\n */\nfunction handleException(e: mixed, isFatal: boolean) {\n let error: Error;\n if (e instanceof Error) {\n error = e;\n } else {\n // Workaround for reporting errors caused by `throw 'some string'`\n // Unfortunately there is no way to figure out the stacktrace in this\n // case, so if you ended up here trying to trace an error, look for\n // `throw ''` somewhere in your codebase.\n error = new SyntheticError(e);\n }\n reportException(error, isFatal);\n}\n\nfunction reactConsoleErrorHandler() {\n if (!console.reportErrorsAsExceptions) {\n console._errorOriginal.apply(console, arguments);\n return;\n }\n\n if (arguments[0] && arguments[0].stack) {\n // reportException will console.error this with high enough fidelity.\n reportException(arguments[0], /* isFatal */ false);\n } else {\n console._errorOriginal.apply(console, arguments);\n const stringifySafe = require('../Utilities/stringifySafe');\n const str = Array.prototype.map.call(arguments, stringifySafe).join(', ');\n if (str.slice(0, 10) === '\"Warning: ') {\n // React warnings use console.error so that a stack trace is shown, but\n // we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in polyfills/console.js.)\n return;\n }\n const error: ExtendedError = new SyntheticError(str);\n error.name = 'console.error';\n error.framesToPop = (error.framesToPop || 0) + 1;\n reportException(error, /* isFatal */ false);\n }\n}\n\n/**\n * Shows a redbox with stacktrace for all console.error messages. Disable by\n * setting `console.reportErrorsAsExceptions = false;` in your app.\n */\nfunction installConsoleErrorReporter() {\n // Enable reportErrorsAsExceptions\n if (console._errorOriginal) {\n return; // already installed\n }\n // Flow doesn't like it when you set arbitrary values on a global object\n console._errorOriginal = console.error.bind(console);\n console.error = reactConsoleErrorHandler;\n if (console.reportErrorsAsExceptions === undefined) {\n // Individual apps can disable this\n // Flow doesn't like it when you set arbitrary values on a global object\n console.reportErrorsAsExceptions = true;\n }\n}\n\nmodule.exports = {handleException, installConsoleErrorReporter, SyntheticError};\n","var getPrototypeOf = require(\"./getPrototypeOf\");\n\nvar setPrototypeOf = require(\"./setPrototypeOf\");\n\nvar isNativeFunction = require(\"./isNativeFunction\");\n\nvar construct = require(\"./construct\");\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}\n\nmodule.exports = _wrapNativeSuper;","function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nmodule.exports = _isNativeFunction;","var setPrototypeOf = require(\"./setPrototypeOf\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type StackFrame = {|\n column: ?number,\n file: ?string,\n lineNumber: ?number,\n methodName: string,\n collapse?: boolean,\n|};\n\nexport type ExceptionData = {\n message: string,\n originalMessage: ?string,\n name: ?string,\n componentStack: ?string,\n stack: Array,\n id: number,\n isFatal: boolean,\n // flowlint-next-line unclear-type:off\n extraData?: Object,\n};\n\nexport interface Spec extends TurboModule {\n // Deprecated: Use `reportException`\n +reportFatalException: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n // Deprecated: Use `reportException`\n +reportSoftException: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n +reportException?: (data: ExceptionData) => void;\n +updateExceptionMessage: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n +dismissRedbox?: () => void;\n}\n\nconst Platform = require('../Utilities/Platform');\n\nconst NativeModule = TurboModuleRegistry.getEnforcing(\n 'ExceptionsManager',\n);\n\nconst ExceptionsManager = {\n reportFatalException(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.reportFatalException(message, stack, exceptionId);\n },\n reportSoftException(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.reportSoftException(message, stack, exceptionId);\n },\n updateExceptionMessage(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.updateExceptionMessage(message, stack, exceptionId);\n },\n dismissRedbox(): void {\n if (Platform.OS !== 'ios' && NativeModule.dismissRedbox) {\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n NativeModule.dismissRedbox();\n }\n },\n reportException(data: ExceptionData): void {\n if (Platform.OS !== 'ios' && NativeModule.reportException) {\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n NativeModule.reportException(data);\n return;\n }\n if (data.isFatal) {\n ExceptionsManager.reportFatalException(data.message, data.stack, data.id);\n } else {\n ExceptionsManager.reportSoftException(data.message, data.stack, data.id);\n }\n },\n};\n\nexport default ExceptionsManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {StackFrame} from '../NativeExceptionsManager';\n\nexport type ExtendedError = Error & {\n framesToPop?: number,\n jsEngine?: string,\n preventSymbolication?: boolean,\n componentStack?: string,\n};\n\nfunction parseErrorStack(e: ExtendedError): Array {\n if (!e || !e.stack) {\n return [];\n }\n\n const stacktraceParser = require('stacktrace-parser');\n const stack = Array.isArray(e.stack)\n ? e.stack\n : stacktraceParser.parse(e.stack);\n\n let framesToPop = typeof e.framesToPop === 'number' ? e.framesToPop : 0;\n while (framesToPop--) {\n stack.shift();\n }\n return stack;\n}\n\nmodule.exports = parseErrorStack;\n","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.stackTraceParser = {}));\n}(this, function (exports) { 'use strict';\n\n var UNKNOWN_FUNCTION = '';\n /**\n * This parses the different stack traces and puts them into one format\n * This borrows heavily from TraceKit (https://github.com/csnover/TraceKit)\n */\n\n function parse(stackString) {\n var lines = stackString.split('\\n');\n return lines.reduce(function (stack, line) {\n var parseResult = parseChrome(line) || parseWinjs(line) || parseGecko(line) || parseNode(line) || parseJSC(line);\n\n if (parseResult) {\n stack.push(parseResult);\n }\n\n return stack;\n }, []);\n }\n var chromeRe = /^\\s*at (.*?) ?\\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\\/).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\n var chromeEvalRe = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\n function parseChrome(line) {\n var parts = chromeRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n var isNative = parts[2] && parts[2].indexOf('native') === 0; // start of line\n\n var isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n var submatch = chromeEvalRe.exec(parts[2]);\n\n if (isEval && submatch != null) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = submatch[1]; // url\n\n parts[3] = submatch[2]; // line\n\n parts[4] = submatch[3]; // column\n }\n\n return {\n file: !isNative ? parts[2] : null,\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: isNative ? [parts[2]] : [],\n lineNumber: parts[3] ? +parts[3] : null,\n column: parts[4] ? +parts[4] : null\n };\n }\n\n var winjsRe = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\n function parseWinjs(line) {\n var parts = winjsRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[2],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[3],\n column: parts[4] ? +parts[4] : null\n };\n }\n\n var geckoRe = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\\[native).*?|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\n var geckoEvalRe = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\n function parseGecko(line) {\n var parts = geckoRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n var isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n var submatch = geckoEvalRe.exec(parts[3]);\n\n if (isEval && submatch != null) {\n // throw out eval line/column and use top-most line number\n parts[3] = submatch[1];\n parts[4] = submatch[2];\n parts[5] = null; // no column when eval\n }\n\n return {\n file: parts[3],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: parts[2] ? parts[2].split(',') : [],\n lineNumber: parts[4] ? +parts[4] : null,\n column: parts[5] ? +parts[5] : null\n };\n }\n\n var javaScriptCoreRe = /^\\s*(?:([^@]*)(?:\\((.*?)\\))?@)?(\\S.*?):(\\d+)(?::(\\d+))?\\s*$/i;\n\n function parseJSC(line) {\n var parts = javaScriptCoreRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[3],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[4],\n column: parts[5] ? +parts[5] : null\n };\n }\n\n var nodeRe = /^\\s*at (?:((?:\\[object object\\])?[^\\\\/]+(?: \\[as \\S+\\])?) )?\\(?(.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\n function parseNode(line) {\n var parts = nodeRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[2],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[3],\n column: parts[4] ? +parts[4] : null\n };\n }\n\n exports.parse = parse;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up Promise. The native Promise implementation throws the following error:\n * ERROR: Event loop not supported.\n *\n * If you don't need these polyfills, don't use InitializeCore; just directly\n * require the modules you need from InitializeCore for setup.\n */\npolyfillGlobal('Promise', () => require('../Promise'));\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst defineLazyObjectProperty = require('./defineLazyObjectProperty');\n\n/**\n * Sets an object's property. If a property with the same name exists, this will\n * replace it but maintain its descriptor configuration. The property will be\n * replaced with a lazy getter.\n *\n * In DEV mode the original property value will be preserved as `original[PropertyName]`\n * so that, if necessary, it can be restored. For example, if you want to route\n * network requests through DevTools (to trace them):\n *\n * global.XMLHttpRequest = global.originalXMLHttpRequest;\n *\n * @see https://github.com/facebook/react-native/issues/934\n */\nfunction polyfillObjectProperty(\n object: Object,\n name: string,\n getValue: () => T,\n): void {\n const descriptor = Object.getOwnPropertyDescriptor(object, name);\n if (__DEV__ && descriptor) {\n const backupName = `original${name[0].toUpperCase()}${name.substr(1)}`;\n Object.defineProperty(object, backupName, descriptor);\n }\n\n const {enumerable, writable, configurable} = descriptor || {};\n if (descriptor && !configurable) {\n console.error('Failed to set polyfill. ' + name + ' is not configurable.');\n return;\n }\n\n defineLazyObjectProperty(object, name, {\n get: getValue,\n enumerable: enumerable !== false,\n writable: writable !== false,\n });\n}\n\nfunction polyfillGlobal(name: string, getValue: () => T): void {\n polyfillObjectProperty(global, name, getValue);\n}\n\nmodule.exports = {polyfillObjectProperty, polyfillGlobal};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up regenerator.\n * You can use this module directly, or just require InitializeCore.\n */\npolyfillGlobal('regeneratorRuntime', () => {\n // The require just sets up the global, so make sure when we first\n // invoke it the global does not exist\n delete global.regeneratorRuntime;\n\n // regenerator-runtime/runtime exports the regeneratorRuntime object, so we\n // can return it safely.\n return require('regenerator-runtime/runtime'); // flowlint-line untyped-import:off\n});\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunctionPrototype[toStringTagSymbol] =\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n prototype[method] = function(arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n if (!(toStringTagSymbol in genFun)) {\n genFun[toStringTagSymbol] = \"GeneratorFunction\";\n }\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return Promise.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return Promise.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new Promise(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList) {\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList)\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[toStringTagSymbol] = \"Generator\";\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\n// In bridgeless mode, timers are host functions installed from cpp.\nif (!global.RN$Bridgeless) {\n const {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n /**\n * Set up timers.\n * You can use this module directly, or just require InitializeCore.\n */\n const defineLazyTimer = name => {\n polyfillGlobal(name, () => require('./Timers/JSTimers')[name]);\n };\n defineLazyTimer('setTimeout');\n defineLazyTimer('setInterval');\n defineLazyTimer('setImmediate');\n defineLazyTimer('clearTimeout');\n defineLazyTimer('clearInterval');\n defineLazyTimer('clearImmediate');\n defineLazyTimer('requestAnimationFrame');\n defineLazyTimer('cancelAnimationFrame');\n defineLazyTimer('requestIdleCallback');\n defineLazyTimer('cancelIdleCallback');\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n'use strict';\n\nconst BatchedBridge = require('../../BatchedBridge/BatchedBridge');\nconst Platform = require('../../Utilities/Platform');\nconst Systrace = require('../../Performance/Systrace');\n\nconst invariant = require('invariant');\n\nimport type {ExtendedError} from '../Devtools/parseErrorStack';\nimport NativeTiming from './NativeTiming';\n\nlet _performanceNow = null;\nfunction performanceNow() {\n if (!_performanceNow) {\n _performanceNow = require('fbjs/lib/performanceNow');\n }\n return _performanceNow();\n}\n\n/**\n * JS implementation of timer functions. Must be completely driven by an\n * external clock signal, all that's stored here is timerID, timer type, and\n * callback.\n */\n\nexport type JSTimerType =\n | 'setTimeout'\n | 'setInterval'\n | 'requestAnimationFrame'\n | 'setImmediate'\n | 'requestIdleCallback';\n\n// These timing constants should be kept in sync with the ones in native ios and\n// android `RCTTiming` module.\nconst FRAME_DURATION = 1000 / 60;\nconst IDLE_CALLBACK_FRAME_DEADLINE = 1;\n\nconst MAX_TIMER_DURATION_MS = 60 * 1000;\nconst IS_ANDROID = Platform.OS === 'android';\nconst ANDROID_LONG_TIMER_MESSAGE =\n 'Setting a timer for a long period of time, i.e. multiple minutes, is a ' +\n 'performance and correctness issue on Android as it keeps the timer ' +\n 'module awake, and timers can only be called when the app is in the foreground. ' +\n 'See https://github.com/facebook/react-native/issues/12981 for more info.';\n\n// Parallel arrays\nconst callbacks: Array = [];\nconst types: Array = [];\nconst timerIDs: Array = [];\nlet immediates: Array = [];\nlet requestIdleCallbacks: Array = [];\nconst requestIdleCallbackTimeouts: {[number]: number} = {};\nconst identifiers: Array = [];\n\nlet GUID = 1;\nlet errors: ?Array = null;\n\nlet hasEmittedTimeDriftWarning = false;\n\n// Returns a free index if one is available, and the next consecutive index otherwise.\nfunction _getFreeIndex(): number {\n let freeIndex = timerIDs.indexOf(null);\n if (freeIndex === -1) {\n freeIndex = timerIDs.length;\n }\n return freeIndex;\n}\n\nfunction _allocateCallback(func: Function, type: JSTimerType): number {\n const id = GUID++;\n const freeIndex = _getFreeIndex();\n timerIDs[freeIndex] = id;\n callbacks[freeIndex] = func;\n types[freeIndex] = type;\n if (__DEV__) {\n const parseErrorStack = require('../Devtools/parseErrorStack');\n const error: ExtendedError = new Error();\n error.framesToPop = 1;\n const stack = parseErrorStack(error);\n if (stack) {\n identifiers[freeIndex] = stack.shift();\n }\n }\n return id;\n}\n\n/**\n * Calls the callback associated with the ID. Also unregister that callback\n * if it was a one time timer (setTimeout), and not unregister it if it was\n * recurring (setInterval).\n */\nfunction _callTimer(timerID: number, frameTime: number, didTimeout: ?boolean) {\n require('fbjs/lib/warning')(\n timerID <= GUID,\n 'Tried to call timer with ID %s but no such timer exists.',\n timerID,\n );\n\n // timerIndex of -1 means that no timer with that ID exists. There are\n // two situations when this happens, when a garbage timer ID was given\n // and when a previously existing timer was deleted before this callback\n // fired. In both cases we want to ignore the timer id, but in the former\n // case we warn as well.\n const timerIndex = timerIDs.indexOf(timerID);\n if (timerIndex === -1) {\n return;\n }\n\n const type = types[timerIndex];\n const callback = callbacks[timerIndex];\n if (!callback || !type) {\n console.error('No callback found for timerID ' + timerID);\n return;\n }\n\n if (__DEV__) {\n const identifier = identifiers[timerIndex] || {};\n Systrace.beginEvent('Systrace.callTimer: ' + identifier.methodName);\n }\n\n // Clear the metadata\n if (\n type === 'setTimeout' ||\n type === 'setImmediate' ||\n type === 'requestAnimationFrame' ||\n type === 'requestIdleCallback'\n ) {\n _clearIndex(timerIndex);\n }\n\n try {\n if (\n type === 'setTimeout' ||\n type === 'setInterval' ||\n type === 'setImmediate'\n ) {\n callback();\n } else if (type === 'requestAnimationFrame') {\n callback(performanceNow());\n } else if (type === 'requestIdleCallback') {\n callback({\n timeRemaining: function() {\n // TODO: Optimisation: allow running for longer than one frame if\n // there are no pending JS calls on the bridge from native. This\n // would require a way to check the bridge queue synchronously.\n return Math.max(0, FRAME_DURATION - (performanceNow() - frameTime));\n },\n didTimeout: !!didTimeout,\n });\n } else {\n console.error('Tried to call a callback with invalid type: ' + type);\n }\n } catch (e) {\n // Don't rethrow so that we can run all timers.\n if (!errors) {\n errors = [e];\n } else {\n errors.push(e);\n }\n }\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n}\n\n/**\n * Performs a single pass over the enqueued immediates. Returns whether\n * more immediates are queued up (can be used as a condition a while loop).\n */\nfunction _callImmediatesPass() {\n if (__DEV__) {\n Systrace.beginEvent('callImmediatesPass()');\n }\n\n // The main reason to extract a single pass is so that we can track\n // in the system trace\n if (immediates.length > 0) {\n const passImmediates = immediates.slice();\n immediates = [];\n\n // Use for loop rather than forEach as per @vjeux's advice\n // https://github.com/facebook/react-native/commit/c8fd9f7588ad02d2293cac7224715f4af7b0f352#commitcomment-14570051\n for (let i = 0; i < passImmediates.length; ++i) {\n _callTimer(passImmediates[i], 0);\n }\n }\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n return immediates.length > 0;\n}\n\nfunction _clearIndex(i: number) {\n timerIDs[i] = null;\n callbacks[i] = null;\n types[i] = null;\n identifiers[i] = null;\n}\n\nfunction _freeCallback(timerID: number) {\n // timerIDs contains nulls after timers have been removed;\n // ignore nulls upfront so indexOf doesn't find them\n if (timerID == null) {\n return;\n }\n\n const index = timerIDs.indexOf(timerID);\n // See corresponding comment in `callTimers` for reasoning behind this\n if (index !== -1) {\n _clearIndex(index);\n const type = types[index];\n if (type !== 'setImmediate' && type !== 'requestIdleCallback') {\n deleteTimer(timerID);\n }\n }\n}\n\n/**\n * JS implementation of timer functions. Must be completely driven by an\n * external clock signal, all that's stored here is timerID, timer type, and\n * callback.\n */\nconst JSTimers = {\n /**\n * @param {function} func Callback to be invoked after `duration` ms.\n * @param {number} duration Number of milliseconds.\n */\n setTimeout: function(func: Function, duration: number, ...args: any): number {\n if (__DEV__ && IS_ANDROID && duration > MAX_TIMER_DURATION_MS) {\n console.warn(\n ANDROID_LONG_TIMER_MESSAGE +\n '\\n' +\n '(Saw setTimeout with duration ' +\n duration +\n 'ms)',\n );\n }\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'setTimeout',\n );\n createTimer(id, duration || 0, Date.now(), /* recurring */ false);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every `duration` ms.\n * @param {number} duration Number of milliseconds.\n */\n setInterval: function(\n func: Function,\n duration: number,\n ...args: any\n ): number {\n if (__DEV__ && IS_ANDROID && duration > MAX_TIMER_DURATION_MS) {\n console.warn(\n ANDROID_LONG_TIMER_MESSAGE +\n '\\n' +\n '(Saw setInterval with duration ' +\n duration +\n 'ms)',\n );\n }\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'setInterval',\n );\n createTimer(id, duration || 0, Date.now(), /* recurring */ true);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked before the end of the\n * current JavaScript execution loop.\n */\n setImmediate: function(func: Function, ...args: any) {\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'setImmediate',\n );\n immediates.push(id);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every frame.\n */\n requestAnimationFrame: function(func: Function) {\n const id = _allocateCallback(func, 'requestAnimationFrame');\n createTimer(id, 1, Date.now(), /* recurring */ false);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every frame and provided\n * with time remaining in frame.\n * @param {?object} options\n */\n requestIdleCallback: function(func: Function, options: ?Object) {\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(true);\n }\n\n const timeout = options && options.timeout;\n const id = _allocateCallback(\n timeout != null\n ? deadline => {\n const timeoutId = requestIdleCallbackTimeouts[id];\n if (timeoutId) {\n JSTimers.clearTimeout(timeoutId);\n delete requestIdleCallbackTimeouts[id];\n }\n return func(deadline);\n }\n : func,\n 'requestIdleCallback',\n );\n requestIdleCallbacks.push(id);\n\n if (timeout != null) {\n const timeoutId = JSTimers.setTimeout(() => {\n const index = requestIdleCallbacks.indexOf(id);\n if (index > -1) {\n requestIdleCallbacks.splice(index, 1);\n _callTimer(id, performanceNow(), true);\n }\n delete requestIdleCallbackTimeouts[id];\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n }, timeout);\n requestIdleCallbackTimeouts[id] = timeoutId;\n }\n return id;\n },\n\n cancelIdleCallback: function(timerID: number) {\n _freeCallback(timerID);\n const index = requestIdleCallbacks.indexOf(timerID);\n if (index !== -1) {\n requestIdleCallbacks.splice(index, 1);\n }\n\n const timeoutId = requestIdleCallbackTimeouts[timerID];\n if (timeoutId) {\n JSTimers.clearTimeout(timeoutId);\n delete requestIdleCallbackTimeouts[timerID];\n }\n\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n },\n\n clearTimeout: function(timerID: number) {\n _freeCallback(timerID);\n },\n\n clearInterval: function(timerID: number) {\n _freeCallback(timerID);\n },\n\n clearImmediate: function(timerID: number) {\n _freeCallback(timerID);\n const index = immediates.indexOf(timerID);\n if (index !== -1) {\n immediates.splice(index, 1);\n }\n },\n\n cancelAnimationFrame: function(timerID: number) {\n _freeCallback(timerID);\n },\n\n /**\n * This is called from the native side. We are passed an array of timerIDs,\n * and\n */\n callTimers: function(timersToCall: Array) {\n invariant(\n timersToCall.length !== 0,\n 'Cannot call `callTimers` with an empty list of IDs.',\n );\n\n // $FlowFixMe: optionals do not allow assignment from null\n errors = null;\n for (let i = 0; i < timersToCall.length; i++) {\n _callTimer(timersToCall[i], 0);\n }\n\n if (errors) {\n const errorCount = errors.length;\n if (errorCount > 1) {\n // Throw all the other errors in a setTimeout, which will throw each\n // error one at a time\n for (let ii = 1; ii < errorCount; ii++) {\n JSTimers.setTimeout(\n (error => {\n throw error;\n }).bind(null, errors[ii]),\n 0,\n );\n }\n }\n throw errors[0];\n }\n },\n\n callIdleCallbacks: function(frameTime: number) {\n if (\n FRAME_DURATION - (performanceNow() - frameTime) <\n IDLE_CALLBACK_FRAME_DEADLINE\n ) {\n return;\n }\n\n // $FlowFixMe: optionals do not allow assignment from null\n errors = null;\n if (requestIdleCallbacks.length > 0) {\n const passIdleCallbacks = requestIdleCallbacks.slice();\n requestIdleCallbacks = [];\n\n for (let i = 0; i < passIdleCallbacks.length; ++i) {\n _callTimer(passIdleCallbacks[i], frameTime);\n }\n }\n\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n\n if (errors) {\n errors.forEach(error =>\n JSTimers.setTimeout(() => {\n throw error;\n }, 0),\n );\n }\n },\n\n /**\n * This is called after we execute any command we receive from native but\n * before we hand control back to native.\n */\n callImmediates() {\n errors = null;\n while (_callImmediatesPass()) {}\n if (errors) {\n errors.forEach(error =>\n JSTimers.setTimeout(() => {\n throw error;\n }, 0),\n );\n }\n },\n\n /**\n * Called from native (in development) when environment times are out-of-sync.\n */\n emitTimeDriftWarning(warningMessage: string) {\n if (hasEmittedTimeDriftWarning) {\n return;\n }\n hasEmittedTimeDriftWarning = true;\n console.warn(warningMessage);\n },\n};\n\nfunction createTimer(\n callbackID: number,\n duration: number,\n jsSchedulingTime: number,\n repeats: boolean,\n): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.createTimer(callbackID, duration, jsSchedulingTime, repeats);\n}\n\nfunction deleteTimer(timerID: number): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.deleteTimer(timerID);\n}\n\nfunction setSendIdleEvents(sendIdleEvents: boolean): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.setSendIdleEvents(sendIdleEvents);\n}\n\nlet ExportedJSTimers: $TEMPORARY$object<{|\n callIdleCallbacks: (frameTime: number) => any | void,\n callImmediates: () => void,\n callTimers: (timersToCall: Array) => any | void,\n cancelAnimationFrame: (timerID: number) => void,\n cancelIdleCallback: (timerID: number) => void,\n clearImmediate: (timerID: number) => void,\n clearInterval: (timerID: number) => void,\n clearTimeout: (timerID: number) => void,\n emitTimeDriftWarning: (warningMessage: string) => any | void,\n requestAnimationFrame: (func: any) => any | number,\n requestIdleCallback: (func: any, options: ?any) => any | number,\n setImmediate: (func: any, ...args: any) => number,\n setInterval: (func: any, duration: number, ...args: any) => number,\n setTimeout: (func: any, duration: number, ...args: any) => number,\n|}>;\nif (!NativeTiming) {\n console.warn(\"Timing native module is not available, can't set timers.\");\n // $FlowFixMe: we can assume timers are generally available\n ExportedJSTimers = ({\n callImmediates: JSTimers.callImmediates,\n setImmediate: JSTimers.setImmediate,\n }: typeof JSTimers);\n} else {\n ExportedJSTimers = JSTimers;\n}\n\nBatchedBridge.setImmediatesCallback(\n ExportedJSTimers.callImmediates.bind(ExportedJSTimers),\n);\n\nmodule.exports = ExportedJSTimers;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +createTimer: (\n callbackID: number,\n duration: number,\n jsSchedulingTime: number,\n repeats: boolean,\n ) => void;\n +deleteTimer: (timerID: number) => void;\n +setSendIdleEvents: (sendIdleEvents: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.get('Timing'): ?Spec);\n","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\nvar performance = require(\"./performance\");\n\nvar performanceNow;\n/**\n * Detect if we can use `window.performance.now()` and gracefully fallback to\n * `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now\n * because of Facebook's testing infrastructure.\n */\n\nif (performance.now) {\n performanceNow = function performanceNow() {\n return performance.now();\n };\n} else {\n performanceNow = function performanceNow() {\n return Date.now();\n };\n}\n\nmodule.exports = performanceNow;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n'use strict';\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar performance;\n\nif (ExecutionEnvironment.canUseDOM) {\n performance = window.performance || window.msPerformance || window.webkitPerformance;\n}\n\nmodule.exports = performance || {};","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\n\nvar ExecutionEnvironment = {\n canUseDOM: canUseDOM,\n canUseWorkers: typeof Worker !== 'undefined',\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n canUseViewport: canUseDOM && !!window.screen,\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\nmodule.exports = ExecutionEnvironment;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up XMLHttpRequest. The native XMLHttpRequest in Chrome dev tools is CORS\n * aware and won't let you fetch anything from the internet.\n *\n * You can use this module directly, or just require InitializeCore.\n */\npolyfillGlobal('XMLHttpRequest', () => require('../Network/XMLHttpRequest'));\npolyfillGlobal('FormData', () => require('../Network/FormData'));\n\npolyfillGlobal('fetch', () => require('../Network/fetch').fetch); // flowlint-line untyped-import:off\npolyfillGlobal('Headers', () => require('../Network/fetch').Headers); // flowlint-line untyped-import:off\npolyfillGlobal('Request', () => require('../Network/fetch').Request); // flowlint-line untyped-import:off\npolyfillGlobal('Response', () => require('../Network/fetch').Response); // flowlint-line untyped-import:off\npolyfillGlobal('WebSocket', () => require('../WebSocket/WebSocket'));\npolyfillGlobal('Blob', () => require('../Blob/Blob'));\npolyfillGlobal('File', () => require('../Blob/File'));\npolyfillGlobal('FileReader', () => require('../Blob/FileReader'));\npolyfillGlobal('URL', () => require('../Blob/URL').URL); // flowlint-line untyped-import:off\npolyfillGlobal('URLSearchParams', () => require('../Blob/URL').URLSearchParams); // flowlint-line untyped-import:off\npolyfillGlobal(\n 'AbortController',\n () => require('abort-controller/dist/abort-controller').AbortController, // flowlint-line untyped-import:off\n);\npolyfillGlobal(\n 'AbortSignal',\n () => require('abort-controller/dist/abort-controller').AbortSignal, // flowlint-line untyped-import:off\n);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst BlobManager = require('../Blob/BlobManager');\nconst EventTarget = require('event-target-shim');\nconst RCTNetworking = require('./RCTNetworking');\n\nconst base64 = require('base64-js');\nconst invariant = require('invariant');\nconst warning = require('fbjs/lib/warning');\n\nexport type NativeResponseType = 'base64' | 'blob' | 'text';\nexport type ResponseType =\n | ''\n | 'arraybuffer'\n | 'blob'\n | 'document'\n | 'json'\n | 'text';\nexport type Response = ?Object | string;\n\ntype XHRInterceptor = {\n requestSent(id: number, url: string, method: string, headers: Object): void,\n responseReceived(\n id: number,\n url: string,\n status: number,\n headers: Object,\n ): void,\n dataReceived(id: number, data: string): void,\n loadingFinished(id: number, encodedDataLength: number): void,\n loadingFailed(id: number, error: string): void,\n};\n\n// The native blob module is optional so inject it here if available.\nif (BlobManager.isAvailable) {\n BlobManager.addNetworkingHandler();\n}\n\nconst UNSENT = 0;\nconst OPENED = 1;\nconst HEADERS_RECEIVED = 2;\nconst LOADING = 3;\nconst DONE = 4;\n\nconst SUPPORTED_RESPONSE_TYPES = {\n arraybuffer: typeof global.ArrayBuffer === 'function',\n blob: typeof global.Blob === 'function',\n document: false,\n json: true,\n text: true,\n '': true,\n};\n\nconst REQUEST_EVENTS = [\n 'abort',\n 'error',\n 'load',\n 'loadstart',\n 'progress',\n 'timeout',\n 'loadend',\n];\n\nconst XHR_EVENTS = REQUEST_EVENTS.concat('readystatechange');\n\nclass XMLHttpRequestEventTarget extends (EventTarget(...REQUEST_EVENTS): any) {\n onload: ?Function;\n onloadstart: ?Function;\n onprogress: ?Function;\n ontimeout: ?Function;\n onerror: ?Function;\n onabort: ?Function;\n onloadend: ?Function;\n}\n\n/**\n * Shared base for platform-specific XMLHttpRequest implementations.\n */\nclass XMLHttpRequest extends (EventTarget(...XHR_EVENTS): any) {\n static UNSENT: number = UNSENT;\n static OPENED: number = OPENED;\n static HEADERS_RECEIVED: number = HEADERS_RECEIVED;\n static LOADING: number = LOADING;\n static DONE: number = DONE;\n\n static _interceptor: ?XHRInterceptor = null;\n\n UNSENT: number = UNSENT;\n OPENED: number = OPENED;\n HEADERS_RECEIVED: number = HEADERS_RECEIVED;\n LOADING: number = LOADING;\n DONE: number = DONE;\n\n // EventTarget automatically initializes these to `null`.\n onload: ?Function;\n onloadstart: ?Function;\n onprogress: ?Function;\n ontimeout: ?Function;\n onerror: ?Function;\n onabort: ?Function;\n onloadend: ?Function;\n onreadystatechange: ?Function;\n\n readyState: number = UNSENT;\n responseHeaders: ?Object;\n status: number = 0;\n timeout: number = 0;\n responseURL: ?string;\n withCredentials: boolean = true;\n\n upload: XMLHttpRequestEventTarget = new XMLHttpRequestEventTarget();\n\n _requestId: ?number;\n _subscriptions: Array<*>;\n\n _aborted: boolean = false;\n _cachedResponse: Response;\n _hasError: boolean = false;\n _headers: Object;\n _lowerCaseResponseHeaders: Object;\n _method: ?string = null;\n _response: string | ?Object;\n _responseType: ResponseType;\n _response: string = '';\n _sent: boolean;\n _url: ?string = null;\n _timedOut: boolean = false;\n _trackingName: string = 'unknown';\n _incrementalEvents: boolean = false;\n\n static setInterceptor(interceptor: ?XHRInterceptor) {\n XMLHttpRequest._interceptor = interceptor;\n }\n\n constructor() {\n super();\n this._reset();\n }\n\n _reset(): void {\n this.readyState = this.UNSENT;\n this.responseHeaders = undefined;\n this.status = 0;\n delete this.responseURL;\n\n this._requestId = null;\n\n this._cachedResponse = undefined;\n this._hasError = false;\n this._headers = {};\n this._response = '';\n this._responseType = '';\n this._sent = false;\n this._lowerCaseResponseHeaders = {};\n\n this._clearSubscriptions();\n this._timedOut = false;\n }\n\n get responseType(): ResponseType {\n return this._responseType;\n }\n\n set responseType(responseType: ResponseType): void {\n if (this._sent) {\n throw new Error(\n \"Failed to set the 'responseType' property on 'XMLHttpRequest': The \" +\n 'response type cannot be set after the request has been sent.',\n );\n }\n if (!SUPPORTED_RESPONSE_TYPES.hasOwnProperty(responseType)) {\n warning(\n false,\n `The provided value '${responseType}' is not a valid 'responseType'.`,\n );\n return;\n }\n\n // redboxes early, e.g. for 'arraybuffer' on ios 7\n invariant(\n SUPPORTED_RESPONSE_TYPES[responseType] || responseType === 'document',\n `The provided value '${responseType}' is unsupported in this environment.`,\n );\n\n if (responseType === 'blob') {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n }\n this._responseType = responseType;\n }\n\n get responseText(): string {\n if (this._responseType !== '' && this._responseType !== 'text') {\n throw new Error(\n \"The 'responseText' property is only available if 'responseType' \" +\n `is set to '' or 'text', but it is '${this._responseType}'.`,\n );\n }\n if (this.readyState < LOADING) {\n return '';\n }\n return this._response;\n }\n\n get response(): Response {\n const {responseType} = this;\n if (responseType === '' || responseType === 'text') {\n return this.readyState < LOADING || this._hasError ? '' : this._response;\n }\n\n if (this.readyState !== DONE) {\n return null;\n }\n\n if (this._cachedResponse !== undefined) {\n return this._cachedResponse;\n }\n\n switch (responseType) {\n case 'document':\n this._cachedResponse = null;\n break;\n\n case 'arraybuffer':\n this._cachedResponse = base64.toByteArray(this._response).buffer;\n break;\n\n case 'blob':\n if (typeof this._response === 'object' && this._response) {\n this._cachedResponse = BlobManager.createFromOptions(this._response);\n } else if (this._response === '') {\n this._cachedResponse = null;\n } else {\n throw new Error(`Invalid response for blob: ${this._response}`);\n }\n break;\n\n case 'json':\n try {\n this._cachedResponse = JSON.parse(this._response);\n } catch (_) {\n this._cachedResponse = null;\n }\n break;\n\n default:\n this._cachedResponse = null;\n }\n\n return this._cachedResponse;\n }\n\n // exposed for testing\n __didCreateRequest(requestId: number): void {\n this._requestId = requestId;\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.requestSent(\n requestId,\n this._url || '',\n this._method || 'GET',\n this._headers,\n );\n }\n\n // exposed for testing\n __didUploadProgress(\n requestId: number,\n progress: number,\n total: number,\n ): void {\n if (requestId === this._requestId) {\n this.upload.dispatchEvent({\n type: 'progress',\n lengthComputable: true,\n loaded: progress,\n total,\n });\n }\n }\n\n __didReceiveResponse(\n requestId: number,\n status: number,\n responseHeaders: ?Object,\n responseURL: ?string,\n ): void {\n if (requestId === this._requestId) {\n this.status = status;\n this.setResponseHeaders(responseHeaders);\n this.setReadyState(this.HEADERS_RECEIVED);\n if (responseURL || responseURL === '') {\n this.responseURL = responseURL;\n } else {\n delete this.responseURL;\n }\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.responseReceived(\n requestId,\n responseURL || this._url || '',\n status,\n responseHeaders || {},\n );\n }\n }\n\n __didReceiveData(requestId: number, response: string): void {\n if (requestId !== this._requestId) {\n return;\n }\n this._response = response;\n this._cachedResponse = undefined; // force lazy recomputation\n this.setReadyState(this.LOADING);\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.dataReceived(requestId, response);\n }\n\n __didReceiveIncrementalData(\n requestId: number,\n responseText: string,\n progress: number,\n total: number,\n ) {\n if (requestId !== this._requestId) {\n return;\n }\n if (!this._response) {\n this._response = responseText;\n } else {\n this._response += responseText;\n }\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.dataReceived(requestId, responseText);\n\n this.setReadyState(this.LOADING);\n this.__didReceiveDataProgress(requestId, progress, total);\n }\n\n __didReceiveDataProgress(\n requestId: number,\n loaded: number,\n total: number,\n ): void {\n if (requestId !== this._requestId) {\n return;\n }\n this.dispatchEvent({\n type: 'progress',\n lengthComputable: total >= 0,\n loaded,\n total,\n });\n }\n\n // exposed for testing\n __didCompleteResponse(\n requestId: number,\n error: string,\n timeOutError: boolean,\n ): void {\n if (requestId === this._requestId) {\n if (error) {\n if (this._responseType === '' || this._responseType === 'text') {\n this._response = error;\n }\n this._hasError = true;\n if (timeOutError) {\n this._timedOut = true;\n }\n }\n this._clearSubscriptions();\n this._requestId = null;\n this.setReadyState(this.DONE);\n\n if (error) {\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.loadingFailed(requestId, error);\n } else {\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.loadingFinished(\n requestId,\n this._response.length,\n );\n }\n }\n }\n\n _clearSubscriptions(): void {\n (this._subscriptions || []).forEach(sub => {\n if (sub) {\n sub.remove();\n }\n });\n this._subscriptions = [];\n }\n\n getAllResponseHeaders(): ?string {\n if (!this.responseHeaders) {\n // according to the spec, return null if no response has been received\n return null;\n }\n const headers = this.responseHeaders || {};\n return Object.keys(headers)\n .map(headerName => {\n return headerName + ': ' + headers[headerName];\n })\n .join('\\r\\n');\n }\n\n getResponseHeader(header: string): ?string {\n const value = this._lowerCaseResponseHeaders[header.toLowerCase()];\n return value !== undefined ? value : null;\n }\n\n setRequestHeader(header: string, value: any): void {\n if (this.readyState !== this.OPENED) {\n throw new Error('Request has not been opened');\n }\n this._headers[header.toLowerCase()] = String(value);\n }\n\n /**\n * Custom extension for tracking origins of request.\n */\n setTrackingName(trackingName: string): XMLHttpRequest {\n this._trackingName = trackingName;\n return this;\n }\n\n open(method: string, url: string, async: ?boolean): void {\n /* Other optional arguments are not supported yet */\n if (this.readyState !== this.UNSENT) {\n throw new Error('Cannot open, already sending');\n }\n if (async !== undefined && !async) {\n // async is default\n throw new Error('Synchronous http requests are not supported');\n }\n if (!url) {\n throw new Error('Cannot load an empty url');\n }\n this._method = method.toUpperCase();\n this._url = url;\n this._aborted = false;\n this.setReadyState(this.OPENED);\n }\n\n send(data: any): void {\n if (this.readyState !== this.OPENED) {\n throw new Error('Request has not been opened');\n }\n if (this._sent) {\n throw new Error('Request has already been sent');\n }\n this._sent = true;\n const incrementalEvents =\n this._incrementalEvents || !!this.onreadystatechange || !!this.onprogress;\n\n this._subscriptions.push(\n RCTNetworking.addListener('didSendNetworkData', args =>\n this.__didUploadProgress(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkResponse', args =>\n this.__didReceiveResponse(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkData', args =>\n this.__didReceiveData(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkIncrementalData', args =>\n this.__didReceiveIncrementalData(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkDataProgress', args =>\n this.__didReceiveDataProgress(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didCompleteNetworkResponse', args =>\n this.__didCompleteResponse(...args),\n ),\n );\n\n let nativeResponseType: NativeResponseType = 'text';\n if (this._responseType === 'arraybuffer') {\n nativeResponseType = 'base64';\n }\n if (this._responseType === 'blob') {\n nativeResponseType = 'blob';\n }\n\n invariant(this._method, 'Request method needs to be defined.');\n invariant(this._url, 'Request URL needs to be defined.');\n RCTNetworking.sendRequest(\n this._method,\n this._trackingName,\n this._url,\n this._headers,\n data,\n /* $FlowFixMe(>=0.78.0 site=react_native_android_fb) This issue was found\n * when making Flow check .android.js files. */\n nativeResponseType,\n incrementalEvents,\n this.timeout,\n this.__didCreateRequest.bind(this),\n this.withCredentials,\n );\n }\n\n abort(): void {\n this._aborted = true;\n if (this._requestId) {\n RCTNetworking.abortRequest(this._requestId);\n }\n // only call onreadystatechange if there is something to abort,\n // below logic is per spec\n if (\n !(\n this.readyState === this.UNSENT ||\n (this.readyState === this.OPENED && !this._sent) ||\n this.readyState === this.DONE\n )\n ) {\n this._reset();\n this.setReadyState(this.DONE);\n }\n // Reset again after, in case modified in handler\n this._reset();\n }\n\n setResponseHeaders(responseHeaders: ?Object): void {\n this.responseHeaders = responseHeaders || null;\n const headers = responseHeaders || {};\n this._lowerCaseResponseHeaders = Object.keys(headers).reduce(\n (lcaseHeaders, headerName) => {\n lcaseHeaders[headerName.toLowerCase()] = headers[headerName];\n return lcaseHeaders;\n },\n {},\n );\n }\n\n setReadyState(newState: number): void {\n this.readyState = newState;\n this.dispatchEvent({type: 'readystatechange'});\n if (newState === this.DONE) {\n if (this._aborted) {\n this.dispatchEvent({type: 'abort'});\n } else if (this._hasError) {\n if (this._timedOut) {\n this.dispatchEvent({type: 'timeout'});\n } else {\n this.dispatchEvent({type: 'error'});\n }\n } else {\n this.dispatchEvent({type: 'load'});\n }\n this.dispatchEvent({type: 'loadend'});\n }\n }\n\n /* global EventListener */\n addEventListener(type: string, listener: EventListener): void {\n // If we dont' have a 'readystatechange' event handler, we don't\n // have to send repeated LOADING events with incremental updates\n // to responseText, which will avoid a bunch of native -> JS\n // bridge traffic.\n if (type === 'readystatechange' || type === 'progress') {\n this._incrementalEvents = true;\n }\n super.addEventListener(type, listener);\n }\n}\n\nmodule.exports = XMLHttpRequest;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst Blob = require('./Blob');\nconst BlobRegistry = require('./BlobRegistry');\n\nimport type {BlobData, BlobOptions, BlobCollector} from './BlobTypes';\nimport NativeBlobModule from './NativeBlobModule';\nimport invariant from 'invariant';\n\n/*eslint-disable no-bitwise */\n/*eslint-disable eqeqeq */\n\n/**\n * Based on the rfc4122-compliant solution posted at\n * http://stackoverflow.com/questions/105034\n */\nfunction uuidv4(): string {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {\n const r = (Math.random() * 16) | 0,\n v = c == 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\n// **Temporary workaround**\n// TODO(#24654): Use turbomodules for the Blob module.\n// Blob collector is a jsi::HostObject that is used by native to know\n// when the a Blob instance is deallocated. This allows to free the\n// underlying native resources. This is a hack to workaround the fact\n// that the current bridge infra doesn't allow to track js objects\n// deallocation. Ideally the whole Blob object should be a jsi::HostObject.\nfunction createBlobCollector(blobId: string): BlobCollector | null {\n if (global.__blobCollectorProvider == null) {\n return null;\n } else {\n return global.__blobCollectorProvider(blobId);\n }\n}\n\n/**\n * Module to manage blobs. Wrapper around the native blob module.\n */\nclass BlobManager {\n /**\n * If the native blob module is available.\n */\n static isAvailable: boolean = !!NativeBlobModule;\n\n /**\n * Create blob from existing array of blobs.\n */\n static createFromParts(\n parts: Array,\n options?: BlobOptions,\n ): Blob {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n const blobId = uuidv4();\n const items = parts.map(part => {\n if (\n part instanceof ArrayBuffer ||\n (global.ArrayBufferView && part instanceof global.ArrayBufferView)\n ) {\n throw new Error(\n \"Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported\",\n );\n }\n if (part instanceof Blob) {\n return {\n data: part.data,\n type: 'blob',\n };\n } else {\n return {\n data: String(part),\n type: 'string',\n };\n }\n });\n const size = items.reduce((acc, curr) => {\n if (curr.type === 'string') {\n return acc + global.unescape(encodeURI(curr.data)).length;\n } else {\n return acc + curr.data.size;\n }\n }, 0);\n\n NativeBlobModule.createFromParts(items, blobId);\n\n return BlobManager.createFromOptions({\n blobId,\n offset: 0,\n size,\n type: options ? options.type : '',\n lastModified: options ? options.lastModified : Date.now(),\n });\n }\n\n /**\n * Create blob instance from blob data from native.\n * Used internally by modules like XHR, WebSocket, etc.\n */\n static createFromOptions(options: BlobData): Blob {\n BlobRegistry.register(options.blobId);\n return Object.assign(Object.create(Blob.prototype), {\n data:\n // Reuse the collector instance when creating from an existing blob.\n // This will make sure that the underlying resource is only deallocated\n // when all blobs that refer to it are deallocated.\n options.__collector == null\n ? {\n ...options,\n __collector: createBlobCollector(options.blobId),\n }\n : options,\n });\n }\n\n /**\n * Deallocate resources for a blob.\n */\n static release(blobId: string): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n BlobRegistry.unregister(blobId);\n if (BlobRegistry.has(blobId)) {\n return;\n }\n NativeBlobModule.release(blobId);\n }\n\n /**\n * Inject the blob content handler in the networking module to support blob\n * requests and responses.\n */\n static addNetworkingHandler(): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.addNetworkingHandler();\n }\n\n /**\n * Indicate the websocket should return a blob for incoming binary\n * messages.\n */\n static addWebSocketHandler(socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.addWebSocketHandler(socketId);\n }\n\n /**\n * Indicate the websocket should no longer return a blob for incoming\n * binary messages.\n */\n static removeWebSocketHandler(socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.removeWebSocketHandler(socketId);\n }\n\n /**\n * Send a blob message to a websocket.\n */\n static sendOverSocket(blob: Blob, socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.sendOverSocket(blob.data, socketId);\n }\n}\n\nmodule.exports = BlobManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|BLOB_URI_SCHEME: string, BLOB_URI_HOST: ?string|};\n +addNetworkingHandler: () => void;\n +addWebSocketHandler: (id: number) => void;\n +removeWebSocketHandler: (id: number) => void;\n +sendOverSocket: (blob: Object, id: number) => void;\n +createFromParts: (parts: Array, blobId: string) => void;\n +release: (blobId: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('BlobModule'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {BlobData, BlobOptions} from './BlobTypes';\n\n/**\n * Opaque JS representation of some binary data in native.\n *\n * The API is modeled after the W3C Blob API, with one caveat\n * regarding explicit deallocation. Refer to the `close()`\n * method for further details.\n *\n * Example usage in a React component:\n *\n * class WebSocketImage extends React.Component {\n * state = {blob: null};\n * componentDidMount() {\n * let ws = this.ws = new WebSocket(...);\n * ws.binaryType = 'blob';\n * ws.onmessage = (event) => {\n * if (this.state.blob) {\n * this.state.blob.close();\n * }\n * this.setState({blob: event.data});\n * };\n * }\n * componentUnmount() {\n * if (this.state.blob) {\n * this.state.blob.close();\n * }\n * this.ws.close();\n * }\n * render() {\n * if (!this.state.blob) {\n * return ;\n * }\n * return ;\n * }\n * }\n *\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob\n */\nclass Blob {\n _data: ?BlobData;\n\n /**\n * Constructor for JS consumers.\n * Currently we only support creating Blobs from other Blobs.\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob\n */\n constructor(parts: Array = [], options?: BlobOptions) {\n const BlobManager = require('./BlobManager');\n this.data = BlobManager.createFromParts(parts, options).data;\n }\n\n /*\n * This method is used to create a new Blob object containing\n * the data in the specified range of bytes of the source Blob.\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice\n */\n set data(data: ?BlobData) {\n this._data = data;\n }\n\n get data(): BlobData {\n if (!this._data) {\n throw new Error('Blob has been closed and is no longer available');\n }\n\n return this._data;\n }\n\n slice(start?: number, end?: number): Blob {\n const BlobManager = require('./BlobManager');\n let {offset, size} = this.data;\n\n if (typeof start === 'number') {\n if (start > size) {\n start = size;\n }\n offset += start;\n size -= start;\n\n if (typeof end === 'number') {\n if (end < 0) {\n end = this.size + end;\n }\n size = end - start;\n }\n }\n return BlobManager.createFromOptions({\n blobId: this.data.blobId,\n offset,\n size,\n });\n }\n\n /**\n * This method is in the standard, but not actually implemented by\n * any browsers at this point. It's important for how Blobs work in\n * React Native, however, since we cannot de-allocate resources automatically,\n * so consumers need to explicitly de-allocate them.\n *\n * Note that the semantics around Blobs created via `blob.slice()`\n * and `new Blob([blob])` are different. `blob.slice()` creates a\n * new *view* onto the same binary data, so calling `close()` on any\n * of those views is enough to deallocate the data, whereas\n * `new Blob([blob, ...])` actually copies the data in memory.\n */\n close() {\n const BlobManager = require('./BlobManager');\n BlobManager.release(this.data.blobId);\n this.data = null;\n }\n\n /**\n * Size of the data contained in the Blob object, in bytes.\n */\n get size(): number {\n return this.data.size;\n }\n\n /*\n * String indicating the MIME type of the data contained in the Blob.\n * If the type is unknown, this string is empty.\n */\n get type(): string {\n return this.data.type || '';\n }\n}\n\nmodule.exports = Blob;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nconst registry: {[key: string]: number} = {};\n\nconst register = (id: string) => {\n if (registry[id]) {\n registry[id]++;\n } else {\n registry[id] = 1;\n }\n};\n\nconst unregister = (id: string) => {\n if (registry[id]) {\n registry[id]--;\n if (registry[id] <= 0) {\n delete registry[id];\n }\n }\n};\n\nconst has = (id: string): number | boolean => {\n return registry[id] && registry[id] > 0;\n};\n\nmodule.exports = {\n register,\n unregister,\n has,\n};\n","/**\n * @author Toru Nagashima \n * @copyright 2015 Toru Nagashima. All rights reserved.\n * See LICENSE file in root directory for full license.\n */\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/**\n * @typedef {object} PrivateData\n * @property {EventTarget} eventTarget The event target.\n * @property {{type:string}} event The original event object.\n * @property {number} eventPhase The current event phase.\n * @property {EventTarget|null} currentTarget The current event target.\n * @property {boolean} canceled The flag to prevent default.\n * @property {boolean} stopped The flag to stop propagation.\n * @property {boolean} immediateStopped The flag to stop propagation immediately.\n * @property {Function|null} passiveListener The listener if the current listener is passive. Otherwise this is null.\n * @property {number} timeStamp The unix time.\n * @private\n */\n\n/**\n * Private data for event wrappers.\n * @type {WeakMap}\n * @private\n */\nconst privateData = new WeakMap();\n\n/**\n * Cache for wrapper classes.\n * @type {WeakMap}\n * @private\n */\nconst wrappers = new WeakMap();\n\n/**\n * Get private data.\n * @param {Event} event The event object to get private data.\n * @returns {PrivateData} The private data of the event.\n * @private\n */\nfunction pd(event) {\n const retv = privateData.get(event);\n console.assert(\n retv != null,\n \"'this' is expected an Event object, but got\",\n event\n );\n return retv\n}\n\n/**\n * https://dom.spec.whatwg.org/#set-the-canceled-flag\n * @param data {PrivateData} private data.\n */\nfunction setCancelFlag(data) {\n if (data.passiveListener != null) {\n if (\n typeof console !== \"undefined\" &&\n typeof console.error === \"function\"\n ) {\n console.error(\n \"Unable to preventDefault inside passive event listener invocation.\",\n data.passiveListener\n );\n }\n return\n }\n if (!data.event.cancelable) {\n return\n }\n\n data.canceled = true;\n if (typeof data.event.preventDefault === \"function\") {\n data.event.preventDefault();\n }\n}\n\n/**\n * @see https://dom.spec.whatwg.org/#interface-event\n * @private\n */\n/**\n * The event wrapper.\n * @constructor\n * @param {EventTarget} eventTarget The event target of this dispatching.\n * @param {Event|{type:string}} event The original event to wrap.\n */\nfunction Event(eventTarget, event) {\n privateData.set(this, {\n eventTarget,\n event,\n eventPhase: 2,\n currentTarget: eventTarget,\n canceled: false,\n stopped: false,\n immediateStopped: false,\n passiveListener: null,\n timeStamp: event.timeStamp || Date.now(),\n });\n\n // https://heycam.github.io/webidl/#Unforgeable\n Object.defineProperty(this, \"isTrusted\", { value: false, enumerable: true });\n\n // Define accessors\n const keys = Object.keys(event);\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i];\n if (!(key in this)) {\n Object.defineProperty(this, key, defineRedirectDescriptor(key));\n }\n }\n}\n\n// Should be enumerable, but class methods are not enumerable.\nEvent.prototype = {\n /**\n * The type of this event.\n * @type {string}\n */\n get type() {\n return pd(this).event.type\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n */\n get target() {\n return pd(this).eventTarget\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n */\n get currentTarget() {\n return pd(this).currentTarget\n },\n\n /**\n * @returns {EventTarget[]} The composed path of this event.\n */\n composedPath() {\n const currentTarget = pd(this).currentTarget;\n if (currentTarget == null) {\n return []\n }\n return [currentTarget]\n },\n\n /**\n * Constant of NONE.\n * @type {number}\n */\n get NONE() {\n return 0\n },\n\n /**\n * Constant of CAPTURING_PHASE.\n * @type {number}\n */\n get CAPTURING_PHASE() {\n return 1\n },\n\n /**\n * Constant of AT_TARGET.\n * @type {number}\n */\n get AT_TARGET() {\n return 2\n },\n\n /**\n * Constant of BUBBLING_PHASE.\n * @type {number}\n */\n get BUBBLING_PHASE() {\n return 3\n },\n\n /**\n * The target of this event.\n * @type {number}\n */\n get eventPhase() {\n return pd(this).eventPhase\n },\n\n /**\n * Stop event bubbling.\n * @returns {void}\n */\n stopPropagation() {\n const data = pd(this);\n\n data.stopped = true;\n if (typeof data.event.stopPropagation === \"function\") {\n data.event.stopPropagation();\n }\n },\n\n /**\n * Stop event bubbling.\n * @returns {void}\n */\n stopImmediatePropagation() {\n const data = pd(this);\n\n data.stopped = true;\n data.immediateStopped = true;\n if (typeof data.event.stopImmediatePropagation === \"function\") {\n data.event.stopImmediatePropagation();\n }\n },\n\n /**\n * The flag to be bubbling.\n * @type {boolean}\n */\n get bubbles() {\n return Boolean(pd(this).event.bubbles)\n },\n\n /**\n * The flag to be cancelable.\n * @type {boolean}\n */\n get cancelable() {\n return Boolean(pd(this).event.cancelable)\n },\n\n /**\n * Cancel this event.\n * @returns {void}\n */\n preventDefault() {\n setCancelFlag(pd(this));\n },\n\n /**\n * The flag to indicate cancellation state.\n * @type {boolean}\n */\n get defaultPrevented() {\n return pd(this).canceled\n },\n\n /**\n * The flag to be composed.\n * @type {boolean}\n */\n get composed() {\n return Boolean(pd(this).event.composed)\n },\n\n /**\n * The unix time of this event.\n * @type {number}\n */\n get timeStamp() {\n return pd(this).timeStamp\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n * @deprecated\n */\n get srcElement() {\n return pd(this).eventTarget\n },\n\n /**\n * The flag to stop event bubbling.\n * @type {boolean}\n * @deprecated\n */\n get cancelBubble() {\n return pd(this).stopped\n },\n set cancelBubble(value) {\n if (!value) {\n return\n }\n const data = pd(this);\n\n data.stopped = true;\n if (typeof data.event.cancelBubble === \"boolean\") {\n data.event.cancelBubble = true;\n }\n },\n\n /**\n * The flag to indicate cancellation state.\n * @type {boolean}\n * @deprecated\n */\n get returnValue() {\n return !pd(this).canceled\n },\n set returnValue(value) {\n if (!value) {\n setCancelFlag(pd(this));\n }\n },\n\n /**\n * Initialize this event object. But do nothing under event dispatching.\n * @param {string} type The event type.\n * @param {boolean} [bubbles=false] The flag to be possible to bubble up.\n * @param {boolean} [cancelable=false] The flag to be possible to cancel.\n * @deprecated\n */\n initEvent() {\n // Do nothing.\n },\n};\n\n// `constructor` is not enumerable.\nObject.defineProperty(Event.prototype, \"constructor\", {\n value: Event,\n configurable: true,\n writable: true,\n});\n\n// Ensure `event instanceof window.Event` is `true`.\nif (typeof window !== \"undefined\" && typeof window.Event !== \"undefined\") {\n Object.setPrototypeOf(Event.prototype, window.Event.prototype);\n\n // Make association for wrappers.\n wrappers.set(window.Event.prototype, Event);\n}\n\n/**\n * Get the property descriptor to redirect a given property.\n * @param {string} key Property name to define property descriptor.\n * @returns {PropertyDescriptor} The property descriptor to redirect the property.\n * @private\n */\nfunction defineRedirectDescriptor(key) {\n return {\n get() {\n return pd(this).event[key]\n },\n set(value) {\n pd(this).event[key] = value;\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Get the property descriptor to call a given method property.\n * @param {string} key Property name to define property descriptor.\n * @returns {PropertyDescriptor} The property descriptor to call the method property.\n * @private\n */\nfunction defineCallDescriptor(key) {\n return {\n value() {\n const event = pd(this).event;\n return event[key].apply(event, arguments)\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Define new wrapper class.\n * @param {Function} BaseEvent The base wrapper class.\n * @param {Object} proto The prototype of the original event.\n * @returns {Function} The defined wrapper class.\n * @private\n */\nfunction defineWrapper(BaseEvent, proto) {\n const keys = Object.keys(proto);\n if (keys.length === 0) {\n return BaseEvent\n }\n\n /** CustomEvent */\n function CustomEvent(eventTarget, event) {\n BaseEvent.call(this, eventTarget, event);\n }\n\n CustomEvent.prototype = Object.create(BaseEvent.prototype, {\n constructor: { value: CustomEvent, configurable: true, writable: true },\n });\n\n // Define accessors.\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i];\n if (!(key in BaseEvent.prototype)) {\n const descriptor = Object.getOwnPropertyDescriptor(proto, key);\n const isFunc = typeof descriptor.value === \"function\";\n Object.defineProperty(\n CustomEvent.prototype,\n key,\n isFunc\n ? defineCallDescriptor(key)\n : defineRedirectDescriptor(key)\n );\n }\n }\n\n return CustomEvent\n}\n\n/**\n * Get the wrapper class of a given prototype.\n * @param {Object} proto The prototype of the original event to get its wrapper.\n * @returns {Function} The wrapper class.\n * @private\n */\nfunction getWrapper(proto) {\n if (proto == null || proto === Object.prototype) {\n return Event\n }\n\n let wrapper = wrappers.get(proto);\n if (wrapper == null) {\n wrapper = defineWrapper(getWrapper(Object.getPrototypeOf(proto)), proto);\n wrappers.set(proto, wrapper);\n }\n return wrapper\n}\n\n/**\n * Wrap a given event to management a dispatching.\n * @param {EventTarget} eventTarget The event target of this dispatching.\n * @param {Object} event The event to wrap.\n * @returns {Event} The wrapper instance.\n * @private\n */\nfunction wrapEvent(eventTarget, event) {\n const Wrapper = getWrapper(Object.getPrototypeOf(event));\n return new Wrapper(eventTarget, event)\n}\n\n/**\n * Get the immediateStopped flag of a given event.\n * @param {Event} event The event to get.\n * @returns {boolean} The flag to stop propagation immediately.\n * @private\n */\nfunction isStopped(event) {\n return pd(event).immediateStopped\n}\n\n/**\n * Set the current event phase of a given event.\n * @param {Event} event The event to set current target.\n * @param {number} eventPhase New event phase.\n * @returns {void}\n * @private\n */\nfunction setEventPhase(event, eventPhase) {\n pd(event).eventPhase = eventPhase;\n}\n\n/**\n * Set the current target of a given event.\n * @param {Event} event The event to set current target.\n * @param {EventTarget|null} currentTarget New current target.\n * @returns {void}\n * @private\n */\nfunction setCurrentTarget(event, currentTarget) {\n pd(event).currentTarget = currentTarget;\n}\n\n/**\n * Set a passive listener of a given event.\n * @param {Event} event The event to set current target.\n * @param {Function|null} passiveListener New passive listener.\n * @returns {void}\n * @private\n */\nfunction setPassiveListener(event, passiveListener) {\n pd(event).passiveListener = passiveListener;\n}\n\n/**\n * @typedef {object} ListenerNode\n * @property {Function} listener\n * @property {1|2|3} listenerType\n * @property {boolean} passive\n * @property {boolean} once\n * @property {ListenerNode|null} next\n * @private\n */\n\n/**\n * @type {WeakMap>}\n * @private\n */\nconst listenersMap = new WeakMap();\n\n// Listener types\nconst CAPTURE = 1;\nconst BUBBLE = 2;\nconst ATTRIBUTE = 3;\n\n/**\n * Check whether a given value is an object or not.\n * @param {any} x The value to check.\n * @returns {boolean} `true` if the value is an object.\n */\nfunction isObject(x) {\n return x !== null && typeof x === \"object\" //eslint-disable-line no-restricted-syntax\n}\n\n/**\n * Get listeners.\n * @param {EventTarget} eventTarget The event target to get.\n * @returns {Map} The listeners.\n * @private\n */\nfunction getListeners(eventTarget) {\n const listeners = listenersMap.get(eventTarget);\n if (listeners == null) {\n throw new TypeError(\n \"'this' is expected an EventTarget object, but got another value.\"\n )\n }\n return listeners\n}\n\n/**\n * Get the property descriptor for the event attribute of a given event.\n * @param {string} eventName The event name to get property descriptor.\n * @returns {PropertyDescriptor} The property descriptor.\n * @private\n */\nfunction defineEventAttributeDescriptor(eventName) {\n return {\n get() {\n const listeners = getListeners(this);\n let node = listeners.get(eventName);\n while (node != null) {\n if (node.listenerType === ATTRIBUTE) {\n return node.listener\n }\n node = node.next;\n }\n return null\n },\n\n set(listener) {\n if (typeof listener !== \"function\" && !isObject(listener)) {\n listener = null; // eslint-disable-line no-param-reassign\n }\n const listeners = getListeners(this);\n\n // Traverse to the tail while removing old value.\n let prev = null;\n let node = listeners.get(eventName);\n while (node != null) {\n if (node.listenerType === ATTRIBUTE) {\n // Remove old value.\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n } else {\n prev = node;\n }\n\n node = node.next;\n }\n\n // Add new value.\n if (listener !== null) {\n const newNode = {\n listener,\n listenerType: ATTRIBUTE,\n passive: false,\n once: false,\n next: null,\n };\n if (prev === null) {\n listeners.set(eventName, newNode);\n } else {\n prev.next = newNode;\n }\n }\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Define an event attribute (e.g. `eventTarget.onclick`).\n * @param {Object} eventTargetPrototype The event target prototype to define an event attrbite.\n * @param {string} eventName The event name to define.\n * @returns {void}\n */\nfunction defineEventAttribute(eventTargetPrototype, eventName) {\n Object.defineProperty(\n eventTargetPrototype,\n `on${eventName}`,\n defineEventAttributeDescriptor(eventName)\n );\n}\n\n/**\n * Define a custom EventTarget with event attributes.\n * @param {string[]} eventNames Event names for event attributes.\n * @returns {EventTarget} The custom EventTarget.\n * @private\n */\nfunction defineCustomEventTarget(eventNames) {\n /** CustomEventTarget */\n function CustomEventTarget() {\n EventTarget.call(this);\n }\n\n CustomEventTarget.prototype = Object.create(EventTarget.prototype, {\n constructor: {\n value: CustomEventTarget,\n configurable: true,\n writable: true,\n },\n });\n\n for (let i = 0; i < eventNames.length; ++i) {\n defineEventAttribute(CustomEventTarget.prototype, eventNames[i]);\n }\n\n return CustomEventTarget\n}\n\n/**\n * EventTarget.\n *\n * - This is constructor if no arguments.\n * - This is a function which returns a CustomEventTarget constructor if there are arguments.\n *\n * For example:\n *\n * class A extends EventTarget {}\n * class B extends EventTarget(\"message\") {}\n * class C extends EventTarget(\"message\", \"error\") {}\n * class D extends EventTarget([\"message\", \"error\"]) {}\n */\nfunction EventTarget() {\n /*eslint-disable consistent-return */\n if (this instanceof EventTarget) {\n listenersMap.set(this, new Map());\n return\n }\n if (arguments.length === 1 && Array.isArray(arguments[0])) {\n return defineCustomEventTarget(arguments[0])\n }\n if (arguments.length > 0) {\n const types = new Array(arguments.length);\n for (let i = 0; i < arguments.length; ++i) {\n types[i] = arguments[i];\n }\n return defineCustomEventTarget(types)\n }\n throw new TypeError(\"Cannot call a class as a function\")\n /*eslint-enable consistent-return */\n}\n\n// Should be enumerable, but class methods are not enumerable.\nEventTarget.prototype = {\n /**\n * Add a given listener to this event target.\n * @param {string} eventName The event name to add.\n * @param {Function} listener The listener to add.\n * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.\n * @returns {void}\n */\n addEventListener(eventName, listener, options) {\n if (listener == null) {\n return\n }\n if (typeof listener !== \"function\" && !isObject(listener)) {\n throw new TypeError(\"'listener' should be a function or an object.\")\n }\n\n const listeners = getListeners(this);\n const optionsIsObj = isObject(options);\n const capture = optionsIsObj\n ? Boolean(options.capture)\n : Boolean(options);\n const listenerType = capture ? CAPTURE : BUBBLE;\n const newNode = {\n listener,\n listenerType,\n passive: optionsIsObj && Boolean(options.passive),\n once: optionsIsObj && Boolean(options.once),\n next: null,\n };\n\n // Set it as the first node if the first node is null.\n let node = listeners.get(eventName);\n if (node === undefined) {\n listeners.set(eventName, newNode);\n return\n }\n\n // Traverse to the tail while checking duplication..\n let prev = null;\n while (node != null) {\n if (\n node.listener === listener &&\n node.listenerType === listenerType\n ) {\n // Should ignore duplication.\n return\n }\n prev = node;\n node = node.next;\n }\n\n // Add it.\n prev.next = newNode;\n },\n\n /**\n * Remove a given listener from this event target.\n * @param {string} eventName The event name to remove.\n * @param {Function} listener The listener to remove.\n * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.\n * @returns {void}\n */\n removeEventListener(eventName, listener, options) {\n if (listener == null) {\n return\n }\n\n const listeners = getListeners(this);\n const capture = isObject(options)\n ? Boolean(options.capture)\n : Boolean(options);\n const listenerType = capture ? CAPTURE : BUBBLE;\n\n let prev = null;\n let node = listeners.get(eventName);\n while (node != null) {\n if (\n node.listener === listener &&\n node.listenerType === listenerType\n ) {\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n return\n }\n\n prev = node;\n node = node.next;\n }\n },\n\n /**\n * Dispatch a given event.\n * @param {Event|{type:string}} event The event to dispatch.\n * @returns {boolean} `false` if canceled.\n */\n dispatchEvent(event) {\n if (event == null || typeof event.type !== \"string\") {\n throw new TypeError('\"event.type\" should be a string.')\n }\n\n // If listeners aren't registered, terminate.\n const listeners = getListeners(this);\n const eventName = event.type;\n let node = listeners.get(eventName);\n if (node == null) {\n return true\n }\n\n // Since we cannot rewrite several properties, so wrap object.\n const wrappedEvent = wrapEvent(this, event);\n\n // This doesn't process capturing phase and bubbling phase.\n // This isn't participating in a tree.\n let prev = null;\n while (node != null) {\n // Remove this listener if it's once\n if (node.once) {\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n } else {\n prev = node;\n }\n\n // Call this listener\n setPassiveListener(\n wrappedEvent,\n node.passive ? node.listener : null\n );\n if (typeof node.listener === \"function\") {\n try {\n node.listener.call(this, wrappedEvent);\n } catch (err) {\n if (\n typeof console !== \"undefined\" &&\n typeof console.error === \"function\"\n ) {\n console.error(err);\n }\n }\n } else if (\n node.listenerType !== ATTRIBUTE &&\n typeof node.listener.handleEvent === \"function\"\n ) {\n node.listener.handleEvent(wrappedEvent);\n }\n\n // Break if `event.stopImmediatePropagation` was called.\n if (isStopped(wrappedEvent)) {\n break\n }\n\n node = node.next;\n }\n setPassiveListener(wrappedEvent, null);\n setEventPhase(wrappedEvent, 0);\n setCurrentTarget(wrappedEvent, null);\n\n return !wrappedEvent.defaultPrevented\n },\n};\n\n// `constructor` is not enumerable.\nObject.defineProperty(EventTarget.prototype, \"constructor\", {\n value: EventTarget,\n configurable: true,\n writable: true,\n});\n\n// Ensure `eventTarget instanceof window.EventTarget` is `true`.\nif (\n typeof window !== \"undefined\" &&\n typeof window.EventTarget !== \"undefined\"\n) {\n Object.setPrototypeOf(EventTarget.prototype, window.EventTarget.prototype);\n}\n\nexports.defineEventAttribute = defineEventAttribute;\nexports.EventTarget = EventTarget;\nexports.default = EventTarget;\n\nmodule.exports = EventTarget\nmodule.exports.EventTarget = module.exports[\"default\"] = EventTarget\nmodule.exports.defineEventAttribute = defineEventAttribute\n//# sourceMappingURL=event-target-shim.js.map\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst NativeEventEmitter = require('../EventEmitter/NativeEventEmitter');\n\nconst convertRequestBody = require('./convertRequestBody');\n\nimport NativeNetworkingIOS from './NativeNetworkingIOS';\nimport type {NativeResponseType} from './XMLHttpRequest';\nimport type {RequestBody} from './convertRequestBody';\n\nclass RCTNetworking extends NativeEventEmitter {\n constructor() {\n super(NativeNetworkingIOS);\n }\n\n sendRequest(\n method: string,\n trackingName: string,\n url: string,\n headers: Object,\n data: RequestBody,\n responseType: NativeResponseType,\n incrementalUpdates: boolean,\n timeout: number,\n callback: (requestId: number) => void,\n withCredentials: boolean,\n ) {\n const body = convertRequestBody(data);\n NativeNetworkingIOS.sendRequest(\n {\n method,\n url,\n data: {...body, trackingName},\n headers,\n responseType,\n incrementalUpdates,\n timeout,\n withCredentials,\n },\n callback,\n );\n }\n\n abortRequest(requestId: number) {\n NativeNetworkingIOS.abortRequest(requestId);\n }\n\n clearCookies(callback: (result: boolean) => void) {\n NativeNetworkingIOS.clearCookies(callback);\n }\n}\n\nmodule.exports = (new RCTNetworking(): RCTNetworking);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +sendRequest: (\n query: {|\n method: string,\n url: string,\n data: Object,\n headers: Object,\n responseType: Object, // TODO: Use stricter type.\n incrementalUpdates: boolean,\n timeout: number,\n withCredentials: boolean,\n |},\n callback: (requestId: number) => void,\n ) => void;\n +abortRequest: (requestId: number) => void;\n +clearCookies: (callback: (result: boolean) => void) => void;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Networking'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EventEmitter = require('../vendor/emitter/EventEmitter');\nconst Platform = require('../Utilities/Platform');\nconst RCTDeviceEventEmitter = require('./RCTDeviceEventEmitter');\n\nconst invariant = require('invariant');\n\nimport type EmitterSubscription from '../vendor/emitter/EmitterSubscription';\n\ntype NativeModule = {\n +addListener: (eventType: string) => void,\n +removeListeners: (count: number) => void,\n};\n\n/**\n * Abstract base class for implementing event-emitting modules. This implements\n * a subset of the standard EventEmitter node module API.\n */\nclass NativeEventEmitter extends EventEmitter {\n _nativeModule: ?NativeModule;\n\n constructor(nativeModule: ?NativeModule) {\n super(RCTDeviceEventEmitter.sharedSubscriber);\n if (Platform.OS === 'ios') {\n invariant(nativeModule, 'Native module cannot be null.');\n this._nativeModule = nativeModule;\n }\n }\n\n addListener(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n if (this._nativeModule != null) {\n this._nativeModule.addListener(eventType);\n }\n return super.addListener(eventType, listener, context);\n }\n\n removeAllListeners(eventType: string) {\n invariant(eventType, 'eventType argument is required.');\n const count = this.listeners(eventType).length;\n if (this._nativeModule != null) {\n this._nativeModule.removeListeners(count);\n }\n super.removeAllListeners(eventType);\n }\n\n removeSubscription(subscription: EmitterSubscription) {\n if (this._nativeModule != null) {\n this._nativeModule.removeListeners(1);\n }\n super.removeSubscription(subscription);\n }\n}\n\nmodule.exports = NativeEventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst binaryToBase64 = require('../Utilities/binaryToBase64');\n\nconst Blob = require('../Blob/Blob');\nconst FormData = require('./FormData');\n\nexport type RequestBody =\n | string\n | Blob\n | FormData\n | {uri: string}\n | ArrayBuffer\n | $ArrayBufferView;\n\nfunction convertRequestBody(body: RequestBody): Object {\n if (typeof body === 'string') {\n return {string: body};\n }\n if (body instanceof Blob) {\n return {blob: body.data};\n }\n if (body instanceof FormData) {\n return {formData: body.getParts()};\n }\n if (body instanceof ArrayBuffer || ArrayBuffer.isView(body)) {\n // $FlowFixMe: no way to assert that 'body' is indeed an ArrayBufferView\n return {base64: binaryToBase64(body)};\n }\n return body;\n}\n\nmodule.exports = convertRequestBody;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst base64 = require('base64-js');\n\nfunction binaryToBase64(data: ArrayBuffer | $ArrayBufferView): any {\n if (data instanceof ArrayBuffer) {\n data = new Uint8Array(data);\n }\n if (data instanceof Uint8Array) {\n return base64.fromByteArray(data);\n }\n if (!ArrayBuffer.isView(data)) {\n throw new Error('data must be ArrayBuffer or typed array');\n }\n const {buffer, byteOffset, byteLength} = data;\n return base64.fromByteArray(new Uint8Array(buffer, byteOffset, byteLength));\n}\n\nmodule.exports = binaryToBase64;\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n for (var i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\n ))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\ntype FormDataValue = any;\ntype FormDataNameValuePair = [string, FormDataValue];\n\ntype Headers = {[name: string]: string};\ntype FormDataPart =\n | {\n string: string,\n headers: Headers,\n }\n | {\n uri: string,\n headers: Headers,\n name?: string,\n type?: string,\n };\n\n/**\n * Polyfill for XMLHttpRequest2 FormData API, allowing multipart POST requests\n * with mixed data (string, native files) to be submitted via XMLHttpRequest.\n *\n * Example:\n *\n * var photo = {\n * uri: uriFromCameraRoll,\n * type: 'image/jpeg',\n * name: 'photo.jpg',\n * };\n *\n * var body = new FormData();\n * body.append('authToken', 'secret');\n * body.append('photo', photo);\n * body.append('title', 'A beautiful photo!');\n *\n * xhr.open('POST', serverURL);\n * xhr.send(body);\n */\nclass FormData {\n _parts: Array;\n\n constructor() {\n this._parts = [];\n }\n\n append(key: string, value: FormDataValue) {\n // The XMLHttpRequest spec doesn't specify if duplicate keys are allowed.\n // MDN says that any new values should be appended to existing values.\n // In any case, major browsers allow duplicate keys, so that's what we'll do\n // too. They'll simply get appended as additional form data parts in the\n // request body, leaving the server to deal with them.\n this._parts.push([key, value]);\n }\n\n getParts(): Array {\n return this._parts.map(([name, value]) => {\n const contentDisposition = 'form-data; name=\"' + name + '\"';\n\n const headers: Headers = {'content-disposition': contentDisposition};\n\n // The body part is a \"blob\", which in React Native just means\n // an object with a `uri` attribute. Optionally, it can also\n // have a `name` and `type` attribute to specify filename and\n // content type (cf. web Blob interface.)\n if (typeof value === 'object' && value) {\n if (typeof value.name === 'string') {\n headers['content-disposition'] += '; filename=\"' + value.name + '\"';\n }\n if (typeof value.type === 'string') {\n headers['content-type'] = value.type;\n }\n return {...value, headers, fieldName: name};\n }\n // Convert non-object values to strings as per FormData.append() spec\n return {string: String(value), headers, fieldName: name};\n });\n }\n}\n\nmodule.exports = FormData;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n/* globals Headers, Request, Response */\n\n'use strict';\n\n// side-effectful require() to put fetch,\n// Headers, Request, Response in global scope\nrequire('whatwg-fetch');\n\nmodule.exports = {fetch, Headers, Request, Response};\n","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.WHATWGFetch = {})));\n}(this, (function (exports) { 'use strict';\n\n var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob();\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n };\n\n function isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ];\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n };\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift();\n return {done: value === undefined, value: value}\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n };\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name]);\n }, this);\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n };\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)];\n };\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null\n };\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n };\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n };\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n };\n\n Headers.prototype.keys = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push(name);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.values = function() {\n var items = [];\n this.forEach(function(value) {\n items.push(value);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.entries = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items)\n };\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true;\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result);\n };\n reader.onerror = function() {\n reject(reader.error);\n };\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false;\n\n this._initBody = function(body) {\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n };\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n };\n }\n\n this.text = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n };\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n };\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n };\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method\n }\n\n function Request(input, options) {\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body);\n }\n\n Request.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n };\n\n function decode(body) {\n var form = new FormData();\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers\n }\n\n Body.call(Request.prototype);\n\n function Response(bodyInit, options) {\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = 'statusText' in options ? options.statusText : 'OK';\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n }\n\n Body.call(Response.prototype);\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n };\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''});\n response.type = 'error';\n return response\n };\n\n var redirectStatuses = [301, 302, 303, 307, 308];\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n };\n\n exports.DOMException = self.DOMException;\n try {\n new exports.DOMException();\n } catch (err) {\n exports.DOMException = function(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n exports.DOMException.prototype = Object.create(Error.prototype);\n exports.DOMException.prototype.constructor = exports.DOMException;\n }\n\n function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new exports.DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n resolve(new Response(body, options));\n };\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.onabort = function() {\n reject(new exports.DOMException('Aborted', 'AbortError'));\n };\n\n xhr.open(request.method, request.url, true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob';\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value);\n });\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n })\n }\n\n fetch.polyfill = true;\n\n if (!self.fetch) {\n self.fetch = fetch;\n self.Headers = Headers;\n self.Request = Request;\n self.Response = Response;\n }\n\n exports.Headers = Headers;\n exports.Request = Request;\n exports.Response = Response;\n exports.fetch = fetch;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Blob = require('../Blob/Blob');\nconst BlobManager = require('../Blob/BlobManager');\nconst EventTarget = require('event-target-shim');\nconst NativeEventEmitter = require('../EventEmitter/NativeEventEmitter');\nconst Platform = require('../Utilities/Platform');\nconst WebSocketEvent = require('./WebSocketEvent');\n\nconst base64 = require('base64-js');\nconst binaryToBase64 = require('../Utilities/binaryToBase64');\nconst invariant = require('invariant');\n\nimport type EventSubscription from '../vendor/emitter/EventSubscription';\nimport NativeWebSocketModule from './NativeWebSocketModule';\n\ntype ArrayBufferView =\n | Int8Array\n | Uint8Array\n | Uint8ClampedArray\n | Int16Array\n | Uint16Array\n | Int32Array\n | Uint32Array\n | Float32Array\n | Float64Array\n | DataView;\n\ntype BinaryType = 'blob' | 'arraybuffer';\n\nconst CONNECTING = 0;\nconst OPEN = 1;\nconst CLOSING = 2;\nconst CLOSED = 3;\n\nconst CLOSE_NORMAL = 1000;\n\nconst WEBSOCKET_EVENTS = ['close', 'error', 'message', 'open'];\n\nlet nextWebSocketId = 0;\n\n/**\n * Browser-compatible WebSockets implementation.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/WebSocket\n * See https://github.com/websockets/ws\n */\nclass WebSocket extends (EventTarget(...WEBSOCKET_EVENTS): any) {\n static CONNECTING: number = CONNECTING;\n static OPEN: number = OPEN;\n static CLOSING: number = CLOSING;\n static CLOSED: number = CLOSED;\n\n CONNECTING: number = CONNECTING;\n OPEN: number = OPEN;\n CLOSING: number = CLOSING;\n CLOSED: number = CLOSED;\n\n _socketId: number;\n _eventEmitter: NativeEventEmitter;\n _subscriptions: Array;\n _binaryType: ?BinaryType;\n\n onclose: ?Function;\n onerror: ?Function;\n onmessage: ?Function;\n onopen: ?Function;\n\n bufferedAmount: number;\n extension: ?string;\n protocol: ?string;\n readyState: number = CONNECTING;\n url: ?string;\n\n constructor(\n url: string,\n protocols: ?string | ?Array,\n options: ?{headers?: {origin?: string}},\n ) {\n super();\n if (typeof protocols === 'string') {\n protocols = [protocols];\n }\n\n const {headers = {}, ...unrecognized} = options || {};\n\n // Preserve deprecated backwards compatibility for the 'origin' option\n /* $FlowFixMe(>=0.68.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.68 was deployed. To see the error delete this\n * comment and run Flow. */\n if (unrecognized && typeof unrecognized.origin === 'string') {\n console.warn(\n 'Specifying `origin` as a WebSocket connection option is deprecated. Include it under `headers` instead.',\n );\n /* $FlowFixMe(>=0.54.0 site=react_native_fb,react_native_oss) This\n * comment suppresses an error found when Flow v0.54 was deployed. To see\n * the error delete this comment and run Flow. */\n headers.origin = unrecognized.origin;\n /* $FlowFixMe(>=0.54.0 site=react_native_fb,react_native_oss) This\n * comment suppresses an error found when Flow v0.54 was deployed. To see\n * the error delete this comment and run Flow. */\n delete unrecognized.origin;\n }\n\n // Warn about and discard anything else\n if (Object.keys(unrecognized).length > 0) {\n console.warn(\n 'Unrecognized WebSocket connection option(s) `' +\n Object.keys(unrecognized).join('`, `') +\n '`. ' +\n 'Did you mean to put these under `headers`?',\n );\n }\n\n if (!Array.isArray(protocols)) {\n protocols = null;\n }\n\n this._eventEmitter = new NativeEventEmitter(NativeWebSocketModule);\n this._socketId = nextWebSocketId++;\n this._registerEvents();\n NativeWebSocketModule.connect(url, protocols, {headers}, this._socketId);\n }\n\n get binaryType(): ?BinaryType {\n return this._binaryType;\n }\n\n set binaryType(binaryType: BinaryType): void {\n if (binaryType !== 'blob' && binaryType !== 'arraybuffer') {\n throw new Error(\"binaryType must be either 'blob' or 'arraybuffer'\");\n }\n if (this._binaryType === 'blob' || binaryType === 'blob') {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n if (binaryType === 'blob') {\n BlobManager.addWebSocketHandler(this._socketId);\n } else {\n BlobManager.removeWebSocketHandler(this._socketId);\n }\n }\n this._binaryType = binaryType;\n }\n\n close(code?: number, reason?: string): void {\n if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {\n return;\n }\n\n this.readyState = this.CLOSING;\n this._close(code, reason);\n }\n\n send(data: string | ArrayBuffer | ArrayBufferView | Blob): void {\n if (this.readyState === this.CONNECTING) {\n throw new Error('INVALID_STATE_ERR');\n }\n\n if (data instanceof Blob) {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n BlobManager.sendOverSocket(data, this._socketId);\n return;\n }\n\n if (typeof data === 'string') {\n NativeWebSocketModule.send(data, this._socketId);\n return;\n }\n\n if (data instanceof ArrayBuffer || ArrayBuffer.isView(data)) {\n NativeWebSocketModule.sendBinary(binaryToBase64(data), this._socketId);\n return;\n }\n\n throw new Error('Unsupported data type');\n }\n\n ping(): void {\n if (this.readyState === this.CONNECTING) {\n throw new Error('INVALID_STATE_ERR');\n }\n\n NativeWebSocketModule.ping(this._socketId);\n }\n\n _close(code?: number, reason?: string): void {\n // See https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent\n const statusCode = typeof code === 'number' ? code : CLOSE_NORMAL;\n const closeReason = typeof reason === 'string' ? reason : '';\n NativeWebSocketModule.close(statusCode, closeReason, this._socketId);\n\n if (BlobManager.isAvailable && this._binaryType === 'blob') {\n BlobManager.removeWebSocketHandler(this._socketId);\n }\n }\n\n _unregisterEvents(): void {\n this._subscriptions.forEach(e => e.remove());\n this._subscriptions = [];\n }\n\n _registerEvents(): void {\n this._subscriptions = [\n this._eventEmitter.addListener('websocketMessage', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n let data = ev.data;\n switch (ev.type) {\n case 'binary':\n data = base64.toByteArray(ev.data).buffer;\n break;\n case 'blob':\n data = BlobManager.createFromOptions(ev.data);\n break;\n }\n this.dispatchEvent(new WebSocketEvent('message', {data}));\n }),\n this._eventEmitter.addListener('websocketOpen', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.OPEN;\n this.protocol = ev.protocol;\n this.dispatchEvent(new WebSocketEvent('open'));\n }),\n this._eventEmitter.addListener('websocketClosed', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.CLOSED;\n this.dispatchEvent(\n new WebSocketEvent('close', {\n code: ev.code,\n reason: ev.reason,\n }),\n );\n this._unregisterEvents();\n this.close();\n }),\n this._eventEmitter.addListener('websocketFailed', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.CLOSED;\n this.dispatchEvent(\n new WebSocketEvent('error', {\n message: ev.message,\n }),\n );\n this.dispatchEvent(\n new WebSocketEvent('close', {\n message: ev.message,\n }),\n );\n this._unregisterEvents();\n this.close();\n }),\n ];\n }\n}\n\nmodule.exports = WebSocket;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +connect: (\n url: string,\n protocols: ?Array,\n options: ?{headers?: {origin?: string}},\n socketID: number,\n ) => void;\n +send: (message: string, socketID: number) => void;\n +sendBinary: (base64String: string, socketID: number) => void;\n +ping: (socketID: number) => void;\n +close: (code: number, reason: string, socketID: number) => void;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'WebSocketModule',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\n/**\n * Event object passed to the `onopen`, `onclose`, `onmessage`, `onerror`\n * callbacks of `WebSocket`.\n *\n * The `type` property is \"open\", \"close\", \"message\", \"error\" respectively.\n *\n * In case of \"message\", the `data` property contains the incoming data.\n */\nclass WebSocketEvent {\n constructor(type, eventInitDict) {\n this.type = type.toString();\n Object.assign(this, eventInitDict);\n }\n}\n\nmodule.exports = WebSocketEvent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst Blob = require('./Blob');\n\nconst invariant = require('invariant');\n\nimport type {BlobOptions} from './BlobTypes';\n\n/**\n * The File interface provides information about files.\n */\nclass File extends Blob {\n /**\n * Constructor for JS consumers.\n */\n constructor(\n parts: Array,\n name: string,\n options?: BlobOptions,\n ) {\n invariant(\n parts != null && name != null,\n 'Failed to construct `File`: Must pass both `parts` and `name` arguments.',\n );\n\n super(parts, options);\n this.data.name = name;\n }\n\n /**\n * Name of the file.\n */\n get name(): string {\n invariant(this.data.name != null, 'Files must have a name set.');\n return this.data.name;\n }\n\n /*\n * Last modified time of the file.\n */\n get lastModified(): number {\n return this.data.lastModified || 0;\n }\n}\n\nmodule.exports = File;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst Blob = require('./Blob');\nconst EventTarget = require('event-target-shim');\n\nimport NativeFileReaderModule from './NativeFileReaderModule';\n\ntype ReadyState =\n | 0 // EMPTY\n | 1 // LOADING\n | 2; // DONE\n\ntype ReaderResult = string | ArrayBuffer;\n\nconst READER_EVENTS = [\n 'abort',\n 'error',\n 'load',\n 'loadstart',\n 'loadend',\n 'progress',\n];\n\nconst EMPTY = 0;\nconst LOADING = 1;\nconst DONE = 2;\n\nclass FileReader extends (EventTarget(...READER_EVENTS): any) {\n static EMPTY: number = EMPTY;\n static LOADING: number = LOADING;\n static DONE: number = DONE;\n\n EMPTY: number = EMPTY;\n LOADING: number = LOADING;\n DONE: number = DONE;\n\n _readyState: ReadyState;\n _error: ?Error;\n _result: ?ReaderResult;\n _aborted: boolean = false;\n _subscriptions: Array<*> = [];\n\n constructor() {\n super();\n this._reset();\n }\n\n _reset(): void {\n this._readyState = EMPTY;\n this._error = null;\n this._result = null;\n }\n\n _clearSubscriptions(): void {\n this._subscriptions.forEach(sub => sub.remove());\n this._subscriptions = [];\n }\n\n _setReadyState(newState: ReadyState) {\n this._readyState = newState;\n this.dispatchEvent({type: 'readystatechange'});\n if (newState === DONE) {\n if (this._aborted) {\n this.dispatchEvent({type: 'abort'});\n } else if (this._error) {\n this.dispatchEvent({type: 'error'});\n } else {\n this.dispatchEvent({type: 'load'});\n }\n this.dispatchEvent({type: 'loadend'});\n }\n }\n\n readAsArrayBuffer() {\n throw new Error('FileReader.readAsArrayBuffer is not implemented');\n }\n\n readAsDataURL(blob: Blob) {\n this._aborted = false;\n\n NativeFileReaderModule.readAsDataURL(blob.data).then(\n (text: string) => {\n if (this._aborted) {\n return;\n }\n this._result = text;\n this._setReadyState(DONE);\n },\n error => {\n if (this._aborted) {\n return;\n }\n this._error = error;\n this._setReadyState(DONE);\n },\n );\n }\n\n readAsText(blob: Blob, encoding: string = 'UTF-8') {\n this._aborted = false;\n\n NativeFileReaderModule.readAsText(blob.data, encoding).then(\n (text: string) => {\n if (this._aborted) {\n return;\n }\n this._result = text;\n this._setReadyState(DONE);\n },\n error => {\n if (this._aborted) {\n return;\n }\n this._error = error;\n this._setReadyState(DONE);\n },\n );\n }\n\n abort() {\n this._aborted = true;\n // only call onreadystatechange if there is something to abort, as per spec\n if (this._readyState !== EMPTY && this._readyState !== DONE) {\n this._reset();\n this._setReadyState(DONE);\n }\n // Reset again after, in case modified in handler\n this._reset();\n }\n\n get readyState(): ReadyState {\n return this._readyState;\n }\n\n get error(): ?Error {\n return this._error;\n }\n\n get result(): ?ReaderResult {\n return this._result;\n }\n}\n\nmodule.exports = FileReader;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +readAsDataURL: (data: Object) => Promise;\n +readAsText: (data: Object, encoding: string) => Promise;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'FileReaderModule',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst Blob = require('./Blob');\n\nimport NativeBlobModule from './NativeBlobModule';\n\nlet BLOB_URL_PREFIX = null;\n\nif (\n NativeBlobModule &&\n typeof NativeBlobModule.getConstants().BLOB_URI_SCHEME === 'string'\n) {\n const constants = NativeBlobModule.getConstants();\n BLOB_URL_PREFIX = constants.BLOB_URI_SCHEME + ':';\n if (typeof constants.BLOB_URI_HOST === 'string') {\n BLOB_URL_PREFIX += `//${constants.BLOB_URI_HOST}/`;\n }\n}\n\n/**\n * To allow Blobs be accessed via `content://` URIs,\n * you need to register `BlobProvider` as a ContentProvider in your app's `AndroidManifest.xml`:\n *\n * ```xml\n * \n * \n * \n * \n * \n * ```\n * And then define the `blob_provider_authority` string in `res/values/strings.xml`.\n * Use a dotted name that's entirely unique to your app:\n *\n * ```xml\n * \n * your.app.package.blobs\n * \n * ```\n */\n\n// Small subset from whatwg-url: https://github.com/jsdom/whatwg-url/tree/master/lib\n// The reference code bloat comes from Unicode issues with URLs, so those won't work here.\nexport class URLSearchParams {\n _searchParams = [];\n\n constructor(params: any) {\n if (typeof params === 'object') {\n Object.keys(params).forEach(key => this.append(key, params[key]));\n }\n }\n\n append(key: string, value: string) {\n this._searchParams.push([key, value]);\n }\n\n delete(name) {\n throw new Error('not implemented');\n }\n\n get(name) {\n throw new Error('not implemented');\n }\n\n getAll(name) {\n throw new Error('not implemented');\n }\n\n has(name) {\n throw new Error('not implemented');\n }\n\n set(name, value) {\n throw new Error('not implemented');\n }\n\n sort() {\n throw new Error('not implemented');\n }\n\n [Symbol.iterator]() {\n return this._searchParams[Symbol.iterator]();\n }\n\n toString() {\n if (this._searchParams.length === 0) {\n return '';\n }\n const last = this._searchParams.length - 1;\n return this._searchParams.reduce((acc, curr, index) => {\n return acc + curr.join('=') + (index === last ? '' : '&');\n }, '');\n }\n}\n\nfunction validateBaseUrl(url: string) {\n // from this MIT-licensed gist: https://gist.github.com/dperini/729294\n return /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#]\\S*)?$/i.test(\n url,\n );\n}\n\nexport class URL {\n _searchParamsInstance = null;\n\n static createObjectURL(blob: Blob) {\n if (BLOB_URL_PREFIX === null) {\n throw new Error('Cannot create URL for blob!');\n }\n return `${BLOB_URL_PREFIX}${blob.data.blobId}?offset=${\n blob.data.offset\n }&size=${blob.size}`;\n }\n\n static revokeObjectURL(url: string) {\n // Do nothing.\n }\n\n constructor(url: string, base: string) {\n let baseUrl = null;\n if (!base || validateBaseUrl(url)) {\n this._url = url;\n if (!this._url.endsWith('/')) {\n this._url += '/';\n }\n } else {\n if (typeof base === 'string') {\n baseUrl = base;\n if (!validateBaseUrl(baseUrl)) {\n throw new TypeError(`Invalid base URL: ${baseUrl}`);\n }\n } else if (typeof base === 'object') {\n baseUrl = base.toString();\n }\n if (baseUrl.endsWith('/') && url.startsWith('/')) {\n baseUrl = baseUrl.slice(0, baseUrl.length - 1);\n }\n if (baseUrl.endsWith(url)) {\n url = '';\n }\n this._url = `${baseUrl}${url}`;\n }\n }\n\n get hash() {\n throw new Error('not implemented');\n }\n\n get host() {\n throw new Error('not implemented');\n }\n\n get hostname() {\n throw new Error('not implemented');\n }\n\n get href(): string {\n return this.toString();\n }\n\n get origin() {\n throw new Error('not implemented');\n }\n\n get password() {\n throw new Error('not implemented');\n }\n\n get pathname() {\n throw new Error('not implemented');\n }\n\n get port() {\n throw new Error('not implemented');\n }\n\n get protocol() {\n throw new Error('not implemented');\n }\n\n get search() {\n throw new Error('not implemented');\n }\n\n get searchParams(): URLSearchParams {\n if (this._searchParamsInstance == null) {\n this._searchParamsInstance = new URLSearchParams();\n }\n return this._searchParamsInstance;\n }\n\n toJSON(): string {\n return this.toString();\n }\n\n toString(): string {\n if (this._searchParamsInstance === null) {\n return this._url;\n }\n const separator = this._url.indexOf('?') > -1 ? '&' : '?';\n return this._url + separator + this._searchParamsInstance.toString();\n }\n\n get username() {\n throw new Error('not implemented');\n }\n}\n","/**\n * @author Toru Nagashima \n * See LICENSE file in root directory for full license.\n */\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar eventTargetShim = require('event-target-shim');\n\n/**\n * The signal class.\n * @see https://dom.spec.whatwg.org/#abortsignal\n */\nclass AbortSignal extends eventTargetShim.EventTarget {\n /**\n * AbortSignal cannot be constructed directly.\n */\n constructor() {\n super();\n throw new TypeError(\"AbortSignal cannot be constructed directly\");\n }\n /**\n * Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise.\n */\n get aborted() {\n const aborted = abortedFlags.get(this);\n if (typeof aborted !== \"boolean\") {\n throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? \"null\" : typeof this}`);\n }\n return aborted;\n }\n}\neventTargetShim.defineEventAttribute(AbortSignal.prototype, \"abort\");\n/**\n * Create an AbortSignal object.\n */\nfunction createAbortSignal() {\n const signal = Object.create(AbortSignal.prototype);\n eventTargetShim.EventTarget.call(signal);\n abortedFlags.set(signal, false);\n return signal;\n}\n/**\n * Abort a given signal.\n */\nfunction abortSignal(signal) {\n if (abortedFlags.get(signal) !== false) {\n return;\n }\n abortedFlags.set(signal, true);\n signal.dispatchEvent({ type: \"abort\" });\n}\n/**\n * Aborted flag for each instances.\n */\nconst abortedFlags = new WeakMap();\n// Properties should be enumerable.\nObject.defineProperties(AbortSignal.prototype, {\n aborted: { enumerable: true },\n});\n// `toString()` should return `\"[object AbortSignal]\"`\nif (typeof Symbol === \"function\" && typeof Symbol.toStringTag === \"symbol\") {\n Object.defineProperty(AbortSignal.prototype, Symbol.toStringTag, {\n configurable: true,\n value: \"AbortSignal\",\n });\n}\n\n/**\n * The AbortController.\n * @see https://dom.spec.whatwg.org/#abortcontroller\n */\nclass AbortController {\n /**\n * Initialize this controller.\n */\n constructor() {\n signals.set(this, createAbortSignal());\n }\n /**\n * Returns the `AbortSignal` object associated with this object.\n */\n get signal() {\n return getSignal(this);\n }\n /**\n * Abort and signal to any observers that the associated activity is to be aborted.\n */\n abort() {\n abortSignal(getSignal(this));\n }\n}\n/**\n * Associated signals.\n */\nconst signals = new WeakMap();\n/**\n * Get the associated signal of a given controller.\n */\nfunction getSignal(controller) {\n const signal = signals.get(controller);\n if (signal == null) {\n throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${controller === null ? \"null\" : typeof controller}`);\n }\n return signal;\n}\n// Properties should be enumerable.\nObject.defineProperties(AbortController.prototype, {\n signal: { enumerable: true },\n abort: { enumerable: true },\n});\nif (typeof Symbol === \"function\" && typeof Symbol.toStringTag === \"symbol\") {\n Object.defineProperty(AbortController.prototype, Symbol.toStringTag, {\n configurable: true,\n value: \"AbortController\",\n });\n}\n\nexports.AbortController = AbortController;\nexports.AbortSignal = AbortSignal;\nexports.default = AbortController;\n\nmodule.exports = AbortController\nmodule.exports.AbortController = module.exports[\"default\"] = AbortController\nmodule.exports.AbortSignal = AbortSignal\n//# sourceMappingURL=abort-controller.js.map\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\n/**\n * Set up alert().\n * You can use this module directly, or just require InitializeCore.\n */\nif (!global.alert) {\n global.alert = function(text) {\n // Require Alert on demand. Requiring it too early can lead to issues\n // with things like Platform not being fully initialized.\n require('../Alert/Alert').alert('Alert', '' + text);\n };\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport Platform from '../Utilities/Platform';\nimport NativeDialogManagerAndroid, {\n type DialogOptions,\n} from '../NativeModules/specs/NativeDialogManagerAndroid';\nimport RCTAlertManager from './RCTAlertManager';\n\nexport type AlertType =\n | 'default'\n | 'plain-text'\n | 'secure-text'\n | 'login-password';\nexport type AlertButtonStyle = 'default' | 'cancel' | 'destructive';\nexport type Buttons = Array<{\n text?: string,\n onPress?: ?Function,\n style?: AlertButtonStyle,\n}>;\n\ntype Options = {\n cancelable?: ?boolean,\n onDismiss?: ?() => void,\n};\n\n/**\n * Launches an alert dialog with the specified title and message.\n *\n * See http://facebook.github.io/react-native/docs/alert.html\n */\nclass Alert {\n static alert(\n title: ?string,\n message?: ?string,\n buttons?: Buttons,\n options?: Options,\n ): void {\n if (Platform.OS === 'ios') {\n Alert.prompt(title, message, buttons, 'default');\n } else if (Platform.OS === 'android') {\n if (!NativeDialogManagerAndroid) {\n return;\n }\n const constants = NativeDialogManagerAndroid.getConstants();\n\n const config: DialogOptions = {\n title: title || '',\n message: message || '',\n cancelable: false,\n };\n\n if (options && options.cancelable) {\n config.cancelable = options.cancelable;\n }\n // At most three buttons (neutral, negative, positive). Ignore rest.\n // The text 'OK' should be probably localized. iOS Alert does that in native.\n const defaultPositiveText = 'OK';\n const validButtons: Buttons = buttons\n ? buttons.slice(0, 3)\n : [{text: defaultPositiveText}];\n const buttonPositive = validButtons.pop();\n const buttonNegative = validButtons.pop();\n const buttonNeutral = validButtons.pop();\n\n if (buttonNeutral) {\n config.buttonNeutral = buttonNeutral.text || '';\n }\n if (buttonNegative) {\n config.buttonNegative = buttonNegative.text || '';\n }\n if (buttonPositive) {\n config.buttonPositive = buttonPositive.text || defaultPositiveText;\n }\n\n const onAction = (action, buttonKey) => {\n if (action === constants.buttonClicked) {\n if (buttonKey === constants.buttonNeutral) {\n buttonNeutral.onPress && buttonNeutral.onPress();\n } else if (buttonKey === constants.buttonNegative) {\n buttonNegative.onPress && buttonNegative.onPress();\n } else if (buttonKey === constants.buttonPositive) {\n buttonPositive.onPress && buttonPositive.onPress();\n }\n } else if (action === constants.dismissed) {\n options && options.onDismiss && options.onDismiss();\n }\n };\n const onError = errorMessage => console.warn(errorMessage);\n NativeDialogManagerAndroid.showAlert(config, onError, onAction);\n }\n }\n\n static prompt(\n title: ?string,\n message?: ?string,\n callbackOrButtons?: ?(((text: string) => void) | Buttons),\n type?: ?AlertType = 'plain-text',\n defaultValue?: string,\n keyboardType?: string,\n ): void {\n if (Platform.OS === 'ios') {\n if (typeof type === 'function') {\n console.warn(\n 'You passed a callback function as the \"type\" argument to Alert.prompt(). React Native is ' +\n 'assuming you want to use the deprecated Alert.prompt(title, defaultValue, buttons, callback) ' +\n 'signature. The current signature is Alert.prompt(title, message, callbackOrButtons, type, defaultValue, ' +\n 'keyboardType) and the old syntax will be removed in a future version.',\n );\n\n const callback = type;\n RCTAlertManager.alertWithArgs(\n {\n title: title || '',\n type: 'plain-text',\n defaultValue: message || '',\n },\n (id, value) => {\n callback(value);\n },\n );\n return;\n }\n\n let callbacks = [];\n const buttons = [];\n let cancelButtonKey;\n let destructiveButtonKey;\n if (typeof callbackOrButtons === 'function') {\n callbacks = [callbackOrButtons];\n } else if (Array.isArray(callbackOrButtons)) {\n callbackOrButtons.forEach((btn, index) => {\n callbacks[index] = btn.onPress;\n if (btn.style === 'cancel') {\n cancelButtonKey = String(index);\n } else if (btn.style === 'destructive') {\n destructiveButtonKey = String(index);\n }\n if (btn.text || index < (callbackOrButtons || []).length - 1) {\n const btnDef = {};\n btnDef[index] = btn.text || '';\n buttons.push(btnDef);\n }\n });\n }\n\n RCTAlertManager.alertWithArgs(\n {\n title: title || '',\n message: message || undefined,\n buttons,\n type: type || undefined,\n defaultValue,\n cancelButtonKey,\n destructiveButtonKey,\n keyboardType,\n },\n (id, value) => {\n const cb = callbacks[id];\n cb && cb(value);\n },\n );\n }\n }\n}\n\nmodule.exports = Alert;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\n/* 'buttonClicked' | 'dismissed' */\ntype DialogAction = string;\n/*\n buttonPositive = -1,\n buttonNegative = -2,\n buttonNeutral = -3\n*/\ntype DialogButtonKey = number;\nexport type DialogOptions = {|\n title?: string,\n message?: string,\n buttonPositive?: string,\n buttonNegative?: string,\n buttonNeutral?: string,\n items?: Array,\n cancelable?: boolean,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +buttonClicked: DialogAction,\n +dismissed: DialogAction,\n +buttonPositive: DialogButtonKey,\n +buttonNegative: DialogButtonKey,\n +buttonNeutral: DialogButtonKey,\n |};\n +showAlert: (\n config: DialogOptions,\n onError: (error: string) => void,\n onAction: (action: DialogAction, buttonKey?: DialogButtonKey) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('DialogManagerAndroid'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport NativeAlertManager from './NativeAlertManager';\nimport type {Args} from './NativeAlertManager';\n\nmodule.exports = {\n alertWithArgs(\n args: Args,\n callback: (id: number, value: string) => void,\n ): void {\n if (NativeAlertManager == null) {\n return;\n }\n NativeAlertManager.alertWithArgs(args, callback);\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type Args = {|\n title?: string,\n message?: string,\n buttons?: Object, // TODO: have a better type\n type?: string,\n defaultValue?: string,\n cancelButtonKey?: string,\n destructiveButtonKey?: string,\n keyboardType?: string,\n|};\n\nexport interface Spec extends TurboModule {\n +alertWithArgs: (\n args: Args,\n callback: (id: number, value: string) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AlertManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nconst {polyfillObjectProperty} = require('../Utilities/PolyfillFunctions');\n\nlet navigator = global.navigator;\nif (navigator === undefined) {\n global.navigator = navigator = {};\n}\n\n// see https://github.com/facebook/react-native/issues/10881\npolyfillObjectProperty(navigator, 'product', () => 'ReactNative');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\n/**\n * We don't set up the batched bridge in bridgeless mode. Once we've migrated\n * everything over to bridgeless we can just delete this file.\n */\nif (!global.RN$Bridgeless) {\n /**\n * Set up the BatchedBridge. This must be done after the other steps in\n * InitializeCore to ensure that the JS environment has been initialized.\n * You can use this module directly, or just require InitializeCore.\n */\n const BatchedBridge = require('../BatchedBridge/BatchedBridge');\n BatchedBridge.registerLazyCallableModule('Systrace', () =>\n require('../Performance/Systrace'),\n );\n BatchedBridge.registerLazyCallableModule('JSTimers', () =>\n require('./Timers/JSTimers'),\n );\n BatchedBridge.registerLazyCallableModule('HeapCapture', () =>\n require('../HeapCapture/HeapCapture'),\n );\n BatchedBridge.registerLazyCallableModule('SamplingProfiler', () =>\n require('../Performance/SamplingProfiler'),\n );\n BatchedBridge.registerLazyCallableModule('RCTLog', () =>\n require('../Utilities/RCTLog'),\n );\n BatchedBridge.registerLazyCallableModule('RCTDeviceEventEmitter', () =>\n require('../EventEmitter/RCTDeviceEventEmitter'),\n );\n BatchedBridge.registerLazyCallableModule('RCTNativeAppEventEmitter', () =>\n require('../EventEmitter/RCTNativeAppEventEmitter'),\n );\n BatchedBridge.registerLazyCallableModule('GlobalPerformanceLogger', () =>\n require('../Utilities/GlobalPerformanceLogger'),\n );\n BatchedBridge.registerLazyCallableModule('JSDevSupportModule', () =>\n require('../Utilities/JSDevSupportModule'),\n );\n\n if (__DEV__ && !global.__RCTProfileIsProfiling) {\n BatchedBridge.registerCallableModule(\n 'HMRClient',\n require('../Utilities/HMRClient'),\n );\n } else {\n BatchedBridge.registerCallableModule(\n 'HMRClient',\n require('../Utilities/HMRClientProdShim'),\n );\n }\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport NativeHeapCapture from './NativeHeapCapture';\n\nconst HeapCapture = {\n captureHeap: function(path: string) {\n let error = null;\n try {\n global.nativeCaptureHeap(path);\n console.log('HeapCapture.captureHeap succeeded: ' + path);\n } catch (e) {\n console.log('HeapCapture.captureHeap error: ' + e.toString());\n error = e.toString();\n }\n if (NativeHeapCapture) {\n NativeHeapCapture.captureComplete(path, error);\n }\n },\n};\n\nmodule.exports = HeapCapture;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n // Common interface\n +captureHeap: (path: string) => void;\n\n // Android only\n +captureComplete: (path: string, error: ?string) => void;\n}\n\nexport default (TurboModuleRegistry.get('HeapCapture'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst SamplingProfiler = {\n poke: function(token: number): void {\n let error = null;\n let result = null;\n try {\n result = global.pokeSamplingProfiler();\n if (result === null) {\n console.log('The JSC Sampling Profiler has started');\n } else {\n console.log('The JSC Sampling Profiler has stopped');\n }\n } catch (e) {\n console.log(\n 'Error occurred when restarting Sampling Profiler: ' + e.toString(),\n );\n error = e.toString();\n }\n\n const NativeJSCSamplingProfiler = require('./NativeJSCSamplingProfiler')\n .default;\n if (NativeJSCSamplingProfiler) {\n NativeJSCSamplingProfiler.operationComplete(token, result, error);\n }\n },\n};\n\nmodule.exports = SamplingProfiler;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +operationComplete: (token: number, result: ?string, error: ?string) => void;\n}\n\nexport default (TurboModuleRegistry.get('JSCSamplingProfiler'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nconst levelsMap = {\n log: 'log',\n info: 'info',\n warn: 'warn',\n error: 'error',\n fatal: 'error',\n};\n\nlet warningHandler: ?(Array) => void = null;\n\nconst RCTLog = {\n // level one of log, info, warn, error, mustfix\n logIfNoNativeHook(level: string, ...args: Array): void {\n // We already printed in the native console, so only log here if using a js debugger\n if (typeof global.nativeLoggingHook === 'undefined') {\n RCTLog.logToConsole(level, ...args);\n } else {\n // Report native warnings to YellowBox\n if (warningHandler && level === 'warn') {\n warningHandler(...args);\n }\n }\n },\n\n // Log to console regardless of nativeLoggingHook\n logToConsole(level: string, ...args: Array): void {\n const logFn = levelsMap[level];\n invariant(\n logFn,\n 'Level \"' + level + '\" not one of ' + Object.keys(levelsMap).toString(),\n );\n\n console[logFn](...args);\n },\n\n setWarningHandler(handler: typeof warningHandler): void {\n warningHandler = handler;\n },\n};\n\nmodule.exports = RCTLog;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst RCTDeviceEventEmitter = require('./RCTDeviceEventEmitter');\n\n/**\n * Deprecated - subclass NativeEventEmitter to create granular event modules instead of\n * adding all event listeners directly to RCTNativeAppEventEmitter.\n */\nconst RCTNativeAppEventEmitter = RCTDeviceEventEmitter;\nmodule.exports = RCTNativeAppEventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\nconst createPerformanceLogger = require('./createPerformanceLogger');\n\nimport type {IPerformanceLogger} from './createPerformanceLogger';\n\n/**\n * This is a global shared instance of IPerformanceLogger that is created with\n * createPerformanceLogger().\n * This logger should be used only for global performance metrics like the ones\n * that are logged during loading bundle. If you want to log something from your\n * React component you should use PerformanceLoggerContext instead.\n */\nconst GlobalPerformanceLogger: IPerformanceLogger = createPerformanceLogger();\n\nmodule.exports = GlobalPerformanceLogger;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst Systrace = require('../Performance/Systrace');\n\nconst infoLog = require('./infoLog');\nconst performanceNow =\n global.nativeQPLTimestamp ||\n global.nativePerformanceNow ||\n require('fbjs/lib/performanceNow');\n\ntype Timespan = {\n description?: string,\n totalTime?: number,\n startTime?: number,\n endTime?: number,\n};\n\nexport type IPerformanceLogger = {\n addTimespan(string, number, string | void): void,\n startTimespan(string, string | void): void,\n stopTimespan(string): void,\n clear(): void,\n clearCompleted(): void,\n clearExceptTimespans(Array): void,\n currentTimestamp(): number,\n getTimespans(): {[key: string]: Timespan},\n hasTimespan(string): boolean,\n logTimespans(): void,\n addTimespans(Array, Array): void,\n setExtra(string, any): void,\n getExtras(): {[key: string]: any},\n removeExtra(string): ?any,\n logExtras(): void,\n markPoint(string, number | void): void,\n getPoints(): {[key: string]: number},\n logPoints(): void,\n logEverything(): void,\n};\n\nconst _cookies: {[key: string]: number} = {};\n\nconst PRINT_TO_CONSOLE: false = false; // Type as false to prevent accidentally committing `true`;\n\n/**\n * This function creates performance loggers that can be used to collect and log\n * various performance data such as timespans, points and extras.\n * The loggers need to have minimal overhead since they're used in production.\n */\nfunction createPerformanceLogger(): IPerformanceLogger {\n const result: IPerformanceLogger & {\n _timespans: {[key: string]: Timespan},\n _extras: {[key: string]: any},\n _points: {[key: string]: number},\n } = {\n _timespans: {},\n _extras: {},\n _points: {},\n\n addTimespan(key: string, lengthInMs: number, description?: string) {\n if (this._timespans[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to add a timespan that already exists ',\n key,\n );\n }\n return;\n }\n\n this._timespans[key] = {\n description: description,\n totalTime: lengthInMs,\n };\n },\n\n startTimespan(key: string, description?: string) {\n if (this._timespans[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to start a timespan that already exists ',\n key,\n );\n }\n return;\n }\n\n this._timespans[key] = {\n description: description,\n startTime: performanceNow(),\n };\n _cookies[key] = Systrace.beginAsyncEvent(key);\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'start: ' + key);\n }\n },\n\n stopTimespan(key: string) {\n const timespan = this._timespans[key];\n if (!timespan || !timespan.startTime) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to end a timespan that has not started ',\n key,\n );\n }\n return;\n }\n if (timespan.endTime) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to end a timespan that has already ended ',\n key,\n );\n }\n return;\n }\n\n timespan.endTime = performanceNow();\n timespan.totalTime = timespan.endTime - (timespan.startTime || 0);\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'end: ' + key);\n }\n\n Systrace.endAsyncEvent(key, _cookies[key]);\n delete _cookies[key];\n },\n\n clear() {\n this._timespans = {};\n this._extras = {};\n this._points = {};\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'clear');\n }\n },\n\n clearCompleted() {\n for (const key in this._timespans) {\n if (this._timespans[key].totalTime) {\n delete this._timespans[key];\n }\n }\n this._extras = {};\n this._points = {};\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'clearCompleted');\n }\n },\n\n clearExceptTimespans(keys: Array) {\n this._timespans = Object.keys(this._timespans).reduce(function(\n previous,\n key,\n ) {\n if (keys.indexOf(key) !== -1) {\n previous[key] = this._timespans[key];\n }\n return previous;\n },\n {});\n this._extras = {};\n this._points = {};\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'clearExceptTimespans', keys);\n }\n },\n\n currentTimestamp() {\n return performanceNow();\n },\n\n getTimespans() {\n return this._timespans;\n },\n\n hasTimespan(key: string) {\n return !!this._timespans[key];\n },\n\n logTimespans() {\n if (PRINT_TO_CONSOLE) {\n for (const key in this._timespans) {\n if (this._timespans[key].totalTime) {\n infoLog(key + ': ' + this._timespans[key].totalTime + 'ms');\n }\n }\n }\n },\n\n addTimespans(newTimespans: Array, labels: Array) {\n for (let ii = 0, l = newTimespans.length; ii < l; ii += 2) {\n const label = labels[ii / 2];\n this.addTimespan(label, newTimespans[ii + 1] - newTimespans[ii], label);\n }\n },\n\n setExtra(key: string, value: any) {\n if (this._extras[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to set an extra that already exists ',\n {key, currentValue: this._extras[key], attemptedValue: value},\n );\n }\n return;\n }\n this._extras[key] = value;\n },\n\n getExtras() {\n return this._extras;\n },\n\n removeExtra(key: string): ?any {\n const value = this._extras[key];\n delete this._extras[key];\n return value;\n },\n\n logExtras() {\n if (PRINT_TO_CONSOLE) {\n infoLog(this._extras);\n }\n },\n\n markPoint(key: string, timestamp?: number) {\n if (this._points[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to mark a point that has been already logged ',\n key,\n );\n }\n return;\n }\n this._points[key] = timestamp ?? performanceNow();\n },\n\n getPoints() {\n return this._points;\n },\n\n logPoints() {\n if (PRINT_TO_CONSOLE) {\n for (const key in this._points) {\n infoLog(key + ': ' + this._points[key] + 'ms');\n }\n }\n },\n\n logEverything() {\n this.logTimespans();\n this.logExtras();\n this.logPoints();\n },\n };\n return result;\n}\n\nmodule.exports = createPerformanceLogger;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\n/**\n * Intentional info-level logging for clear separation from ad-hoc console debug logging.\n */\nfunction infoLog(...args) {\n return console.log(...args);\n}\n\nmodule.exports = infoLog;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport NativeJSDevSupport from './NativeJSDevSupport';\nconst ReactNative = require('../Renderer/shims/ReactNative');\n\nconst JSDevSupportModule = {\n getJSHierarchy: function(tag: number) {\n if (NativeJSDevSupport) {\n const constants = NativeJSDevSupport.getConstants();\n try {\n const {\n computeComponentStackForErrorReporting,\n } = ReactNative.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n const componentStack = computeComponentStackForErrorReporting(tag);\n if (!componentStack) {\n NativeJSDevSupport.onFailure(\n constants.ERROR_CODE_VIEW_NOT_FOUND,\n \"Component stack doesn't exist for tag \" + tag,\n );\n } else {\n NativeJSDevSupport.onSuccess(componentStack);\n }\n } catch (e) {\n NativeJSDevSupport.onFailure(constants.ERROR_CODE_EXCEPTION, e.message);\n }\n }\n },\n};\n\nmodule.exports = JSDevSupportModule;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n ERROR_CODE_EXCEPTION: number,\n ERROR_CODE_VIEW_NOT_FOUND: number,\n |};\n +onSuccess: (data: Object) => void;\n +onFailure: (errorCode: number, error: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('JSDevSupport'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n'use strict';\n\nimport type {HMRClientNativeInterface} from './HMRClient';\n\n// This shim ensures DEV binary builds don't crash in JS\n// when they're combined with a PROD JavaScript build.\nconst HMRClientProdShim: HMRClientNativeInterface = {\n setup() {},\n enable() {\n console.error(\n 'Fast Refresh is disabled in JavaScript bundles built in production mode. ' +\n 'Did you forget to run Metro?',\n );\n },\n disable() {},\n registerBundle() {},\n log() {},\n};\n\nmodule.exports = HMRClientProdShim;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nexport type FetchSegmentFunction = typeof __fetchSegment;\nexport type GetSegmentFunction = typeof __getSegment;\n\n/**\n * Set up SegmentFetcher.\n * You can use this module directly, or just require InitializeCore.\n */\n\nfunction __fetchSegment(\n segmentId: number,\n options: {|\n +otaBuildNumber: ?string,\n +requestedModuleName?: ?string,\n |},\n callback: (?Error) => void,\n) {\n const SegmentFetcher = require('./SegmentFetcher/NativeSegmentFetcher')\n .default;\n SegmentFetcher.fetchSegment(\n segmentId,\n options,\n (errorObject: ?{message: string, code: string}) => {\n if (errorObject) {\n const error = new Error(errorObject.message);\n (error: any).code = errorObject.code; // flowlint-line unclear-type: off\n callback(error);\n }\n\n callback(null);\n },\n );\n}\n\nglobal.__fetchSegment = __fetchSegment;\n\nfunction __getSegment(\n segmentId: number,\n options: {|\n +otaBuildNumber: ?string,\n +requestedModuleName?: ?string,\n |},\n callback: (?Error, ?string) => void,\n) {\n const SegmentFetcher = require('./SegmentFetcher/NativeSegmentFetcher')\n .default;\n\n if (!SegmentFetcher.getSegment) {\n throw new Error('SegmentFetcher.getSegment must be defined');\n }\n\n SegmentFetcher.getSegment(\n segmentId,\n options,\n (errorObject: ?{message: string, code: string}, path: ?string) => {\n if (errorObject) {\n const error = new Error(errorObject.message);\n (error: any).code = errorObject.code; // flowlint-line unclear-type: off\n callback(error);\n }\n\n callback(null, path);\n },\n );\n}\n\nglobal.__getSegment = __getSegment;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +fetchSegment: (\n segmentId: number,\n options: Object, // flowlint-line unclear-type: off\n callback: (error: ?Object) => void, // flowlint-line unclear-type: off\n ) => void;\n +getSegment?: (\n segmentId: number,\n options: Object, // flowlint-line unclear-type: off\n callback: (error: ?Object, path: ?string) => void, // flowlint-line unclear-type: off\n ) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('SegmentFetcher'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// flowlint unsafe-getters-setters:off\nmodule.exports = {\n get BatchedBridge() {\n return require('../BatchedBridge/BatchedBridge.js');\n },\n get ExceptionsManager() {\n return require('../Core/ExceptionsManager');\n },\n get Platform() {\n return require('../Utilities/Platform');\n },\n get RCTEventEmitter() {\n return require('../EventEmitter/RCTEventEmitter');\n },\n get ReactNativeViewConfigRegistry() {\n return require('../Renderer/shims/ReactNativeViewConfigRegistry');\n },\n get TextInputState() {\n return require('../Components/TextInput/TextInputState');\n },\n get UIManager() {\n return require('../ReactNative/UIManager');\n },\n get deepDiffer() {\n return require('../Utilities/differ/deepDiffer');\n },\n get deepFreezeAndThrowOnMutationInDev() {\n return require('../Utilities/deepFreezeAndThrowOnMutationInDev');\n },\n get flattenStyle() {\n return require('../StyleSheet/flattenStyle');\n },\n get ReactFiberErrorDialog() {\n return require('../Core/ReactFiberErrorDialog');\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\n\nconst RCTEventEmitter = {\n register(eventEmitter: any) {\n BatchedBridge.registerCallableModule('RCTEventEmitter', eventEmitter);\n },\n};\n\nmodule.exports = RCTEventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n/* eslint-disable react-internal/warning-and-invariant-args */\n\n'use strict';\n\nimport type {\n ReactNativeBaseComponentViewConfig,\n ViewConfigGetter,\n} from './ReactNativeTypes';\n\nconst invariant = require('invariant');\n\n// Event configs\nconst customBubblingEventTypes: $TEMPORARY$object<{||}> = {};\nconst customDirectEventTypes: $TEMPORARY$object<{||}> = {};\n\nexports.customBubblingEventTypes = customBubblingEventTypes;\nexports.customDirectEventTypes = customDirectEventTypes;\n\nconst viewConfigCallbacks = new Map();\nconst viewConfigs = new Map();\n\nfunction processEventTypes(\n viewConfig: ReactNativeBaseComponentViewConfig<>,\n): void {\n const {bubblingEventTypes, directEventTypes} = viewConfig;\n\n if (__DEV__) {\n if (bubblingEventTypes != null && directEventTypes != null) {\n for (const topLevelType in directEventTypes) {\n invariant(\n bubblingEventTypes[topLevelType] == null,\n 'Event cannot be both direct and bubbling: %s',\n topLevelType,\n );\n }\n }\n }\n\n if (bubblingEventTypes != null) {\n for (const topLevelType in bubblingEventTypes) {\n if (customBubblingEventTypes[topLevelType] == null) {\n customBubblingEventTypes[topLevelType] =\n bubblingEventTypes[topLevelType];\n }\n }\n }\n\n if (directEventTypes != null) {\n for (const topLevelType in directEventTypes) {\n if (customDirectEventTypes[topLevelType] == null) {\n customDirectEventTypes[topLevelType] = directEventTypes[topLevelType];\n }\n }\n }\n}\n\n/**\n * Registers a native view/component by name.\n * A callback is provided to load the view config from UIManager.\n * The callback is deferred until the view is actually rendered.\n */\nexports.register = function(name: string, callback: ViewConfigGetter): string {\n invariant(\n !viewConfigCallbacks.has(name),\n 'Tried to register two views with the same name %s',\n name,\n );\n viewConfigCallbacks.set(name, callback);\n return name;\n};\n\n/**\n * Retrieves a config for the specified view.\n * If this is the first time the view has been used,\n * This configuration will be lazy-loaded from UIManager.\n */\nexports.get = function(name: string): ReactNativeBaseComponentViewConfig<> {\n let viewConfig;\n if (!viewConfigs.has(name)) {\n const callback = viewConfigCallbacks.get(name);\n if (typeof callback !== 'function') {\n invariant(\n false,\n 'View config not found for name %s.%s',\n name,\n typeof name[0] === 'string' && /[a-z]/.test(name[0])\n ? ' Make sure to start component names with a capital letter.'\n : '',\n );\n }\n viewConfigCallbacks.set(name, null);\n viewConfig = callback();\n processEventTypes(viewConfig);\n viewConfigs.set(name, viewConfig);\n } else {\n viewConfig = viewConfigs.get(name);\n }\n invariant(viewConfig, 'View config not found for name %s', name);\n return viewConfig;\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * This class is responsible for coordinating the \"focused\"\n * state for TextInputs. All calls relating to the keyboard\n * should be funneled through here\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nconst UIManager = require('../../ReactNative/UIManager');\n\nlet currentlyFocusedID: ?number = null;\nconst inputs = new Set();\n\n/**\n * Returns the ID of the currently focused text field, if one exists\n * If no text field is focused it returns null\n */\nfunction currentlyFocusedField(): ?number {\n return currentlyFocusedID;\n}\n\n/**\n * @param {number} TextInputID id of the text field to focus\n * Focuses the specified text field\n * noop if the text field was already focused\n */\nfunction focusTextInput(textFieldID: ?number) {\n if (currentlyFocusedID !== textFieldID && textFieldID !== null) {\n currentlyFocusedID = textFieldID;\n if (Platform.OS === 'ios') {\n UIManager.focus(textFieldID);\n } else if (Platform.OS === 'android') {\n UIManager.dispatchViewManagerCommand(\n textFieldID,\n UIManager.getViewManagerConfig('AndroidTextInput').Commands\n .focusTextInput,\n null,\n );\n }\n }\n}\n\n/**\n * @param {number} textFieldID id of the text field to unfocus\n * Unfocuses the specified text field\n * noop if it wasn't focused\n */\nfunction blurTextInput(textFieldID: ?number) {\n if (currentlyFocusedID === textFieldID && textFieldID !== null) {\n currentlyFocusedID = null;\n if (Platform.OS === 'ios') {\n UIManager.blur(textFieldID);\n } else if (Platform.OS === 'android') {\n UIManager.dispatchViewManagerCommand(\n textFieldID,\n UIManager.getViewManagerConfig('AndroidTextInput').Commands\n .blurTextInput,\n null,\n );\n }\n }\n}\n\nfunction registerInput(textFieldID: number) {\n inputs.add(textFieldID);\n}\n\nfunction unregisterInput(textFieldID: number) {\n inputs.delete(textFieldID);\n}\n\nfunction isTextInput(textFieldID: number): boolean {\n return inputs.has(textFieldID);\n}\n\nmodule.exports = {\n currentlyFocusedField,\n focusTextInput,\n blurTextInput,\n registerInput,\n unregisterInput,\n isTextInput,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n/*\n * @returns {bool} true if different, false if equal\n */\nconst deepDiffer = function(\n one: any,\n two: any,\n maxDepth: number = -1,\n): boolean {\n if (maxDepth === 0) {\n return true;\n }\n if (one === two) {\n // Short circuit on identical object references instead of traversing them.\n return false;\n }\n if (typeof one === 'function' && typeof two === 'function') {\n // We consider all functions equal\n return false;\n }\n if (typeof one !== 'object' || one === null) {\n // Primitives can be directly compared\n return one !== two;\n }\n if (typeof two !== 'object' || two === null) {\n // We know they are different because the previous case would have triggered\n // otherwise.\n return true;\n }\n if (one.constructor !== two.constructor) {\n return true;\n }\n if (Array.isArray(one)) {\n // We know two is also an array because the constructors are equal\n const len = one.length;\n if (two.length !== len) {\n return true;\n }\n for (let ii = 0; ii < len; ii++) {\n if (deepDiffer(one[ii], two[ii], maxDepth - 1)) {\n return true;\n }\n }\n } else {\n for (const key in one) {\n if (deepDiffer(one[key], two[key], maxDepth - 1)) {\n return true;\n }\n }\n for (const twoKey in two) {\n // The only case we haven't checked yet is keys that are in two but aren't\n // in one, which means they are different.\n if (one[twoKey] === undefined && two[twoKey] !== undefined) {\n return true;\n }\n }\n }\n return false;\n};\n\nmodule.exports = deepDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nexport type CapturedError = {\n +componentName: ?string,\n +componentStack: string,\n +error: mixed,\n +errorBoundary: ?{},\n +errorBoundaryFound: boolean,\n +errorBoundaryName: string | null,\n +willRetry: boolean,\n};\n\nimport type {ExtendedError} from './Devtools/parseErrorStack';\n\nimport {handleException, SyntheticError} from './ExceptionsManager';\n\n/**\n * Intercept lifecycle errors and ensure they are shown with the correct stack\n * trace within the native redbox component.\n */\nfunction showErrorDialog(capturedError: CapturedError): boolean {\n const {componentStack, error} = capturedError;\n\n let errorToHandle;\n\n // Typically Errors are thrown but eg strings or null can be thrown as well.\n if (error instanceof Error) {\n errorToHandle = (error: ExtendedError);\n } else if (typeof error === 'string') {\n errorToHandle = (new SyntheticError(error): ExtendedError);\n } else {\n errorToHandle = (new SyntheticError('Unspecified error'): ExtendedError);\n }\n try {\n errorToHandle.componentStack = componentStack;\n } catch (e) {}\n handleException(errorToHandle, false);\n\n // Return false here to prevent ReactFiberErrorLogger default behavior of\n // logging error details to console.error. Calls to console.error are\n // automatically routed to the native redbox controller, which we've already\n // done above by calling ExceptionsManager.\n return false;\n}\n\nmodule.exports = {showErrorDialog};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/** @license React v0.15.0\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';Object.defineProperty(exports,\"__esModule\",{value:!0});var d=void 0,e=void 0,g=void 0,m=void 0,n=void 0;exports.unstable_now=void 0;exports.unstable_forceFrameRate=void 0;\nif(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var p=null,q=null,r=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null}catch(b){throw setTimeout(r,0),b;}};exports.unstable_now=function(){return Date.now()};d=function(a){null!==p?setTimeout(d,0,a):(p=a,setTimeout(r,0))};e=function(a,b){q=setTimeout(a,b)};g=function(){clearTimeout(q)};m=function(){return!1};n=exports.unstable_forceFrameRate=function(){}}else{var t=window.performance,u=window.Date,v=window.setTimeout,\nw=window.clearTimeout,x=window.requestAnimationFrame,y=window.cancelAnimationFrame;\"undefined\"!==typeof console&&(\"function\"!==typeof x&&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 y&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"));exports.unstable_now=\"object\"===typeof t&&\n\"function\"===typeof t.now?function(){return t.now()}:function(){return u.now()};var z=!1,A=null,B=-1,C=-1,D=33.33,E=-1,F=-1,G=0,H=!1;m=function(){return exports.unstable_now()>=G};n=function(){};exports.unstable_forceFrameRate=function(a){0>a||125D&&(D=8.33));F=c}E=a;G=a+D;I.postMessage(null)}};d=function(a){A=a;z||(z=!0,x(function(a){L(a)}))};e=function(a,b){C=v(function(){a(exports.unstable_now())},b)};g=function(){w(C);\nC=-1}}var M=null,N=null,O=null,P=3,Q=!1,R=!1,S=!1;\nfunction T(a,b){var c=a.next;if(c===a)M=null;else{a===M&&(M=c);var f=a.previous;f.next=c;c.previous=f}a.next=a.previous=null;c=a.callback;f=P;var l=O;P=a.priorityLevel;O=a;try{var h=a.expirationTime<=b;switch(P){case 1:var k=c(h);break;case 2:k=c(h);break;case 3:k=c(h);break;case 4:k=c(h);break;case 5:k=c(h)}}catch(Z){throw Z;}finally{P=f,O=l}if(\"function\"===typeof k)if(b=a.expirationTime,a.callback=k,null===M)M=a.next=a.previous=a;else{k=null;h=M;do{if(b<=h.expirationTime){k=h;break}h=h.next}while(h!==\nM);null===k?k=M:k===M&&(M=a);b=k.previous;b.next=k.previous=a;a.next=k;a.previous=b}}function U(a){if(null!==N&&N.startTime<=a){do{var b=N,c=b.next;if(b===c)N=null;else{N=c;var f=b.previous;f.next=c;c.previous=f}b.next=b.previous=null;V(b,b.expirationTime)}while(null!==N&&N.startTime<=a)}}function W(a){S=!1;U(a);R||(null!==M?(R=!0,d(X)):null!==N&&e(W,N.startTime-a))}\nfunction X(a,b){R=!1;S&&(S=!1,g());U(b);Q=!0;try{if(!a)for(;null!==M&&M.expirationTime<=b;)T(M,b),b=exports.unstable_now(),U(b);else if(null!==M){do T(M,b),b=exports.unstable_now(),U(b);while(null!==M&&!m())}if(null!==M)return!0;null!==N&&e(W,N.startTime-b);return!1}finally{Q=!1}}function Y(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}\nfunction V(a,b){if(null===M)M=a.next=a.previous=a;else{var c=null,f=M;do{if(bf){c=l;if(null===N)N=a.next=a.previous=a;else{b=null;var h=N;do{if(c,\n |}>,\n }>,\n directEventTypes?: $ReadOnly<{\n [eventName: string]: $ReadOnly<{|\n registrationName: string,\n |}>,\n }>,\n validAttributes?: {\n [propName: string]:\n | true\n | $ReadOnly<{|\n diff?: (arg1: any, arg2: any) => boolean,\n process?: (arg1: any) => any,\n |}>,\n },\n};\n\nfunction registerGeneratedViewConfig(\n componentName: string,\n viewConfig: GeneratedViewConfig,\n) {\n const mergedViewConfig = {\n uiViewClassName: componentName,\n Commands: {},\n bubblingEventTypes: {\n ...ReactNativeViewViewConfig.bubblingEventTypes,\n ...(viewConfig.bubblingEventTypes || {}),\n },\n directEventTypes: {\n ...ReactNativeViewViewConfig.directEventTypes,\n ...(viewConfig.directEventTypes || {}),\n },\n validAttributes: {\n ...ReactNativeViewViewConfig.validAttributes,\n ...(viewConfig.validAttributes || {}),\n },\n };\n\n ReactNativeViewConfigRegistry.register(componentName, () => {\n verifyComponentAttributeEquivalence(componentName, mergedViewConfig);\n\n return mergedViewConfig;\n });\n}\n\nmodule.exports = registerGeneratedViewConfig;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst getNativeComponentAttributes = require('../ReactNative/getNativeComponentAttributes');\n\nimport ReactNativeViewViewConfig from '../Components/View/ReactNativeViewViewConfig';\nimport type {ReactNativeBaseComponentViewConfig} from '../Renderer/shims/ReactNativeTypes';\n\nconst IGNORED_KEYS = ['transform', 'hitSlop'];\n/**\n * The purpose of this function is to validate that the view config that\n * native exposes for a given view manager is the same as the view config\n * that is specified for that view manager in JS.\n *\n * In order to improve perf, we want to avoid calling into native to get\n * the view config when each view manager is used. To do this, we are moving\n * the configs to JS. In the future we will use these JS based view configs\n * to codegen the view manager on native to ensure they stay in sync without\n * this runtime check.\n *\n * If this function fails, that likely means a change was made to the native\n * view manager without updating the JS config as well. Ideally you can make\n * that direct change to the JS config. If you don't know what the differences\n * are, the best approach I've found is to create a view that prints\n * the return value of getNativeComponentAttributes, and then copying that\n * text and pasting it back into JS:\n * {JSON.stringify(getNativeComponentAttributes('RCTView'))}\n *\n * This is meant to be a stopgap until the time comes when we only have a\n * single source of truth. I wonder if this message will still be here two\n * years from now...\n */\nfunction verifyComponentAttributeEquivalence(\n componentName: string,\n config: ReactNativeBaseComponentViewConfig<>,\n) {\n if (__DEV__ && !global.RN$Bridgeless) {\n const nativeAttributes = getNativeComponentAttributes(componentName);\n\n ['validAttributes', 'bubblingEventTypes', 'directEventTypes'].forEach(\n prop => {\n const diffKeys = Object.keys(\n lefthandObjectDiff(nativeAttributes[prop], config[prop]),\n );\n\n if (diffKeys.length) {\n console.error(\n `${componentName} generated view config for ${prop} does not match native, missing: ${diffKeys.join(\n ' ',\n )}`,\n );\n }\n },\n );\n }\n}\n\nexport function lefthandObjectDiff(leftObj: Object, rightObj: Object): Object {\n const differentKeys = {};\n\n function compare(leftItem, rightItem, key) {\n if (typeof leftItem !== typeof rightItem && leftItem != null) {\n differentKeys[key] = rightItem;\n return;\n }\n\n if (typeof leftItem === 'object') {\n const objDiff = lefthandObjectDiff(leftItem, rightItem);\n if (Object.keys(objDiff).length > 1) {\n differentKeys[key] = objDiff;\n }\n return;\n }\n\n if (leftItem !== rightItem) {\n differentKeys[key] = rightItem;\n return;\n }\n }\n\n for (const key in leftObj) {\n if (IGNORED_KEYS.includes(key)) {\n continue;\n }\n\n if (!rightObj) {\n differentKeys[key] = {};\n } else if (leftObj.hasOwnProperty(key)) {\n compare(leftObj[key], rightObj[key], key);\n }\n }\n\n return differentKeys;\n}\n\nexport function getConfigWithoutViewProps(\n viewConfig: ReactNativeBaseComponentViewConfig<>,\n propName: string,\n): $TEMPORARY$object<{||}> {\n if (!viewConfig[propName]) {\n return {};\n }\n\n return Object.keys(viewConfig[propName])\n .filter(prop => !ReactNativeViewViewConfig[propName][prop])\n .reduce((obj, prop) => {\n obj[prop] = viewConfig[propName][prop];\n return obj;\n }, {});\n}\n\nexport function stringifyViewConfig(viewConfig: any): string {\n return JSON.stringify(\n viewConfig,\n (key, val) => {\n if (typeof val === 'function') {\n return `ƒ ${val.name}`;\n }\n return val;\n },\n 2,\n );\n}\n\nexport default verifyComponentAttributeEquivalence;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\nimport ReactNativeViewViewConfigAndroid from './ReactNativeViewViewConfigAndroid';\n\nconst ReactNativeViewConfig = {\n uiViewClassName: 'RCTView',\n baseModuleName: null,\n Manager: 'ViewManager',\n Commands: ({}: $TEMPORARY$object<{||}>),\n Constants: ({}: $TEMPORARY$object<{||}>),\n bubblingEventTypes: {\n ...ReactNativeViewViewConfigAndroid.bubblingEventTypes,\n topBlur: {\n phasedRegistrationNames: {\n bubbled: 'onBlur',\n captured: 'onBlurCapture',\n },\n },\n topChange: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture',\n },\n },\n topEndEditing: {\n phasedRegistrationNames: {\n bubbled: 'onEndEditing',\n captured: 'onEndEditingCapture',\n },\n },\n topFocus: {\n phasedRegistrationNames: {\n bubbled: 'onFocus',\n captured: 'onFocusCapture',\n },\n },\n topKeyPress: {\n phasedRegistrationNames: {\n bubbled: 'onKeyPress',\n captured: 'onKeyPressCapture',\n },\n },\n topPress: {\n phasedRegistrationNames: {\n bubbled: 'onPress',\n captured: 'onPressCapture',\n },\n },\n topSubmitEditing: {\n phasedRegistrationNames: {\n bubbled: 'onSubmitEditing',\n captured: 'onSubmitEditingCapture',\n },\n },\n topTouchCancel: {\n phasedRegistrationNames: {\n bubbled: 'onTouchCancel',\n captured: 'onTouchCancelCapture',\n },\n },\n topTouchEnd: {\n phasedRegistrationNames: {\n bubbled: 'onTouchEnd',\n captured: 'onTouchEndCapture',\n },\n },\n topTouchMove: {\n phasedRegistrationNames: {\n bubbled: 'onTouchMove',\n captured: 'onTouchMoveCapture',\n },\n },\n topTouchStart: {\n phasedRegistrationNames: {\n bubbled: 'onTouchStart',\n captured: 'onTouchStartCapture',\n },\n },\n },\n directEventTypes: {\n ...ReactNativeViewViewConfigAndroid.directEventTypes,\n topAccessibilityAction: {\n registrationName: 'onAccessibilityAction',\n },\n topAccessibilityEscape: {\n registrationName: 'onAccessibilityEscape',\n },\n topAccessibilityTap: {\n registrationName: 'onAccessibilityTap',\n },\n topLayout: {\n registrationName: 'onLayout',\n },\n topMagicTap: {\n registrationName: 'onMagicTap',\n },\n // Events for react-native-gesture-handler (T45765076)\n // Remove once this library can handle JS View Configs\n onGestureHandlerEvent: {\n registrationName: 'onGestureHandlerEvent',\n },\n onGestureHandlerStateChange: {\n registrationName: 'onGestureHandlerStateChange',\n },\n },\n validAttributes: {\n ...ReactNativeViewViewConfigAndroid.validAttributes,\n accessibilityActions: true,\n accessibilityElementsHidden: true,\n accessibilityHint: true,\n accessibilityIgnoresInvertColors: true,\n accessibilityLabel: true,\n accessibilityLiveRegion: true,\n accessibilityRole: true,\n accessibilityStates: true,\n accessibilityState: true,\n accessibilityViewIsModal: true,\n accessible: true,\n alignContent: true,\n alignItems: true,\n alignSelf: true,\n aspectRatio: true,\n backfaceVisibility: true,\n backgroundColor: {process: require('../../StyleSheet/processColor')},\n borderBottomColor: {process: require('../../StyleSheet/processColor')},\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderBottomWidth: true,\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderEndColor: {process: require('../../StyleSheet/processColor')},\n borderEndWidth: true,\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n borderLeftWidth: true,\n borderRadius: true,\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderRightWidth: true,\n borderStartColor: {process: require('../../StyleSheet/processColor')},\n borderStartWidth: true,\n borderStyle: true,\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n clickable: true,\n collapsable: true,\n direction: true,\n display: true,\n elevation: true,\n end: true,\n flex: true,\n flexBasis: true,\n flexDirection: true,\n flexGrow: true,\n flexShrink: true,\n flexWrap: true,\n height: true,\n hitSlop: {diff: (require('../../Utilities/differ/insetsDiffer'): any)},\n importantForAccessibility: true,\n justifyContent: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n nativeID: true,\n needsOffscreenAlphaCompositing: true,\n onAccessibilityAction: true,\n onAccessibilityEscape: true,\n onAccessibilityTap: true,\n onLayout: true,\n onMagicTap: true,\n opacity: true,\n overflow: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n pointerEvents: true,\n position: true,\n removeClippedSubviews: true,\n renderToHardwareTextureAndroid: true,\n right: true,\n rotation: true,\n scaleX: true,\n scaleY: true,\n shadowColor: {process: require('../../StyleSheet/processColor')},\n shadowOffset: {diff: require('../../Utilities/differ/sizesDiffer')},\n shadowOpacity: true,\n shadowRadius: true,\n shouldRasterizeIOS: true,\n start: true,\n style: {\n alignContent: true,\n alignItems: true,\n alignSelf: true,\n aspectRatio: true,\n backfaceVisibility: true,\n backgroundColor: {process: require('../../StyleSheet/processColor')},\n borderBottomColor: {process: require('../../StyleSheet/processColor')},\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderBottomWidth: true,\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderEndColor: {process: require('../../StyleSheet/processColor')},\n borderEndWidth: true,\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n borderLeftWidth: true,\n borderRadius: true,\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderRightWidth: true,\n borderStartColor: {process: require('../../StyleSheet/processColor')},\n borderStartWidth: true,\n borderStyle: true,\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n color: {process: require('../../StyleSheet/processColor')},\n decomposedMatrix: true,\n direction: true,\n display: true,\n elevation: true,\n end: true,\n flex: true,\n flexBasis: true,\n flexDirection: true,\n flexGrow: true,\n flexShrink: true,\n flexWrap: true,\n fontFamily: true,\n fontSize: true,\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n height: true,\n includeFontPadding: true,\n justifyContent: true,\n left: true,\n letterSpacing: true,\n lineHeight: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n opacity: true,\n overflow: true,\n overlayColor: {process: require('../../StyleSheet/processColor')},\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n position: true,\n resizeMode: true,\n right: true,\n rotation: true,\n scaleX: true,\n scaleY: true,\n shadowColor: {process: require('../../StyleSheet/processColor')},\n shadowOffset: {diff: require('../../Utilities/differ/sizesDiffer')},\n shadowOpacity: true,\n shadowRadius: true,\n start: true,\n textAlign: true,\n textAlignVertical: true,\n textDecorationColor: {process: require('../../StyleSheet/processColor')},\n textDecorationLine: true,\n textDecorationStyle: true,\n textShadowColor: {process: require('../../StyleSheet/processColor')},\n textShadowOffset: true,\n textShadowRadius: true,\n textTransform: true,\n tintColor: {process: require('../../StyleSheet/processColor')},\n top: true,\n transform: {diff: require('../../Utilities/differ/matricesDiffer')},\n transformMatrix: true,\n translateX: true,\n translateY: true,\n width: true,\n writingDirection: true,\n zIndex: true,\n },\n testID: true,\n top: true,\n transform: {diff: require('../../Utilities/differ/matricesDiffer')},\n translateX: true,\n translateY: true,\n width: true,\n zIndex: true,\n },\n};\n\nmodule.exports = ReactNativeViewConfig;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\ntype Inset = {\n top: ?number,\n left: ?number,\n right: ?number,\n bottom: ?number,\n};\n\nconst dummyInsets = {\n top: undefined,\n left: undefined,\n right: undefined,\n bottom: undefined,\n};\n\nconst insetsDiffer = function(one: Inset, two: Inset): boolean {\n one = one || dummyInsets;\n two = two || dummyInsets;\n return (\n one !== two &&\n (one.top !== two.top ||\n one.left !== two.left ||\n one.right !== two.right ||\n one.bottom !== two.bottom)\n );\n};\n\nmodule.exports = insetsDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\n/**\n * Unrolls an array comparison specially for matrices. Prioritizes\n * checking of indices that are most likely to change so that the comparison\n * bails as early as possible.\n *\n * @param {MatrixMath.Matrix} one First matrix.\n * @param {MatrixMath.Matrix} two Second matrix.\n * @return {boolean} Whether or not the two matrices differ.\n */\nconst matricesDiffer = function(one, two) {\n if (one === two) {\n return false;\n }\n return (\n !one ||\n !two ||\n one[12] !== two[12] ||\n one[13] !== two[13] ||\n one[14] !== two[14] ||\n one[5] !== two[5] ||\n one[10] !== two[10] ||\n one[1] !== two[1] ||\n one[2] !== two[2] ||\n one[3] !== two[3] ||\n one[4] !== two[4] ||\n one[6] !== two[6] ||\n one[7] !== two[7] ||\n one[8] !== two[8] ||\n one[9] !== two[9] ||\n one[11] !== two[11] ||\n one[15] !== two[15]\n );\n};\n\nmodule.exports = matricesDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst ReactNativeStyleAttributes = require('../Components/View/ReactNativeStyleAttributes');\nconst UIManager = require('./UIManager');\n\nconst insetsDiffer = require('../Utilities/differ/insetsDiffer');\nconst invariant = require('invariant');\nconst matricesDiffer = require('../Utilities/differ/matricesDiffer');\nconst pointsDiffer = require('../Utilities/differ/pointsDiffer');\nconst processColor = require('../StyleSheet/processColor');\nconst processColorArray = require('../StyleSheet/processColorArray');\nconst resolveAssetSource = require('../Image/resolveAssetSource');\nconst sizesDiffer = require('../Utilities/differ/sizesDiffer');\nconst warning = require('fbjs/lib/warning');\n\nfunction getNativeComponentAttributes(uiViewClassName: string): any {\n const viewConfig = UIManager.getViewManagerConfig(uiViewClassName);\n\n invariant(\n viewConfig != null && viewConfig.NativeProps != null,\n 'requireNativeComponent: \"%s\" was not found in the UIManager.',\n uiViewClassName,\n );\n\n // TODO: This seems like a whole lot of runtime initialization for every\n // native component that can be either avoided or simplified.\n let {baseModuleName, bubblingEventTypes, directEventTypes} = viewConfig;\n let nativeProps = viewConfig.NativeProps;\n while (baseModuleName) {\n const baseModule = UIManager.getViewManagerConfig(baseModuleName);\n if (!baseModule) {\n warning(false, 'Base module \"%s\" does not exist', baseModuleName);\n baseModuleName = null;\n } else {\n bubblingEventTypes = {\n ...baseModule.bubblingEventTypes,\n ...bubblingEventTypes,\n };\n directEventTypes = {\n ...baseModule.directEventTypes,\n ...directEventTypes,\n };\n nativeProps = {\n ...baseModule.NativeProps,\n ...nativeProps,\n };\n baseModuleName = baseModule.baseModuleName;\n }\n }\n\n const validAttributes = {};\n\n for (const key in nativeProps) {\n const typeName = nativeProps[key];\n const diff = getDifferForType(typeName);\n const process = getProcessorForType(typeName);\n\n validAttributes[key] =\n diff == null && process == null ? true : {diff, process};\n }\n\n // Unfortunately, the current setup declares style properties as top-level\n // props. This makes it so we allow style properties in the `style` prop.\n // TODO: Move style properties into a `style` prop and disallow them as\n // top-level props on the native side.\n validAttributes.style = ReactNativeStyleAttributes;\n\n Object.assign(viewConfig, {\n uiViewClassName,\n validAttributes,\n bubblingEventTypes,\n directEventTypes,\n });\n\n if (!hasAttachedDefaultEventTypes) {\n attachDefaultEventTypes(viewConfig);\n hasAttachedDefaultEventTypes = true;\n }\n\n return viewConfig;\n}\n\n// TODO: Figure out how this makes sense. We're using a global boolean to only\n// initialize this on the first eagerly initialized native component.\nlet hasAttachedDefaultEventTypes = false;\nfunction attachDefaultEventTypes(viewConfig: any) {\n // This is supported on UIManager platforms (ex: Android),\n // as lazy view managers are not implemented for all platforms.\n // See [UIManager] for details on constants and implementations.\n const constants = UIManager.getConstants();\n if (constants.ViewManagerNames || constants.LazyViewManagersEnabled) {\n // Lazy view managers enabled.\n viewConfig = merge(viewConfig, UIManager.getDefaultEventTypes());\n } else {\n viewConfig.bubblingEventTypes = merge(\n viewConfig.bubblingEventTypes,\n constants.genericBubblingEventTypes,\n );\n viewConfig.directEventTypes = merge(\n viewConfig.directEventTypes,\n constants.genericDirectEventTypes,\n );\n }\n}\n\n// TODO: Figure out how to avoid all this runtime initialization cost.\nfunction merge(destination: ?Object, source: ?Object): ?Object {\n if (!source) {\n return destination;\n }\n if (!destination) {\n return source;\n }\n\n for (const key in source) {\n if (!source.hasOwnProperty(key)) {\n continue;\n }\n\n let sourceValue = source[key];\n if (destination.hasOwnProperty(key)) {\n const destinationValue = destination[key];\n if (\n typeof sourceValue === 'object' &&\n typeof destinationValue === 'object'\n ) {\n sourceValue = merge(destinationValue, sourceValue);\n }\n }\n destination[key] = sourceValue;\n }\n return destination;\n}\n\nfunction getDifferForType(\n typeName: string,\n): ?(prevProp: any, nextProp: any) => boolean {\n switch (typeName) {\n // iOS Types\n case 'CATransform3D':\n return matricesDiffer;\n case 'CGPoint':\n return pointsDiffer;\n case 'CGSize':\n return sizesDiffer;\n case 'UIEdgeInsets':\n return insetsDiffer;\n // Android Types\n // (not yet implemented)\n }\n return null;\n}\n\nfunction getProcessorForType(typeName: string): ?(nextProp: any) => any {\n switch (typeName) {\n // iOS Types\n case 'CGColor':\n case 'UIColor':\n return processColor;\n case 'CGColorArray':\n case 'UIColorArray':\n return processColorArray;\n case 'CGImage':\n case 'UIImage':\n case 'RCTImageSource':\n return resolveAssetSource;\n // Android Types\n case 'Color':\n return processColor;\n case 'ColorArray':\n return processColorArray;\n }\n return null;\n}\n\nmodule.exports = getNativeComponentAttributes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\ntype Point = {\n x: ?number,\n y: ?number,\n};\n\nconst dummyPoint = {x: undefined, y: undefined};\n\nconst pointsDiffer = function(one: ?Point, two: ?Point): boolean {\n one = one || dummyPoint;\n two = two || dummyPoint;\n return one !== two && (one.x !== two.x || one.y !== two.y);\n};\n\nmodule.exports = pointsDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst processColor = require('./processColor');\n\nfunction processColorArray(colors: ?Array): ?Array {\n return colors == null ? null : colors.map(processColor);\n}\n\nmodule.exports = processColorArray;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * Resolves an asset into a `source` for `Image`.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst AssetRegistry = require('./AssetRegistry');\nconst AssetSourceResolver = require('./AssetSourceResolver');\n\nimport type {ResolvedAssetSource} from './AssetSourceResolver';\n\nlet _customSourceTransformer, _serverURL, _scriptURL;\n\nlet _sourceCodeScriptURL: ?string;\nfunction getSourceCodeScriptURL(): ?string {\n if (_sourceCodeScriptURL) {\n return _sourceCodeScriptURL;\n }\n\n let sourceCode =\n global.nativeExtensions && global.nativeExtensions.SourceCode;\n if (!sourceCode) {\n sourceCode = require('../NativeModules/specs/NativeSourceCode').default;\n }\n _sourceCodeScriptURL = sourceCode.getConstants().scriptURL;\n return _sourceCodeScriptURL;\n}\n\nfunction getDevServerURL(): ?string {\n if (_serverURL === undefined) {\n const sourceCodeScriptURL = getSourceCodeScriptURL();\n const match =\n sourceCodeScriptURL && sourceCodeScriptURL.match(/^https?:\\/\\/.*?\\//);\n if (match) {\n // jsBundle was loaded from network\n _serverURL = match[0];\n } else {\n // jsBundle was loaded from file\n _serverURL = null;\n }\n }\n return _serverURL;\n}\n\nfunction _coerceLocalScriptURL(scriptURL: ?string): ?string {\n if (scriptURL) {\n if (scriptURL.startsWith('assets://')) {\n // android: running from within assets, no offline path to use\n return null;\n }\n scriptURL = scriptURL.substring(0, scriptURL.lastIndexOf('/') + 1);\n if (!scriptURL.includes('://')) {\n // Add file protocol in case we have an absolute file path and not a URL.\n // This shouldn't really be necessary. scriptURL should be a URL.\n scriptURL = 'file://' + scriptURL;\n }\n }\n return scriptURL;\n}\n\nfunction getScriptURL(): ?string {\n if (_scriptURL === undefined) {\n _scriptURL = _coerceLocalScriptURL(getSourceCodeScriptURL());\n }\n return _scriptURL;\n}\n\nfunction setCustomSourceTransformer(\n transformer: (resolver: AssetSourceResolver) => ResolvedAssetSource,\n): void {\n _customSourceTransformer = transformer;\n}\n\n/**\n * `source` is either a number (opaque type returned by require('./foo.png'))\n * or an `ImageSource` like { uri: '' }\n */\nfunction resolveAssetSource(source: any): ?ResolvedAssetSource {\n if (typeof source === 'object') {\n return source;\n }\n\n const asset = AssetRegistry.getAssetByID(source);\n if (!asset) {\n return null;\n }\n\n const resolver = new AssetSourceResolver(\n getDevServerURL(),\n getScriptURL(),\n asset,\n );\n if (_customSourceTransformer) {\n return _customSourceTransformer(resolver);\n }\n return resolver.defaultAsset();\n}\n\nmodule.exports = resolveAssetSource;\nmodule.exports.pickScale = AssetSourceResolver.pickScale;\nmodule.exports.setCustomSourceTransformer = setCustomSourceTransformer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n'use strict';\n\nexport type PackagerAsset = {\n +__packager_asset: boolean,\n +fileSystemLocation: string,\n +httpServerLocation: string,\n +width: ?number,\n +height: ?number,\n +scales: Array,\n +hash: string,\n +name: string,\n +type: string,\n};\n\nconst assets: Array = [];\n\nfunction registerAsset(asset: PackagerAsset): number {\n // `push` returns new array length, so the first asset will\n // get id 1 (not 0) to make the value truthy\n return assets.push(asset);\n}\n\nfunction getAssetByID(assetId: number): PackagerAsset {\n return assets[assetId - 1];\n}\n\nmodule.exports = {registerAsset, getAssetByID};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nexport type ResolvedAssetSource = {|\n +__packager_asset: boolean,\n +width: ?number,\n +height: ?number,\n +uri: string,\n +scale: number,\n|};\n\nimport type {PackagerAsset} from './AssetRegistry';\n\nconst PixelRatio = require('../Utilities/PixelRatio');\nconst Platform = require('../Utilities/Platform');\n\nconst assetPathUtils = require('./assetPathUtils');\nconst invariant = require('invariant');\n\n/**\n * Returns a path like 'assets/AwesomeModule/icon@2x.png'\n */\nfunction getScaledAssetPath(asset): string {\n const scale = AssetSourceResolver.pickScale(asset.scales, PixelRatio.get());\n const scaleSuffix = scale === 1 ? '' : '@' + scale + 'x';\n const assetDir = assetPathUtils.getBasePath(asset);\n return assetDir + '/' + asset.name + scaleSuffix + '.' + asset.type;\n}\n\n/**\n * Returns a path like 'drawable-mdpi/icon.png'\n */\nfunction getAssetPathInDrawableFolder(asset): string {\n const scale = AssetSourceResolver.pickScale(asset.scales, PixelRatio.get());\n const drawbleFolder = assetPathUtils.getAndroidResourceFolderName(\n asset,\n scale,\n );\n const fileName = assetPathUtils.getAndroidResourceIdentifier(asset);\n return drawbleFolder + '/' + fileName + '.' + asset.type;\n}\n\nclass AssetSourceResolver {\n serverUrl: ?string;\n // where the jsbundle is being run from\n jsbundleUrl: ?string;\n // the asset to resolve\n asset: PackagerAsset;\n\n constructor(serverUrl: ?string, jsbundleUrl: ?string, asset: PackagerAsset) {\n this.serverUrl = serverUrl;\n this.jsbundleUrl = jsbundleUrl;\n this.asset = asset;\n }\n\n isLoadedFromServer(): boolean {\n return !!this.serverUrl;\n }\n\n isLoadedFromFileSystem(): boolean {\n return !!(this.jsbundleUrl && this.jsbundleUrl.startsWith('file://'));\n }\n\n defaultAsset(): ResolvedAssetSource {\n if (this.isLoadedFromServer()) {\n return this.assetServerURL();\n }\n\n if (Platform.OS === 'android') {\n return this.isLoadedFromFileSystem()\n ? this.drawableFolderInBundle()\n : this.resourceIdentifierWithoutScale();\n } else {\n return this.scaledAssetURLNearBundle();\n }\n }\n\n /**\n * Returns an absolute URL which can be used to fetch the asset\n * from the devserver\n */\n assetServerURL(): ResolvedAssetSource {\n invariant(!!this.serverUrl, 'need server to load from');\n return this.fromSource(\n this.serverUrl +\n getScaledAssetPath(this.asset) +\n '?platform=' +\n Platform.OS +\n '&hash=' +\n this.asset.hash,\n );\n }\n\n /**\n * Resolves to just the scaled asset filename\n * E.g. 'assets/AwesomeModule/icon@2x.png'\n */\n scaledAssetPath(): ResolvedAssetSource {\n return this.fromSource(getScaledAssetPath(this.asset));\n }\n\n /**\n * Resolves to where the bundle is running from, with a scaled asset filename\n * E.g. 'file:///sdcard/bundle/assets/AwesomeModule/icon@2x.png'\n */\n scaledAssetURLNearBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || 'file://';\n return this.fromSource(path + getScaledAssetPath(this.asset));\n }\n\n /**\n * The default location of assets bundled with the app, located by\n * resource identifier\n * The Android resource system picks the correct scale.\n * E.g. 'assets_awesomemodule_icon'\n */\n resourceIdentifierWithoutScale(): ResolvedAssetSource {\n invariant(\n Platform.OS === 'android',\n 'resource identifiers work on Android',\n );\n return this.fromSource(\n assetPathUtils.getAndroidResourceIdentifier(this.asset),\n );\n }\n\n /**\n * If the jsbundle is running from a sideload location, this resolves assets\n * relative to its location\n * E.g. 'file:///sdcard/AwesomeModule/drawable-mdpi/icon.png'\n */\n drawableFolderInBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || 'file://';\n return this.fromSource(path + getAssetPathInDrawableFolder(this.asset));\n }\n\n fromSource(source: string): ResolvedAssetSource {\n return {\n __packager_asset: true,\n width: this.asset.width,\n height: this.asset.height,\n uri: source,\n scale: AssetSourceResolver.pickScale(this.asset.scales, PixelRatio.get()),\n };\n }\n\n static pickScale(scales: Array, deviceScale: number): number {\n // Packager guarantees that `scales` array is sorted\n for (let i = 0; i < scales.length; i++) {\n if (scales[i] >= deviceScale) {\n return scales[i];\n }\n }\n\n // If nothing matches, device scale is larger than any available\n // scales, so we return the biggest one. Unless the array is empty,\n // in which case we default to 1\n return scales[scales.length - 1] || 1;\n }\n}\n\nmodule.exports = AssetSourceResolver;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type {PackagerAsset} from './AssetRegistry';\n\nconst androidScaleSuffix = {\n '0.75': 'ldpi',\n '1': 'mdpi',\n '1.5': 'hdpi',\n '2': 'xhdpi',\n '3': 'xxhdpi',\n '4': 'xxxhdpi',\n};\n\n/**\n * FIXME: using number to represent discrete scale numbers is fragile in essence because of\n * floating point numbers imprecision.\n */\nfunction getAndroidAssetSuffix(scale: number): string {\n if (scale.toString() in androidScaleSuffix) {\n return androidScaleSuffix[scale.toString()];\n }\n\n throw new Error('no such scale ' + scale.toString());\n}\n\n// See https://developer.android.com/guide/topics/resources/drawable-resource.html\nconst drawableFileTypes = new Set([\n 'gif',\n 'jpeg',\n 'jpg',\n 'png',\n 'svg',\n 'webp',\n 'xml',\n]);\n\nfunction getAndroidResourceFolderName(\n asset: PackagerAsset,\n scale: number,\n): string | $TEMPORARY$string<'raw'> {\n if (!drawableFileTypes.has(asset.type)) {\n return 'raw';\n }\n var suffix = getAndroidAssetSuffix(scale);\n if (!suffix) {\n throw new Error(\n \"Don't know which android drawable suffix to use for scale: \" +\n scale +\n '\\nAsset: ' +\n JSON.stringify(asset, null, '\\t') +\n '\\nPossible scales are:' +\n JSON.stringify(androidScaleSuffix, null, '\\t'),\n );\n }\n const androidFolder = 'drawable-' + suffix;\n return androidFolder;\n}\n\nfunction getAndroidResourceIdentifier(asset: PackagerAsset): string {\n var folderPath = getBasePath(asset);\n return (folderPath + '/' + asset.name)\n .toLowerCase()\n .replace(/\\//g, '_') // Encode folder structure in file name\n .replace(/([^a-z0-9_])/g, '') // Remove illegal chars\n .replace(/^assets_/, ''); // Remove \"assets_\" prefix\n}\n\nfunction getBasePath(asset: PackagerAsset): string {\n var basePath = asset.httpServerLocation;\n if (basePath[0] === '/') {\n basePath = basePath.substr(1);\n }\n return basePath;\n}\n\nmodule.exports = {\n getAndroidAssetSuffix: getAndroidAssetSuffix,\n getAndroidResourceFolderName: getAndroidResourceFolderName,\n getAndroidResourceIdentifier: getAndroidResourceIdentifier,\n getBasePath: getBasePath,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n scriptURL: string,\n |};\n}\n\nexport default (TurboModuleRegistry.getEnforcing('SourceCode'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst createReactNativeComponentClass = require('../Renderer/shims/createReactNativeComponentClass');\nconst getNativeComponentAttributes = require('./getNativeComponentAttributes');\n\n/**\n * Creates values that can be used like React components which represent native\n * view managers. You should create JavaScript modules that wrap these values so\n * that the results are memoized. Example:\n *\n * const View = requireNativeComponent('RCTView');\n *\n */\nconst requireNativeComponent = (uiViewClassName: string): string =>\n createReactNativeComponentClass(uiViewClassName, () =>\n getNativeComponentAttributes(uiViewClassName),\n );\n\nmodule.exports = requireNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport {ReactNativeViewConfigRegistry} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';\n\nimport type {ViewConfigGetter} from './ReactNativeTypes';\n\nconst {register} = ReactNativeViewConfigRegistry;\n\n/**\n * Creates a renderable ReactNative host component.\n * Use this method for view configs that are loaded from UIManager.\n * Use createReactNativeComponentClass() for view configs defined within JavaScript.\n *\n * @param {string} config iOS View configuration.\n * @private\n */\nconst createReactNativeComponentClass = function(\n name: string,\n callback: ViewConfigGetter,\n): string {\n return register(name, callback);\n};\n\nmodule.exports = createReactNativeComponentClass;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {WithDefault} from '../../Types/CodegenTypes';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Whether the indicator should hide when not animating (true by default).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#hideswhenstopped\n */\n hidesWhenStopped?: WithDefault,\n\n /**\n * Whether to show the indicator (true, the default) or hide it (false).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#animating\n */\n animating?: WithDefault,\n\n /**\n * The foreground color of the spinner (default is gray).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#color\n */\n color?: ?ColorValue,\n\n /**\n * Size of the indicator (default is 'small').\n * Passing a number to the size prop is only supported on Android.\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#size\n */\n size?: WithDefault<'small' | 'large', 'small'>,\n|}>;\n\nexport default (codegenNativeComponent('ActivityIndicatorView', {\n paperComponentName: 'RCTActivityIndicatorView',\n}): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n// TODO: move this file to shims/ReactNative (requires React update and sync)\n\n'use strict';\n\nimport type {NativeComponent} from '../../Libraries/Renderer/shims/ReactNative';\nimport requireNativeComponent from '../../Libraries/ReactNative/requireNativeComponent';\nimport {UIManager} from 'react-native';\n\n// TODO: import from CodegenSchema once workspaces are enabled\ntype Options = $ReadOnly<{|\n interfaceOnly?: boolean,\n paperComponentName?: string,\n paperComponentNameDeprecated?: string,\n|}>;\n\nexport type NativeComponentType = Class>;\n\nfunction codegenNativeComponent(\n componentName: string,\n options?: Options,\n): NativeComponentType {\n let componentNameInUse =\n options && options.paperComponentName\n ? options.paperComponentName\n : componentName;\n\n if (options != null && options.paperComponentNameDeprecated != null) {\n if (UIManager.getViewManagerConfig(componentName)) {\n componentNameInUse = componentName;\n } else if (\n options.paperComponentNameDeprecated != null &&\n UIManager.getViewManagerConfig(options.paperComponentNameDeprecated)\n ) {\n componentNameInUse = options.paperComponentNameDeprecated;\n } else {\n throw new Error(\n `Failed to find native component for either ${componentName} or ${options.paperComponentNameDeprecated ||\n '(unknown)'}`,\n );\n }\n }\n\n // If this function is run at runtime then that means the view configs were not\n // generated with the view config babel plugin, so we need to require the native component.\n //\n // This will be useful during migration, but eventually this will error.\n return ((requireNativeComponent(componentNameInUse): any): Class<\n NativeComponent,\n >);\n}\n\nexport default codegenNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst Color = require('art/core/color');\nconst Path = require('./ARTSerializablePath');\nconst Transform = require('art/core/transform');\n\nconst React = require('react');\nconst PropTypes = require('prop-types');\nconst ReactNativeViewAttributes = require('../Components/View/ReactNativeViewAttributes');\n\nconst createReactNativeComponentClass = require('../Renderer/shims/createReactNativeComponentClass');\nconst merge = require('../vendor/core/merge');\nconst invariant = require('invariant');\n\n// Diff Helpers\n\nfunction arrayDiffer(a, b) {\n if (a == null || b == null) {\n return true;\n }\n if (a.length !== b.length) {\n return true;\n }\n for (let i = 0; i < a.length; i++) {\n if (a[i] !== b[i]) {\n return true;\n }\n }\n return false;\n}\n\nfunction fontAndLinesDiffer(a, b) {\n if (a === b) {\n return false;\n }\n if (a.font !== b.font) {\n if (a.font === null) {\n return true;\n }\n if (b.font === null) {\n return true;\n }\n\n if (\n a.font.fontFamily !== b.font.fontFamily ||\n a.font.fontSize !== b.font.fontSize ||\n a.font.fontWeight !== b.font.fontWeight ||\n a.font.fontStyle !== b.font.fontStyle\n ) {\n return true;\n }\n }\n return arrayDiffer(a.lines, b.lines);\n}\n\n// Native Attributes\n\nconst SurfaceViewAttributes = merge(ReactNativeViewAttributes.UIView, {\n // This should contain pixel information such as width, height and\n // resolution to know what kind of buffer needs to be allocated.\n // Currently we rely on UIViews and style to figure that out.\n});\n\nconst NodeAttributes = {\n transform: {diff: arrayDiffer},\n opacity: true,\n};\n\nconst GroupAttributes = merge(NodeAttributes, {\n clipping: {diff: arrayDiffer},\n});\n\nconst RenderableAttributes = merge(NodeAttributes, {\n fill: {diff: arrayDiffer},\n stroke: {diff: arrayDiffer},\n strokeWidth: true,\n strokeCap: true,\n strokeJoin: true,\n strokeDash: {diff: arrayDiffer},\n});\n\nconst ShapeAttributes = merge(RenderableAttributes, {\n d: {diff: arrayDiffer},\n});\n\nconst TextAttributes = merge(RenderableAttributes, {\n alignment: true,\n frame: {diff: fontAndLinesDiffer},\n path: {diff: arrayDiffer},\n});\n\n// Native Components\n\nconst NativeSurfaceView = createReactNativeComponentClass(\n 'ARTSurfaceView',\n () => ({\n validAttributes: SurfaceViewAttributes,\n uiViewClassName: 'ARTSurfaceView',\n }),\n);\n\nconst NativeGroup = createReactNativeComponentClass('ARTGroup', () => ({\n validAttributes: GroupAttributes,\n uiViewClassName: 'ARTGroup',\n}));\n\nconst NativeShape = createReactNativeComponentClass('ARTShape', () => ({\n validAttributes: ShapeAttributes,\n uiViewClassName: 'ARTShape',\n}));\n\nconst NativeText = createReactNativeComponentClass('ARTText', () => ({\n validAttributes: TextAttributes,\n uiViewClassName: 'ARTText',\n}));\n\n// Utilities\n\nfunction childrenAsString(children) {\n if (!children) {\n return '';\n }\n if (typeof children === 'string') {\n return children;\n }\n if (children.length) {\n return children.join('\\n');\n }\n return '';\n}\n\n// Surface - Root node of all ART\n\nclass Surface extends React.Component {\n static childContextTypes = {\n isInSurface: PropTypes.bool,\n };\n\n getChildContext() {\n return {isInSurface: true};\n }\n\n render() {\n const height = extractNumber(this.props.height, 0);\n const width = extractNumber(this.props.width, 0);\n\n return (\n \n {this.props.children}\n \n );\n }\n}\n\n// Node Props\n\n// TODO: The desktop version of ART has title and cursor. We should have\n// accessibility support here too even though hovering doesn't work.\n\nfunction extractNumber(value, defaultValue) {\n if (value == null) {\n return defaultValue;\n }\n return +value;\n}\n\nconst pooledTransform = new Transform();\n\nfunction extractTransform(props) {\n const scaleX =\n props.scaleX != null ? props.scaleX : props.scale != null ? props.scale : 1;\n const scaleY =\n props.scaleY != null ? props.scaleY : props.scale != null ? props.scale : 1;\n\n pooledTransform\n .transformTo(1, 0, 0, 1, 0, 0)\n .move(props.x || 0, props.y || 0)\n .rotate(props.rotation || 0, props.originX, props.originY)\n .scale(scaleX, scaleY, props.originX, props.originY);\n\n if (props.transform != null) {\n pooledTransform.transform(props.transform);\n }\n\n return [\n pooledTransform.xx,\n pooledTransform.yx,\n pooledTransform.xy,\n pooledTransform.yy,\n pooledTransform.x,\n pooledTransform.y,\n ];\n}\n\nfunction extractOpacity(props) {\n // TODO: visible === false should also have no hit detection\n if (props.visible === false) {\n return 0;\n }\n if (props.opacity == null) {\n return 1;\n }\n return +props.opacity;\n}\n\n// Groups\n\n// Note: ART has a notion of width and height on Group but AFAIK it's a noop in\n// ReactART.\n\nclass Group extends React.Component {\n static contextTypes = {\n isInSurface: PropTypes.bool.isRequired,\n };\n\n render() {\n const props = this.props;\n invariant(\n this.context.isInSurface,\n 'ART: must be a child of a ',\n );\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nclass ClippingRectangle extends React.Component {\n render() {\n const props = this.props;\n const x = extractNumber(props.x, 0);\n const y = extractNumber(props.y, 0);\n const w = extractNumber(props.width, 0);\n const h = extractNumber(props.height, 0);\n const clipping = [x, y, w, h];\n // The current clipping API requires x and y to be ignored in the transform\n const propsExcludingXAndY = merge(props);\n delete propsExcludingXAndY.x;\n delete propsExcludingXAndY.y;\n return (\n \n {this.props.children}\n \n );\n }\n}\n\n// Renderables\n\nconst SOLID_COLOR = 0;\nconst LINEAR_GRADIENT = 1;\nconst RADIAL_GRADIENT = 2;\nconst PATTERN = 3;\n\nfunction insertColorIntoArray(color, targetArray, atIndex) {\n const c = new Color(color);\n targetArray[atIndex + 0] = c.red / 255;\n targetArray[atIndex + 1] = c.green / 255;\n targetArray[atIndex + 2] = c.blue / 255;\n targetArray[atIndex + 3] = c.alpha;\n}\n\nfunction insertColorsIntoArray(stops, targetArray, atIndex) {\n let i = 0;\n if ('length' in stops) {\n while (i < stops.length) {\n insertColorIntoArray(stops[i], targetArray, atIndex + i * 4);\n i++;\n }\n } else {\n for (const offset in stops) {\n insertColorIntoArray(stops[offset], targetArray, atIndex + i * 4);\n i++;\n }\n }\n return atIndex + i * 4;\n}\n\nfunction insertOffsetsIntoArray(stops, targetArray, atIndex, multi, reverse) {\n let offsetNumber;\n let i = 0;\n if ('length' in stops) {\n while (i < stops.length) {\n offsetNumber = (i / (stops.length - 1)) * multi;\n targetArray[atIndex + i] = reverse ? 1 - offsetNumber : offsetNumber;\n i++;\n }\n } else {\n for (const offsetString in stops) {\n offsetNumber = +offsetString * multi;\n targetArray[atIndex + i] = reverse ? 1 - offsetNumber : offsetNumber;\n i++;\n }\n }\n return atIndex + i;\n}\n\nfunction insertColorStopsIntoArray(stops, targetArray, atIndex) {\n const lastIndex = insertColorsIntoArray(stops, targetArray, atIndex);\n insertOffsetsIntoArray(stops, targetArray, lastIndex, 1, false);\n}\n\nfunction insertDoubleColorStopsIntoArray(stops, targetArray, atIndex) {\n let lastIndex = insertColorsIntoArray(stops, targetArray, atIndex);\n lastIndex = insertColorsIntoArray(stops, targetArray, lastIndex);\n lastIndex = insertOffsetsIntoArray(stops, targetArray, lastIndex, 0.5, false);\n insertOffsetsIntoArray(stops, targetArray, lastIndex, 0.5, true);\n}\n\nfunction applyBoundingBoxToBrushData(brushData, props) {\n const type = brushData[0];\n const width = +props.width;\n const height = +props.height;\n if (type === LINEAR_GRADIENT) {\n brushData[1] *= width;\n brushData[2] *= height;\n brushData[3] *= width;\n brushData[4] *= height;\n } else if (type === RADIAL_GRADIENT) {\n brushData[1] *= width;\n brushData[2] *= height;\n brushData[3] *= width;\n brushData[4] *= height;\n brushData[5] *= width;\n brushData[6] *= height;\n } else if (type === PATTERN) {\n // todo\n }\n}\n\nfunction extractBrush(colorOrBrush, props) {\n if (colorOrBrush == null) {\n return null;\n }\n if (colorOrBrush._brush) {\n if (colorOrBrush._bb) {\n // The legacy API for Gradients allow for the bounding box to be used\n // as a convenience for specifying gradient positions. This should be\n // deprecated. It's not properly implemented in canvas mode. ReactART\n // doesn't handle update to the bounding box correctly. That's why we\n // mutate this so that if it's reused, we reuse the same resolved box.\n applyBoundingBoxToBrushData(colorOrBrush._brush, props);\n colorOrBrush._bb = false;\n }\n return colorOrBrush._brush;\n }\n const c = new Color(colorOrBrush);\n return [SOLID_COLOR, c.red / 255, c.green / 255, c.blue / 255, c.alpha];\n}\n\nfunction extractColor(color) {\n if (color == null) {\n return null;\n }\n const c = new Color(color);\n return [c.red / 255, c.green / 255, c.blue / 255, c.alpha];\n}\n\nfunction extractStrokeCap(strokeCap) {\n switch (strokeCap) {\n case 'butt':\n return 0;\n case 'square':\n return 2;\n default:\n return 1; // round\n }\n}\n\nfunction extractStrokeJoin(strokeJoin) {\n switch (strokeJoin) {\n case 'miter':\n return 0;\n case 'bevel':\n return 2;\n default:\n return 1; // round\n }\n}\n\n// Shape\n\n// Note: ART has a notion of width and height on Shape but AFAIK it's a noop in\n// ReactART.\n\nexport type ShapeProps = {|\n fill?: mixed,\n stroke?: mixed,\n strokeCap?: mixed,\n strokeDash?: mixed,\n strokeJoin?: mixed,\n strokeWidth?: mixed,\n x?: number,\n y?: number,\n opacity?: mixed,\n|};\n\nclass Shape extends React.Component {\n render() {\n const props = this.props;\n const path = props.d || childrenAsString(props.children);\n const d = (path instanceof Path ? path : new Path(path)).toJSON();\n return (\n \n );\n }\n}\n\n// Text\n\nconst cachedFontObjectsFromString = {};\n\nconst fontFamilyPrefix = /^[\\s\"']*/;\nconst fontFamilySuffix = /[\\s\"']*$/;\n\nfunction extractSingleFontFamily(fontFamilyString) {\n // ART on the web allows for multiple font-families to be specified.\n // For compatibility, we extract the first font-family, hoping\n // we'll get a match.\n return fontFamilyString\n .split(',')[0]\n .replace(fontFamilyPrefix, '')\n .replace(fontFamilySuffix, '');\n}\n\nfunction parseFontString(font) {\n if (cachedFontObjectsFromString.hasOwnProperty(font)) {\n return cachedFontObjectsFromString[font];\n }\n const regexp = /^\\s*((?:(?:normal|bold|italic)\\s+)*)(?:(\\d+(?:\\.\\d+)?)[ptexm\\%]*(?:\\s*\\/.*?)?\\s+)?\\s*\\\"?([^\\\"]*)/i;\n const match = regexp.exec(font);\n if (!match) {\n return null;\n }\n const fontFamily = extractSingleFontFamily(match[3]);\n const fontSize = +match[2] || 12;\n const isBold = /bold/.exec(match[1]);\n const isItalic = /italic/.exec(match[1]);\n cachedFontObjectsFromString[font] = {\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeight: isBold ? 'bold' : 'normal',\n fontStyle: isItalic ? 'italic' : 'normal',\n };\n return cachedFontObjectsFromString[font];\n}\n\nfunction extractFont(font) {\n if (font == null) {\n return null;\n }\n if (typeof font === 'string') {\n return parseFontString(font);\n }\n const fontFamily = extractSingleFontFamily(font.fontFamily);\n const fontSize = +font.fontSize || 12;\n const fontWeight =\n font.fontWeight != null ? font.fontWeight.toString() : '400';\n return {\n // Normalize\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeight: fontWeight,\n fontStyle: font.fontStyle,\n };\n}\n\nconst newLine = /\\n/g;\nfunction extractFontAndLines(font, text) {\n return {font: extractFont(font), lines: text.split(newLine)};\n}\n\nfunction extractAlignment(alignment) {\n switch (alignment) {\n case 'right':\n return 1;\n case 'center':\n return 2;\n default:\n return 0;\n }\n}\n\nclass Text extends React.Component {\n render() {\n const props = this.props;\n const path = props.path;\n const textPath = path\n ? (path instanceof Path ? path : new Path(path)).toJSON()\n : null;\n const textFrame = extractFontAndLines(\n props.font,\n childrenAsString(props.children),\n );\n return (\n \n );\n }\n}\n\n// Declarative fill type objects - API design not finalized\n\nfunction LinearGradient(stops, x1, y1, x2, y2) {\n const type = LINEAR_GRADIENT;\n\n if (arguments.length < 5) {\n const angle = ((x1 == null ? 270 : x1) * Math.PI) / 180;\n\n let x = Math.cos(angle);\n let y = -Math.sin(angle);\n const l = (Math.abs(x) + Math.abs(y)) / 2;\n\n x *= l;\n y *= l;\n\n x1 = 0.5 - x;\n x2 = 0.5 + x;\n y1 = 0.5 - y;\n y2 = 0.5 + y;\n this._bb = true;\n } else {\n this._bb = false;\n }\n\n const brushData = [type, +x1, +y1, +x2, +y2];\n insertColorStopsIntoArray(stops, brushData, 5);\n this._brush = brushData;\n}\n\nfunction RadialGradient(stops, fx, fy, rx, ry, cx, cy) {\n if (ry == null) {\n ry = rx;\n }\n if (cx == null) {\n cx = fx;\n }\n if (cy == null) {\n cy = fy;\n }\n if (fx == null) {\n // As a convenience we allow the whole radial gradient to cover the\n // bounding box. We should consider dropping this API.\n fx = fy = rx = ry = cx = cy = 0.5;\n this._bb = true;\n } else {\n this._bb = false;\n }\n // The ART API expects the radial gradient to be repeated at the edges.\n // To simulate this we render the gradient twice as large and add double\n // color stops. Ideally this API would become more restrictive so that this\n // extra work isn't needed.\n const brushData = [RADIAL_GRADIENT, +fx, +fy, +rx * 2, +ry * 2, +cx, +cy];\n insertDoubleColorStopsIntoArray(stops, brushData, 7);\n this._brush = brushData;\n}\n\nfunction Pattern(url, width, height, left, top) {\n this._brush = [PATTERN, url, +left || 0, +top || 0, +width, +height];\n}\n\nconst ReactART = {\n LinearGradient: LinearGradient,\n RadialGradient: RadialGradient,\n Pattern: Pattern,\n Transform: Transform,\n Path: Path,\n Surface: Surface,\n Group: Group,\n ClippingRectangle: ClippingRectangle,\n Shape: Shape,\n Text: Text,\n};\n\nmodule.exports = ReactART;\n","var colors = {\n\tmaroon: '#800000', red: '#ff0000', orange: '#ffA500', yellow: '#ffff00', olive: '#808000',\n\tpurple: '#800080', fuchsia: \"#ff00ff\", white: '#ffffff', lime: '#00ff00', green: '#008000',\n\tnavy: '#000080', blue: '#0000ff', aqua: '#00ffff', teal: '#008080',\n\tblack: '#000000', silver: '#c0c0c0', gray: '#808080'\n};\n\nvar map = function(array, fn){\n\tvar results = [];\n\tfor (var i = 0, l = array.length; i < l; i++)\n\t\tresults[i] = fn(array[i], i);\n\treturn results;\n};\n\nvar Color = function(color, type){\n\t\n\tif (color.isColor){\n\t\t\n\t\tthis.red = color.red;\n\t\tthis.green = color.green;\n\t\tthis.blue = color.blue;\n\t\tthis.alpha = color.alpha;\n\n\t} else {\n\t\t\n\t\tvar namedColor = colors[color];\n\t\tif (namedColor){\n\t\t\tcolor = namedColor;\n\t\t\ttype = 'hex';\n\t\t}\n\n\t\tswitch (typeof color){\n\t\t\tcase 'string': if (!type) type = (type = color.match(/^rgb|^hsb|^hsl/)) ? type[0] : 'hex'; break;\n\t\t\tcase 'object': type = type || 'rgb'; color = color.toString(); break;\n\t\t\tcase 'number': type = 'hex'; color = color.toString(16); break;\n\t\t}\n\n\t\tcolor = Color['parse' + type.toUpperCase()](color);\n\t\tthis.red = color[0];\n\t\tthis.green = color[1];\n\t\tthis.blue = color[2];\n\t\tthis.alpha = color[3];\n\t}\n\t\n\tthis.isColor = true;\n\n};\n\nvar limit = function(number, min, max){\n\treturn Math.min(max, Math.max(min, number));\n};\n\nvar listMatch = /([-.\\d]+\\%?)\\s*,\\s*([-.\\d]+\\%?)\\s*,\\s*([-.\\d]+\\%?)\\s*,?\\s*([-.\\d]*\\%?)/;\nvar hexMatch = /^#?([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{0,2})$/i;\n\nColor.parseRGB = function(color){\n\treturn map(color.match(listMatch).slice(1), function(bit, i){\n\t\tif (bit) bit = parseFloat(bit) * (bit[bit.length - 1] == '%' ? 2.55 : 1);\n\t\treturn (i < 3) ? Math.round(((bit %= 256) < 0) ? bit + 256 : bit) : limit(((bit === '') ? 1 : Number(bit)), 0, 1);\n\t});\n};\n\t\nColor.parseHEX = function(color){\n\tif (color.length == 1) color = color + color + color;\n\treturn map(color.match(hexMatch).slice(1), function(bit, i){\n\t\tif (i == 3) return (bit) ? parseInt(bit, 16) / 255 : 1;\n\t\treturn parseInt((bit.length == 1) ? bit + bit : bit, 16);\n\t});\n};\n\t\nColor.parseHSB = function(color){\n\tvar hsb = map(color.match(listMatch).slice(1), function(bit, i){\n\t\tif (bit) bit = parseFloat(bit);\n\t\tif (i === 0) return Math.round(((bit %= 360) < 0) ? (bit + 360) : bit);\n\t\telse if (i < 3) return limit(Math.round(bit), 0, 100);\n\t\telse return limit(((bit === '') ? 1 : Number(bit)), 0, 1);\n\t});\n\t\n\tvar a = hsb[3];\n\tvar br = Math.round(hsb[2] / 100 * 255);\n\tif (hsb[1] == 0) return [br, br, br, a];\n\t\t\n\tvar hue = hsb[0];\n\tvar f = hue % 60;\n\tvar p = Math.round((hsb[2] * (100 - hsb[1])) / 10000 * 255);\n\tvar q = Math.round((hsb[2] * (6000 - hsb[1] * f)) / 600000 * 255);\n\tvar t = Math.round((hsb[2] * (6000 - hsb[1] * (60 - f))) / 600000 * 255);\n\n\tswitch (Math.floor(hue / 60)){\n\t\tcase 0: return [br, t, p, a];\n\t\tcase 1: return [q, br, p, a];\n\t\tcase 2: return [p, br, t, a];\n\t\tcase 3: return [p, q, br, a];\n\t\tcase 4: return [t, p, br, a];\n\t\tdefault: return [br, p, q, a];\n\t}\n};\n\nColor.parseHSL = function(color){\n\tvar hsb = map(color.match(listMatch).slice(1), function(bit, i){\n\t\tif (bit) bit = parseFloat(bit);\n\t\tif (i === 0) return Math.round(((bit %= 360) < 0) ? (bit + 360) : bit);\n\t\telse if (i < 3) return limit(Math.round(bit), 0, 100);\n\t\telse return limit(((bit === '') ? 1 : Number(bit)), 0, 1);\n\t});\n\n\tvar h = hsb[0] / 60;\n\tvar s = hsb[1] / 100;\n\tvar l = hsb[2] / 100;\n\tvar a = hsb[3];\n\t\n\tvar c = (1 - Math.abs(2 * l - 1)) * s;\n\tvar x = c * (1 - Math.abs(h % 2 - 1));\n\tvar m = l - c / 2;\n\t\n\tvar p = Math.round((c + m) * 255);\n\tvar q = Math.round((x + m) * 255);\n\tvar t = Math.round((m) * 255);\n\n\tswitch (Math.floor(h)){\n\t\tcase 0: return [p, q, t, a];\n\t\tcase 1: return [q, p, t, a];\n\t\tcase 2: return [t, p, q, a];\n\t\tcase 3: return [t, q, p, a];\n\t\tcase 4: return [q, t, p, a];\n\t\tdefault: return [p, t, q, a];\n\t}\n};\n\nvar toString = function(type, array){\n\tif (array[3] != 1) type += 'a';\n\telse array.pop();\n\treturn type + '(' + array.join(', ') + ')';\n};\n\nColor.prototype = {\n\n\ttoHSB: function(array){\n\t\tvar red = this.red, green = this.green, blue = this.blue, alpha = this.alpha;\n\n\t\tvar max = Math.max(red, green, blue), min = Math.min(red, green, blue), delta = max - min;\n\t\tvar hue = 0, saturation = (delta != 0) ? delta / max : 0, brightness = max / 255;\n\t\tif (saturation){\n\t\t\tvar rr = (max - red) / delta, gr = (max - green) / delta, br = (max - blue) / delta;\n\t\t\thue = (red == max) ? br - gr : (green == max) ? 2 + rr - br : 4 + gr - rr;\n\t\t\tif ((hue /= 6) < 0) hue++;\n\t\t}\n\n\t\tvar hsb = [Math.round(hue * 360), Math.round(saturation * 100), Math.round(brightness * 100), alpha];\n\n\t\treturn (array) ? hsb : toString('hsb', hsb);\n\t},\n\n\ttoHSL: function(array){\n\t\tvar red = this.red, green = this.green, blue = this.blue, alpha = this.alpha;\n\n\t\tvar max = Math.max(red, green, blue), min = Math.min(red, green, blue), delta = max - min;\n\t\tvar hue = 0, saturation = (delta != 0) ? delta / (255 - Math.abs((max + min) - 255)) : 0, lightness = (max + min) / 512;\n\t\tif (saturation){\n\t\t\tvar rr = (max - red) / delta, gr = (max - green) / delta, br = (max - blue) / delta;\n\t\t\thue = (red == max) ? br - gr : (green == max) ? 2 + rr - br : 4 + gr - rr;\n\t\t\tif ((hue /= 6) < 0) hue++;\n\t\t}\n\n\t\tvar hsl = [Math.round(hue * 360), Math.round(saturation * 100), Math.round(lightness * 100), alpha];\n\n\t\treturn (array) ? hsl : toString('hsl', hsl);\n\t},\n\n\ttoHEX: function(array){\n\n\t\tvar a = this.alpha;\n\t\tvar alpha = ((a = Math.round((a * 255)).toString(16)).length == 1) ? a + a : a;\n\t\t\n\t\tvar hex = map([this.red, this.green, this.blue], function(bit){\n\t\t\tbit = bit.toString(16);\n\t\t\treturn (bit.length == 1) ? '0' + bit : bit;\n\t\t});\n\t\t\n\t\treturn (array) ? hex.concat(alpha) : '#' + hex.join('') + ((alpha == 'ff') ? '' : alpha);\n\t},\n\t\n\ttoRGB: function(array){\n\t\tvar rgb = [this.red, this.green, this.blue, this.alpha];\n\t\treturn (array) ? rgb : toString('rgb', rgb);\n\t}\n\n};\n\nColor.prototype.toString = Color.prototype.toRGB;\n\nColor.hex = function(hex){\n\treturn new Color(hex, 'hex');\n};\n\nif (this.hex == null) this.hex = Color.hex;\n\nColor.hsb = function(h, s, b, a){\n\treturn new Color([h || 0, s || 0, b || 0, (a == null) ? 1 : a], 'hsb');\n};\n\nif (this.hsb == null) this.hsb = Color.hsb;\n\nColor.hsl = function(h, s, l, a){\n\treturn new Color([h || 0, s || 0, l || 0, (a == null) ? 1 : a], 'hsl');\n};\n\nif (this.hsl == null) this.hsl = Color.hsl;\n\nColor.rgb = function(r, g, b, a){\n\treturn new Color([r || 0, g || 0, b || 0, (a == null) ? 1 : a], 'rgb');\n};\n\nif (this.rgb == null) this.rgb = Color.rgb;\n\nColor.detach = function(color){\n\tcolor = new Color(color);\n\treturn [Color.rgb(color.red, color.green, color.blue).toString(), color.alpha];\n};\n\nmodule.exports = Color;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\n// TODO: Move this into an ART mode called \"serialized\" or something\n\nconst Class = require('art/core/class.js');\nconst Path = require('art/core/path.js');\n\nconst MOVE_TO = 0;\nconst CLOSE = 1;\nconst LINE_TO = 2;\nconst CURVE_TO = 3;\nconst ARC = 4;\n\nconst SerializablePath = Class(Path, {\n initialize: function(path) {\n this.reset();\n if (path instanceof SerializablePath) {\n this.path = path.path.slice(0);\n } else if (path) {\n if (path.applyToPath) {\n path.applyToPath(this);\n } else {\n this.push(path);\n }\n }\n },\n\n onReset: function() {\n this.path = [];\n },\n\n onMove: function(sx, sy, x, y) {\n this.path.push(MOVE_TO, x, y);\n },\n\n onLine: function(sx, sy, x, y) {\n this.path.push(LINE_TO, x, y);\n },\n\n onBezierCurve: function(sx, sy, p1x, p1y, p2x, p2y, x, y) {\n this.path.push(CURVE_TO, p1x, p1y, p2x, p2y, x, y);\n },\n\n _arcToBezier: Path.prototype.onArc,\n\n onArc: function(sx, sy, ex, ey, cx, cy, rx, ry, sa, ea, ccw, rotation) {\n if (rx !== ry || rotation) {\n return this._arcToBezier(\n sx,\n sy,\n ex,\n ey,\n cx,\n cy,\n rx,\n ry,\n sa,\n ea,\n ccw,\n rotation,\n );\n }\n this.path.push(ARC, cx, cy, rx, sa, ea, ccw ? 0 : 1);\n },\n\n onClose: function() {\n this.path.push(CLOSE);\n },\n\n toJSON: function() {\n return this.path;\n },\n});\n\nmodule.exports = SerializablePath;\n","module.exports = function(mixins){\n\tvar proto = {};\n\tfor (var i = 0, l = arguments.length; i < l; i++){\n\t\tvar mixin = arguments[i];\n\t\tif (typeof mixin == 'function') mixin = mixin.prototype;\n\t\tfor (var key in mixin) proto[key] = mixin[key];\n\t}\n\tif (!proto.initialize) proto.initialize = function(){};\n\tproto.constructor = function(a,b,c,d,e,f,g,h){\n\t\treturn new proto.initialize(a,b,c,d,e,f,g,h);\n\t};\n\tproto.constructor.prototype = proto.initialize.prototype = proto;\n\treturn proto.constructor;\n};\n","var Class = require('./class');\n\nmodule.exports = Class({\n\t\n\tinitialize: function(path){\n\t\tthis.reset().push(path);\n\t},\n\n\t/* parser */\n\t\n\tpush: function(){\n\t\tvar p = Array.prototype.join.call(arguments, ' ')\n\t\t\t.match(/[a-df-z]|[\\-+]?(?:[\\d\\.]e[\\-+]?|[^\\s\\-+,a-z])+/ig);\n\t\tif (!p) return this;\n\n\t\tvar last, cmd = p[0], i = 1;\n\t\twhile (cmd){\n\t\t\tswitch (cmd){\n\t\t\t\tcase 'm': this.move(p[i++], p[i++]); break;\n\t\t\t\tcase 'l': this.line(p[i++], p[i++]); break;\n\t\t\t\tcase 'c': this.curve(p[i++], p[i++], p[i++], p[i++], p[i++], p[i++]); break;\n\t\t\t\tcase 's': this.curve(p[i++], p[i++], null, null, p[i++], p[i++]); break;\n\t\t\t\tcase 'q': this.curve(p[i++], p[i++], p[i++], p[i++]); break;\n\t\t\t\tcase 't': this.curve(p[i++], p[i++]); break;\n\t\t\t\tcase 'a': this.arc(p[i+5], p[i+6], p[i], p[i+1], p[i+3], !+p[i+4], p[i+2]); i += 7; break;\n\t\t\t\tcase 'h': this.line(p[i++], 0); break;\n\t\t\t\tcase 'v': this.line(0, p[i++]); break;\n\n\t\t\t\tcase 'M': this.moveTo(p[i++], p[i++]); break;\n\t\t\t\tcase 'L': this.lineTo(p[i++], p[i++]); break;\n\t\t\t\tcase 'C': this.curveTo(p[i++], p[i++], p[i++], p[i++], p[i++], p[i++]); break;\n\t\t\t\tcase 'S': this.curveTo(p[i++], p[i++], null, null, p[i++], p[i++]); break;\n\t\t\t\tcase 'Q': this.curveTo(p[i++], p[i++], p[i++], p[i++]); break;\n\t\t\t\tcase 'T': this.curveTo(p[i++], p[i++]); break;\n\t\t\t\tcase 'A': this.arcTo(p[i+5], p[i+6], p[i], p[i+1], p[i+3], !+p[i+4], p[i+2]); i += 7; break;\n\t\t\t\tcase 'H': this.lineTo(p[i++], this.penY); break;\n\t\t\t\tcase 'V': this.lineTo(this.penX, p[i++]); break;\n\t\t\t\t\n\t\t\t\tcase 'Z': case 'z': this.close(); break;\n\t\t\t\tdefault: cmd = last; i--; continue;\n\t\t\t}\n\n\t\t\tlast = cmd;\n\t\t\tif (last == 'm') last = 'l';\n\t\t\telse if (last == 'M') last = 'L';\n\t\t\tcmd = p[i++];\n\t\t}\n\t\treturn this;\n\t},\n\n\t/* utility methods */\n\n\treset: function(){\n\t\tthis.penX = this.penY = 0;\n\t\tthis.penDownX = this.penDownY = null;\n\t\tthis._pivotX = this._pivotY = 0;\n\t\tthis.onReset();\n\t\treturn this;\n\t},\n\t\n\tmove: function(x,y){\n\t\tthis.onMove(this.penX, this.penY, this._pivotX = this.penX += (+x), this._pivotY = this.penY += (+y));\n\t\treturn this;\n\t},\n\tmoveTo: function(x,y){\n\t\tthis.onMove(this.penX, this.penY, this._pivotX = this.penX = (+x), this._pivotY = this.penY = (+y));\n\t\treturn this;\n\t},\n\n\tline: function(x,y){\n\t\treturn this.lineTo(this.penX + (+x), this.penY + (+y));\n\t},\n\tlineTo: function(x,y){\n\t\tif (this.penDownX == null){ this.penDownX = this.penX; this.penDownY = this.penY; }\n\t\tthis.onLine(this.penX, this.penY, this._pivotX = this.penX = (+x), this._pivotY = this.penY = (+y));\n\t\treturn this;\n\t},\n\t\n\tcurve: function(c1x, c1y, c2x, c2y, ex, ey){\n\t\tvar x = this.penX, y = this.penY;\n\t\treturn this.curveTo(\n\t\t\tx + (+c1x), y + (+c1y),\n\t\t\tc2x == null ? null : x + (+c2x),\n\t\t\tc2y == null ? null : y + (+c2y),\n\t\t\tex == null ? null : x + (+ex),\n\t\t\tey == null ? null : y + (+ey)\n\t\t);\n\t},\n\tcurveTo: function(c1x, c1y, c2x, c2y, ex, ey){\n\t\tvar x = this.penX, y = this.penY;\n\t\tif (c2x == null){\n\t\t\tc2x = +c1x; c2y = +c1y;\n\t\t\tc1x = (x * 2) - (this._pivotX || 0); c1y = (y * 2) - (this._pivotY || 0);\n\t\t}\n\t\tif (ex == null){\n\t\t\tthis._pivotX = +c1x; this._pivotY = +c1y;\n\t\t\tex = +c2x; ey = +c2y;\n\t\t\tc2x = (ex + (+c1x) * 2) / 3; c2y = (ey + (+c1y) * 2) / 3;\n\t\t\tc1x = (x + (+c1x) * 2) / 3; c1y = (y + (+c1y) * 2) / 3;\n\t\t} else {\n\t\t\tthis._pivotX = +c2x; this._pivotY = +c2y;\n\t\t}\n\t\tif (this.penDownX == null){ this.penDownX = x; this.penDownY = y; }\n\t\tthis.onBezierCurve(x, y, +c1x, +c1y, +c2x, +c2y, this.penX = +ex, this.penY = +ey);\n\t\treturn this;\n\t},\n\t\n\tarc: function(x, y, rx, ry, outer, counterClockwise, rotation){\n\t\treturn this.arcTo(this.penX + (+x), this.penY + (+y), rx, ry, outer, counterClockwise, rotation);\n\t},\n\tarcTo: function(x, y, rx, ry, outer, counterClockwise, rotation){\n\t\try = Math.abs(+ry || +rx || (+y - this.penY));\n\t\trx = Math.abs(+rx || (+x - this.penX));\n\n\t\tif (!rx || !ry || (x == this.penX && y == this.penY)) return this.lineTo(x, y);\n\n\t\tvar tX = this.penX, tY = this.penY, clockwise = !+counterClockwise, large = !!+outer;\n\n\t\tvar rad = rotation ? rotation * Math.PI / 180 : 0, cos = Math.cos(rad), sin = Math.sin(rad);\n\t\tx -= tX; y -= tY;\n\t\t\n\t\t// Ellipse Center\n\t\tvar cx = cos * x / 2 + sin * y / 2,\n\t\t\tcy = -sin * x / 2 + cos * y / 2,\n\t\t\trxry = rx * rx * ry * ry,\n\t\t\trycx = ry * ry * cx * cx,\n\t\t\trxcy = rx * rx * cy * cy,\n\t\t\ta = rxry - rxcy - rycx;\n\n\t\tif (a < 0){\n\t\t\ta = Math.sqrt(1 - a / rxry);\n\t\t\trx *= a; ry *= a;\n\t\t\tcx = x / 2; cy = y / 2;\n\t\t} else {\n\t\t\ta = Math.sqrt(a / (rxcy + rycx));\n\t\t\tif (large == clockwise) a = -a;\n\t\t\tvar cxd = -a * cy * rx / ry,\n\t\t\t cyd = a * cx * ry / rx;\n\t\t\tcx = cos * cxd - sin * cyd + x / 2;\n\t\t\tcy = sin * cxd + cos * cyd + y / 2;\n\t\t}\n\n\t\t// Rotation + Scale Transform\n\t\tvar xx = cos / rx, yx = sin / rx,\n\t\t xy = -sin / ry, yy = cos / ry;\n\n\t\t// Start and End Angle\n\t\tvar sa = Math.atan2(xy * -cx + yy * -cy, xx * -cx + yx * -cy),\n\t\t ea = Math.atan2(xy * (x - cx) + yy * (y - cy), xx * (x - cx) + yx * (y - cy));\n\n\t\tcx += tX; cy += tY;\n\t\tx += tX; y += tY;\n\n\t\t// Circular Arc\n\t\tif (this.penDownX == null){ this.penDownX = this.penX; this.penDownY = this.penY; }\n\t\tthis.onArc(\n\t\t\ttX, tY, this._pivotX = this.penX = x, this._pivotY = this.penY = y,\n\t\t\tcx, cy, rx, ry, sa, ea, !clockwise, rotation\n\t\t);\n\t\treturn this;\n\t},\n\n\tcounterArc: function(x, y, rx, ry, outer){\n\t\treturn this.arc(x, y, rx, ry, outer, true);\n\t},\n\tcounterArcTo: function(x, y, rx, ry, outer){\n\t\treturn this.arcTo(x, y, rx, ry, outer, true);\n\t},\n\n\tclose: function(){\n\t\tif (this.penDownX != null){\n\t\t\tthis.onClose(this.penX, this.penY, this.penX = this.penDownX, this.penY = this.penDownY);\n\t\t\tthis.penDownX = null;\n\t\t}\n\t\treturn this;\n\t},\n\n\t/* overridable handlers */\n\t\n\tonReset: function(){\n\t},\n\n\tonMove: function(sx, sy, ex, ey){\n\t},\n\n\tonLine: function(sx, sy, ex, ey){\n\t\tthis.onBezierCurve(sx, sy, sx, sy, ex, ey, ex, ey);\n\t},\n\n\tonBezierCurve: function(sx, sy, c1x, c1y, c2x, c2y, ex, ey){\n\t\tvar gx = ex - sx, gy = ey - sy,\n\t\t\tg = gx * gx + gy * gy,\n\t\t\tv1, v2, cx, cy, u;\n\n\t\tcx = c1x - sx; cy = c1y - sy;\n\t\tu = cx * gx + cy * gy;\n\n\t\tif (u > g){\n\t\t\tcx -= gx;\n\t\t\tcy -= gy;\n\t\t} else if (u > 0 && g != 0){\n\t\t\tcx -= u/g * gx;\n\t\t\tcy -= u/g * gy;\n\t\t}\n\n\t\tv1 = cx * cx + cy * cy;\n\n\t\tcx = c2x - sx; cy = c2y - sy;\n\t\tu = cx * gx + cy * gy;\n\n\t\tif (u > g){\n\t\t\tcx -= gx;\n\t\t\tcy -= gy;\n\t\t} else if (u > 0 && g != 0){\n\t\t\tcx -= u/g * gx;\n\t\t\tcy -= u/g * gy;\n\t\t}\n\n\t\tv2 = cx * cx + cy * cy;\n\n\t\tif (v1 < 0.01 && v2 < 0.01){\n\t\t\tthis.onLine(sx, sy, ex, ey);\n\t\t\treturn;\n\t\t}\n\n\t\t// Avoid infinite recursion\n\t\tif (isNaN(v1) || isNaN(v2)){\n\t\t\tthrow new Error('Bad input');\n\t\t}\n\n\t\t// Split curve\n\t\tvar s1x = (c1x + c2x) * 0.5, s1y = (c1y + c2y) * 0.5,\n\t\t l1x = (c1x + sx) * 0.5, l1y = (c1y + sy) * 0.5,\n\t\t l2x = (l1x + s1x) * 0.5, l2y = (l1y + s1y) * 0.5,\n\t\t r2x = (ex + c2x) * 0.5, r2y = (ey + c2y) * 0.5,\n\t\t r1x = (r2x + s1x) * 0.5, r1y = (r2y + s1y) * 0.5,\n\t\t l2r1x = (l2x + r1x) * 0.5, l2r1y = (l2y + r1y) * 0.5;\n\n\t\t// TODO: Manual stack if necessary. Currently recursive without tail optimization.\n\t\tthis.onBezierCurve(sx, sy, l1x, l1y, l2x, l2y, l2r1x, l2r1y);\n\t\tthis.onBezierCurve(l2r1x, l2r1y, r1x, r1y, r2x, r2y, ex, ey);\n\t},\n\n\tonArc: function(sx, sy, ex, ey, cx, cy, rx, ry, sa, ea, ccw, rotation){\n\t\t// Inverse Rotation + Scale Transform\n\t\tvar rad = rotation ? rotation * Math.PI / 180 : 0, cos = Math.cos(rad), sin = Math.sin(rad),\n\t\t\txx = cos * rx, yx = -sin * ry,\n\t\t xy = sin * rx, yy = cos * ry;\n\n\t\t// Bezier Curve Approximation\n\t\tvar arc = ea - sa;\n\t\tif (arc < 0 && !ccw) arc += Math.PI * 2;\n\t\telse if (arc > 0 && ccw) arc -= Math.PI * 2;\n\n\t\tvar n = Math.ceil(Math.abs(arc / (Math.PI / 2))),\n\t\t step = arc / n,\n\t\t k = (4 / 3) * Math.tan(step / 4);\n\n\t\tvar x = Math.cos(sa), y = Math.sin(sa);\n\n\t\tfor (var i = 0; i < n; i++){\n\t\t\tvar cp1x = x - k * y, cp1y = y + k * x;\n\n\t\t\tsa += step;\n\t\t\tx = Math.cos(sa); y = Math.sin(sa);\n\n\t\t\tvar cp2x = x + k * y, cp2y = y - k * x;\n\n\t\t\tthis.onBezierCurve(\n\t\t\t\tsx, sy,\n\t\t\t\tcx + xx * cp1x + yx * cp1y, cy + xy * cp1x + yy * cp1y,\n\t\t\t\tcx + xx * cp2x + yx * cp2y, cy + xy * cp2x + yy * cp2y,\n\t\t\t\t(sx = (cx + xx * x + yx * y)), (sy = (cy + xy * x + yy * y))\n\t\t\t);\n\t\t}\n\t},\n\n\tonClose: function(sx, sy, ex, ey){\n\t\tthis.onLine(sx, sy, ex, ey);\n\t}\n\n});","var Class = require('./class');\n\nfunction Transform(xx, yx, xy, yy, x, y){\n\tif (xx && typeof xx == 'object'){\n\t\tyx = xx.yx; yy = xx.yy; y = xx.y;\n\t\txy = xx.xy; x = xx.x; xx = xx.xx;\n\t}\n\tthis.xx = xx == null ? 1 : xx;\n\tthis.yx = yx || 0;\n\tthis.xy = xy || 0;\n\tthis.yy = yy == null ? 1 : yy;\n\tthis.x = (x == null ? this.x : x) || 0;\n\tthis.y = (y == null ? this.y : y) || 0;\n\tthis._transform();\n\treturn this;\n};\n\nmodule.exports = Class({\n\n\tinitialize: Transform,\n\n\t_transform: function(){},\n\n\txx: 1, yx: 0, x: 0,\n\txy: 0, yy: 1, y: 0,\n\n\ttransform: function(xx, yx, xy, yy, x, y){\n\t\tvar m = this;\n\t\tif (xx && typeof xx == 'object'){\n\t\t\tyx = xx.yx; yy = xx.yy; y = xx.y;\n\t\t\txy = xx.xy; x = xx.x; xx = xx.xx;\n\t\t}\n\t\tif (!x) x = 0;\n\t\tif (!y) y = 0;\n\t\treturn this.transformTo(\n\t\t\tm.xx * xx + m.xy * yx,\n\t\t\tm.yx * xx + m.yy * yx,\n\t\t\tm.xx * xy + m.xy * yy,\n\t\t\tm.yx * xy + m.yy * yy,\n\t\t\tm.xx * x + m.xy * y + m.x,\n\t\t\tm.yx * x + m.yy * y + m.y\n\t\t);\n\t},\n\n\ttransformTo: Transform,\n\n\ttranslate: function(x, y){\n\t\treturn this.transform(1, 0, 0, 1, x, y);\n\t},\n\n\tmove: function(x, y){\n\t\tthis.x += x || 0;\n\t\tthis.y += y || 0;\n\t\tthis._transform();\n\t\treturn this;\n\t},\n\n\tscale: function(x, y){\n\t\tif (y == null) y = x;\n\t\treturn this.transform(x, 0, 0, y, 0, 0);\n\t},\n\n\trotate: function(deg, x, y){\n\t\tif (x == null || y == null){\n\t\t\tx = (this.left || 0) + (this.width || 0) / 2;\n\t\t\ty = (this.top || 0) + (this.height || 0) / 2;\n\t\t}\n\n\t\tvar rad = deg * Math.PI / 180, sin = Math.sin(rad), cos = Math.cos(rad);\n\n\t\tthis.transform(1, 0, 0, 1, x, y);\n\t\tvar m = this;\n\n\t\treturn this.transformTo(\n\t\t\tcos * m.xx - sin * m.yx,\n\t\t\tsin * m.xx + cos * m.yx,\n\t\t\tcos * m.xy - sin * m.yy,\n\t\t\tsin * m.xy + cos * m.yy,\n\t\t\tm.x,\n\t\t\tm.y\n\t\t).transform(1, 0, 0, 1, -x, -y);\n\t},\n\n\tmoveTo: function(x, y){\n\t\tvar m = this;\n\t\treturn this.transformTo(m.xx, m.yx, m.xy, m.yy, x, y);\n\t},\n\n\trotateTo: function(deg, x, y){\n\t\tvar m = this;\n\t\tvar flip = m.yx / m.xx > m.yy / m.xy ? -1 : 1;\n\t\tif (m.xx < 0 ? m.xy >= 0 : m.xy < 0) flip = -flip;\n\t\treturn this.rotate(deg - Math.atan2(flip * m.yx, flip * m.xx) * 180 / Math.PI, x, y);\n\t},\n\n\tscaleTo: function(x, y){\n\t\t// Normalize\n\t\tvar m = this;\n\n\t\tvar h = Math.sqrt(m.xx * m.xx + m.yx * m.yx);\n\t\tm.xx /= h; m.yx /= h;\n\n\t\th = Math.sqrt(m.yy * m.yy + m.xy * m.xy);\n\t\tm.yy /= h; m.xy /= h;\n\n\t\treturn this.scale(x, y);\n\t},\n\n\tresizeTo: function(width, height){\n\t\tvar w = this.width, h = this.height;\n\t\tif (!w || !h) return this;\n\t\treturn this.scaleTo(width / w, height / h);\n\t},\n\n\t/*\n\tinverse: function(){\n\t\tvar a = this.xx, b = this.yx,\n\t\t\tc = this.xy, d = this.yy,\n\t\t\te = this.x, f = this.y;\n\t\tif (a * d - b * c == 0) return null;\n\t\treturn new Transform(\n\t\t\td/(a * d-b * c), b/(b * c-a * d),\n\t\t\tc/(b * c-a * d), a/(a * d-b * c),\n\t\t\t(d * e-c * f)/(b * c-a * d), (b * e-a * f)/(a * d-b * c)\n\t\t);\n\t},\n\t*/\n\n\tinversePoint: function(x, y){\n\t\tvar a = this.xx, b = this.yx,\n\t\t\tc = this.xy, d = this.yy,\n\t\t\te = this.x, f = this.y;\n\t\tvar det = b * c - a * d;\n\t\tif (det == 0) return null;\n\t\treturn {\n\t\t\tx: (d * (e - x) + c * (y - f)) / det,\n\t\t\ty: (a * (f - y) + b * (x - e)) / det\n\t\t};\n\t},\n\n\tpoint: function(x, y){\n\t\tvar m = this;\n\t\treturn {\n\t\t\tx: m.xx * x + m.xy * y + m.x,\n\t\t\ty: m.yx * x + m.yy * y + m.y\n\t\t};\n\t}\t\n\n});\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst ReactNativeStyleAttributes = require('./ReactNativeStyleAttributes');\n\nconst UIView = {\n pointerEvents: true,\n accessible: true,\n accessibilityActions: true,\n accessibilityLabel: true,\n accessibilityLiveRegion: true,\n accessibilityRole: true,\n accessibilityStates: true,\n accessibilityState: true,\n accessibilityHint: true,\n importantForAccessibility: true,\n nativeID: true,\n testID: true,\n renderToHardwareTextureAndroid: true,\n shouldRasterizeIOS: true,\n onLayout: true,\n onAccessibilityAction: true,\n onAccessibilityTap: true,\n onMagicTap: true,\n onAccessibilityEscape: true,\n collapsable: true,\n needsOffscreenAlphaCompositing: true,\n style: ReactNativeStyleAttributes,\n};\n\nconst RCTView = {\n ...UIView,\n\n // This is a special performance property exposed by RCTView and useful for\n // scrolling content when there are many subviews, most of which are offscreen.\n // For this property to be effective, it must be applied to a view that contains\n // many subviews that extend outside its bound. The subviews must also have\n // overflow: hidden, as should the containing view (or one of its superviews).\n removeClippedSubviews: true,\n};\n\nconst ReactNativeViewAttributes = {\n UIView: UIView,\n RCTView: RCTView,\n};\n\nmodule.exports = ReactNativeViewAttributes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\nconst mergeInto = require('./mergeInto');\n\n/**\n * Shallow merges two structures into a return value, without mutating either.\n *\n * @param {?object} one Optional object with properties to merge from.\n * @param {?object} two Optional object with properties to merge from.\n * @return {object} The shallow extension of one by two.\n */\nconst merge = function(one, two) {\n const result = {};\n mergeInto(result, one);\n mergeInto(result, two);\n return result;\n};\n\nmodule.exports = merge;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\nvar mergeHelpers = require('./mergeHelpers');\n\nvar checkMergeObjectArg = mergeHelpers.checkMergeObjectArg;\nvar checkMergeIntoObjectArg = mergeHelpers.checkMergeIntoObjectArg;\n\n/**\n * Shallow merges two structures by mutating the first parameter.\n *\n * @param {object|function} one Object to be merged into.\n * @param {?object} two Optional object with properties to merge from.\n */\nfunction mergeInto(one, two) {\n checkMergeIntoObjectArg(one);\n if (two != null) {\n checkMergeObjectArg(two);\n for (var key in two) {\n if (!Object.prototype.hasOwnProperty.call(two, key)) {\n continue;\n }\n one[key] = two[key];\n }\n }\n}\n\nmodule.exports = mergeInto;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * requiresPolyfills: Array.isArray\n *\n * @format\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\n/**\n * Maximum number of levels to traverse. Will catch circular structures.\n * @const\n */\nconst MAX_MERGE_DEPTH = 36;\n\n/**\n * We won't worry about edge cases like new String('x') or new Boolean(true).\n * Functions and Dates are considered terminals, and arrays are not.\n * @param {*} o The item/object/value to test.\n * @return {boolean} true iff the argument is a terminal.\n */\nconst isTerminal = function(o) {\n return typeof o !== 'object' || o instanceof Date || o === null;\n};\n\nconst mergeHelpers = {\n MAX_MERGE_DEPTH: MAX_MERGE_DEPTH,\n\n isTerminal: isTerminal,\n\n /**\n * Converts null/undefined values into empty object.\n *\n * @param {?Object=} arg Argument to be normalized (nullable optional)\n * @return {!Object}\n */\n normalizeMergeArg: function(arg) {\n return arg === undefined || arg === null ? {} : arg;\n },\n\n /**\n * If merging Arrays, a merge strategy *must* be supplied. If not, it is\n * likely the caller's fault. If this function is ever called with anything\n * but `one` and `two` being `Array`s, it is the fault of the merge utilities.\n *\n * @param {*} one Array to merge into.\n * @param {*} two Array to merge from.\n */\n checkMergeArrayArgs: function(one, two) {\n invariant(\n Array.isArray(one) && Array.isArray(two),\n 'Tried to merge arrays, instead got %s and %s.',\n one,\n two,\n );\n },\n\n /**\n * @param {*} one Object to merge into.\n * @param {*} two Object to merge from.\n */\n checkMergeObjectArgs: function(one, two) {\n mergeHelpers.checkMergeObjectArg(one);\n mergeHelpers.checkMergeObjectArg(two);\n },\n\n /**\n * @param {*} arg\n */\n checkMergeObjectArg: function(arg) {\n invariant(\n !isTerminal(arg) && !Array.isArray(arg),\n 'Tried to merge an object, instead got %s.',\n arg,\n );\n },\n\n /**\n * @param {*} arg\n */\n checkMergeIntoObjectArg: function(arg) {\n invariant(\n (!isTerminal(arg) || typeof arg === 'function') && !Array.isArray(arg),\n 'Tried to merge into an object, instead got %s.',\n arg,\n );\n },\n\n /**\n * Checks that a merge was not given a circular object or an object that had\n * too great of depth.\n *\n * @param {number} Level of recursion to validate against maximum.\n */\n checkMergeLevel: function(level) {\n invariant(\n level < MAX_MERGE_DEPTH,\n 'Maximum deep merge depth exceeded. You may be attempting to merge ' +\n 'circular structures in an unsupported way.',\n );\n },\n\n /**\n * Checks that the supplied merge strategy is valid.\n *\n * @param {string} Array merge strategy.\n */\n checkArrayStrategy: function(strategy) {\n invariant(\n strategy === undefined || strategy in mergeHelpers.ArrayStrategies,\n 'You must provide an array strategy to deep merge functions to ' +\n 'instruct the deep merge how to resolve merging two arrays.',\n );\n },\n\n /**\n * Set of possible behaviors of merge algorithms when encountering two Arrays\n * that must be merged together.\n * - `clobber`: The left `Array` is ignored.\n * - `indexByIndex`: The result is achieved by recursively deep merging at\n * each index. (not yet supported.)\n */\n ArrayStrategies: {\n Clobber: 'Clobber',\n Concat: 'Concat',\n IndexByIndex: 'IndexByIndex',\n },\n};\n\nmodule.exports = mergeHelpers;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../Utilities/Platform');\nconst React = require('react');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst Text = require('../Text/Text');\nconst TouchableNativeFeedback = require('./Touchable/TouchableNativeFeedback');\nconst TouchableOpacity = require('./Touchable/TouchableOpacity');\nconst View = require('./View/View');\n\nconst invariant = require('invariant');\n\nimport type {PressEvent} from '../Types/CoreEventTypes';\n\ntype ButtonProps = $ReadOnly<{|\n /**\n * Text to display inside the button\n */\n title: string,\n\n /**\n * Handler to be called when the user taps the button\n */\n onPress: (event?: PressEvent) => mixed,\n\n /**\n * If true, doesn't play system sound on touch (Android Only)\n **/\n touchSoundDisabled?: ?boolean,\n\n /**\n * Color of the text (iOS), or background color of the button (Android)\n */\n color?: ?string,\n\n /**\n * TV preferred focus (see documentation for the View component).\n */\n hasTVPreferredFocus?: ?boolean,\n\n /**\n * TV next focus down (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusDown?: ?number,\n\n /**\n * TV next focus forward (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusForward?: ?number,\n\n /**\n * TV next focus left (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusLeft?: ?number,\n\n /**\n * TV next focus right (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusRight?: ?number,\n\n /**\n * TV next focus up (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusUp?: ?number,\n\n /**\n * Text to display for blindness accessibility features\n */\n accessibilityLabel?: ?string,\n\n /**\n * If true, disable all interactions for this component.\n */\n disabled?: ?boolean,\n\n /**\n * Used to locate this view in end-to-end tests.\n */\n testID?: ?string,\n|}>;\n\n/**\n * A basic button component that should render nicely on any platform. Supports\n * a minimal level of customization.\n *\n *
    \n *\n * If this button doesn't look right for your app, you can build your own\n * button using [TouchableOpacity](docs/touchableopacity.html)\n * or [TouchableNativeFeedback](docs/touchablenativefeedback.html).\n * For inspiration, look at the [source code for this button component](https://github.com/facebook/react-native/blob/master/Libraries/Components/Button.js).\n * Or, take a look at the [wide variety of button components built by the community](https://js.coach/react-native?search=button).\n *\n * Example usage:\n *\n * ```\n * import { Button } from 'react-native';\n * ...\n *\n * \n * ```\n *\n */\n\nclass Button extends React.Component {\n render(): React.Node {\n const {\n accessibilityLabel,\n color,\n onPress,\n touchSoundDisabled,\n title,\n hasTVPreferredFocus,\n nextFocusDown,\n nextFocusForward,\n nextFocusLeft,\n nextFocusRight,\n nextFocusUp,\n disabled,\n testID,\n } = this.props;\n const buttonStyles = [styles.button];\n const textStyles = [styles.text];\n if (color) {\n if (Platform.OS === 'ios') {\n textStyles.push({color: color});\n } else {\n buttonStyles.push({backgroundColor: color});\n }\n }\n const accessibilityStates = [];\n if (disabled) {\n buttonStyles.push(styles.buttonDisabled);\n textStyles.push(styles.textDisabled);\n accessibilityStates.push('disabled');\n }\n invariant(\n typeof title === 'string',\n 'The title prop of a Button must be a string',\n );\n const formattedTitle =\n Platform.OS === 'android' ? title.toUpperCase() : title;\n const Touchable =\n Platform.OS === 'android' ? TouchableNativeFeedback : TouchableOpacity;\n return (\n \n \n \n {formattedTitle}\n \n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n button: Platform.select({\n ios: {},\n android: {\n elevation: 4,\n // Material design blue from https://material.google.com/style/color.html#color-color-palette\n backgroundColor: '#2196F3',\n borderRadius: 2,\n },\n }),\n text: {\n textAlign: 'center',\n padding: 8,\n ...Platform.select({\n ios: {\n // iOS blue from https://developer.apple.com/ios/human-interface-guidelines/visual-design/color/\n color: '#007AFF',\n fontSize: 18,\n },\n android: {\n color: 'white',\n fontWeight: '500',\n },\n }),\n },\n buttonDisabled: Platform.select({\n ios: {},\n android: {\n elevation: 0,\n backgroundColor: '#dfdfdf',\n },\n }),\n textDisabled: Platform.select({\n ios: {\n color: '#cdcdcd',\n },\n android: {\n color: '#a1a1a1',\n },\n }),\n});\n\nmodule.exports = Button;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedTextPropTypes = require('../DeprecatedPropTypes/DeprecatedTextPropTypes');\nconst React = require('react');\nconst ReactNativeViewAttributes = require('../Components/View/ReactNativeViewAttributes');\nconst TextAncestor = require('./TextAncestor');\nconst Touchable = require('../Components/Touchable/Touchable');\nconst UIManager = require('../ReactNative/UIManager');\n\nconst createReactNativeComponentClass = require('../Renderer/shims/createReactNativeComponentClass');\nconst nullthrows = require('nullthrows');\nconst processColor = require('../StyleSheet/processColor');\n\nimport type {PressEvent} from '../Types/CoreEventTypes';\nimport type {NativeComponent} from '../Renderer/shims/ReactNative';\nimport type {PressRetentionOffset, TextProps} from './TextProps';\n\ntype ResponseHandlers = $ReadOnly<{|\n onStartShouldSetResponder: () => boolean,\n onResponderGrant: (event: PressEvent, dispatchID: string) => void,\n onResponderMove: (event: PressEvent) => void,\n onResponderRelease: (event: PressEvent) => void,\n onResponderTerminate: (event: PressEvent) => void,\n onResponderTerminationRequest: () => boolean,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...TextProps,\n forwardedRef: ?React.Ref<'RCTText' | 'RCTVirtualText'>,\n|}>;\n\ntype State = {|\n touchable: {|\n touchState: ?string,\n responderID: ?number,\n |},\n isHighlighted: boolean,\n createResponderHandlers: () => ResponseHandlers,\n responseHandlers: ?ResponseHandlers,\n|};\n\nconst PRESS_RECT_OFFSET = {top: 20, left: 20, right: 20, bottom: 30};\n\nconst viewConfig = {\n validAttributes: {\n ...ReactNativeViewAttributes.UIView,\n isHighlighted: true,\n numberOfLines: true,\n ellipsizeMode: true,\n allowFontScaling: true,\n maxFontSizeMultiplier: true,\n disabled: true,\n selectable: true,\n selectionColor: true,\n adjustsFontSizeToFit: true,\n minimumFontScale: true,\n textBreakStrategy: true,\n onTextLayout: true,\n onInlineViewLayout: true,\n dataDetectorType: true,\n },\n directEventTypes: {\n topTextLayout: {\n registrationName: 'onTextLayout',\n },\n topInlineViewLayout: {\n registrationName: 'onInlineViewLayout',\n },\n },\n uiViewClassName: 'RCTText',\n};\n\n/**\n * A React component for displaying text.\n *\n * See https://facebook.github.io/react-native/docs/text.html\n */\nclass TouchableText extends React.Component {\n static defaultProps = {\n accessible: true,\n allowFontScaling: true,\n ellipsizeMode: 'tail',\n };\n\n touchableGetPressRectOffset: ?() => PressRetentionOffset;\n touchableHandleActivePressIn: ?() => void;\n touchableHandleActivePressOut: ?() => void;\n touchableHandleLongPress: ?(event: PressEvent) => void;\n touchableHandlePress: ?(event: PressEvent) => void;\n touchableHandleResponderGrant: ?(\n event: PressEvent,\n dispatchID: string,\n ) => void;\n touchableHandleResponderMove: ?(event: PressEvent) => void;\n touchableHandleResponderRelease: ?(event: PressEvent) => void;\n touchableHandleResponderTerminate: ?(event: PressEvent) => void;\n touchableHandleResponderTerminationRequest: ?() => boolean;\n\n state = {\n ...Touchable.Mixin.touchableGetInitialState(),\n isHighlighted: false,\n createResponderHandlers: this._createResponseHandlers.bind(this),\n responseHandlers: null,\n };\n\n static getDerivedStateFromProps(\n nextProps: Props,\n prevState: State,\n ): $Shape | null {\n return prevState.responseHandlers == null && isTouchable(nextProps)\n ? {\n responseHandlers: prevState.createResponderHandlers(),\n }\n : null;\n }\n\n static viewConfig = viewConfig;\n\n render(): React.Node {\n let props = this.props;\n if (isTouchable(props)) {\n props = {\n ...props,\n ...this.state.responseHandlers,\n isHighlighted: this.state.isHighlighted,\n };\n }\n if (props.selectionColor != null) {\n props = {\n ...props,\n selectionColor: processColor(props.selectionColor),\n };\n }\n if (__DEV__) {\n if (Touchable.TOUCH_TARGET_DEBUG && props.onPress != null) {\n props = {\n ...props,\n style: [props.style, {color: 'magenta'}],\n };\n }\n }\n return (\n \n {hasTextAncestor =>\n hasTextAncestor ? (\n \n ) : (\n \n \n \n )\n }\n \n );\n }\n\n _createResponseHandlers(): ResponseHandlers {\n return {\n onStartShouldSetResponder: (): boolean => {\n const {onStartShouldSetResponder} = this.props;\n const shouldSetResponder =\n (onStartShouldSetResponder == null\n ? false\n : onStartShouldSetResponder()) || isTouchable(this.props);\n\n if (shouldSetResponder) {\n this._attachTouchHandlers();\n }\n return shouldSetResponder;\n },\n onResponderGrant: (event: PressEvent, dispatchID: string): void => {\n nullthrows(this.touchableHandleResponderGrant)(event, dispatchID);\n if (this.props.onResponderGrant != null) {\n this.props.onResponderGrant.call(this, event, dispatchID);\n }\n },\n onResponderMove: (event: PressEvent): void => {\n nullthrows(this.touchableHandleResponderMove)(event);\n if (this.props.onResponderMove != null) {\n this.props.onResponderMove.call(this, event);\n }\n },\n onResponderRelease: (event: PressEvent): void => {\n nullthrows(this.touchableHandleResponderRelease)(event);\n if (this.props.onResponderRelease != null) {\n this.props.onResponderRelease.call(this, event);\n }\n },\n onResponderTerminate: (event: PressEvent): void => {\n nullthrows(this.touchableHandleResponderTerminate)(event);\n if (this.props.onResponderTerminate != null) {\n this.props.onResponderTerminate.call(this, event);\n }\n },\n onResponderTerminationRequest: (): boolean => {\n const {onResponderTerminationRequest} = this.props;\n if (!nullthrows(this.touchableHandleResponderTerminationRequest)()) {\n return false;\n }\n if (onResponderTerminationRequest == null) {\n return true;\n }\n return onResponderTerminationRequest();\n },\n };\n }\n\n /**\n * Lazily attaches Touchable.Mixin handlers.\n */\n _attachTouchHandlers(): void {\n if (this.touchableGetPressRectOffset != null) {\n return;\n }\n for (const key in Touchable.Mixin) {\n if (typeof Touchable.Mixin[key] === 'function') {\n (this: any)[key] = Touchable.Mixin[key].bind(this);\n }\n }\n this.touchableHandleActivePressIn = (): void => {\n if (!this.props.suppressHighlighting && isTouchable(this.props)) {\n this.setState({isHighlighted: true});\n }\n };\n this.touchableHandleActivePressOut = (): void => {\n if (!this.props.suppressHighlighting && isTouchable(this.props)) {\n this.setState({isHighlighted: false});\n }\n };\n this.touchableHandlePress = (event: PressEvent): void => {\n if (this.props.onPress != null) {\n this.props.onPress(event);\n }\n };\n this.touchableHandleLongPress = (event: PressEvent): void => {\n if (this.props.onLongPress != null) {\n this.props.onLongPress(event);\n }\n };\n this.touchableGetPressRectOffset = (): PressRetentionOffset =>\n this.props.pressRetentionOffset == null\n ? PRESS_RECT_OFFSET\n : this.props.pressRetentionOffset;\n }\n}\n\nconst isTouchable = (props: Props): boolean =>\n props.onPress != null ||\n props.onLongPress != null ||\n props.onStartShouldSetResponder != null;\n\nconst RCTText = createReactNativeComponentClass(\n viewConfig.uiViewClassName,\n () => viewConfig,\n);\n\nconst RCTVirtualText =\n UIManager.getViewManagerConfig('RCTVirtualText') == null\n ? RCTText\n : createReactNativeComponentClass('RCTVirtualText', () => ({\n validAttributes: {\n ...ReactNativeViewAttributes.UIView,\n isHighlighted: true,\n maxFontSizeMultiplier: true,\n },\n uiViewClassName: 'RCTVirtualText',\n }));\n\nconst Text = (\n props: TextProps,\n forwardedRef: ?React.Ref<'RCTText' | 'RCTVirtualText'>,\n) => {\n return ;\n};\nconst TextToExport = React.forwardRef(Text);\nTextToExport.displayName = 'Text';\n\n// TODO: Deprecate this.\n/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.89 was deployed. To see the error, delete this comment\n * and run Flow. */\nTextToExport.propTypes = DeprecatedTextPropTypes;\n\nmodule.exports = ((TextToExport: $FlowFixMe): Class<\n NativeComponent,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst PropTypes = require('prop-types');\nconst DeprecatedTextStylePropTypes = require('./DeprecatedTextStylePropTypes');\n\nconst stylePropType: ReactPropsCheckType = DeprecatedStyleSheetPropType(\n DeprecatedTextStylePropTypes,\n);\n\nconst DataDetectorTypes = ['phoneNumber', 'link', 'email', 'none', 'all'];\n\nmodule.exports = {\n /**\n * When `numberOfLines` is set, this prop defines how text will be\n * truncated.\n *\n * See https://facebook.github.io/react-native/docs/text.html#ellipsizemode\n */\n ellipsizeMode: (PropTypes.oneOf([\n 'head',\n 'middle',\n 'tail',\n 'clip',\n ]): React$PropType$Primitive<'head' | 'middle' | 'tail' | 'clip'>),\n /**\n * Used to truncate the text with an ellipsis.\n *\n * See https://facebook.github.io/react-native/docs/text.html#numberoflines\n */\n numberOfLines: PropTypes.number,\n /**\n * Set text break strategy on Android.\n *\n * See https://facebook.github.io/react-native/docs/text.html#textbreakstrategy\n */\n textBreakStrategy: (PropTypes.oneOf([\n 'simple',\n 'highQuality',\n 'balanced',\n ]): React$PropType$Primitive<'simple' | 'highQuality' | 'balanced'>),\n /**\n * Invoked on mount and layout changes.\n *\n * See https://facebook.github.io/react-native/docs/text.html#onlayout\n */\n onLayout: PropTypes.func,\n /**\n * This function is called on press.\n *\n * See https://facebook.github.io/react-native/docs/text.html#onpress\n */\n onPress: PropTypes.func,\n /**\n * This function is called on long press.\n *\n * See https://facebook.github.io/react-native/docs/text.html#onlongpress\n */\n onLongPress: PropTypes.func,\n /**\n * Defines how far your touch may move off of the button, before\n * deactivating the button.\n *\n * See https://facebook.github.io/react-native/docs/text.html#pressretentionoffset\n */\n pressRetentionOffset: DeprecatedEdgeInsetsPropType,\n /**\n * Lets the user select text.\n *\n * See https://facebook.github.io/react-native/docs/text.html#selectable\n */\n selectable: PropTypes.bool,\n /**\n * The highlight color of the text.\n *\n * See https://facebook.github.io/react-native/docs/text.html#selectioncolor\n */\n selectionColor: DeprecatedColorPropType,\n /**\n * When `true`, no visual change is made when text is pressed down.\n *\n * See https://facebook.github.io/react-native/docs/text.html#supperhighlighting\n */\n suppressHighlighting: PropTypes.bool,\n style: stylePropType,\n /**\n * Used to locate this view in end-to-end tests.\n *\n * See https://facebook.github.io/react-native/docs/text.html#testid\n */\n testID: PropTypes.string,\n /**\n * Used to locate this view from native code.\n *\n * See https://facebook.github.io/react-native/docs/text.html#nativeid\n */\n nativeID: PropTypes.string,\n /**\n * Whether fonts should scale to respect Text Size accessibility settings.\n *\n * See https://facebook.github.io/react-native/docs/text.html#allowfontscaling\n */\n allowFontScaling: PropTypes.bool,\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier: PropTypes.number,\n /**\n * Indicates whether the view is an accessibility element.\n *\n * See https://facebook.github.io/react-native/docs/text.html#accessible\n */\n accessible: PropTypes.bool,\n /**\n * Whether font should be scaled down automatically.\n *\n * See https://facebook.github.io/react-native/docs/text.html#adjustsfontsizetofit\n */\n adjustsFontSizeToFit: PropTypes.bool,\n /**\n * Smallest possible scale a font can reach.\n *\n * See https://facebook.github.io/react-native/docs/text.html#minimumfontscale\n */\n minimumFontScale: PropTypes.number,\n /**\n * Specifies the disabled state of the text view for testing purposes.\n *\n * See https://facebook.github.io/react-native/docs/text.html#disabled\n */\n disabled: PropTypes.bool,\n /**\n * Determines the types of data converted to clickable URLs in text.\n *\n * See https://facebook.github.io/react-native/docs/text.html#dataDetectorType\n */\n dataDetectorType: (PropTypes.oneOf(\n DataDetectorTypes,\n ): React$PropType$Primitive<\n 'phoneNumber' | 'link' | 'email' | 'none' | 'all',\n >),\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst DeprecatedEdgeInsetsPropType: React$PropType$Primitive<{\n bottom?: number,\n left?: number,\n right?: number,\n top?: number,\n}> = PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n bottom: PropTypes.number,\n right: PropTypes.number,\n});\n\nmodule.exports = DeprecatedEdgeInsetsPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst deprecatedCreateStrictShapeTypeChecker = require('./deprecatedCreateStrictShapeTypeChecker');\nconst flattenStyle = require('../StyleSheet/flattenStyle');\n\nfunction DeprecatedStyleSheetPropType(shape: {\n [key: string]: ReactPropsCheckType,\n}): ReactPropsCheckType {\n const shapePropType = deprecatedCreateStrictShapeTypeChecker(shape);\n return function(props, propName, componentName, location?, ...rest) {\n let newProps = props;\n if (props[propName]) {\n // Just make a dummy prop object with only the flattened style\n newProps = {};\n newProps[propName] = flattenStyle(props[propName]);\n }\n return shapePropType(newProps, propName, componentName, location, ...rest);\n };\n}\n\nmodule.exports = DeprecatedStyleSheetPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\nconst merge = require('../vendor/core/merge');\n\nfunction deprecatedCreateStrictShapeTypeChecker(shapeTypes: {\n [key: string]: ReactPropsCheckType,\n}): ReactPropsChainableTypeChecker {\n function checkType(\n isRequired,\n props,\n propName,\n componentName,\n location?,\n ...rest\n ) {\n if (!props[propName]) {\n if (isRequired) {\n invariant(\n false,\n `Required object \\`${propName}\\` was not specified in ` +\n `\\`${componentName}\\`.`,\n );\n }\n return;\n }\n const propValue = props[propName];\n const propType = typeof propValue;\n const locationName = location || '(unknown)';\n if (propType !== 'object') {\n invariant(\n false,\n `Invalid ${locationName} \\`${propName}\\` of type \\`${propType}\\` ` +\n `supplied to \\`${componentName}\\`, expected \\`object\\`.`,\n );\n }\n // We need to check all keys in case some are required but missing from\n // props.\n const allKeys = merge(props[propName], shapeTypes);\n for (const key in allKeys) {\n const checker = shapeTypes[key];\n if (!checker) {\n invariant(\n false,\n `Invalid props.${propName} key \\`${key}\\` supplied to \\`${componentName}\\`.` +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' +\n JSON.stringify(Object.keys(shapeTypes), null, ' '),\n );\n }\n const error = checker(propValue, key, componentName, location, ...rest);\n if (error) {\n invariant(\n false,\n error.message +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' '),\n );\n }\n }\n }\n function chainedCheckType(\n props: {[key: string]: any},\n propName: string,\n componentName: string,\n location?: string,\n ...rest\n ): ?Error {\n return checkType(false, props, propName, componentName, location, ...rest);\n }\n chainedCheckType.isRequired = checkType.bind(null, true);\n return chainedCheckType;\n}\n\nmodule.exports = deprecatedCreateStrictShapeTypeChecker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst React = require('react');\n\n/**\n * Whether the current element is the descendant of a element.\n */\n/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.85 was deployed. To see the error, delete this comment\n * and run Flow. */\nmodule.exports = (React.createContext(false): React$Context<$FlowFixMe>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst BoundingDimensions = require('./BoundingDimensions');\nconst Platform = require('../../Utilities/Platform');\nconst Position = require('./Position');\nconst React = require('react');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst TVEventHandler = require('../AppleTV/TVEventHandler');\nconst UIManager = require('../../ReactNative/UIManager');\nconst View = require('../View/View');\n\nconst keyMirror = require('fbjs/lib/keyMirror');\nconst normalizeColor = require('../../Color/normalizeColor');\n\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {PressEvent} from '../../Types/CoreEventTypes';\n\nconst extractSingleTouch = nativeEvent => {\n const touches = nativeEvent.touches;\n const changedTouches = nativeEvent.changedTouches;\n const hasTouches = touches && touches.length > 0;\n const hasChangedTouches = changedTouches && changedTouches.length > 0;\n\n return !hasTouches && hasChangedTouches\n ? changedTouches[0]\n : hasTouches\n ? touches[0]\n : nativeEvent;\n};\n\n/**\n * `Touchable`: Taps done right.\n *\n * You hook your `ResponderEventPlugin` events into `Touchable`. `Touchable`\n * will measure time/geometry and tells you when to give feedback to the user.\n *\n * ====================== Touchable Tutorial ===============================\n * The `Touchable` mixin helps you handle the \"press\" interaction. It analyzes\n * the geometry of elements, and observes when another responder (scroll view\n * etc) has stolen the touch lock. It notifies your component when it should\n * give feedback to the user. (bouncing/highlighting/unhighlighting).\n *\n * - When a touch was activated (typically you highlight)\n * - When a touch was deactivated (typically you unhighlight)\n * - When a touch was \"pressed\" - a touch ended while still within the geometry\n * of the element, and no other element (like scroller) has \"stolen\" touch\n * lock (\"responder\") (Typically you bounce the element).\n *\n * A good tap interaction isn't as simple as you might think. There should be a\n * slight delay before showing a highlight when starting a touch. If a\n * subsequent touch move exceeds the boundary of the element, it should\n * unhighlight, but if that same touch is brought back within the boundary, it\n * should rehighlight again. A touch can move in and out of that boundary\n * several times, each time toggling highlighting, but a \"press\" is only\n * triggered if that touch ends while within the element's boundary and no\n * scroller (or anything else) has stolen the lock on touches.\n *\n * To create a new type of component that handles interaction using the\n * `Touchable` mixin, do the following:\n *\n * - Initialize the `Touchable` state.\n *\n * getInitialState: function() {\n * return merge(this.touchableGetInitialState(), yourComponentState);\n * }\n *\n * - Choose the rendered component who's touches should start the interactive\n * sequence. On that rendered node, forward all `Touchable` responder\n * handlers. You can choose any rendered node you like. Choose a node whose\n * hit target you'd like to instigate the interaction sequence:\n *\n * // In render function:\n * return (\n * \n * \n * Even though the hit detection/interactions are triggered by the\n * wrapping (typically larger) node, we usually end up implementing\n * custom logic that highlights this inner one.\n * \n *
    \n * );\n *\n * - You may set up your own handlers for each of these events, so long as you\n * also invoke the `touchable*` handlers inside of your custom handler.\n *\n * - Implement the handlers on your component class in order to provide\n * feedback to the user. See documentation for each of these class methods\n * that you should implement.\n *\n * touchableHandlePress: function() {\n * this.performBounceAnimation(); // or whatever you want to do.\n * },\n * touchableHandleActivePressIn: function() {\n * this.beginHighlighting(...); // Whatever you like to convey activation\n * },\n * touchableHandleActivePressOut: function() {\n * this.endHighlighting(...); // Whatever you like to convey deactivation\n * },\n *\n * - There are more advanced methods you can implement (see documentation below):\n * touchableGetHighlightDelayMS: function() {\n * return 20;\n * }\n * // In practice, *always* use a predeclared constant (conserve memory).\n * touchableGetPressRectOffset: function() {\n * return {top: 20, left: 20, right: 20, bottom: 100};\n * }\n */\n\n/**\n * Touchable states.\n */\n\nconst States = keyMirror({\n NOT_RESPONDER: null, // Not the responder\n RESPONDER_INACTIVE_PRESS_IN: null, // Responder, inactive, in the `PressRect`\n RESPONDER_INACTIVE_PRESS_OUT: null, // Responder, inactive, out of `PressRect`\n RESPONDER_ACTIVE_PRESS_IN: null, // Responder, active, in the `PressRect`\n RESPONDER_ACTIVE_PRESS_OUT: null, // Responder, active, out of `PressRect`\n RESPONDER_ACTIVE_LONG_PRESS_IN: null, // Responder, active, in the `PressRect`, after long press threshold\n RESPONDER_ACTIVE_LONG_PRESS_OUT: null, // Responder, active, out of `PressRect`, after long press threshold\n ERROR: null,\n});\n\ntype State =\n | typeof States.NOT_RESPONDER\n | typeof States.RESPONDER_INACTIVE_PRESS_IN\n | typeof States.RESPONDER_INACTIVE_PRESS_OUT\n | typeof States.RESPONDER_ACTIVE_PRESS_IN\n | typeof States.RESPONDER_ACTIVE_PRESS_OUT\n | typeof States.RESPONDER_ACTIVE_LONG_PRESS_IN\n | typeof States.RESPONDER_ACTIVE_LONG_PRESS_OUT\n | typeof States.ERROR;\n\n/*\n * Quick lookup map for states that are considered to be \"active\"\n */\n\nconst baseStatesConditions = {\n NOT_RESPONDER: false,\n RESPONDER_INACTIVE_PRESS_IN: false,\n RESPONDER_INACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_PRESS_IN: false,\n RESPONDER_ACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_LONG_PRESS_IN: false,\n RESPONDER_ACTIVE_LONG_PRESS_OUT: false,\n ERROR: false,\n};\n\nconst IsActive = {\n ...baseStatesConditions,\n RESPONDER_ACTIVE_PRESS_OUT: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n};\n\n/**\n * Quick lookup for states that are considered to be \"pressing\" and are\n * therefore eligible to result in a \"selection\" if the press stops.\n */\nconst IsPressingIn = {\n ...baseStatesConditions,\n RESPONDER_INACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true,\n};\n\nconst IsLongPressingIn = {\n ...baseStatesConditions,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true,\n};\n\n/**\n * Inputs to the state machine.\n */\nconst Signals = keyMirror({\n DELAY: null,\n RESPONDER_GRANT: null,\n RESPONDER_RELEASE: null,\n RESPONDER_TERMINATED: null,\n ENTER_PRESS_RECT: null,\n LEAVE_PRESS_RECT: null,\n LONG_PRESS_DETECTED: null,\n});\n\ntype Signal =\n | typeof Signals.DELAY\n | typeof Signals.RESPONDER_GRANT\n | typeof Signals.RESPONDER_RELEASE\n | typeof Signals.RESPONDER_TERMINATED\n | typeof Signals.ENTER_PRESS_RECT\n | typeof Signals.LEAVE_PRESS_RECT\n | typeof Signals.LONG_PRESS_DETECTED;\n\n/**\n * Mapping from States x Signals => States\n */\nconst Transitions = {\n NOT_RESPONDER: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.ERROR,\n RESPONDER_TERMINATED: States.ERROR,\n ENTER_PRESS_RECT: States.ERROR,\n LEAVE_PRESS_RECT: States.ERROR,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_IN,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_OUT,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n error: {\n DELAY: States.NOT_RESPONDER,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.NOT_RESPONDER,\n LEAVE_PRESS_RECT: States.NOT_RESPONDER,\n LONG_PRESS_DETECTED: States.NOT_RESPONDER,\n },\n};\n\n// ==== Typical Constants for integrating into UI components ====\n// var HIT_EXPAND_PX = 20;\n// var HIT_VERT_OFFSET_PX = 10;\nconst HIGHLIGHT_DELAY_MS = 130;\n\nconst PRESS_EXPAND_PX = 20;\n\nconst LONG_PRESS_THRESHOLD = 500;\n\nconst LONG_PRESS_DELAY_MS = LONG_PRESS_THRESHOLD - HIGHLIGHT_DELAY_MS;\n\nconst LONG_PRESS_ALLOWED_MOVEMENT = 10;\n\n// Default amount \"active\" region protrudes beyond box\n\n/**\n * By convention, methods prefixed with underscores are meant to be @private,\n * and not @protected. Mixers shouldn't access them - not even to provide them\n * as callback handlers.\n *\n *\n * ========== Geometry =========\n * `Touchable` only assumes that there exists a `HitRect` node. The `PressRect`\n * is an abstract box that is extended beyond the `HitRect`.\n *\n * +--------------------------+\n * | | - \"Start\" events in `HitRect` cause `HitRect`\n * | +--------------------+ | to become the responder.\n * | | +--------------+ | | - `HitRect` is typically expanded around\n * | | | | | | the `VisualRect`, but shifted downward.\n * | | | VisualRect | | | - After pressing down, after some delay,\n * | | | | | | and before letting up, the Visual React\n * | | +--------------+ | | will become \"active\". This makes it eligible\n * | | HitRect | | for being highlighted (so long as the\n * | +--------------------+ | press remains in the `PressRect`).\n * | PressRect o |\n * +----------------------|---+\n * Out Region |\n * +-----+ This gap between the `HitRect` and\n * `PressRect` allows a touch to move far away\n * from the original hit rect, and remain\n * highlighted, and eligible for a \"Press\".\n * Customize this via\n * `touchableGetPressRectOffset()`.\n *\n *\n *\n * ======= State Machine =======\n *\n * +-------------+ <---+ RESPONDER_RELEASE\n * |NOT_RESPONDER|\n * +-------------+ <---+ RESPONDER_TERMINATED\n * +\n * | RESPONDER_GRANT (HitRect)\n * v\n * +---------------------------+ DELAY +-------------------------+ T + DELAY +------------------------------+\n * |RESPONDER_INACTIVE_PRESS_IN|+-------->|RESPONDER_ACTIVE_PRESS_IN| +------------> |RESPONDER_ACTIVE_LONG_PRESS_IN|\n * +---------------------------+ +-------------------------+ +------------------------------+\n * + ^ + ^ + ^\n * |LEAVE_ |ENTER_ |LEAVE_ |ENTER_ |LEAVE_ |ENTER_\n * |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT\n * | | | | | |\n * v + v + v +\n * +----------------------------+ DELAY +--------------------------+ +-------------------------------+\n * |RESPONDER_INACTIVE_PRESS_OUT|+------->|RESPONDER_ACTIVE_PRESS_OUT| |RESPONDER_ACTIVE_LONG_PRESS_OUT|\n * +----------------------------+ +--------------------------+ +-------------------------------+\n *\n * T + DELAY => LONG_PRESS_DELAY_MS + DELAY\n *\n * Not drawn are the side effects of each transition. The most important side\n * effect is the `touchableHandlePress` abstract method invocation that occurs\n * when a responder is released while in either of the \"Press\" states.\n *\n * The other important side effects are the highlight abstract method\n * invocations (internal callbacks) to be implemented by the mixer.\n *\n *\n * @lends Touchable.prototype\n */\nconst TouchableMixin = {\n componentDidMount: function() {\n if (!Platform.isTV) {\n return;\n }\n\n this._tvEventHandler = new TVEventHandler();\n this._tvEventHandler.enable(this, function(cmp, evt) {\n const myTag = ReactNative.findNodeHandle(cmp);\n evt.dispatchConfig = {};\n if (myTag === evt.tag) {\n if (evt.eventType === 'focus') {\n cmp.touchableHandleFocus(evt);\n } else if (evt.eventType === 'blur') {\n cmp.touchableHandleBlur(evt);\n } else if (evt.eventType === 'select') {\n cmp.touchableHandlePress &&\n !cmp.props.disabled &&\n cmp.touchableHandlePress(evt);\n }\n }\n });\n },\n\n /**\n * Clear all timeouts on unmount\n */\n componentWillUnmount: function() {\n if (this._tvEventHandler) {\n this._tvEventHandler.disable();\n delete this._tvEventHandler;\n }\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n },\n\n /**\n * It's prefer that mixins determine state in this way, having the class\n * explicitly mix the state in the one and only `getInitialState` method.\n *\n * @return {object} State object to be placed inside of\n * `this.state.touchable`.\n */\n touchableGetInitialState: function(): $TEMPORARY$object<{|\n touchable: $TEMPORARY$object<{|responderID: null, touchState: void|}>,\n |}> {\n return {\n touchable: {touchState: undefined, responderID: null},\n };\n },\n\n // ==== Hooks to Gesture Responder system ====\n /**\n * Must return true if embedded in a native platform scroll view.\n */\n touchableHandleResponderTerminationRequest: function(): any {\n return !this.props.rejectResponderTermination;\n },\n\n /**\n * Must return true to start the process of `Touchable`.\n */\n touchableHandleStartShouldSetResponder: function(): any {\n return !this.props.disabled;\n },\n\n /**\n * Return true to cancel press on long press.\n */\n touchableLongPressCancelsPress: function(): boolean {\n return true;\n },\n\n /**\n * Place as callback for a DOM element's `onResponderGrant` event.\n * @param {SyntheticEvent} e Synthetic event from event system.\n *\n */\n touchableHandleResponderGrant: function(e: PressEvent) {\n const dispatchID = e.currentTarget;\n // Since e is used in a callback invoked on another event loop\n // (as in setTimeout etc), we need to call e.persist() on the\n // event to make sure it doesn't get reused in the event object pool.\n e.persist();\n\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n this.pressOutDelayTimeout = null;\n\n this.state.touchable.touchState = States.NOT_RESPONDER;\n this.state.touchable.responderID = dispatchID;\n this._receiveSignal(Signals.RESPONDER_GRANT, e);\n let delayMS =\n this.touchableGetHighlightDelayMS !== undefined\n ? Math.max(this.touchableGetHighlightDelayMS(), 0)\n : HIGHLIGHT_DELAY_MS;\n delayMS = isNaN(delayMS) ? HIGHLIGHT_DELAY_MS : delayMS;\n if (delayMS !== 0) {\n this.touchableDelayTimeout = setTimeout(\n this._handleDelay.bind(this, e),\n delayMS,\n );\n } else {\n this._handleDelay(e);\n }\n\n let longDelayMS =\n this.touchableGetLongPressDelayMS !== undefined\n ? Math.max(this.touchableGetLongPressDelayMS(), 10)\n : LONG_PRESS_DELAY_MS;\n longDelayMS = isNaN(longDelayMS) ? LONG_PRESS_DELAY_MS : longDelayMS;\n this.longPressDelayTimeout = setTimeout(\n this._handleLongDelay.bind(this, e),\n longDelayMS + delayMS,\n );\n },\n\n /**\n * Place as callback for a DOM element's `onResponderRelease` event.\n */\n touchableHandleResponderRelease: function(e: PressEvent) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_RELEASE, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderTerminate` event.\n */\n touchableHandleResponderTerminate: function(e: PressEvent) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_TERMINATED, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderMove` event.\n */\n touchableHandleResponderMove: function(e: PressEvent) {\n // Measurement may not have returned yet.\n if (!this.state.touchable.positionOnActivate) {\n return;\n }\n\n const positionOnActivate = this.state.touchable.positionOnActivate;\n const dimensionsOnActivate = this.state.touchable.dimensionsOnActivate;\n const pressRectOffset = this.touchableGetPressRectOffset\n ? this.touchableGetPressRectOffset()\n : {\n left: PRESS_EXPAND_PX,\n right: PRESS_EXPAND_PX,\n top: PRESS_EXPAND_PX,\n bottom: PRESS_EXPAND_PX,\n };\n\n let pressExpandLeft = pressRectOffset.left;\n let pressExpandTop = pressRectOffset.top;\n let pressExpandRight = pressRectOffset.right;\n let pressExpandBottom = pressRectOffset.bottom;\n\n const hitSlop = this.touchableGetHitSlop\n ? this.touchableGetHitSlop()\n : null;\n\n if (hitSlop) {\n pressExpandLeft += hitSlop.left || 0;\n pressExpandTop += hitSlop.top || 0;\n pressExpandRight += hitSlop.right || 0;\n pressExpandBottom += hitSlop.bottom || 0;\n }\n\n const touch = extractSingleTouch(e.nativeEvent);\n const pageX = touch && touch.pageX;\n const pageY = touch && touch.pageY;\n\n if (this.pressInLocation) {\n const movedDistance = this._getDistanceBetweenPoints(\n pageX,\n pageY,\n this.pressInLocation.pageX,\n this.pressInLocation.pageY,\n );\n if (movedDistance > LONG_PRESS_ALLOWED_MOVEMENT) {\n this._cancelLongPressDelayTimeout();\n }\n }\n\n const isTouchWithinActive =\n pageX > positionOnActivate.left - pressExpandLeft &&\n pageY > positionOnActivate.top - pressExpandTop &&\n pageX <\n positionOnActivate.left +\n dimensionsOnActivate.width +\n pressExpandRight &&\n pageY <\n positionOnActivate.top +\n dimensionsOnActivate.height +\n pressExpandBottom;\n if (isTouchWithinActive) {\n const prevState = this.state.touchable.touchState;\n this._receiveSignal(Signals.ENTER_PRESS_RECT, e);\n const curState = this.state.touchable.touchState;\n if (\n curState === States.RESPONDER_INACTIVE_PRESS_IN &&\n prevState !== States.RESPONDER_INACTIVE_PRESS_IN\n ) {\n // fix for t7967420\n this._cancelLongPressDelayTimeout();\n }\n } else {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal(Signals.LEAVE_PRESS_RECT, e);\n }\n },\n\n /**\n * Invoked when the item receives focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * currently has the focus. Most platforms only support a single element being\n * focused at a time, in which case there may have been a previously focused\n * element that was blurred just prior to this. This can be overridden when\n * using `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n touchableHandleFocus: function(e: Event) {\n this.props.onFocus && this.props.onFocus(e);\n },\n\n /**\n * Invoked when the item loses focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * no longer has focus. Most platforms only support a single element being\n * focused at a time, in which case the focus may have moved to another.\n * This can be overridden when using\n * `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n touchableHandleBlur: function(e: Event) {\n this.props.onBlur && this.props.onBlur(e);\n },\n\n // ==== Abstract Application Callbacks ====\n\n /**\n * Invoked when the item should be highlighted. Mixers should implement this\n * to visually distinguish the `VisualRect` so that the user knows that\n * releasing a touch will result in a \"selection\" (analog to click).\n *\n * @abstract\n * touchableHandleActivePressIn: function,\n */\n\n /**\n * Invoked when the item is \"active\" (in that it is still eligible to become\n * a \"select\") but the touch has left the `PressRect`. Usually the mixer will\n * want to unhighlight the `VisualRect`. If the user (while pressing) moves\n * back into the `PressRect` `touchableHandleActivePressIn` will be invoked\n * again and the mixer should probably highlight the `VisualRect` again. This\n * event will not fire on an `touchEnd/mouseUp` event, only move events while\n * the user is depressing the mouse/touch.\n *\n * @abstract\n * touchableHandleActivePressOut: function\n */\n\n /**\n * Invoked when the item is \"selected\" - meaning the interaction ended by\n * letting up while the item was either in the state\n * `RESPONDER_ACTIVE_PRESS_IN` or `RESPONDER_INACTIVE_PRESS_IN`.\n *\n * @abstract\n * touchableHandlePress: function\n */\n\n /**\n * Invoked when the item is long pressed - meaning the interaction ended by\n * letting up while the item was in `RESPONDER_ACTIVE_LONG_PRESS_IN`. If\n * `touchableHandleLongPress` is *not* provided, `touchableHandlePress` will\n * be called as it normally is. If `touchableHandleLongPress` is provided, by\n * default any `touchableHandlePress` callback will not be invoked. To\n * override this default behavior, override `touchableLongPressCancelsPress`\n * to return false. As a result, `touchableHandlePress` will be called when\n * lifting up, even if `touchableHandleLongPress` has also been called.\n *\n * @abstract\n * touchableHandleLongPress: function\n */\n\n /**\n * Returns the number of millis to wait before triggering a highlight.\n *\n * @abstract\n * touchableGetHighlightDelayMS: function\n */\n\n /**\n * Returns the amount to extend the `HitRect` into the `PressRect`. Positive\n * numbers mean the size expands outwards.\n *\n * @abstract\n * touchableGetPressRectOffset: function\n */\n\n // ==== Internal Logic ====\n\n /**\n * Measures the `HitRect` node on activation. The Bounding rectangle is with\n * respect to viewport - not page, so adding the `pageXOffset/pageYOffset`\n * should result in points that are in the same coordinate system as an\n * event's `globalX/globalY` data values.\n *\n * - Consider caching this for the lifetime of the component, or possibly\n * being able to share this cache between any `ScrollMap` view.\n *\n * @sideeffects\n * @private\n */\n _remeasureMetricsOnActivation: function() {\n const tag = this.state.touchable.responderID;\n if (tag == null) {\n return;\n }\n\n UIManager.measure(tag, this._handleQueryLayout);\n },\n\n _handleQueryLayout: function(\n l: number,\n t: number,\n w: number,\n h: number,\n globalX: number,\n globalY: number,\n ) {\n //don't do anything UIManager failed to measure node\n if (!l && !t && !w && !h && !globalX && !globalY) {\n return;\n }\n this.state.touchable.positionOnActivate &&\n Position.release(this.state.touchable.positionOnActivate);\n this.state.touchable.dimensionsOnActivate &&\n BoundingDimensions.release(this.state.touchable.dimensionsOnActivate);\n this.state.touchable.positionOnActivate = Position.getPooled(\n globalX,\n globalY,\n );\n this.state.touchable.dimensionsOnActivate = BoundingDimensions.getPooled(\n w,\n h,\n );\n },\n\n _handleDelay: function(e: PressEvent) {\n this.touchableDelayTimeout = null;\n this._receiveSignal(Signals.DELAY, e);\n },\n\n _handleLongDelay: function(e: PressEvent) {\n this.longPressDelayTimeout = null;\n const curState = this.state.touchable.touchState;\n if (\n curState !== States.RESPONDER_ACTIVE_PRESS_IN &&\n curState !== States.RESPONDER_ACTIVE_LONG_PRESS_IN\n ) {\n console.error(\n 'Attempted to transition from state `' +\n curState +\n '` to `' +\n States.RESPONDER_ACTIVE_LONG_PRESS_IN +\n '`, which is not supported. This is ' +\n 'most likely due to `Touchable.longPressDelayTimeout` not being cancelled.',\n );\n } else {\n this._receiveSignal(Signals.LONG_PRESS_DETECTED, e);\n }\n },\n\n /**\n * Receives a state machine signal, performs side effects of the transition\n * and stores the new state. Validates the transition as well.\n *\n * @param {Signals} signal State machine signal.\n * @throws Error if invalid state transition or unrecognized signal.\n * @sideeffects\n */\n _receiveSignal: function(signal: Signal, e: PressEvent) {\n const responderID = this.state.touchable.responderID;\n const curState = this.state.touchable.touchState;\n const nextState = Transitions[curState] && Transitions[curState][signal];\n if (!responderID && signal === Signals.RESPONDER_RELEASE) {\n return;\n }\n if (!nextState) {\n throw new Error(\n 'Unrecognized signal `' +\n signal +\n '` or state `' +\n curState +\n '` for Touchable responder `' +\n responderID +\n '`',\n );\n }\n if (nextState === States.ERROR) {\n throw new Error(\n 'Touchable cannot transition from `' +\n curState +\n '` to `' +\n signal +\n '` for responder `' +\n responderID +\n '`',\n );\n }\n if (curState !== nextState) {\n this._performSideEffectsForTransition(curState, nextState, signal, e);\n this.state.touchable.touchState = nextState;\n }\n },\n\n _cancelLongPressDelayTimeout: function() {\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.longPressDelayTimeout = null;\n },\n\n _isHighlight: function(state: State): boolean {\n return (\n state === States.RESPONDER_ACTIVE_PRESS_IN ||\n state === States.RESPONDER_ACTIVE_LONG_PRESS_IN\n );\n },\n\n _savePressInLocation: function(e: PressEvent) {\n const touch = extractSingleTouch(e.nativeEvent);\n const pageX = touch && touch.pageX;\n const pageY = touch && touch.pageY;\n const locationX = touch && touch.locationX;\n const locationY = touch && touch.locationY;\n this.pressInLocation = {pageX, pageY, locationX, locationY};\n },\n\n _getDistanceBetweenPoints: function(\n aX: number,\n aY: number,\n bX: number,\n bY: number,\n ): number {\n const deltaX = aX - bX;\n const deltaY = aY - bY;\n return Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n },\n\n /**\n * Will perform a transition between touchable states, and identify any\n * highlighting or unhighlighting that must be performed for this particular\n * transition.\n *\n * @param {States} curState Current Touchable state.\n * @param {States} nextState Next Touchable state.\n * @param {Signal} signal Signal that triggered the transition.\n * @param {Event} e Native event.\n * @sideeffects\n */\n _performSideEffectsForTransition: function(\n curState: State,\n nextState: State,\n signal: Signal,\n e: PressEvent,\n ) {\n const curIsHighlight = this._isHighlight(curState);\n const newIsHighlight = this._isHighlight(nextState);\n\n const isFinalSignal =\n signal === Signals.RESPONDER_TERMINATED ||\n signal === Signals.RESPONDER_RELEASE;\n\n if (isFinalSignal) {\n this._cancelLongPressDelayTimeout();\n }\n\n const isInitialTransition =\n curState === States.NOT_RESPONDER &&\n nextState === States.RESPONDER_INACTIVE_PRESS_IN;\n\n const isActiveTransition = !IsActive[curState] && IsActive[nextState];\n if (isInitialTransition || isActiveTransition) {\n this._remeasureMetricsOnActivation();\n }\n\n if (IsPressingIn[curState] && signal === Signals.LONG_PRESS_DETECTED) {\n this.touchableHandleLongPress && this.touchableHandleLongPress(e);\n }\n\n if (newIsHighlight && !curIsHighlight) {\n this._startHighlight(e);\n } else if (!newIsHighlight && curIsHighlight) {\n this._endHighlight(e);\n }\n\n if (IsPressingIn[curState] && signal === Signals.RESPONDER_RELEASE) {\n const hasLongPressHandler = !!this.props.onLongPress;\n const pressIsLongButStillCallOnPress =\n IsLongPressingIn[curState] && // We *are* long pressing.. // But either has no long handler\n (!hasLongPressHandler || !this.touchableLongPressCancelsPress()); // or we're told to ignore it.\n\n const shouldInvokePress =\n !IsLongPressingIn[curState] || pressIsLongButStillCallOnPress;\n if (shouldInvokePress && this.touchableHandlePress) {\n if (!newIsHighlight && !curIsHighlight) {\n // we never highlighted because of delay, but we should highlight now\n this._startHighlight(e);\n this._endHighlight(e);\n }\n if (Platform.OS === 'android' && !this.props.touchSoundDisabled) {\n this._playTouchSound();\n }\n this.touchableHandlePress(e);\n }\n }\n\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.touchableDelayTimeout = null;\n },\n\n _playTouchSound: function() {\n UIManager.playTouchSound();\n },\n\n _startHighlight: function(e: PressEvent) {\n this._savePressInLocation(e);\n this.touchableHandleActivePressIn && this.touchableHandleActivePressIn(e);\n },\n\n _endHighlight: function(e: PressEvent) {\n if (this.touchableHandleActivePressOut) {\n if (\n this.touchableGetPressOutDelayMS &&\n this.touchableGetPressOutDelayMS()\n ) {\n this.pressOutDelayTimeout = setTimeout(() => {\n this.touchableHandleActivePressOut(e);\n }, this.touchableGetPressOutDelayMS());\n } else {\n this.touchableHandleActivePressOut(e);\n }\n }\n },\n\n withoutDefaultFocusAndBlur: ({}: $TEMPORARY$object<{||}>),\n};\n\n/**\n * Provide an optional version of the mixin where `touchableHandleFocus` and\n * `touchableHandleBlur` can be overridden. This allows appropriate defaults to\n * be set on TV platforms, without breaking existing implementations of\n * `Touchable`.\n */\nconst {\n touchableHandleFocus,\n touchableHandleBlur,\n ...TouchableMixinWithoutDefaultFocusAndBlur\n} = TouchableMixin;\nTouchableMixin.withoutDefaultFocusAndBlur = TouchableMixinWithoutDefaultFocusAndBlur;\n\nconst Touchable = {\n Mixin: TouchableMixin,\n TOUCH_TARGET_DEBUG: false, // Highlights all touchable targets. Toggle with Inspector.\n /**\n * Renders a debugging overlay to visualize touch target with hitSlop (might not work on Android).\n */\n renderDebugView: ({\n color,\n hitSlop,\n }: {\n color: string | number,\n hitSlop: EdgeInsetsProp,\n }): null | React.Node => {\n if (!Touchable.TOUCH_TARGET_DEBUG) {\n return null;\n }\n if (!__DEV__) {\n throw Error(\n 'Touchable.TOUCH_TARGET_DEBUG should not be enabled in prod!',\n );\n }\n const debugHitSlopStyle = {};\n hitSlop = hitSlop || {top: 0, bottom: 0, left: 0, right: 0};\n for (const key in hitSlop) {\n debugHitSlopStyle[key] = -hitSlop[key];\n }\n const normalizedColor = normalizeColor(color);\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n const hexColor =\n '#' + ('00000000' + normalizedColor.toString(16)).substr(-8);\n return (\n \n );\n },\n};\n\nconst styles = StyleSheet.create({\n debug: {\n position: 'absolute',\n borderWidth: 1,\n borderStyle: 'dashed',\n },\n});\n\nmodule.exports = Touchable;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PooledClass = require('./PooledClass');\n\nconst twoArgumentPooler = PooledClass.twoArgumentPooler;\n\n/**\n * PooledClass representing the bounding rectangle of a region.\n *\n * @param {number} width Width of bounding rectangle.\n * @param {number} height Height of bounding rectangle.\n * @constructor BoundingDimensions\n */\nfunction BoundingDimensions(width, height) {\n this.width = width;\n this.height = height;\n}\n\nBoundingDimensions.prototype.destructor = function() {\n this.width = null;\n this.height = null;\n};\n\n/**\n * @param {HTMLElement} element Element to return `BoundingDimensions` for.\n * @return {BoundingDimensions} Bounding dimensions of `element`.\n */\nBoundingDimensions.getPooledFromElement = function(element) {\n return BoundingDimensions.getPooled(\n element.offsetWidth,\n element.offsetHeight,\n );\n};\n\nPooledClass.addPoolingTo(BoundingDimensions, twoArgumentPooler);\n\nmodule.exports = BoundingDimensions;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nconst oneArgumentPooler = function(copyFieldsFrom) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nconst twoArgumentPooler = function(a1, a2) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nconst threeArgumentPooler = function(a1, a2, a3) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nconst fourArgumentPooler = function(a1, a2, a3, a4) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nconst standardReleaser = function(instance) {\n const Klass = this;\n invariant(\n instance instanceof Klass,\n 'Trying to release an instance into a pool of a different type.',\n );\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nconst DEFAULT_POOL_SIZE = 10;\nconst DEFAULT_POOLER = oneArgumentPooler;\n\ntype Pooler = any;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nconst addPoolingTo = function(\n CopyConstructor: Class,\n pooler: Pooler,\n): Class & {\n getPooled(\n ...args: $ReadOnlyArray\n ): /* arguments of the constructor */ T,\n release(instance: mixed): void,\n} {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n const NewKlass = (CopyConstructor: any);\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nconst PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: (oneArgumentPooler: Pooler),\n twoArgumentPooler: (twoArgumentPooler: Pooler),\n threeArgumentPooler: (threeArgumentPooler: Pooler),\n fourArgumentPooler: (fourArgumentPooler: Pooler),\n};\n\nmodule.exports = PooledClass;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PooledClass = require('./PooledClass');\n\nconst twoArgumentPooler = PooledClass.twoArgumentPooler;\n\n/**\n * Position does not expose methods for construction via an `HTMLDOMElement`,\n * because it isn't meaningful to construct such a thing without first defining\n * a frame of reference.\n *\n * @param {number} windowStartKey Key that window starts at.\n * @param {number} windowEndKey Key that window ends at.\n */\nfunction Position(left, top) {\n this.left = left;\n this.top = top;\n}\n\nPosition.prototype.destructor = function() {\n this.left = null;\n this.top = null;\n};\n\nPooledClass.addPoolingTo(Position, twoArgumentPooler);\n\nmodule.exports = Position;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nconst NativeEventEmitter = require('../../EventEmitter/NativeEventEmitter');\n\nimport NativeTVNavigationEventEmitter from './NativeTVNavigationEventEmitter';\n\nfunction TVEventHandler() {\n this.__nativeTVNavigationEventListener = null;\n this.__nativeTVNavigationEventEmitter = null;\n}\n\nTVEventHandler.prototype.enable = function(\n component: ?any,\n callback: Function,\n) {\n if (Platform.OS === 'ios' && !NativeTVNavigationEventEmitter) {\n return;\n }\n\n this.__nativeTVNavigationEventEmitter = new NativeEventEmitter(\n NativeTVNavigationEventEmitter,\n );\n this.__nativeTVNavigationEventListener = this.__nativeTVNavigationEventEmitter.addListener(\n 'onHWKeyEvent',\n data => {\n if (callback) {\n callback(component, data);\n }\n },\n );\n};\n\nTVEventHandler.prototype.disable = function() {\n if (this.__nativeTVNavigationEventListener) {\n this.__nativeTVNavigationEventListener.remove();\n delete this.__nativeTVNavigationEventListener;\n }\n if (this.__nativeTVNavigationEventEmitter) {\n delete this.__nativeTVNavigationEventEmitter;\n }\n};\n\nmodule.exports = TVEventHandler;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get(\n 'TVNavigationEventEmitter',\n): ?Spec);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks static-only\n * \n */\n'use strict';\n\nvar invariant = require(\"./invariant\");\n/**\n * Constructs an enumeration with keys equal to their value.\n *\n * For example:\n *\n * var COLORS = keyMirror({blue: null, red: null});\n * var myColor = COLORS.blue;\n * var isColorValid = !!COLORS[myColor];\n *\n * The last line could not be performed if the values of the generated enum were\n * not equal to their keys.\n *\n * Input: {key1: val1, key2: val2}\n * Output: {key1: key1, key2: key2}\n *\n * @param {object} obj\n * @return {object}\n */\n\n\nvar keyMirror = function keyMirror(obj) {\n var ret = {};\n var key;\n !(obj instanceof Object && !Array.isArray(obj)) ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : void 0;\n\n for (key in obj) {\n if (!obj.hasOwnProperty(key)) {\n continue;\n }\n\n ret[key] = key;\n }\n\n return ret;\n};\n\nmodule.exports = keyMirror;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\nvar validateFormat = process.env.NODE_ENV !== \"production\" ? function (format) {} : function (format) {\n if (format === undefined) {\n throw new Error('invariant(...): Second argument must be a string.');\n }\n};\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments to provide\n * information about what broke and what you were expecting.\n *\n * The invariant message will be stripped in production, but the invariant will\n * remain to ensure logic does not differ in production.\n */\n\nfunction invariant(condition, format) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n validateFormat(format);\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return String(args[argIndex++]);\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // Skip invariant's own stack frame.\n\n throw error;\n }\n}\n\nmodule.exports = invariant;","'use strict';\n\nfunction nullthrows(x, message) {\n if (x != null) {\n return x;\n }\n var error = new Error(message !== undefined ? message : 'Got unexpected ' + x);\n error.framesToPop = 1; // Skip nullthrows's own stack frame.\n throw error;\n}\n\nmodule.exports = nullthrows;\nmodule.exports.default = nullthrows;\n\nObject.defineProperty(module.exports, '__esModule', {value: true});\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst Text = require('../../Text/Text');\nconst View = require('../View/View');\n\nclass DummyTouchableNativeFeedback extends React.Component {\n static SelectableBackground = () => ({});\n static SelectableBackgroundBorderless = () => ({});\n static Ripple = () => ({});\n static canUseNativeForeground = () => false;\n\n render() {\n return (\n \n \n TouchableNativeFeedback is not supported on this platform!\n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n height: 100,\n width: 300,\n backgroundColor: '#ffbcbc',\n borderWidth: 1,\n borderColor: 'red',\n alignItems: 'center',\n justifyContent: 'center',\n margin: 10,\n },\n info: {\n color: '#333333',\n margin: 20,\n },\n});\n\nmodule.exports = DummyTouchableNativeFeedback;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Animated = require('../../Animated/src/Animated');\nconst Easing = require('../../Animated/src/Easing');\nconst NativeMethodsMixin = require('../../Renderer/shims/NativeMethodsMixin');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst PropTypes = require('prop-types');\nconst Touchable = require('./Touchable');\nconst TouchableWithoutFeedback = require('./TouchableWithoutFeedback');\n\nconst createReactClass = require('create-react-class');\nconst ensurePositiveDelayProps = require('./ensurePositiveDelayProps');\nconst flattenStyle = require('../../StyleSheet/flattenStyle');\n\nimport type {Props as TouchableWithoutFeedbackProps} from './TouchableWithoutFeedback';\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {TVParallaxPropertiesType} from '../AppleTV/TVViewPropTypes';\nimport type {PressEvent} from '../../Types/CoreEventTypes';\n\nconst PRESS_RETENTION_OFFSET = {top: 20, left: 20, right: 20, bottom: 30};\n\ntype TVProps = $ReadOnly<{|\n hasTVPreferredFocus?: ?boolean,\n nextFocusDown?: ?number,\n nextFocusForward?: ?number,\n nextFocusLeft?: ?number,\n nextFocusRight?: ?number,\n nextFocusUp?: ?number,\n tvParallaxProperties?: ?TVParallaxPropertiesType,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...TouchableWithoutFeedbackProps,\n ...TVProps,\n activeOpacity?: ?number,\n style?: ?ViewStyleProp,\n|}>;\n\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, dimming it.\n *\n * Opacity is controlled by wrapping the children in an Animated.View, which is\n * added to the view hierarchy. Be aware that this can affect layout.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * \n * \n * \n * );\n * },\n * ```\n * ### Example\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react'\n * import {\n * AppRegistry,\n * StyleSheet,\n * TouchableOpacity,\n * Text,\n * View,\n * } from 'react-native'\n *\n * class App extends Component {\n * constructor(props) {\n * super(props)\n * this.state = { count: 0 }\n * }\n *\n * onPress = () => {\n * this.setState({\n * count: this.state.count+1\n * })\n * }\n *\n * render() {\n * return (\n * \n * \n * Touch Here \n * \n * \n * \n * { this.state.count !== 0 ? this.state.count: null}\n * \n * \n * \n * )\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * justifyContent: 'center',\n * paddingHorizontal: 10\n * },\n * button: {\n * alignItems: 'center',\n * backgroundColor: '#DDDDDD',\n * padding: 10\n * },\n * countContainer: {\n * alignItems: 'center',\n * padding: 10\n * },\n * countText: {\n * color: '#FF00FF'\n * }\n * })\n *\n * AppRegistry.registerComponent('App', () => App)\n * ```\n *\n */\nconst TouchableOpacity = ((createReactClass({\n displayName: 'TouchableOpacity',\n mixins: [Touchable.Mixin.withoutDefaultFocusAndBlur, NativeMethodsMixin],\n\n propTypes: {\n /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\n ...TouchableWithoutFeedback.propTypes,\n /**\n * Determines what the opacity of the wrapped view should be when touch is\n * active. Defaults to 0.2.\n */\n activeOpacity: PropTypes.number,\n /**\n * TV preferred focus (see documentation for the View component).\n */\n hasTVPreferredFocus: PropTypes.bool,\n /**\n * TV next focus down (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusDown: PropTypes.number,\n /**\n * TV next focus forward (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusForward: PropTypes.number,\n /**\n * TV next focus left (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusLeft: PropTypes.number,\n /**\n * TV next focus right (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusRight: PropTypes.number,\n /**\n * TV next focus up (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusUp: PropTypes.number,\n /**\n * Apple TV parallax effects\n */\n tvParallaxProperties: PropTypes.object,\n },\n\n getDefaultProps: function() {\n return {\n activeOpacity: 0.2,\n };\n },\n\n getInitialState: function() {\n return {\n ...this.touchableGetInitialState(),\n anim: new Animated.Value(this._getChildStyleOpacityWithDefault()),\n };\n },\n\n componentDidMount: function() {\n ensurePositiveDelayProps(this.props);\n },\n\n UNSAFE_componentWillReceiveProps: function(nextProps) {\n ensurePositiveDelayProps(nextProps);\n },\n\n componentDidUpdate: function(prevProps, prevState) {\n if (this.props.disabled !== prevProps.disabled) {\n this._opacityInactive(250);\n }\n },\n\n /**\n * Animate the touchable to a new opacity.\n */\n setOpacityTo: function(value: number, duration: number) {\n Animated.timing(this.state.anim, {\n toValue: value,\n duration: duration,\n easing: Easing.inOut(Easing.quad),\n useNativeDriver: true,\n }).start();\n },\n\n /**\n * `Touchable.Mixin` self callbacks. The mixin will invoke these if they are\n * defined on your component.\n */\n touchableHandleActivePressIn: function(e: PressEvent) {\n if (e.dispatchConfig.registrationName === 'onResponderGrant') {\n this._opacityActive(0);\n } else {\n this._opacityActive(150);\n }\n this.props.onPressIn && this.props.onPressIn(e);\n },\n\n touchableHandleActivePressOut: function(e: PressEvent) {\n this._opacityInactive(250);\n this.props.onPressOut && this.props.onPressOut(e);\n },\n\n touchableHandleFocus: function(e: Event) {\n if (Platform.isTV) {\n this._opacityActive(150);\n }\n this.props.onFocus && this.props.onFocus(e);\n },\n\n touchableHandleBlur: function(e: Event) {\n if (Platform.isTV) {\n this._opacityInactive(250);\n }\n this.props.onBlur && this.props.onBlur(e);\n },\n\n touchableHandlePress: function(e: PressEvent) {\n this.props.onPress && this.props.onPress(e);\n },\n\n touchableHandleLongPress: function(e: PressEvent) {\n this.props.onLongPress && this.props.onLongPress(e);\n },\n\n touchableGetPressRectOffset: function() {\n return this.props.pressRetentionOffset || PRESS_RETENTION_OFFSET;\n },\n\n touchableGetHitSlop: function() {\n return this.props.hitSlop;\n },\n\n touchableGetHighlightDelayMS: function() {\n return this.props.delayPressIn || 0;\n },\n\n touchableGetLongPressDelayMS: function() {\n return this.props.delayLongPress === 0\n ? 0\n : this.props.delayLongPress || 500;\n },\n\n touchableGetPressOutDelayMS: function() {\n return this.props.delayPressOut;\n },\n\n _opacityActive: function(duration: number) {\n this.setOpacityTo(this.props.activeOpacity, duration);\n },\n\n _opacityInactive: function(duration: number) {\n this.setOpacityTo(this._getChildStyleOpacityWithDefault(), duration);\n },\n\n _getChildStyleOpacityWithDefault: function() {\n const childStyle = flattenStyle(this.props.style) || {};\n return childStyle.opacity == null ? 1 : childStyle.opacity;\n },\n\n render: function() {\n return (\n \n {this.props.children}\n {Touchable.renderDebugView({\n color: 'cyan',\n hitSlop: this.props.hitSlop,\n })}\n \n );\n },\n}): any): React.ComponentType);\n\nmodule.exports = TouchableOpacity;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport Platform from '../../Utilities/Platform';\n\nconst AnimatedMock = require('./AnimatedMock');\nconst AnimatedImplementation = require('./AnimatedImplementation');\n\nconst Animated = ((Platform.isTesting\n ? AnimatedMock\n : AnimatedImplementation): typeof AnimatedMock);\n\nmodule.exports = {\n get FlatList(): any {\n return require('./components/AnimatedFlatList');\n },\n get Image(): any {\n return require('./components/AnimatedImage');\n },\n get ScrollView(): any {\n return require('./components/AnimatedScrollView');\n },\n get SectionList(): any {\n return require('./components/AnimatedSectionList');\n },\n get Text(): any {\n return require('./components/AnimatedText');\n },\n get View(): any {\n return require('./components/AnimatedView');\n },\n ...Animated,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst {AnimatedEvent, attachNativeEvent} = require('./AnimatedEvent');\nconst AnimatedImplementation = require('./AnimatedImplementation');\nconst AnimatedInterpolation = require('./nodes/AnimatedInterpolation');\nconst AnimatedNode = require('./nodes/AnimatedNode');\nconst AnimatedProps = require('./nodes/AnimatedProps');\nconst AnimatedValue = require('./nodes/AnimatedValue');\nconst AnimatedValueXY = require('./nodes/AnimatedValueXY');\n\nconst createAnimatedComponent = require('./createAnimatedComponent');\n\nimport type {EndCallback} from './animations/Animation';\nimport type {TimingAnimationConfig} from './animations/TimingAnimation';\nimport type {DecayAnimationConfig} from './animations/DecayAnimation';\nimport type {SpringAnimationConfig} from './animations/SpringAnimation';\nimport type {Mapping, EventConfig} from './AnimatedEvent';\n\n/**\n * Animations are a source of flakiness in snapshot testing. This mock replaces\n * animation functions from AnimatedImplementation with empty animations for\n * predictability in tests.\n */\ntype CompositeAnimation = {\n start: (callback?: ?EndCallback) => void,\n stop: () => void,\n reset: () => void,\n _startNativeLoop: (iterations?: number) => void,\n _isUsingNativeDriver: () => boolean,\n};\n\nconst emptyAnimation = {\n start: () => {},\n stop: () => {},\n reset: () => {},\n _startNativeLoop: () => {},\n _isUsingNativeDriver: () => {\n return false;\n },\n};\n\nconst spring = function(\n value: AnimatedValue | AnimatedValueXY,\n config: SpringAnimationConfig,\n): CompositeAnimation {\n const anyValue: any = value;\n return {\n ...emptyAnimation,\n start: (callback?: ?EndCallback): void => {\n anyValue.setValue(config.toValue);\n callback && callback({finished: true});\n },\n };\n};\n\nconst timing = function(\n value: AnimatedValue | AnimatedValueXY,\n config: TimingAnimationConfig,\n): CompositeAnimation {\n const anyValue: any = value;\n return {\n ...emptyAnimation,\n start: (callback?: ?EndCallback): void => {\n anyValue.setValue(config.toValue);\n callback && callback({finished: true});\n },\n };\n};\n\nconst decay = function(\n value: AnimatedValue | AnimatedValueXY,\n config: DecayAnimationConfig,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst sequence = function(\n animations: Array,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\ntype ParallelConfig = {\n stopTogether?: boolean,\n};\nconst parallel = function(\n animations: Array,\n config?: ?ParallelConfig,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst delay = function(time: number): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst stagger = function(\n time: number,\n animations: Array,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\ntype LoopAnimationConfig = {iterations: number, resetBeforeIteration?: boolean};\n\nconst loop = function(\n animation: CompositeAnimation,\n {iterations = -1}: LoopAnimationConfig = {},\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst event = function(argMapping: Array, config?: EventConfig): any {\n return null;\n};\n\nmodule.exports = {\n Value: AnimatedValue,\n ValueXY: AnimatedValueXY,\n Interpolation: AnimatedInterpolation,\n Node: AnimatedNode,\n decay,\n timing,\n spring,\n add: AnimatedImplementation.add,\n subtract: AnimatedImplementation.subtract,\n divide: AnimatedImplementation.divide,\n multiply: AnimatedImplementation.multiply,\n modulo: AnimatedImplementation.modulo,\n diffClamp: AnimatedImplementation.diffClamp,\n delay,\n sequence,\n parallel,\n stagger,\n loop,\n event,\n createAnimatedComponent,\n attachNativeEvent,\n forkEvent: AnimatedImplementation.forkEvent,\n unforkEvent: AnimatedImplementation.unforkEvent,\n Event: AnimatedEvent,\n __PropsOnlyForTests: AnimatedProps,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedValue = require('./nodes/AnimatedValue');\nconst NativeAnimatedHelper = require('./NativeAnimatedHelper');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\n\nconst invariant = require('invariant');\n\nconst {shouldUseNativeDriver} = require('./NativeAnimatedHelper');\n\nexport type Mapping = {[key: string]: Mapping} | AnimatedValue;\nexport type EventConfig = {\n listener?: ?Function,\n useNativeDriver?: boolean,\n};\n\nfunction attachNativeEvent(\n viewRef: any,\n eventName: string,\n argMapping: Array,\n): $TEMPORARY$object<{|detach: () => void|}> {\n // Find animated values in `argMapping` and create an array representing their\n // key path inside the `nativeEvent` object. Ex.: ['contentOffset', 'x'].\n const eventMappings = [];\n\n const traverse = (value, path) => {\n if (value instanceof AnimatedValue) {\n value.__makeNative();\n\n eventMappings.push({\n nativeEventPath: path,\n animatedValueTag: value.__getNativeTag(),\n });\n } else if (typeof value === 'object') {\n for (const key in value) {\n traverse(value[key], path.concat(key));\n }\n }\n };\n\n invariant(\n argMapping[0] && argMapping[0].nativeEvent,\n 'Native driven events only support animated values contained inside `nativeEvent`.',\n );\n\n // Assume that the event containing `nativeEvent` is always the first argument.\n traverse(argMapping[0].nativeEvent, []);\n\n const viewTag = ReactNative.findNodeHandle(viewRef);\n\n eventMappings.forEach(mapping => {\n NativeAnimatedHelper.API.addAnimatedEventToView(\n viewTag,\n eventName,\n mapping,\n );\n });\n\n return {\n detach() {\n eventMappings.forEach(mapping => {\n NativeAnimatedHelper.API.removeAnimatedEventFromView(\n viewTag,\n eventName,\n mapping.animatedValueTag,\n );\n });\n },\n };\n}\n\nclass AnimatedEvent {\n _argMapping: Array;\n _listeners: Array = [];\n _callListeners: Function;\n _attachedEvent: ?{\n detach: () => void,\n };\n __isNative: boolean;\n\n constructor(argMapping: Array, config?: EventConfig = {}) {\n this._argMapping = argMapping;\n if (config.listener) {\n this.__addListener(config.listener);\n }\n this._callListeners = this._callListeners.bind(this);\n this._attachedEvent = null;\n this.__isNative = shouldUseNativeDriver(config);\n\n if (__DEV__) {\n this._validateMapping();\n }\n }\n\n __addListener(callback: Function): void {\n this._listeners.push(callback);\n }\n\n __removeListener(callback: Function): void {\n this._listeners = this._listeners.filter(listener => listener !== callback);\n }\n\n __attach(viewRef: any, eventName: string) {\n invariant(\n this.__isNative,\n 'Only native driven events need to be attached.',\n );\n\n this._attachedEvent = attachNativeEvent(\n viewRef,\n eventName,\n this._argMapping,\n );\n }\n\n __detach(viewTag: any, eventName: string) {\n invariant(\n this.__isNative,\n 'Only native driven events need to be detached.',\n );\n\n this._attachedEvent && this._attachedEvent.detach();\n }\n\n __getHandler(): any | ((...args: any) => void) {\n if (this.__isNative) {\n return this._callListeners;\n }\n\n return (...args: any) => {\n const traverse = (recMapping, recEvt, key) => {\n if (typeof recEvt === 'number' && recMapping instanceof AnimatedValue) {\n recMapping.setValue(recEvt);\n } else if (typeof recMapping === 'object') {\n for (const mappingKey in recMapping) {\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This\n * comment suppresses an error when upgrading Flow's support for\n * React. To see the error delete this comment and run Flow. */\n traverse(recMapping[mappingKey], recEvt[mappingKey], mappingKey);\n }\n }\n };\n\n if (!this.__isNative) {\n this._argMapping.forEach((mapping, idx) => {\n traverse(mapping, args[idx], 'arg' + idx);\n });\n }\n this._callListeners(...args);\n };\n }\n\n _callListeners(...args: any) {\n this._listeners.forEach(listener => listener(...args));\n }\n\n _validateMapping() {\n const traverse = (recMapping, recEvt, key) => {\n if (typeof recEvt === 'number') {\n invariant(\n recMapping instanceof AnimatedValue,\n 'Bad mapping of type ' +\n typeof recMapping +\n ' for key ' +\n key +\n ', event value must map to AnimatedValue',\n );\n return;\n }\n invariant(\n typeof recMapping === 'object',\n 'Bad mapping of type ' + typeof recMapping + ' for key ' + key,\n );\n invariant(\n typeof recEvt === 'object',\n 'Bad event of type ' + typeof recEvt + ' for key ' + key,\n );\n for (const mappingKey in recMapping) {\n traverse(recMapping[mappingKey], recEvt[mappingKey], mappingKey);\n }\n };\n }\n}\n\nmodule.exports = {AnimatedEvent, attachNativeEvent};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst InteractionManager = require('../../../Interaction/InteractionManager');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nimport type Animation, {EndCallback} from '../animations/Animation';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedTracking from './AnimatedTracking';\n\nconst NativeAnimatedAPI = NativeAnimatedHelper.API;\n\n/**\n * Animated works by building a directed acyclic graph of dependencies\n * transparently when you render your Animated components.\n *\n * new Animated.Value(0)\n * .interpolate() .interpolate() new Animated.Value(1)\n * opacity translateY scale\n * style transform\n * View#234 style\n * View#123\n *\n * A) Top Down phase\n * When an Animated.Value is updated, we recursively go down through this\n * graph in order to find leaf nodes: the views that we flag as needing\n * an update.\n *\n * B) Bottom Up phase\n * When a view is flagged as needing an update, we recursively go back up\n * in order to build the new value that it needs. The reason why we need\n * this two-phases process is to deal with composite props such as\n * transform which can receive values from multiple parents.\n */\nfunction _flush(rootNode: AnimatedValue): void {\n const animatedStyles = new Set();\n function findAnimatedStyles(node) {\n /* $FlowFixMe(>=0.68.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.68 was deployed. To see the error delete this\n * comment and run Flow. */\n if (typeof node.update === 'function') {\n animatedStyles.add(node);\n } else {\n node.__getChildren().forEach(findAnimatedStyles);\n }\n }\n findAnimatedStyles(rootNode);\n /* $FlowFixMe */\n animatedStyles.forEach(animatedStyle => animatedStyle.update());\n}\n\n/**\n * Standard value for driving animations. One `Animated.Value` can drive\n * multiple properties in a synchronized fashion, but can only be driven by one\n * mechanism at a time. Using a new mechanism (e.g. starting a new animation,\n * or calling `setValue`) will stop any previous ones.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html\n */\nclass AnimatedValue extends AnimatedWithChildren {\n _value: number;\n _startingValue: number;\n _offset: number;\n _animation: ?Animation;\n _tracking: ?AnimatedTracking;\n\n constructor(value: number) {\n super();\n this._startingValue = this._value = value;\n this._offset = 0;\n this._animation = null;\n }\n\n __detach() {\n this.stopAnimation();\n super.__detach();\n }\n\n __getValue(): number {\n return this._value + this._offset;\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#setvalue\n */\n setValue(value: number): void {\n if (this._animation) {\n this._animation.stop();\n this._animation = null;\n }\n this._updateValue(\n value,\n !this.__isNative /* don't perform a flush for natively driven values */,\n );\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value);\n }\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether via\n * `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#setoffset\n */\n setOffset(offset: number): void {\n this._offset = offset;\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);\n }\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#flattenoffset\n */\n flattenOffset(): void {\n this._value += this._offset;\n this._offset = 0;\n if (this.__isNative) {\n NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#extractoffset\n */\n extractOffset(): void {\n this._offset += this._value;\n this._value = 0;\n if (this.__isNative) {\n NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#stopanimation\n */\n stopAnimation(callback?: ?(value: number) => void): void {\n this.stopTracking();\n this._animation && this._animation.stop();\n this._animation = null;\n callback && callback(this.__getValue());\n }\n\n /**\n * Stops any animation and resets the value to its original.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#resetanimation\n */\n resetAnimation(callback?: ?(value: number) => void): void {\n this.stopAnimation(callback);\n this._value = this._startingValue;\n }\n\n _onAnimatedValueUpdateReceived(value: number): void {\n this._updateValue(value, false /*flush*/);\n }\n\n /**\n * Interpolates the value before updating the property, e.g. mapping 0-1 to\n * 0-10.\n */\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n /**\n * Typically only used internally, but could be used by a custom Animation\n * class.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#animate\n */\n animate(animation: Animation, callback: ?EndCallback): void {\n let handle = null;\n if (animation.__isInteraction) {\n handle = InteractionManager.createInteractionHandle();\n }\n const previousAnimation = this._animation;\n this._animation && this._animation.stop();\n this._animation = animation;\n animation.start(\n this._value,\n value => {\n // Natively driven animations will never call into that callback, therefore we can always\n // pass flush = true to allow the updated value to propagate to native with setNativeProps\n this._updateValue(value, true /* flush */);\n },\n result => {\n this._animation = null;\n if (handle !== null) {\n InteractionManager.clearInteractionHandle(handle);\n }\n callback && callback(result);\n },\n previousAnimation,\n this,\n );\n }\n\n /**\n * Typically only used internally.\n */\n stopTracking(): void {\n this._tracking && this._tracking.__detach();\n this._tracking = null;\n }\n\n /**\n * Typically only used internally.\n */\n track(tracking: AnimatedTracking): void {\n this.stopTracking();\n this._tracking = tracking;\n }\n\n _updateValue(value: number, flush: boolean): void {\n this._value = value;\n if (flush) {\n _flush(this);\n }\n super.__callListeners(this.__getValue());\n }\n\n __getNativeConfig(): Object {\n return {\n type: 'value',\n value: this._value,\n offset: this._offset,\n };\n }\n}\n\nmodule.exports = AnimatedValue;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n/* eslint no-bitwise: 0 */\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nconst invariant = require('invariant');\nconst normalizeColor = require('../../../Color/normalizeColor');\n\ntype ExtrapolateType = 'extend' | 'identity' | 'clamp';\n\nexport type InterpolationConfigType = {\n inputRange: Array,\n /* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error\n * detected during the deployment of v0.38.0. To see the error, remove this\n * comment and run flow\n */\n outputRange: Array | Array,\n easing?: (input: number) => number,\n extrapolate?: ExtrapolateType,\n extrapolateLeft?: ExtrapolateType,\n extrapolateRight?: ExtrapolateType,\n};\n\nconst linear = t => t;\n\n/**\n * Very handy helper to map input ranges to output ranges with an easing\n * function and custom behavior outside of the ranges.\n */\nfunction createInterpolation(\n config: InterpolationConfigType,\n): (input: number) => number | string {\n if (config.outputRange && typeof config.outputRange[0] === 'string') {\n return createInterpolationFromStringOutputRange(config);\n }\n\n const outputRange: Array = (config.outputRange: any);\n checkInfiniteRange('outputRange', outputRange);\n\n const inputRange = config.inputRange;\n checkInfiniteRange('inputRange', inputRange);\n checkValidInputRange(inputRange);\n\n invariant(\n inputRange.length === outputRange.length,\n 'inputRange (' +\n inputRange.length +\n ') and outputRange (' +\n outputRange.length +\n ') must have the same length',\n );\n\n const easing = config.easing || linear;\n\n let extrapolateLeft: ExtrapolateType = 'extend';\n if (config.extrapolateLeft !== undefined) {\n extrapolateLeft = config.extrapolateLeft;\n } else if (config.extrapolate !== undefined) {\n extrapolateLeft = config.extrapolate;\n }\n\n let extrapolateRight: ExtrapolateType = 'extend';\n if (config.extrapolateRight !== undefined) {\n extrapolateRight = config.extrapolateRight;\n } else if (config.extrapolate !== undefined) {\n extrapolateRight = config.extrapolate;\n }\n\n return input => {\n invariant(\n typeof input === 'number',\n 'Cannot interpolation an input which is not a number',\n );\n\n const range = findRange(input, inputRange);\n return interpolate(\n input,\n inputRange[range],\n inputRange[range + 1],\n outputRange[range],\n outputRange[range + 1],\n easing,\n extrapolateLeft,\n extrapolateRight,\n );\n };\n}\n\nfunction interpolate(\n input: number,\n inputMin: number,\n inputMax: number,\n outputMin: number,\n outputMax: number,\n easing: (input: number) => number,\n extrapolateLeft: ExtrapolateType,\n extrapolateRight: ExtrapolateType,\n) {\n let result = input;\n\n // Extrapolate\n if (result < inputMin) {\n if (extrapolateLeft === 'identity') {\n return result;\n } else if (extrapolateLeft === 'clamp') {\n result = inputMin;\n } else if (extrapolateLeft === 'extend') {\n // noop\n }\n }\n\n if (result > inputMax) {\n if (extrapolateRight === 'identity') {\n return result;\n } else if (extrapolateRight === 'clamp') {\n result = inputMax;\n } else if (extrapolateRight === 'extend') {\n // noop\n }\n }\n\n if (outputMin === outputMax) {\n return outputMin;\n }\n\n if (inputMin === inputMax) {\n if (input <= inputMin) {\n return outputMin;\n }\n return outputMax;\n }\n\n // Input Range\n if (inputMin === -Infinity) {\n result = -result;\n } else if (inputMax === Infinity) {\n result = result - inputMin;\n } else {\n result = (result - inputMin) / (inputMax - inputMin);\n }\n\n // Easing\n result = easing(result);\n\n // Output Range\n if (outputMin === -Infinity) {\n result = -result;\n } else if (outputMax === Infinity) {\n result = result + outputMin;\n } else {\n result = result * (outputMax - outputMin) + outputMin;\n }\n\n return result;\n}\n\nfunction colorToRgba(input: string): string {\n let int32Color = normalizeColor(input);\n if (int32Color === null) {\n return input;\n }\n\n int32Color = int32Color || 0;\n\n const r = (int32Color & 0xff000000) >>> 24;\n const g = (int32Color & 0x00ff0000) >>> 16;\n const b = (int32Color & 0x0000ff00) >>> 8;\n const a = (int32Color & 0x000000ff) / 255;\n\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n}\n\nconst stringShapeRegex = /[+-]?(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][+-]?\\d+)?/g;\n\n/**\n * Supports string shapes by extracting numbers so new values can be computed,\n * and recombines those values into new strings of the same shape. Supports\n * things like:\n *\n * rgba(123, 42, 99, 0.36) // colors\n * -45deg // values with units\n */\nfunction createInterpolationFromStringOutputRange(\n config: InterpolationConfigType,\n): (input: number) => string {\n let outputRange: Array = (config.outputRange: any);\n invariant(outputRange.length >= 2, 'Bad output range');\n outputRange = outputRange.map(colorToRgba);\n checkPattern(outputRange);\n\n // ['rgba(0, 100, 200, 0)', 'rgba(50, 150, 250, 0.5)']\n // ->\n // [\n // [0, 50],\n // [100, 150],\n // [200, 250],\n // [0, 0.5],\n // ]\n /* $FlowFixMe(>=0.18.0): `outputRange[0].match()` can return `null`. Need to\n * guard against this possibility.\n */\n const outputRanges = outputRange[0].match(stringShapeRegex).map(() => []);\n outputRange.forEach(value => {\n /* $FlowFixMe(>=0.18.0): `value.match()` can return `null`. Need to guard\n * against this possibility.\n */\n value.match(stringShapeRegex).forEach((number, i) => {\n outputRanges[i].push(+number);\n });\n });\n\n /* $FlowFixMe(>=0.18.0): `outputRange[0].match()` can return `null`. Need to\n * guard against this possibility.\n */\n const interpolations = outputRange[0]\n .match(stringShapeRegex)\n .map((value, i) => {\n return createInterpolation({\n ...config,\n outputRange: outputRanges[i],\n });\n });\n\n // rgba requires that the r,g,b are integers.... so we want to round them, but we *dont* want to\n // round the opacity (4th column).\n const shouldRound = isRgbOrRgba(outputRange[0]);\n\n return input => {\n let i = 0;\n // 'rgba(0, 100, 200, 0)'\n // ->\n // 'rgba(${interpolations[0](input)}, ${interpolations[1](input)}, ...'\n return outputRange[0].replace(stringShapeRegex, () => {\n let val = +interpolations[i++](input);\n if (shouldRound) {\n val = i < 4 ? Math.round(val) : Math.round(val * 1000) / 1000;\n }\n return String(val);\n });\n };\n}\n\nfunction isRgbOrRgba(range) {\n return typeof range === 'string' && range.startsWith('rgb');\n}\n\nfunction checkPattern(arr: Array) {\n const pattern = arr[0].replace(stringShapeRegex, '');\n for (let i = 1; i < arr.length; ++i) {\n invariant(\n pattern === arr[i].replace(stringShapeRegex, ''),\n 'invalid pattern ' + arr[0] + ' and ' + arr[i],\n );\n }\n}\n\nfunction findRange(input: number, inputRange: Array) {\n let i;\n for (i = 1; i < inputRange.length - 1; ++i) {\n if (inputRange[i] >= input) {\n break;\n }\n }\n return i - 1;\n}\n\nfunction checkValidInputRange(arr: Array) {\n invariant(arr.length >= 2, 'inputRange must have at least 2 elements');\n for (let i = 1; i < arr.length; ++i) {\n invariant(\n arr[i] >= arr[i - 1],\n /* $FlowFixMe(>=0.13.0) - In the addition expression below this comment,\n * one or both of the operands may be something that doesn't cleanly\n * convert to a string, like undefined, null, and object, etc. If you really\n * mean this implicit string conversion, you can do something like\n * String(myThing)\n */\n 'inputRange must be monotonically non-decreasing ' + arr,\n );\n }\n}\n\nfunction checkInfiniteRange(name: string, arr: Array) {\n invariant(arr.length >= 2, name + ' must have at least 2 elements');\n invariant(\n arr.length !== 2 || arr[0] !== -Infinity || arr[1] !== Infinity,\n /* $FlowFixMe(>=0.13.0) - In the addition expression below this comment,\n * one or both of the operands may be something that doesn't cleanly convert\n * to a string, like undefined, null, and object, etc. If you really mean\n * this implicit string conversion, you can do something like\n * String(myThing)\n */\n name + 'cannot be ]-infinity;+infinity[ ' + arr,\n );\n}\n\nclass AnimatedInterpolation extends AnimatedWithChildren {\n // Export for testing.\n static __createInterpolation: (\n config: InterpolationConfigType,\n ) => (input: number) => number | string = createInterpolation;\n\n _parent: AnimatedNode;\n _config: InterpolationConfigType;\n _interpolation: (input: number) => number | string;\n\n constructor(parent: AnimatedNode, config: InterpolationConfigType) {\n super();\n this._parent = parent;\n this._config = config;\n this._interpolation = createInterpolation(config);\n }\n\n __makeNative() {\n this._parent.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number | string {\n const parentValue: number = this._parent.__getValue();\n invariant(\n typeof parentValue === 'number',\n 'Cannot interpolate an input which is not a number.',\n );\n return this._interpolation(parentValue);\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._parent.__addChild(this);\n }\n\n __detach(): void {\n this._parent.__removeChild(this);\n super.__detach();\n }\n\n __transformDataType(range: Array): Array {\n return range.map(NativeAnimatedHelper.transformDataType);\n }\n\n __getNativeConfig(): any {\n if (__DEV__) {\n NativeAnimatedHelper.validateInterpolation(this._config);\n }\n\n return {\n inputRange: this._config.inputRange,\n // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here\n outputRange: this.__transformDataType(this._config.outputRange),\n extrapolateLeft:\n this._config.extrapolateLeft || this._config.extrapolate || 'extend',\n extrapolateRight:\n this._config.extrapolateRight || this._config.extrapolate || 'extend',\n type: 'interpolation',\n };\n }\n}\n\nmodule.exports = AnimatedInterpolation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nconst NativeAnimatedAPI = NativeAnimatedHelper.API;\nconst invariant = require('invariant');\n\ntype ValueListenerCallback = (state: {value: number}) => mixed;\n\nlet _uniqueId = 1;\n\n// Note(vjeux): this would be better as an interface but flow doesn't\n// support them yet\nclass AnimatedNode {\n _listeners: {[key: string]: ValueListenerCallback};\n __nativeAnimatedValueListener: ?any;\n __attach(): void {}\n __detach(): void {\n if (this.__isNative && this.__nativeTag != null) {\n NativeAnimatedHelper.API.dropAnimatedNode(this.__nativeTag);\n this.__nativeTag = undefined;\n }\n }\n __getValue(): any {}\n __getAnimatedValue(): any {\n return this.__getValue();\n }\n __addChild(child: AnimatedNode) {}\n __removeChild(child: AnimatedNode) {}\n __getChildren(): Array {\n return [];\n }\n\n /* Methods and props used by native Animated impl */\n __isNative: boolean;\n __nativeTag: ?number;\n __shouldUpdateListenersForNewNativeTag: boolean;\n\n constructor() {\n this._listeners = {};\n }\n\n __makeNative() {\n if (!this.__isNative) {\n throw new Error('This node cannot be made a \"native\" animated node');\n }\n\n if (this.hasListeners()) {\n this._startListeningToNativeValueUpdates();\n }\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to\n * synchronously read the value because it might be driven natively.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#addlistener\n */\n addListener(callback: (value: any) => mixed): string {\n const id = String(_uniqueId++);\n this._listeners[id] = callback;\n if (this.__isNative) {\n this._startListeningToNativeValueUpdates();\n }\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#removelistener\n */\n removeListener(id: string): void {\n delete this._listeners[id];\n if (this.__isNative && !this.hasListeners()) {\n this._stopListeningForNativeValueUpdates();\n }\n }\n\n /**\n * Remove all registered listeners.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#removealllisteners\n */\n removeAllListeners(): void {\n this._listeners = {};\n if (this.__isNative) {\n this._stopListeningForNativeValueUpdates();\n }\n }\n\n hasListeners(): boolean {\n return !!Object.keys(this._listeners).length;\n }\n\n _startListeningToNativeValueUpdates() {\n if (\n this.__nativeAnimatedValueListener &&\n !this.__shouldUpdateListenersForNewNativeTag\n ) {\n return;\n }\n\n if (this.__shouldUpdateListenersForNewNativeTag) {\n this.__shouldUpdateListenersForNewNativeTag = false;\n this._stopListeningForNativeValueUpdates();\n }\n\n NativeAnimatedAPI.startListeningToAnimatedNodeValue(this.__getNativeTag());\n this.__nativeAnimatedValueListener = NativeAnimatedHelper.nativeEventEmitter.addListener(\n 'onAnimatedValueUpdate',\n data => {\n if (data.tag !== this.__getNativeTag()) {\n return;\n }\n this._onAnimatedValueUpdateReceived(data.value);\n },\n );\n }\n\n _onAnimatedValueUpdateReceived(value: number) {\n this.__callListeners(value);\n }\n\n __callListeners(value: number): void {\n for (const key in this._listeners) {\n this._listeners[key]({value});\n }\n }\n\n _stopListeningForNativeValueUpdates() {\n if (!this.__nativeAnimatedValueListener) {\n return;\n }\n\n this.__nativeAnimatedValueListener.remove();\n this.__nativeAnimatedValueListener = null;\n NativeAnimatedAPI.stopListeningToAnimatedNodeValue(this.__getNativeTag());\n }\n\n __getNativeTag(): ?number {\n NativeAnimatedHelper.assertNativeAnimatedModule();\n invariant(\n this.__isNative,\n 'Attempt to get native tag from node not marked as \"native\"',\n );\n if (this.__nativeTag == null) {\n const nativeTag: ?number = NativeAnimatedHelper.generateNewNodeTag();\n this.__nativeTag = nativeTag;\n NativeAnimatedHelper.API.createAnimatedNode(\n nativeTag,\n this.__getNativeConfig(),\n );\n this.__shouldUpdateListenersForNewNativeTag = true;\n }\n return this.__nativeTag;\n }\n __getNativeConfig(): Object {\n throw new Error(\n 'This JS animated node type cannot be used as native animated node',\n );\n }\n toJSON(): any {\n return this.__getValue();\n }\n}\n\nmodule.exports = AnimatedNode;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nimport NativeEventEmitter from '../../EventEmitter/NativeEventEmitter';\nimport type {EventConfig} from './AnimatedEvent';\nimport NativeAnimatedModule from './NativeAnimatedModule';\nimport type {\n EventMapping,\n AnimatedNodeConfig,\n AnimatingNodeConfig,\n} from './NativeAnimatedModule';\nimport type {AnimationConfig, EndCallback} from './animations/Animation';\nimport type {InterpolationConfigType} from './nodes/AnimatedInterpolation';\nimport invariant from 'invariant';\n\nlet __nativeAnimatedNodeTagCount = 1; /* used for animated nodes */\nlet __nativeAnimationIdCount = 1; /* used for started animations */\n\nlet nativeEventEmitter;\n\nlet queueConnections = false;\nlet queue = [];\n\n/**\n * Simple wrappers around NativeAnimatedModule to provide flow and autocomplete support for\n * the native module methods\n */\nconst API = {\n enableQueue: function(): void {\n queueConnections = true;\n },\n disableQueue: function(): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n queueConnections = false;\n for (let q = 0, l = queue.length; q < l; q++) {\n const args = queue[q];\n NativeAnimatedModule.connectAnimatedNodes(args[0], args[1]);\n }\n queue.length = 0;\n },\n createAnimatedNode: function(tag: ?number, config: AnimatedNodeConfig): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.createAnimatedNode(tag, config);\n },\n startListeningToAnimatedNodeValue: function(tag: ?number) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.startListeningToAnimatedNodeValue(tag);\n },\n stopListeningToAnimatedNodeValue: function(tag: ?number) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.stopListeningToAnimatedNodeValue(tag);\n },\n connectAnimatedNodes: function(parentTag: ?number, childTag: ?number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n if (queueConnections) {\n queue.push([parentTag, childTag]);\n return;\n }\n NativeAnimatedModule.connectAnimatedNodes(parentTag, childTag);\n },\n disconnectAnimatedNodes: function(\n parentTag: ?number,\n childTag: ?number,\n ): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.disconnectAnimatedNodes(parentTag, childTag);\n },\n startAnimatingNode: function(\n animationId: ?number,\n nodeTag: ?number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.startAnimatingNode(\n animationId,\n nodeTag,\n config,\n endCallback,\n );\n },\n stopAnimation: function(animationId: ?number) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.stopAnimation(animationId);\n },\n setAnimatedNodeValue: function(nodeTag: ?number, value: ?number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.setAnimatedNodeValue(nodeTag, value);\n },\n setAnimatedNodeOffset: function(nodeTag: ?number, offset: ?number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.setAnimatedNodeOffset(nodeTag, offset);\n },\n flattenAnimatedNodeOffset: function(nodeTag: ?number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.flattenAnimatedNodeOffset(nodeTag);\n },\n extractAnimatedNodeOffset: function(nodeTag: ?number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.extractAnimatedNodeOffset(nodeTag);\n },\n connectAnimatedNodeToView: function(\n nodeTag: ?number,\n viewTag: ?number,\n ): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.connectAnimatedNodeToView(nodeTag, viewTag);\n },\n disconnectAnimatedNodeFromView: function(\n nodeTag: ?number,\n viewTag: ?number,\n ): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.disconnectAnimatedNodeFromView(nodeTag, viewTag);\n },\n dropAnimatedNode: function(tag: ?number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.dropAnimatedNode(tag);\n },\n addAnimatedEventToView: function(\n viewTag: ?number,\n eventName: string,\n eventMapping: EventMapping,\n ) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.addAnimatedEventToView(\n viewTag,\n eventName,\n eventMapping,\n );\n },\n removeAnimatedEventFromView(\n viewTag: ?number,\n eventName: string,\n animatedNodeTag: ?number,\n ) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n NativeAnimatedModule.removeAnimatedEventFromView(\n viewTag,\n eventName,\n animatedNodeTag,\n );\n },\n};\n\n/**\n * Styles allowed by the native animated implementation.\n *\n * In general native animated implementation should support any numeric property that doesn't need\n * to be updated through the shadow view hierarchy (all non-layout properties).\n */\nconst STYLES_WHITELIST = {\n opacity: true,\n transform: true,\n borderRadius: true,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n elevation: true,\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true,\n};\n\nconst TRANSFORM_WHITELIST = {\n translateX: true,\n translateY: true,\n scale: true,\n scaleX: true,\n scaleY: true,\n rotate: true,\n rotateX: true,\n rotateY: true,\n rotateZ: true,\n perspective: true,\n};\n\nconst SUPPORTED_INTERPOLATION_PARAMS = {\n inputRange: true,\n outputRange: true,\n extrapolate: true,\n extrapolateRight: true,\n extrapolateLeft: true,\n};\n\nfunction addWhitelistedStyleProp(prop: string): void {\n STYLES_WHITELIST[prop] = true;\n}\n\nfunction addWhitelistedTransformProp(prop: string): void {\n TRANSFORM_WHITELIST[prop] = true;\n}\n\nfunction addWhitelistedInterpolationParam(param: string): void {\n SUPPORTED_INTERPOLATION_PARAMS[param] = true;\n}\n\nfunction validateTransform(\n configs: Array<\n | {type: 'animated', property: string, nodeTag: ?number}\n | {type: 'static', property: string, value: number | string},\n >,\n): void {\n configs.forEach(config => {\n if (!TRANSFORM_WHITELIST.hasOwnProperty(config.property)) {\n throw new Error(\n `Property '${\n config.property\n }' is not supported by native animated module`,\n );\n }\n });\n}\n\nfunction validateStyles(styles: {[key: string]: ?number}): void {\n for (const key in styles) {\n if (!STYLES_WHITELIST.hasOwnProperty(key)) {\n throw new Error(\n `Style property '${key}' is not supported by native animated module`,\n );\n }\n }\n}\n\nfunction validateInterpolation(config: InterpolationConfigType): void {\n for (const key in config) {\n if (!SUPPORTED_INTERPOLATION_PARAMS.hasOwnProperty(key)) {\n throw new Error(\n `Interpolation property '${key}' is not supported by native animated module`,\n );\n }\n }\n}\n\nfunction generateNewNodeTag(): number {\n return __nativeAnimatedNodeTagCount++;\n}\n\nfunction generateNewAnimationId(): number {\n return __nativeAnimationIdCount++;\n}\n\nfunction assertNativeAnimatedModule(): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n}\n\nlet _warnedMissingNativeAnimated = false;\n\nfunction shouldUseNativeDriver(config: AnimationConfig | EventConfig): boolean {\n if (config.useNativeDriver === true && !NativeAnimatedModule) {\n if (!_warnedMissingNativeAnimated) {\n console.warn(\n 'Animated: `useNativeDriver` is not supported because the native ' +\n 'animated module is missing. Falling back to JS-based animation. To ' +\n 'resolve this, add `RCTAnimation` module to this app, or remove ' +\n '`useNativeDriver`. ' +\n 'More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420',\n );\n _warnedMissingNativeAnimated = true;\n }\n return false;\n }\n\n return config.useNativeDriver || false;\n}\n\nfunction transformDataType(value: number | string): number | string {\n // Change the string type to number type so we can reuse the same logic in\n // iOS and Android platform\n if (typeof value !== 'string') {\n return value;\n }\n if (/deg$/.test(value)) {\n const degrees = parseFloat(value) || 0;\n const radians = (degrees * Math.PI) / 180.0;\n return radians;\n } else {\n return value;\n }\n}\n\nmodule.exports = {\n API,\n addWhitelistedStyleProp,\n addWhitelistedTransformProp,\n addWhitelistedInterpolationParam,\n validateStyles,\n validateTransform,\n validateInterpolation,\n generateNewNodeTag,\n generateNewAnimationId,\n assertNativeAnimatedModule,\n shouldUseNativeDriver,\n transformDataType,\n // $FlowExpectedError - unsafe getter lint suppresion\n get nativeEventEmitter(): NativeEventEmitter {\n if (!nativeEventEmitter) {\n nativeEventEmitter = new NativeEventEmitter(NativeAnimatedModule);\n }\n return nativeEventEmitter;\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\ntype EndResult = {finished: boolean};\ntype EndCallback = (result: EndResult) => void;\n\nexport type EventMapping = {|\n nativeEventPath: Array,\n animatedValueTag: ?number,\n|};\n\nexport type AnimatedNodeConfig = {|\n // TODO: Type this with better enums.\n type: string,\n|};\n\nexport type AnimatingNodeConfig = {|\n // TODO: Type this with better enums.\n type: string,\n|};\n\nexport interface Spec extends TurboModule {\n +createAnimatedNode: (tag: ?number, config: AnimatedNodeConfig) => void;\n +startListeningToAnimatedNodeValue: (tag: ?number) => void;\n +stopListeningToAnimatedNodeValue: (tag: ?number) => void;\n +connectAnimatedNodes: (parentTag: ?number, childTag: ?number) => void;\n +disconnectAnimatedNodes: (parentTag: ?number, childTag: ?number) => void;\n +startAnimatingNode: (\n animationId: ?number,\n nodeTag: ?number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ) => void;\n +stopAnimation: (animationId: ?number) => void;\n +setAnimatedNodeValue: (nodeTag: ?number, value: ?number) => void;\n +setAnimatedNodeOffset: (nodeTag: ?number, offset: ?number) => void;\n +flattenAnimatedNodeOffset: (nodeTag: ?number) => void;\n +extractAnimatedNodeOffset: (nodeTag: ?number) => void;\n +connectAnimatedNodeToView: (nodeTag: ?number, viewTag: ?number) => void;\n +disconnectAnimatedNodeFromView: (nodeTag: ?number, viewTag: ?number) => void;\n +dropAnimatedNode: (tag: ?number) => void;\n +addAnimatedEventToView: (\n viewTag: ?number,\n eventName: string,\n eventMapping: EventMapping,\n ) => void;\n +removeAnimatedEventFromView: (\n viewTag: ?number,\n eventName: string,\n animatedNodeTag: ?number,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('NativeAnimatedModule'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nclass AnimatedWithChildren extends AnimatedNode {\n _children: Array;\n\n constructor() {\n super();\n this._children = [];\n }\n\n __makeNative() {\n if (!this.__isNative) {\n this.__isNative = true;\n for (const child of this._children) {\n child.__makeNative();\n NativeAnimatedHelper.API.connectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n }\n super.__makeNative();\n }\n\n __addChild(child: AnimatedNode): void {\n if (this._children.length === 0) {\n this.__attach();\n }\n this._children.push(child);\n if (this.__isNative) {\n // Only accept \"native\" animated nodes as children\n child.__makeNative();\n NativeAnimatedHelper.API.connectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n }\n\n __removeChild(child: AnimatedNode): void {\n const index = this._children.indexOf(child);\n if (index === -1) {\n console.warn(\"Trying to remove a child that doesn't exist\");\n return;\n }\n if (this.__isNative && child.__isNative) {\n NativeAnimatedHelper.API.disconnectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n this._children.splice(index, 1);\n if (this._children.length === 0) {\n this.__detach();\n }\n }\n\n __getChildren(): Array {\n return this._children;\n }\n\n __callListeners(value: number): void {\n super.__callListeners(value);\n if (!this.__isNative) {\n for (const child of this._children) {\n if (child.__getValue) {\n child.__callListeners(child.__getValue());\n }\n }\n }\n }\n}\n\nmodule.exports = AnimatedWithChildren;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\nconst EventEmitter = require('../vendor/emitter/EventEmitter');\nconst TaskQueue = require('./TaskQueue');\n\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\nconst keyMirror = require('fbjs/lib/keyMirror');\n\nexport type Handle = number;\nimport type {Task} from './TaskQueue';\n\nconst _emitter = new EventEmitter();\n\nconst DEBUG_DELAY: 0 = 0;\nconst DEBUG: false = false;\n\n/**\n * InteractionManager allows long-running work to be scheduled after any\n * interactions/animations have completed. In particular, this allows JavaScript\n * animations to run smoothly.\n *\n * Applications can schedule tasks to run after interactions with the following:\n *\n * ```\n * InteractionManager.runAfterInteractions(() => {\n * // ...long-running synchronous task...\n * });\n * ```\n *\n * Compare this to other scheduling alternatives:\n *\n * - requestAnimationFrame(): for code that animates a view over time.\n * - setImmediate/setTimeout(): run code later, note this may delay animations.\n * - runAfterInteractions(): run code later, without delaying active animations.\n *\n * The touch handling system considers one or more active touches to be an\n * 'interaction' and will delay `runAfterInteractions()` callbacks until all\n * touches have ended or been cancelled.\n *\n * InteractionManager also allows applications to register animations by\n * creating an interaction 'handle' on animation start, and clearing it upon\n * completion:\n *\n * ```\n * var handle = InteractionManager.createInteractionHandle();\n * // run animation... (`runAfterInteractions` tasks are queued)\n * // later, on animation completion:\n * InteractionManager.clearInteractionHandle(handle);\n * // queued tasks run if all handles were cleared\n * ```\n *\n * `runAfterInteractions` takes either a plain callback function, or a\n * `PromiseTask` object with a `gen` method that returns a `Promise`. If a\n * `PromiseTask` is supplied, then it is fully resolved (including asynchronous\n * dependencies that also schedule more tasks via `runAfterInteractions`) before\n * starting on the next task that might have been queued up synchronously\n * earlier.\n *\n * By default, queued tasks are executed together in a loop in one\n * `setImmediate` batch. If `setDeadline` is called with a positive number, then\n * tasks will only be executed until the deadline (in terms of js event loop run\n * time) approaches, at which point execution will yield via setTimeout,\n * allowing events such as touches to start interactions and block queued tasks\n * from executing, making apps more responsive.\n */\nconst InteractionManager = {\n Events: keyMirror({\n interactionStart: true,\n interactionComplete: true,\n }),\n\n /**\n * Schedule a function to run after all interactions have completed. Returns a cancellable\n * \"promise\".\n */\n runAfterInteractions(\n task: ?Task,\n ): {then: Function, done: Function, cancel: Function} {\n const tasks = [];\n const promise = new Promise(resolve => {\n _scheduleUpdate();\n if (task) {\n tasks.push(task);\n }\n tasks.push({\n run: resolve,\n name: 'resolve ' + ((task && task.name) || '?'),\n });\n _taskQueue.enqueueTasks(tasks);\n });\n return {\n then: promise.then.bind(promise),\n done: (...args) => {\n if (promise.done) {\n return promise.done(...args);\n } else {\n console.warn(\n 'Tried to call done when not supported by current Promise implementation.',\n );\n }\n },\n cancel: function() {\n _taskQueue.cancelTasks(tasks);\n },\n };\n },\n\n /**\n * Notify manager that an interaction has started.\n */\n createInteractionHandle(): Handle {\n DEBUG && infoLog('InteractionManager: create interaction handle');\n _scheduleUpdate();\n const handle = ++_inc;\n _addInteractionSet.add(handle);\n return handle;\n },\n\n /**\n * Notify manager that an interaction has completed.\n */\n clearInteractionHandle(handle: Handle) {\n DEBUG && infoLog('InteractionManager: clear interaction handle');\n invariant(!!handle, 'InteractionManager: Must provide a handle to clear.');\n _scheduleUpdate();\n _addInteractionSet.delete(handle);\n _deleteInteractionSet.add(handle);\n },\n\n addListener: (_emitter.addListener.bind(_emitter): $FlowFixMe),\n\n /**\n * A positive number will use setTimeout to schedule any tasks after the\n * eventLoopRunningTime hits the deadline value, otherwise all tasks will be\n * executed in one setImmediate batch (default).\n */\n setDeadline(deadline: number) {\n _deadline = deadline;\n },\n};\n\nconst _interactionSet = new Set();\nconst _addInteractionSet = new Set();\nconst _deleteInteractionSet = new Set();\nconst _taskQueue = new TaskQueue({onMoreTasks: _scheduleUpdate});\nlet _nextUpdateHandle = 0;\nlet _inc = 0;\nlet _deadline = -1;\n\ndeclare function setImmediate(callback: any, ...args: Array): number;\n\n/**\n * Schedule an asynchronous update to the interaction state.\n */\nfunction _scheduleUpdate() {\n if (!_nextUpdateHandle) {\n if (_deadline > 0) {\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n _nextUpdateHandle = setTimeout(_processUpdate, 0 + DEBUG_DELAY);\n } else {\n _nextUpdateHandle = setImmediate(_processUpdate);\n }\n }\n}\n\n/**\n * Notify listeners, process queue, etc\n */\nfunction _processUpdate() {\n _nextUpdateHandle = 0;\n\n const interactionCount = _interactionSet.size;\n _addInteractionSet.forEach(handle => _interactionSet.add(handle));\n _deleteInteractionSet.forEach(handle => _interactionSet.delete(handle));\n const nextInteractionCount = _interactionSet.size;\n\n if (interactionCount !== 0 && nextInteractionCount === 0) {\n // transition from 1+ --> 0 interactions\n _emitter.emit(InteractionManager.Events.interactionComplete);\n } else if (interactionCount === 0 && nextInteractionCount !== 0) {\n // transition from 0 --> 1+ interactions\n _emitter.emit(InteractionManager.Events.interactionStart);\n }\n\n // process the queue regardless of a transition\n if (nextInteractionCount === 0) {\n while (_taskQueue.hasTasksToProcess()) {\n _taskQueue.processNext();\n if (\n _deadline > 0 &&\n BatchedBridge.getEventLoopRunningTime() >= _deadline\n ) {\n // Hit deadline before processing all tasks, so process more later.\n _scheduleUpdate();\n break;\n }\n }\n }\n _addInteractionSet.clear();\n _deleteInteractionSet.clear();\n}\n\nmodule.exports = InteractionManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\n\ntype SimpleTask = {\n name: string,\n run: () => void,\n};\ntype PromiseTask = {\n name: string,\n gen: () => Promise,\n};\nexport type Task = Function | SimpleTask | PromiseTask;\n\nconst DEBUG: false = false;\n\n/**\n * TaskQueue - A system for queueing and executing a mix of simple callbacks and\n * trees of dependent tasks based on Promises. No tasks are executed unless\n * `processNext` is called.\n *\n * `enqueue` takes a Task object with either a simple `run` callback, or a\n * `gen` function that returns a `Promise` and puts it in the queue. If a gen\n * function is supplied, then the promise it returns will block execution of\n * tasks already in the queue until it resolves. This can be used to make sure\n * the first task is fully resolved (including asynchronous dependencies that\n * also schedule more tasks via `enqueue`) before starting on the next task.\n * The `onMoreTasks` constructor argument is used to inform the owner that an\n * async task has resolved and that the queue should be processed again.\n *\n * Note: Tasks are only actually executed with explicit calls to `processNext`.\n */\nclass TaskQueue {\n /**\n * TaskQueue instances are self contained and independent, so multiple tasks\n * of varying semantics and priority can operate together.\n *\n * `onMoreTasks` is invoked when `PromiseTask`s resolve if there are more\n * tasks to process.\n */\n constructor({onMoreTasks}: {onMoreTasks: () => void}) {\n this._onMoreTasks = onMoreTasks;\n this._queueStack = [{tasks: [], popable: false}];\n }\n\n /**\n * Add a task to the queue. It is recommended to name your tasks for easier\n * async debugging. Tasks will not be executed until `processNext` is called\n * explicitly.\n */\n enqueue(task: Task): void {\n this._getCurrentQueue().push(task);\n }\n\n enqueueTasks(tasks: Array): void {\n tasks.forEach(task => this.enqueue(task));\n }\n\n cancelTasks(tasksToCancel: Array): void {\n // search through all tasks and remove them.\n this._queueStack = this._queueStack\n .map(queue => ({\n ...queue,\n tasks: queue.tasks.filter(task => tasksToCancel.indexOf(task) === -1),\n }))\n .filter((queue, idx) => queue.tasks.length > 0 || idx === 0);\n }\n\n /**\n * Check to see if `processNext` should be called.\n *\n * @returns {boolean} Returns true if there are tasks that are ready to be\n * processed with `processNext`, or returns false if there are no more tasks\n * to be processed right now, although there may be tasks in the queue that\n * are blocked by earlier `PromiseTask`s that haven't resolved yet.\n * `onMoreTasks` will be called after each `PromiseTask` resolves if there are\n * tasks ready to run at that point.\n */\n hasTasksToProcess(): boolean {\n return this._getCurrentQueue().length > 0;\n }\n\n /**\n * Executes the next task in the queue.\n */\n processNext(): void {\n const queue = this._getCurrentQueue();\n if (queue.length) {\n const task = queue.shift();\n try {\n if (task.gen) {\n DEBUG && infoLog('TaskQueue: genPromise for task ' + task.name);\n this._genPromise((task: any)); // Rather than annoying tagged union\n } else if (task.run) {\n DEBUG && infoLog('TaskQueue: run task ' + task.name);\n task.run();\n } else {\n invariant(\n typeof task === 'function',\n 'Expected Function, SimpleTask, or PromiseTask, but got:\\n' +\n JSON.stringify(task, null, 2),\n );\n DEBUG && infoLog('TaskQueue: run anonymous task');\n task();\n }\n } catch (e) {\n e.message =\n 'TaskQueue: Error with task ' + (task.name || '') + ': ' + e.message;\n throw e;\n }\n }\n }\n\n _queueStack: Array<{tasks: Array, popable: boolean}>;\n _onMoreTasks: () => void;\n\n _getCurrentQueue(): Array {\n const stackIdx = this._queueStack.length - 1;\n const queue = this._queueStack[stackIdx];\n if (\n queue.popable &&\n queue.tasks.length === 0 &&\n this._queueStack.length > 1\n ) {\n this._queueStack.pop();\n DEBUG &&\n infoLog('TaskQueue: popped queue: ', {\n stackIdx,\n queueStackSize: this._queueStack.length,\n });\n return this._getCurrentQueue();\n } else {\n return queue.tasks;\n }\n }\n\n _genPromise(task: PromiseTask) {\n // Each async task pushes it's own queue onto the queue stack. This\n // effectively defers execution of previously queued tasks until the promise\n // resolves, at which point we allow the new queue to be popped, which\n // happens once it is fully processed.\n this._queueStack.push({tasks: [], popable: false});\n const stackIdx = this._queueStack.length - 1;\n DEBUG && infoLog('TaskQueue: push new queue: ', {stackIdx});\n DEBUG && infoLog('TaskQueue: exec gen task ' + task.name);\n task\n .gen()\n .then(() => {\n DEBUG &&\n infoLog('TaskQueue: onThen for gen task ' + task.name, {\n stackIdx,\n queueStackSize: this._queueStack.length,\n });\n this._queueStack[stackIdx].popable = true;\n this.hasTasksToProcess() && this._onMoreTasks();\n })\n .catch(ex => {\n ex.message = `TaskQueue: Error resolving Promise in task ${\n task.name\n }: ${ex.message}`;\n throw ex;\n })\n .done();\n }\n}\n\nmodule.exports = TaskQueue;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n * @preventMunge\n */\n'use strict';\n\nconst {AnimatedEvent, attachNativeEvent} = require('./AnimatedEvent');\nconst AnimatedAddition = require('./nodes/AnimatedAddition');\nconst AnimatedDiffClamp = require('./nodes/AnimatedDiffClamp');\nconst AnimatedDivision = require('./nodes/AnimatedDivision');\nconst AnimatedInterpolation = require('./nodes/AnimatedInterpolation');\nconst AnimatedModulo = require('./nodes/AnimatedModulo');\nconst AnimatedMultiplication = require('./nodes/AnimatedMultiplication');\nconst AnimatedNode = require('./nodes/AnimatedNode');\nconst AnimatedProps = require('./nodes/AnimatedProps');\nconst AnimatedSubtraction = require('./nodes/AnimatedSubtraction');\nconst AnimatedTracking = require('./nodes/AnimatedTracking');\nconst AnimatedValue = require('./nodes/AnimatedValue');\nconst AnimatedValueXY = require('./nodes/AnimatedValueXY');\nconst DecayAnimation = require('./animations/DecayAnimation');\nconst SpringAnimation = require('./animations/SpringAnimation');\nconst TimingAnimation = require('./animations/TimingAnimation');\n\nconst createAnimatedComponent = require('./createAnimatedComponent');\n\nimport type {\n AnimationConfig,\n EndCallback,\n EndResult,\n} from './animations/Animation';\nimport type {TimingAnimationConfig} from './animations/TimingAnimation';\nimport type {DecayAnimationConfig} from './animations/DecayAnimation';\nimport type {SpringAnimationConfig} from './animations/SpringAnimation';\nimport type {Mapping, EventConfig} from './AnimatedEvent';\n\nexport type CompositeAnimation = {\n start: (callback?: ?EndCallback) => void,\n stop: () => void,\n reset: () => void,\n _startNativeLoop: (iterations?: number) => void,\n _isUsingNativeDriver: () => boolean,\n};\n\nconst add = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedAddition {\n return new AnimatedAddition(a, b);\n};\n\nconst subtract = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedSubtraction {\n return new AnimatedSubtraction(a, b);\n};\n\nconst divide = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedDivision {\n return new AnimatedDivision(a, b);\n};\n\nconst multiply = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedMultiplication {\n return new AnimatedMultiplication(a, b);\n};\n\nconst modulo = function(a: AnimatedNode, modulus: number): AnimatedModulo {\n return new AnimatedModulo(a, modulus);\n};\n\nconst diffClamp = function(\n a: AnimatedNode,\n min: number,\n max: number,\n): AnimatedDiffClamp {\n return new AnimatedDiffClamp(a, min, max);\n};\n\nconst _combineCallbacks = function(\n callback: ?EndCallback,\n config: AnimationConfig,\n) {\n if (callback && config.onComplete) {\n return (...args) => {\n config.onComplete && config.onComplete(...args);\n callback && callback(...args);\n };\n } else {\n return callback || config.onComplete;\n }\n};\n\nconst maybeVectorAnim = function(\n value: AnimatedValue | AnimatedValueXY,\n config: Object,\n anim: (value: AnimatedValue, config: Object) => CompositeAnimation,\n): ?CompositeAnimation {\n if (value instanceof AnimatedValueXY) {\n const configX = {...config};\n const configY = {...config};\n for (const key in config) {\n const {x, y} = config[key];\n if (x !== undefined && y !== undefined) {\n configX[key] = x;\n configY[key] = y;\n }\n }\n const aX = anim((value: AnimatedValueXY).x, configX);\n const aY = anim((value: AnimatedValueXY).y, configY);\n // We use `stopTogether: false` here because otherwise tracking will break\n // because the second animation will get stopped before it can update.\n return parallel([aX, aY], {stopTogether: false});\n }\n return null;\n};\n\nconst spring = function(\n value: AnimatedValue | AnimatedValueXY,\n config: SpringAnimationConfig,\n): CompositeAnimation {\n const start = function(\n animatedValue: AnimatedValue | AnimatedValueXY,\n configuration: SpringAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(\n new AnimatedTracking(\n singleValue,\n configuration.toValue,\n SpringAnimation,\n singleConfig,\n callback,\n ),\n );\n } else {\n singleValue.animate(new SpringAnimation(singleConfig), callback);\n }\n };\n return (\n maybeVectorAnim(value, config, spring) || {\n start: function(callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function(): void {\n value.stopAnimation();\n },\n\n reset: function(): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function(iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function(): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst timing = function(\n value: AnimatedValue | AnimatedValueXY,\n config: TimingAnimationConfig,\n): CompositeAnimation {\n const start = function(\n animatedValue: AnimatedValue | AnimatedValueXY,\n configuration: TimingAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(\n new AnimatedTracking(\n singleValue,\n configuration.toValue,\n TimingAnimation,\n singleConfig,\n callback,\n ),\n );\n } else {\n singleValue.animate(new TimingAnimation(singleConfig), callback);\n }\n };\n\n return (\n maybeVectorAnim(value, config, timing) || {\n start: function(callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function(): void {\n value.stopAnimation();\n },\n\n reset: function(): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function(iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function(): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst decay = function(\n value: AnimatedValue | AnimatedValueXY,\n config: DecayAnimationConfig,\n): CompositeAnimation {\n const start = function(\n animatedValue: AnimatedValue | AnimatedValueXY,\n configuration: DecayAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n singleValue.animate(new DecayAnimation(singleConfig), callback);\n };\n\n return (\n maybeVectorAnim(value, config, decay) || {\n start: function(callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function(): void {\n value.stopAnimation();\n },\n\n reset: function(): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function(iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function(): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst sequence = function(\n animations: Array,\n): CompositeAnimation {\n let current = 0;\n return {\n start: function(callback?: ?EndCallback) {\n const onComplete = function(result) {\n if (!result.finished) {\n callback && callback(result);\n return;\n }\n\n current++;\n\n if (current === animations.length) {\n callback && callback(result);\n return;\n }\n\n animations[current].start(onComplete);\n };\n\n if (animations.length === 0) {\n callback && callback({finished: true});\n } else {\n animations[current].start(onComplete);\n }\n },\n\n stop: function() {\n if (current < animations.length) {\n animations[current].stop();\n }\n },\n\n reset: function() {\n animations.forEach((animation, idx) => {\n if (idx <= current) {\n animation.reset();\n }\n });\n current = 0;\n },\n\n _startNativeLoop: function() {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.sequence animations',\n );\n },\n\n _isUsingNativeDriver: function(): boolean {\n return false;\n },\n };\n};\n\ntype ParallelConfig = {\n stopTogether?: boolean, // If one is stopped, stop all. default: true\n};\nconst parallel = function(\n animations: Array,\n config?: ?ParallelConfig,\n): CompositeAnimation {\n let doneCount = 0;\n // Make sure we only call stop() at most once for each animation\n const hasEnded = {};\n const stopTogether = !(config && config.stopTogether === false);\n\n const result = {\n start: function(callback?: ?EndCallback) {\n if (doneCount === animations.length) {\n callback && callback({finished: true});\n return;\n }\n\n animations.forEach((animation, idx) => {\n const cb = function(endResult) {\n hasEnded[idx] = true;\n doneCount++;\n if (doneCount === animations.length) {\n doneCount = 0;\n callback && callback(endResult);\n return;\n }\n\n if (!endResult.finished && stopTogether) {\n result.stop();\n }\n };\n\n if (!animation) {\n cb({finished: true});\n } else {\n animation.start(cb);\n }\n });\n },\n\n stop: function(): void {\n animations.forEach((animation, idx) => {\n !hasEnded[idx] && animation.stop();\n hasEnded[idx] = true;\n });\n },\n\n reset: function(): void {\n animations.forEach((animation, idx) => {\n animation.reset();\n hasEnded[idx] = false;\n doneCount = 0;\n });\n },\n\n _startNativeLoop: function() {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.parallel animations',\n );\n },\n\n _isUsingNativeDriver: function(): boolean {\n return false;\n },\n };\n\n return result;\n};\n\nconst delay = function(time: number): CompositeAnimation {\n // Would be nice to make a specialized implementation\n return timing(new AnimatedValue(0), {\n toValue: 0,\n delay: time,\n duration: 0,\n useNativeDriver: false,\n });\n};\n\nconst stagger = function(\n time: number,\n animations: Array,\n): CompositeAnimation {\n return parallel(\n animations.map((animation, i) => {\n return sequence([delay(time * i), animation]);\n }),\n );\n};\n\ntype LoopAnimationConfig = {\n iterations: number,\n resetBeforeIteration?: boolean,\n};\n\nconst loop = function(\n animation: CompositeAnimation,\n {iterations = -1, resetBeforeIteration = true}: LoopAnimationConfig = {},\n): CompositeAnimation {\n let isFinished = false;\n let iterationsSoFar = 0;\n return {\n start: function(callback?: ?EndCallback) {\n const restart = function(result: EndResult = {finished: true}): void {\n if (\n isFinished ||\n iterationsSoFar === iterations ||\n result.finished === false\n ) {\n callback && callback(result);\n } else {\n iterationsSoFar++;\n resetBeforeIteration && animation.reset();\n animation.start(restart);\n }\n };\n if (!animation || iterations === 0) {\n callback && callback({finished: true});\n } else {\n if (animation._isUsingNativeDriver()) {\n animation._startNativeLoop(iterations);\n } else {\n restart(); // Start looping recursively on the js thread\n }\n }\n },\n\n stop: function(): void {\n isFinished = true;\n animation.stop();\n },\n\n reset: function(): void {\n iterationsSoFar = 0;\n isFinished = false;\n animation.reset();\n },\n\n _startNativeLoop: function() {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.loop animations',\n );\n },\n\n _isUsingNativeDriver: function(): boolean {\n return animation._isUsingNativeDriver();\n },\n };\n};\n\nfunction forkEvent(\n event: ?AnimatedEvent | ?Function,\n listener: Function,\n): AnimatedEvent | Function {\n if (!event) {\n return listener;\n } else if (event instanceof AnimatedEvent) {\n event.__addListener(listener);\n return event;\n } else {\n return (...args) => {\n typeof event === 'function' && event(...args);\n listener(...args);\n };\n }\n}\n\nfunction unforkEvent(\n event: ?AnimatedEvent | ?Function,\n listener: Function,\n): void {\n if (event && event instanceof AnimatedEvent) {\n event.__removeListener(listener);\n }\n}\n\nconst event = function(argMapping: Array, config?: EventConfig): any {\n const animatedEvent = new AnimatedEvent(argMapping, config);\n if (animatedEvent.__isNative) {\n return animatedEvent;\n } else {\n return animatedEvent.__getHandler();\n }\n};\n\n/**\n * The `Animated` library is designed to make animations fluid, powerful, and\n * easy to build and maintain. `Animated` focuses on declarative relationships\n * between inputs and outputs, with configurable transforms in between, and\n * simple `start`/`stop` methods to control time-based animation execution.\n * If additional transforms are added, be sure to include them in\n * AnimatedMock.js as well.\n *\n * See http://facebook.github.io/react-native/docs/animated.html\n */\nmodule.exports = {\n /**\n * Standard value class for driving animations. Typically initialized with\n * `new Animated.Value(0);`\n *\n * See http://facebook.github.io/react-native/docs/animated.html#value\n */\n Value: AnimatedValue,\n /**\n * 2D value class for driving 2D animations, such as pan gestures.\n *\n * See https://facebook.github.io/react-native/docs/animatedvaluexy.html\n */\n ValueXY: AnimatedValueXY,\n /**\n * Exported to use the Interpolation type in flow.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#interpolation\n */\n Interpolation: AnimatedInterpolation,\n /**\n * Exported for ease of type checking. All animated values derive from this\n * class.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#node\n */\n Node: AnimatedNode,\n\n /**\n * Animates a value from an initial velocity to zero based on a decay\n * coefficient.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#decay\n */\n decay,\n /**\n * Animates a value along a timed easing curve. The Easing module has tons of\n * predefined curves, or you can use your own function.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#timing\n */\n timing,\n /**\n * Animates a value according to an analytical spring model based on\n * damped harmonic oscillation.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#spring\n */\n spring,\n\n /**\n * Creates a new Animated value composed from two Animated values added\n * together.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#add\n */\n add,\n\n /**\n * Creates a new Animated value composed by subtracting the second Animated\n * value from the first Animated value.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#subtract\n */\n subtract,\n\n /**\n * Creates a new Animated value composed by dividing the first Animated value\n * by the second Animated value.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#divide\n */\n divide,\n\n /**\n * Creates a new Animated value composed from two Animated values multiplied\n * together.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#multiply\n */\n multiply,\n\n /**\n * Creates a new Animated value that is the (non-negative) modulo of the\n * provided Animated value.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#modulo\n */\n modulo,\n\n /**\n * Create a new Animated value that is limited between 2 values. It uses the\n * difference between the last value so even if the value is far from the\n * bounds it will start changing when the value starts getting closer again.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#diffclamp\n */\n diffClamp,\n\n /**\n * Starts an animation after the given delay.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#delay\n */\n delay,\n /**\n * Starts an array of animations in order, waiting for each to complete\n * before starting the next. If the current running animation is stopped, no\n * following animations will be started.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#sequence\n */\n sequence,\n /**\n * Starts an array of animations all at the same time. By default, if one\n * of the animations is stopped, they will all be stopped. You can override\n * this with the `stopTogether` flag.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#parallel\n */\n parallel,\n /**\n * Array of animations may run in parallel (overlap), but are started in\n * sequence with successive delays. Nice for doing trailing effects.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#stagger\n */\n stagger,\n /**\n * Loops a given animation continuously, so that each time it reaches the\n * end, it resets and begins again from the start.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#loop\n */\n loop,\n\n /**\n * Takes an array of mappings and extracts values from each arg accordingly,\n * then calls `setValue` on the mapped outputs.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#event\n */\n event,\n\n /**\n * Make any React component Animatable. Used to create `Animated.View`, etc.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#createanimatedcomponent\n */\n createAnimatedComponent,\n\n /**\n * Imperative API to attach an animated value to an event on a view. Prefer\n * using `Animated.event` with `useNativeDrive: true` if possible.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#attachnativeevent\n */\n attachNativeEvent,\n\n /**\n * Advanced imperative API for snooping on animated events that are passed in\n * through props. Use values directly where possible.\n *\n * See http://facebook.github.io/react-native/docs/animated.html#forkevent\n */\n forkEvent,\n unforkEvent,\n\n /**\n * Expose Event class, so it can be used as a type for type checkers.\n */\n Event: AnimatedEvent,\n\n __PropsOnlyForTests: AnimatedProps,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedAddition extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return this._a.__getValue() + this._b.__getValue();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'addition',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedAddition;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedDiffClamp extends AnimatedWithChildren {\n _a: AnimatedNode;\n _min: number;\n _max: number;\n _value: number;\n _lastValue: number;\n\n constructor(a: AnimatedNode, min: number, max: number) {\n super();\n\n this._a = a;\n this._min = min;\n this._max = max;\n this._value = this._lastValue = this._a.__getValue();\n }\n\n __makeNative() {\n this._a.__makeNative();\n super.__makeNative();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __getValue(): number {\n const value = this._a.__getValue();\n const diff = value - this._lastValue;\n this._lastValue = value;\n this._value = Math.min(Math.max(this._value + diff, this._min), this._max);\n return this._value;\n }\n\n __attach(): void {\n this._a.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'diffclamp',\n input: this._a.__getNativeTag(),\n min: this._min,\n max: this._max,\n };\n }\n}\n\nmodule.exports = AnimatedDiffClamp;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedDivision extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n const a = this._a.__getValue();\n const b = this._b.__getValue();\n if (b === 0) {\n console.error('Detected division by zero in AnimatedDivision');\n }\n return a / b;\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'division',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedDivision;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedModulo extends AnimatedWithChildren {\n _a: AnimatedNode;\n _modulus: number;\n\n constructor(a: AnimatedNode, modulus: number) {\n super();\n this._a = a;\n this._modulus = modulus;\n }\n\n __makeNative() {\n this._a.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return (\n ((this._a.__getValue() % this._modulus) + this._modulus) % this._modulus\n );\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus,\n };\n }\n}\n\nmodule.exports = AnimatedModulo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedMultiplication extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return this._a.__getValue() * this._b.__getValue();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'multiplication',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedMultiplication;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst {AnimatedEvent} = require('../AnimatedEvent');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedStyle = require('./AnimatedStyle');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\nconst ReactNative = require('../../../Renderer/shims/ReactNative');\n\nconst invariant = require('invariant');\n\nclass AnimatedProps extends AnimatedNode {\n _props: Object;\n _animatedView: any;\n _callback: () => void;\n\n constructor(props: Object, callback: () => void) {\n super();\n if (props.style) {\n props = {\n ...props,\n style: new AnimatedStyle(props.style),\n };\n }\n this._props = props;\n this._callback = callback;\n this.__attach();\n }\n\n __getValue(): Object {\n const props = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n if (!value.__isNative || value instanceof AnimatedStyle) {\n // We cannot use value of natively driven nodes this way as the value we have access from\n // JS may not be up to date.\n props[key] = value.__getValue();\n }\n } else if (value instanceof AnimatedEvent) {\n props[key] = value.__getHandler();\n } else {\n props[key] = value;\n }\n }\n return props;\n }\n\n __getAnimatedValue(): Object {\n const props = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n props[key] = value.__getAnimatedValue();\n }\n }\n return props;\n }\n\n __attach(): void {\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n }\n\n __detach(): void {\n if (this.__isNative && this._animatedView) {\n this.__disconnectAnimatedView();\n }\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n super.__detach();\n }\n\n update(): void {\n this._callback();\n }\n\n __makeNative(): void {\n if (!this.__isNative) {\n this.__isNative = true;\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n if (this._animatedView) {\n this.__connectAnimatedView();\n }\n }\n }\n\n setNativeView(animatedView: any): void {\n if (this._animatedView === animatedView) {\n return;\n }\n this._animatedView = animatedView;\n if (this.__isNative) {\n this.__connectAnimatedView();\n }\n }\n\n __connectAnimatedView(): void {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n const nativeViewTag: ?number = ReactNative.findNodeHandle(\n this._animatedView,\n );\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree',\n );\n NativeAnimatedHelper.API.connectAnimatedNodeToView(\n this.__getNativeTag(),\n nativeViewTag,\n );\n }\n\n __disconnectAnimatedView(): void {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n const nativeViewTag: ?number = ReactNative.findNodeHandle(\n this._animatedView,\n );\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree',\n );\n NativeAnimatedHelper.API.disconnectAnimatedNodeFromView(\n this.__getNativeTag(),\n nativeViewTag,\n );\n }\n\n __getNativeConfig(): Object {\n const propsConfig = {};\n for (const propKey in this._props) {\n const value = this._props[propKey];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n propsConfig[propKey] = value.__getNativeTag();\n }\n }\n return {\n type: 'props',\n props: propsConfig,\n };\n }\n}\n\nmodule.exports = AnimatedProps;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedTransform = require('./AnimatedTransform');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nconst flattenStyle = require('../../../StyleSheet/flattenStyle');\n\nclass AnimatedStyle extends AnimatedWithChildren {\n _style: Object;\n\n constructor(style: any) {\n super();\n style = flattenStyle(style) || {};\n if (style.transform) {\n style = {\n ...style,\n transform: new AnimatedTransform(style.transform),\n };\n }\n this._style = style;\n }\n\n // Recursively get values for nested styles (like iOS's shadowOffset)\n _walkStyleAndGetValues(style) {\n const updatedStyle = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n if (!value.__isNative) {\n // We cannot use value of natively driven nodes this way as the value we have access from\n // JS may not be up to date.\n updatedStyle[key] = value.__getValue();\n }\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetValues(value);\n } else {\n updatedStyle[key] = value;\n }\n }\n return updatedStyle;\n }\n\n __getValue(): Object {\n return this._walkStyleAndGetValues(this._style);\n }\n\n // Recursively get animated values for nested styles (like iOS's shadowOffset)\n _walkStyleAndGetAnimatedValues(style) {\n const updatedStyle = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n updatedStyle[key] = value.__getAnimatedValue();\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetAnimatedValues(value);\n }\n }\n return updatedStyle;\n }\n\n __getAnimatedValue(): Object {\n return this._walkStyleAndGetAnimatedValues(this._style);\n }\n\n __attach(): void {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n }\n\n __detach(): void {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n super.__detach();\n }\n\n __makeNative() {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n super.__makeNative();\n }\n\n __getNativeConfig(): Object {\n const styleConfig = {};\n for (const styleKey in this._style) {\n if (this._style[styleKey] instanceof AnimatedNode) {\n const style = this._style[styleKey];\n style.__makeNative();\n styleConfig[styleKey] = style.__getNativeTag();\n }\n // Non-animated styles are set using `setNativeProps`, no need\n // to pass those as a part of the node config\n }\n NativeAnimatedHelper.validateStyles(styleConfig);\n return {\n type: 'style',\n style: styleConfig,\n };\n }\n}\n\nmodule.exports = AnimatedStyle;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nclass AnimatedTransform extends AnimatedWithChildren {\n _transforms: $ReadOnlyArray;\n\n constructor(transforms: $ReadOnlyArray) {\n super();\n this._transforms = transforms;\n }\n\n __makeNative() {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n });\n super.__makeNative();\n }\n\n __getValue(): $ReadOnlyArray {\n return this._transforms.map(transform => {\n const result = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = value.__getValue();\n } else {\n result[key] = value;\n }\n }\n return result;\n });\n }\n\n __getAnimatedValue(): $ReadOnlyArray {\n return this._transforms.map(transform => {\n const result = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = value.__getAnimatedValue();\n } else {\n // All transform components needed to recompose matrix\n result[key] = value;\n }\n }\n return result;\n });\n }\n\n __attach(): void {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n });\n }\n\n __detach(): void {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n });\n super.__detach();\n }\n\n __getNativeConfig(): any {\n const transConfigs = [];\n\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n transConfigs.push({\n type: 'animated',\n property: key,\n nodeTag: value.__getNativeTag(),\n });\n } else {\n transConfigs.push({\n type: 'static',\n property: key,\n value: NativeAnimatedHelper.transformDataType(value),\n });\n }\n }\n });\n\n NativeAnimatedHelper.validateTransform(transConfigs);\n return {\n type: 'transform',\n transforms: transConfigs,\n };\n }\n}\n\nmodule.exports = AnimatedTransform;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedSubtraction extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return this._a.__getValue() - this._b.__getValue();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'subtraction',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedSubtraction;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedNode = require('./AnimatedNode');\nconst {\n generateNewAnimationId,\n shouldUseNativeDriver,\n} = require('../NativeAnimatedHelper');\n\nimport type {EndCallback} from '../animations/Animation';\n\nclass AnimatedTracking extends AnimatedNode {\n _value: AnimatedValue;\n _parent: AnimatedNode;\n _callback: ?EndCallback;\n _animationConfig: Object;\n _animationClass: any;\n _useNativeDriver: boolean;\n\n constructor(\n value: AnimatedValue,\n parent: AnimatedNode,\n animationClass: any,\n animationConfig: Object,\n callback?: ?EndCallback,\n ) {\n super();\n this._value = value;\n this._parent = parent;\n this._animationClass = animationClass;\n this._animationConfig = animationConfig;\n this._useNativeDriver = shouldUseNativeDriver(animationConfig);\n this._callback = callback;\n this.__attach();\n }\n\n __makeNative() {\n this.__isNative = true;\n this._parent.__makeNative();\n super.__makeNative();\n this._value.__makeNative();\n }\n\n __getValue(): Object {\n return this._parent.__getValue();\n }\n\n __attach(): void {\n this._parent.__addChild(this);\n if (this._useNativeDriver) {\n // when the tracking starts we need to convert this node to a \"native node\"\n // so that the parent node will be made \"native\" too. This is necessary as\n // if we don't do this `update` method will get called. At that point it\n // may be too late as it would mean the JS driver has already started\n // updating node values\n this.__makeNative();\n }\n }\n\n __detach(): void {\n this._parent.__removeChild(this);\n super.__detach();\n }\n\n update(): void {\n this._value.animate(\n new this._animationClass({\n ...this._animationConfig,\n toValue: (this._animationConfig.toValue: any).__getValue(),\n }),\n this._callback,\n );\n }\n\n __getNativeConfig(): any {\n const animation = new this._animationClass({\n ...this._animationConfig,\n // remove toValue from the config as it's a ref to Animated.Value\n toValue: undefined,\n });\n const animationConfig = animation.__getNativeAnimationConfig();\n return {\n type: 'tracking',\n animationId: generateNewAnimationId(),\n animationConfig,\n toValue: this._parent.__getNativeTag(),\n value: this._value.__getNativeTag(),\n };\n }\n}\n\nmodule.exports = AnimatedTracking;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nconst invariant = require('invariant');\n\ntype ValueXYListenerCallback = (value: {x: number, y: number}) => mixed;\n\nlet _uniqueId = 1;\n\n/**\n * 2D Value for driving 2D animations, such as pan gestures. Almost identical\n * API to normal `Animated.Value`, but multiplexed.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html\n */\nclass AnimatedValueXY extends AnimatedWithChildren {\n x: AnimatedValue;\n y: AnimatedValue;\n _listeners: {[key: string]: {x: string, y: string}};\n\n constructor(\n valueIn?: ?{+x: number | AnimatedValue, +y: number | AnimatedValue},\n ) {\n super();\n const value: any = valueIn || {x: 0, y: 0}; // @flowfixme: shouldn't need `: any`\n if (typeof value.x === 'number' && typeof value.y === 'number') {\n this.x = new AnimatedValue(value.x);\n this.y = new AnimatedValue(value.y);\n } else {\n invariant(\n value.x instanceof AnimatedValue && value.y instanceof AnimatedValue,\n 'AnimatedValueXY must be initialized with an object of numbers or ' +\n 'AnimatedValues.',\n );\n this.x = value.x;\n this.y = value.y;\n }\n this._listeners = {};\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#setvalue\n */\n setValue(value: {x: number, y: number}) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether\n * via `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#setoffset\n */\n setOffset(offset: {x: number, y: number}) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#flattenoffset\n */\n flattenOffset(): void {\n this.x.flattenOffset();\n this.y.flattenOffset();\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to\n * zero. The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#extractoffset\n */\n extractOffset(): void {\n this.x.extractOffset();\n this.y.extractOffset();\n }\n\n __getValue(): {x: number, y: number} {\n return {\n x: this.x.__getValue(),\n y: this.y.__getValue(),\n };\n }\n\n /**\n * Stops any animation and resets the value to its original.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#resetanimation\n */\n resetAnimation(callback?: (value: {x: number, y: number}) => void): void {\n this.x.resetAnimation();\n this.y.resetAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#stopanimation\n */\n stopAnimation(callback?: (value: {x: number, y: number}) => void): void {\n this.x.stopAnimation();\n this.y.stopAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to synchronously read\n * the value because it might be driven natively.\n *\n * Returns a string that serves as an identifier for the listener.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#addlistener\n */\n addListener(callback: ValueXYListenerCallback): string {\n const id = String(_uniqueId++);\n const jointCallback = ({value: number}) => {\n callback(this.__getValue());\n };\n this._listeners[id] = {\n x: this.x.addListener(jointCallback),\n y: this.y.addListener(jointCallback),\n };\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#removelistener\n */\n removeListener(id: string): void {\n this.x.removeListener(this._listeners[id].x);\n this.y.removeListener(this._listeners[id].y);\n delete this._listeners[id];\n }\n\n /**\n * Remove all registered listeners.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#removealllisteners\n */\n removeAllListeners(): void {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n this._listeners = {};\n }\n\n /**\n * Converts `{x, y}` into `{left, top}` for use in style.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#getlayout\n */\n getLayout(): {[key: string]: AnimatedValue} {\n return {\n left: this.x,\n top: this.y,\n };\n }\n\n /**\n * Converts `{x, y}` into a useable translation transform.\n *\n * See http://facebook.github.io/react-native/docs/animatedvaluexy.html#gettranslatetransform\n */\n getTranslateTransform(): Array<{[key: string]: AnimatedValue}> {\n return [{translateX: this.x}, {translateY: this.y}];\n }\n}\n\nmodule.exports = AnimatedValueXY;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst Animation = require('./Animation');\n\nconst {shouldUseNativeDriver} = require('../NativeAnimatedHelper');\n\nimport type AnimatedValue from '../nodes/AnimatedValue';\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nexport type DecayAnimationConfig = AnimationConfig & {\n velocity: number | {x: number, y: number},\n deceleration?: number,\n};\n\nexport type DecayAnimationConfigSingle = AnimationConfig & {\n velocity: number,\n deceleration?: number,\n};\n\nclass DecayAnimation extends Animation {\n _startTime: number;\n _lastValue: number;\n _fromValue: number;\n _deceleration: number;\n _velocity: number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _useNativeDriver: boolean;\n\n constructor(config: DecayAnimationConfigSingle) {\n super();\n this._deceleration = config.deceleration ?? 0.998;\n this._velocity = config.velocity;\n this._useNativeDriver = shouldUseNativeDriver(config);\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n this.__iterations = config.iterations ?? 1;\n }\n\n __getNativeAnimationConfig(): $TEMPORARY$object<{|\n deceleration: number,\n iterations: number,\n type: $TEMPORARY$string<'decay'>,\n velocity: number,\n |}> {\n return {\n type: 'decay',\n deceleration: this._deceleration,\n velocity: this._velocity,\n iterations: this.__iterations,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._lastValue = fromValue;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._startTime = Date.now();\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n onUpdate(): void {\n const now = Date.now();\n\n const value =\n this._fromValue +\n (this._velocity / (1 - this._deceleration)) *\n (1 - Math.exp(-(1 - this._deceleration) * (now - this._startTime)));\n\n this._onUpdate(value);\n\n if (Math.abs(this._lastValue - value) < 0.1) {\n this.__debouncedOnEnd({finished: true});\n return;\n }\n\n this._lastValue = value;\n if (this.__active) {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n\nmodule.exports = DecayAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nimport type AnimatedValue from '../nodes/AnimatedValue';\n\nexport type EndResult = {finished: boolean};\nexport type EndCallback = (result: EndResult) => void;\n\nexport type AnimationConfig = {\n isInteraction?: boolean,\n useNativeDriver: boolean,\n onComplete?: ?EndCallback,\n iterations?: number,\n};\n\n// Important note: start() and stop() will only be called at most once.\n// Once an animation has been stopped or finished its course, it will\n// not be reused.\nclass Animation {\n __active: boolean;\n __isInteraction: boolean;\n __nativeId: number;\n __onEnd: ?EndCallback;\n __iterations: number;\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {}\n stop(): void {\n if (this.__nativeId) {\n NativeAnimatedHelper.API.stopAnimation(this.__nativeId);\n }\n }\n __getNativeAnimationConfig(): any {\n // Subclasses that have corresponding animation implementation done in native\n // should override this method\n throw new Error('This animation type cannot be offloaded to native');\n }\n // Helper function for subclasses to make sure onEnd is only called once.\n __debouncedOnEnd(result: EndResult): void {\n const onEnd = this.__onEnd;\n this.__onEnd = null;\n onEnd && onEnd(result);\n }\n __startNativeAnimation(animatedValue: AnimatedValue): void {\n NativeAnimatedHelper.API.enableQueue();\n animatedValue.__makeNative();\n NativeAnimatedHelper.API.disableQueue();\n this.__nativeId = NativeAnimatedHelper.generateNewAnimationId();\n NativeAnimatedHelper.API.startAnimatingNode(\n this.__nativeId,\n animatedValue.__getNativeTag(),\n this.__getNativeAnimationConfig(),\n this.__debouncedOnEnd.bind(this),\n );\n }\n}\n\nmodule.exports = Animation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedValue = require('../nodes/AnimatedValue');\nconst AnimatedValueXY = require('../nodes/AnimatedValueXY');\nconst Animation = require('./Animation');\nconst SpringConfig = require('../SpringConfig');\n\nconst invariant = require('invariant');\n\nconst {shouldUseNativeDriver} = require('../NativeAnimatedHelper');\n\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nexport type SpringAnimationConfig = AnimationConfig & {\n toValue: number | AnimatedValue | {x: number, y: number} | AnimatedValueXY,\n overshootClamping?: boolean,\n restDisplacementThreshold?: number,\n restSpeedThreshold?: number,\n velocity?: number | {x: number, y: number},\n bounciness?: number,\n speed?: number,\n tension?: number,\n friction?: number,\n stiffness?: number,\n damping?: number,\n mass?: number,\n delay?: number,\n};\n\nexport type SpringAnimationConfigSingle = AnimationConfig & {\n toValue: number | AnimatedValue,\n overshootClamping?: boolean,\n restDisplacementThreshold?: number,\n restSpeedThreshold?: number,\n velocity?: number,\n bounciness?: number,\n speed?: number,\n tension?: number,\n friction?: number,\n stiffness?: number,\n damping?: number,\n mass?: number,\n delay?: number,\n};\n\nclass SpringAnimation extends Animation {\n _overshootClamping: boolean;\n _restDisplacementThreshold: number;\n _restSpeedThreshold: number;\n _lastVelocity: number;\n _startPosition: number;\n _lastPosition: number;\n _fromValue: number;\n _toValue: any;\n _stiffness: number;\n _damping: number;\n _mass: number;\n _initialVelocity: number;\n _delay: number;\n _timeout: any;\n _startTime: number;\n _lastTime: number;\n _frameTime: number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _useNativeDriver: boolean;\n\n constructor(config: SpringAnimationConfigSingle) {\n super();\n\n this._overshootClamping = config.overshootClamping ?? false;\n this._restDisplacementThreshold = config.restDisplacementThreshold ?? 0.001;\n this._restSpeedThreshold = config.restSpeedThreshold ?? 0.001;\n this._initialVelocity = config.velocity ?? 0;\n this._lastVelocity = config.velocity ?? 0;\n this._toValue = config.toValue;\n this._delay = config.delay ?? 0;\n this._useNativeDriver = shouldUseNativeDriver(config);\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n this.__iterations = config.iterations ?? 1;\n\n if (\n config.stiffness !== undefined ||\n config.damping !== undefined ||\n config.mass !== undefined\n ) {\n invariant(\n config.bounciness === undefined &&\n config.speed === undefined &&\n config.tension === undefined &&\n config.friction === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one',\n );\n this._stiffness = config.stiffness ?? 100;\n this._damping = config.damping ?? 10;\n this._mass = config.mass ?? 1;\n } else if (config.bounciness !== undefined || config.speed !== undefined) {\n // Convert the origami bounciness/speed values to stiffness/damping\n // We assume mass is 1.\n invariant(\n config.tension === undefined &&\n config.friction === undefined &&\n config.stiffness === undefined &&\n config.damping === undefined &&\n config.mass === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one',\n );\n const springConfig = SpringConfig.fromBouncinessAndSpeed(\n config.bounciness ?? 8,\n config.speed ?? 12,\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n } else {\n // Convert the origami tension/friction values to stiffness/damping\n // We assume mass is 1.\n const springConfig = SpringConfig.fromOrigamiTensionAndFriction(\n config.tension ?? 40,\n config.friction ?? 7,\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n }\n\n invariant(this._stiffness > 0, 'Stiffness value must be greater than 0');\n invariant(this._damping > 0, 'Damping value must be greater than 0');\n invariant(this._mass > 0, 'Mass value must be greater than 0');\n }\n\n __getNativeAnimationConfig(): $TEMPORARY$object<{|\n damping: number,\n initialVelocity: number,\n iterations: number,\n mass: number,\n overshootClamping: boolean,\n restDisplacementThreshold: number,\n restSpeedThreshold: number,\n stiffness: number,\n toValue: any,\n type: $TEMPORARY$string<'spring'>,\n |}> {\n return {\n type: 'spring',\n overshootClamping: this._overshootClamping,\n restDisplacementThreshold: this._restDisplacementThreshold,\n restSpeedThreshold: this._restSpeedThreshold,\n stiffness: this._stiffness,\n damping: this._damping,\n mass: this._mass,\n initialVelocity: this._initialVelocity ?? this._lastVelocity,\n toValue: this._toValue,\n iterations: this.__iterations,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._startPosition = fromValue;\n this._lastPosition = this._startPosition;\n\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._lastTime = Date.now();\n this._frameTime = 0.0;\n\n if (previousAnimation instanceof SpringAnimation) {\n const internalState = previousAnimation.getInternalState();\n this._lastPosition = internalState.lastPosition;\n this._lastVelocity = internalState.lastVelocity;\n // Set the initial velocity to the last velocity\n this._initialVelocity = this._lastVelocity;\n this._lastTime = internalState.lastTime;\n }\n\n const start = () => {\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this.onUpdate();\n }\n };\n\n // If this._delay is more than 0, we start after the timeout.\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n }\n\n getInternalState(): Object {\n return {\n lastPosition: this._lastPosition,\n lastVelocity: this._lastVelocity,\n lastTime: this._lastTime,\n };\n }\n\n /**\n * This spring model is based off of a damped harmonic oscillator\n * (https://en.wikipedia.org/wiki/Harmonic_oscillator#Damped_harmonic_oscillator).\n *\n * We use the closed form of the second order differential equation:\n *\n * x'' + (2ζ⍵_0)x' + ⍵^2x = 0\n *\n * where\n * ⍵_0 = √(k / m) (undamped angular frequency of the oscillator),\n * ζ = c / 2√mk (damping ratio),\n * c = damping constant\n * k = stiffness\n * m = mass\n *\n * The derivation of the closed form is described in detail here:\n * http://planetmath.org/sites/default/files/texpdf/39745.pdf\n *\n * This algorithm happens to match the algorithm used by CASpringAnimation,\n * a QuartzCore (iOS) API that creates spring animations.\n */\n onUpdate(): void {\n // If for some reason we lost a lot of frames (e.g. process large payload or\n // stopped in the debugger), we only advance by 4 frames worth of\n // computation and will continue on the next frame. It's better to have it\n // running at faster speed than jumping to the end.\n const MAX_STEPS = 64;\n let now = Date.now();\n if (now > this._lastTime + MAX_STEPS) {\n now = this._lastTime + MAX_STEPS;\n }\n\n const deltaTime = (now - this._lastTime) / 1000;\n this._frameTime += deltaTime;\n\n const c: number = this._damping;\n const m: number = this._mass;\n const k: number = this._stiffness;\n const v0: number = -this._initialVelocity;\n\n const zeta = c / (2 * Math.sqrt(k * m)); // damping ratio\n const omega0 = Math.sqrt(k / m); // undamped angular frequency of the oscillator (rad/ms)\n const omega1 = omega0 * Math.sqrt(1.0 - zeta * zeta); // exponential decay\n const x0 = this._toValue - this._startPosition; // calculate the oscillation from x0 = 1 to x = 0\n\n let position = 0.0;\n let velocity = 0.0;\n const t = this._frameTime;\n if (zeta < 1) {\n // Under damped\n const envelope = Math.exp(-zeta * omega0 * t);\n position =\n this._toValue -\n envelope *\n (((v0 + zeta * omega0 * x0) / omega1) * Math.sin(omega1 * t) +\n x0 * Math.cos(omega1 * t));\n // This looks crazy -- it's actually just the derivative of the\n // oscillation function\n velocity =\n zeta *\n omega0 *\n envelope *\n ((Math.sin(omega1 * t) * (v0 + zeta * omega0 * x0)) / omega1 +\n x0 * Math.cos(omega1 * t)) -\n envelope *\n (Math.cos(omega1 * t) * (v0 + zeta * omega0 * x0) -\n omega1 * x0 * Math.sin(omega1 * t));\n } else {\n // Critically damped\n const envelope = Math.exp(-omega0 * t);\n position = this._toValue - envelope * (x0 + (v0 + omega0 * x0) * t);\n velocity =\n envelope * (v0 * (t * omega0 - 1) + t * x0 * (omega0 * omega0));\n }\n\n this._lastTime = now;\n this._lastPosition = position;\n this._lastVelocity = velocity;\n\n this._onUpdate(position);\n if (!this.__active) {\n // a listener might have stopped us in _onUpdate\n return;\n }\n\n // Conditions for stopping the spring animation\n let isOvershooting = false;\n if (this._overshootClamping && this._stiffness !== 0) {\n if (this._startPosition < this._toValue) {\n isOvershooting = position > this._toValue;\n } else {\n isOvershooting = position < this._toValue;\n }\n }\n const isVelocity = Math.abs(velocity) <= this._restSpeedThreshold;\n let isDisplacement = true;\n if (this._stiffness !== 0) {\n isDisplacement =\n Math.abs(this._toValue - position) <= this._restDisplacementThreshold;\n }\n\n if (isOvershooting || (isVelocity && isDisplacement)) {\n if (this._stiffness !== 0) {\n // Ensure that we end up with a round value\n this._lastPosition = this._toValue;\n this._lastVelocity = 0;\n this._onUpdate(this._toValue);\n }\n\n this.__debouncedOnEnd({finished: true});\n return;\n }\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n\nmodule.exports = SpringAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype SpringConfigType = {\n stiffness: number,\n damping: number,\n};\n\nfunction stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction fromOrigamiTensionAndFriction(\n tension: number,\n friction: number,\n): SpringConfigType {\n return {\n stiffness: stiffnessFromOrigamiValue(tension),\n damping: dampingFromOrigamiValue(friction),\n };\n}\n\nfunction fromBouncinessAndSpeed(\n bounciness: number,\n speed: number,\n): SpringConfigType {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return (\n 0.00000045 * Math.pow(x, 3) -\n 0.000332 * Math.pow(x, 2) +\n 0.1078 * x +\n 5.84\n );\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n let b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n const s = normalize(speed / 1.7, 0, 20);\n const bouncyTension = projectNormal(s, 0.5, 200);\n const bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01,\n );\n\n return {\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction),\n };\n}\n\nmodule.exports = {\n fromOrigamiTensionAndFriction,\n fromBouncinessAndSpeed,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedValue = require('../nodes/AnimatedValue');\nconst AnimatedValueXY = require('../nodes/AnimatedValueXY');\nconst Animation = require('./Animation');\n\nconst {shouldUseNativeDriver} = require('../NativeAnimatedHelper');\n\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nexport type TimingAnimationConfig = AnimationConfig & {\n toValue: number | AnimatedValue | {x: number, y: number} | AnimatedValueXY,\n easing?: (value: number) => number,\n duration?: number,\n delay?: number,\n};\n\nexport type TimingAnimationConfigSingle = AnimationConfig & {\n toValue: number | AnimatedValue,\n easing?: (value: number) => number,\n duration?: number,\n delay?: number,\n};\n\nlet _easeInOut;\nfunction easeInOut() {\n if (!_easeInOut) {\n const Easing = require('../Easing');\n _easeInOut = Easing.inOut(Easing.ease);\n }\n return _easeInOut;\n}\n\nclass TimingAnimation extends Animation {\n _startTime: number;\n _fromValue: number;\n _toValue: any;\n _duration: number;\n _delay: number;\n _easing: (value: number) => number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _timeout: any;\n _useNativeDriver: boolean;\n\n constructor(config: TimingAnimationConfigSingle) {\n super();\n this._toValue = config.toValue;\n this._easing = config.easing ?? easeInOut();\n this._duration = config.duration ?? 500;\n this._delay = config.delay ?? 0;\n this.__iterations = config.iterations ?? 1;\n this._useNativeDriver = shouldUseNativeDriver(config);\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n }\n\n __getNativeAnimationConfig(): any {\n const frameDuration = 1000.0 / 60.0;\n const frames = [];\n const numFrames = Math.round(this._duration / frameDuration);\n for (let frame = 0; frame < numFrames; frame++) {\n frames.push(this._easing(frame / numFrames));\n }\n frames.push(this._easing(1));\n return {\n type: 'frames',\n frames,\n toValue: this._toValue,\n iterations: this.__iterations,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n\n const start = () => {\n // Animations that sometimes have 0 duration and sometimes do not\n // still need to use the native driver when duration is 0 so as to\n // not cause intermixed JS and native animations.\n if (this._duration === 0 && !this._useNativeDriver) {\n this._onUpdate(this._toValue);\n this.__debouncedOnEnd({finished: true});\n } else {\n this._startTime = Date.now();\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this._animationFrame = requestAnimationFrame(\n this.onUpdate.bind(this),\n );\n }\n }\n };\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n }\n\n onUpdate(): void {\n const now = Date.now();\n if (now >= this._startTime + this._duration) {\n if (this._duration === 0) {\n this._onUpdate(this._toValue);\n } else {\n this._onUpdate(\n this._fromValue + this._easing(1) * (this._toValue - this._fromValue),\n );\n }\n this.__debouncedOnEnd({finished: true});\n return;\n }\n\n this._onUpdate(\n this._fromValue +\n this._easing((now - this._startTime) / this._duration) *\n (this._toValue - this._fromValue),\n );\n if (this.__active) {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n\nmodule.exports = TimingAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nlet ease;\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\nclass Easing {\n /**\n * A stepping function, returns 1 for any positive value of `n`.\n */\n static step0(n: number): number {\n return n > 0 ? 1 : 0;\n }\n\n /**\n * A stepping function, returns 1 if `n` is greater than or equal to 1.\n */\n static step1(n: number): number {\n return n >= 1 ? 1 : 0;\n }\n\n /**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\n static linear(t: number): number {\n return t;\n }\n\n /**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\n static ease(t: number): number {\n if (!ease) {\n ease = Easing.bezier(0.42, 0, 1, 1);\n }\n return ease(t);\n }\n\n /**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\n static quad(t: number): number {\n return t * t;\n }\n\n /**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\n static cubic(t: number): number {\n return t * t * t;\n }\n\n /**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\n static poly(n: number): (t: number) => number {\n return (t: number) => Math.pow(t, n);\n }\n\n /**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\n static sin(t: number): number {\n return 1 - Math.cos((t * Math.PI) / 2);\n }\n\n /**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\n static circle(t: number): number {\n return 1 - Math.sqrt(1 - t * t);\n }\n\n /**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\n static exp(t: number): number {\n return Math.pow(2, 10 * (t - 1));\n }\n\n /**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\n static elastic(bounciness: number = 1): (t: number) => number {\n const p = bounciness * Math.PI;\n return t => 1 - Math.pow(Math.cos((t * Math.PI) / 2), 3) * Math.cos(t * p);\n }\n\n /**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\n static back(s: number = 1.70158): (t: number) => number {\n return t => t * t * ((s + 1) * t - s);\n }\n\n /**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\n static bounce(t: number): number {\n if (t < 1 / 2.75) {\n return 7.5625 * t * t;\n }\n\n if (t < 2 / 2.75) {\n const t2 = t - 1.5 / 2.75;\n return 7.5625 * t2 * t2 + 0.75;\n }\n\n if (t < 2.5 / 2.75) {\n const t2 = t - 2.25 / 2.75;\n return 7.5625 * t2 * t2 + 0.9375;\n }\n\n const t2 = t - 2.625 / 2.75;\n return 7.5625 * t2 * t2 + 0.984375;\n }\n\n /**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\n static bezier(\n x1: number,\n y1: number,\n x2: number,\n y2: number,\n ): (t: number) => number {\n const _bezier = require('./bezier');\n return _bezier(x1, y1, x2, y2);\n }\n\n /**\n * Runs an easing function forwards.\n */\n static in(easing: (t: number) => number): (t: number) => number {\n return easing;\n }\n\n /**\n * Runs an easing function backwards.\n */\n static out(easing: (t: number) => number): (t: number) => number {\n return t => 1 - easing(1 - t);\n }\n\n /**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\n static inOut(easing: (t: number) => number): (t: number) => number {\n return t => {\n if (t < 0.5) {\n return easing(t * 2) / 2;\n }\n return 1 - easing((1 - t) * 2) / 2;\n };\n }\n}\n\nmodule.exports = Easing;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * BezierEasing - use bezier curve for transition easing function\n * https://github.com/gre/bezier-easing\n *\n * @flow strict\n * @format\n * @copyright 2014-2015 Gaëtan Renaudeau. MIT License.\n */\n\n'use strict';\n\n// These values are established by empiricism with tests (tradeoff: performance VS precision)\nconst NEWTON_ITERATIONS = 4;\nconst NEWTON_MIN_SLOPE = 0.001;\nconst SUBDIVISION_PRECISION = 0.0000001;\nconst SUBDIVISION_MAX_ITERATIONS = 10;\n\nconst kSplineTableSize = 11;\nconst kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\nconst float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\nfunction B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\nfunction C(aA1) {\n return 3.0 * aA1;\n}\n\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n}\n\n// Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\nfunction getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(aX, _aA, _aB, mX1, mX2) {\n let currentX,\n currentT,\n i = 0,\n aA = _aA,\n aB = _aB;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (\n Math.abs(currentX) > SUBDIVISION_PRECISION &&\n ++i < SUBDIVISION_MAX_ITERATIONS\n );\n return currentT;\n}\n\nfunction newtonRaphsonIterate(aX, _aGuessT, mX1, mX2) {\n let aGuessT = _aGuessT;\n for (let i = 0; i < NEWTON_ITERATIONS; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\n\nmodule.exports = function bezier(\n mX1: number,\n mY1: number,\n mX2: number,\n mY2: number,\n): (x: number) => number {\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error('bezier x values must be in [0, 1] range');\n }\n\n // Precompute samples table\n const sampleValues = float32ArraySupported\n ? new Float32Array(kSplineTableSize)\n : new Array(kSplineTableSize);\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n let intervalStart = 0.0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n\n for (\n ;\n currentSample !== lastSample && sampleValues[currentSample] <= aX;\n ++currentSample\n ) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n\n // Interpolate to provide an initial guess for t\n const dist =\n (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(\n aX,\n intervalStart,\n intervalStart + kSampleStepSize,\n mX1,\n mX2,\n );\n }\n }\n\n return function BezierEasing(x: number): number {\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n }\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst {AnimatedEvent} = require('./AnimatedEvent');\nconst AnimatedProps = require('./nodes/AnimatedProps');\nconst React = require('react');\nconst DeprecatedViewStylePropTypes = require('../../DeprecatedPropTypes/DeprecatedViewStylePropTypes');\n\nconst invariant = require('invariant');\n\nfunction createAnimatedComponent(Component: any, defaultProps: any): any {\n invariant(\n typeof Component !== 'function' ||\n (Component.prototype && Component.prototype.isReactComponent),\n '`createAnimatedComponent` does not support stateless functional components; ' +\n 'use a class component instead.',\n );\n\n class AnimatedComponent extends React.Component {\n _component: any;\n _invokeAnimatedPropsCallbackOnMount: boolean = false;\n _prevComponent: any;\n _propsAnimated: AnimatedProps;\n _eventDetachers: Array = [];\n\n static __skipSetNativeProps_FOR_TESTS_ONLY = false;\n\n constructor(props: Object) {\n super(props);\n }\n\n componentWillUnmount() {\n this._propsAnimated && this._propsAnimated.__detach();\n this._detachNativeEvents();\n }\n\n setNativeProps(props) {\n this._component.setNativeProps(props);\n }\n\n UNSAFE_componentWillMount() {\n this._attachProps(this.props);\n }\n\n componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n this._animatedPropsCallback();\n }\n\n this._propsAnimated.setNativeView(this._component);\n this._attachNativeEvents();\n }\n\n _attachNativeEvents() {\n // Make sure to get the scrollable node for components that implement\n // `ScrollResponder.Mixin`.\n const scrollableNode = this._component?.getScrollableNode\n ? this._component.getScrollableNode()\n : this._component;\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent && prop.__isNative) {\n prop.__attach(scrollableNode, key);\n this._eventDetachers.push(() => prop.__detach(scrollableNode, key));\n }\n }\n }\n\n _detachNativeEvents() {\n this._eventDetachers.forEach(remove => remove());\n this._eventDetachers = [];\n }\n\n // The system is best designed when setNativeProps is implemented. It is\n // able to avoid re-rendering and directly set the attributes that changed.\n // However, setNativeProps can only be implemented on leaf native\n // components. If you want to animate a composite component, you need to\n // re-render it. In this case, we have a fallback that uses forceUpdate.\n _animatedPropsCallback = () => {\n if (this._component == null) {\n // AnimatedProps is created in will-mount because it's used in render.\n // But this callback may be invoked before mount in async mode,\n // In which case we should defer the setNativeProps() call.\n // React may throw away uncommitted work in async mode,\n // So a deferred call won't always be invoked.\n this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (\n AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY ||\n typeof this._component.setNativeProps !== 'function'\n ) {\n this.forceUpdate();\n } else if (!this._propsAnimated.__isNative) {\n this._component.setNativeProps(\n this._propsAnimated.__getAnimatedValue(),\n );\n } else {\n throw new Error(\n 'Attempting to run JS driven animation on animated ' +\n 'node that has been moved to \"native\" earlier by starting an ' +\n 'animation with `useNativeDriver: true`',\n );\n }\n };\n\n _attachProps(nextProps) {\n const oldPropsAnimated = this._propsAnimated;\n\n this._propsAnimated = new AnimatedProps(\n nextProps,\n this._animatedPropsCallback,\n );\n\n // When you call detach, it removes the element from the parent list\n // of children. If it goes to 0, then the parent also detaches itself\n // and so on.\n // An optimization is to attach the new elements and THEN detach the old\n // ones instead of detaching and THEN attaching.\n // This way the intermediate state isn't to go to 0 and trigger\n // this expensive recursive detaching to then re-attach everything on\n // the very next operation.\n oldPropsAnimated && oldPropsAnimated.__detach();\n }\n\n UNSAFE_componentWillReceiveProps(newProps) {\n this._attachProps(newProps);\n }\n\n componentDidUpdate(prevProps) {\n if (this._component !== this._prevComponent) {\n this._propsAnimated.setNativeView(this._component);\n }\n if (this._component !== this._prevComponent || prevProps !== this.props) {\n this._detachNativeEvents();\n this._attachNativeEvents();\n }\n }\n\n render() {\n const props = this._propsAnimated.__getValue();\n return (\n \n );\n }\n\n _setComponentRef = c => {\n this._prevComponent = this._component;\n this._component = c;\n };\n\n // A third party library can use getNode()\n // to get the node reference of the decorated component\n getNode() {\n return this._component;\n }\n }\n\n const propTypes = Component.propTypes;\n\n AnimatedComponent.propTypes = {\n style: function(props, propName, componentName) {\n if (!propTypes) {\n return;\n }\n\n for (const key in DeprecatedViewStylePropTypes) {\n if (!propTypes[key] && props[key] !== undefined) {\n console.warn(\n 'You are setting the style `{ ' +\n key +\n ': ... }` as a prop. You ' +\n 'should nest it in a style object. ' +\n 'E.g. `{ style: { ' +\n key +\n ': ... } }`',\n );\n }\n }\n },\n };\n\n return AnimatedComponent;\n}\n\nmodule.exports = createAnimatedComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst FlatList = require('../../../Lists/FlatList');\n\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nmodule.exports = (createAnimatedComponent(FlatList, {\n scrollEventThrottle: 0.0001,\n}): $FlowFixMe);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst Platform = require('../Utilities/Platform');\nconst deepDiffer = require('../Utilities/differ/deepDiffer');\nconst React = require('react');\nconst View = require('../Components/View/View');\nconst VirtualizedList = require('./VirtualizedList');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\n\nconst invariant = require('invariant');\n\nimport type {ViewStyleProp} from '../StyleSheet/StyleSheet';\nimport type {\n ViewabilityConfig,\n ViewToken,\n ViewabilityConfigCallbackPair,\n} from './ViewabilityHelper';\nimport type {\n Props as VirtualizedListProps,\n RenderItemType,\n RenderItemProps,\n} from './VirtualizedList';\n\ntype RequiredProps = {\n /**\n * For simplicity, data is just a plain array. If you want to use something else, like an\n * immutable list, use the underlying `VirtualizedList` directly.\n */\n data: ?$ReadOnlyArray,\n};\ntype OptionalProps = {\n /**\n * Takes an item from `data` and renders it into the list. Example usage:\n *\n * (\n * \n * )}\n * data={[{title: 'Title Text', key: 'item1'}]}\n * renderItem={({item, separators}) => (\n * this._onPress(item)}\n * onShowUnderlay={separators.highlight}\n * onHideUnderlay={separators.unhighlight}>\n * \n * {item.title}\n * \n * \n * )}\n * />\n *\n * Provides additional metadata like `index` if you need it, as well as a more generic\n * `separators.updateProps` function which let's you set whatever props you want to change the\n * rendering of either the leading separator or trailing separator in case the more common\n * `highlight` and `unhighlight` (which set the `highlighted: boolean` prop) are insufficient for\n * your use-case.\n */\n renderItem?: ?RenderItemType,\n /**\n * Rendered in between each item, but not at the top or bottom. By default, `highlighted` and\n * `leadingItem` props are provided. `renderItem` provides `separators.highlight`/`unhighlight`\n * which will update the `highlighted` prop, but you can also add custom props with\n * `separators.updateProps`.\n */\n ItemSeparatorComponent?: ?React.ComponentType,\n /**\n * Takes an item from `data` and renders it into the list. Example usage:\n *\n * (\n * \n * )}\n * data={[{title: 'Title Text', key: 'item1'}]}\n * ListItemComponent={({item, separators}) => (\n * this._onPress(item)}\n * onShowUnderlay={separators.highlight}\n * onHideUnderlay={separators.unhighlight}>\n * \n * {item.title}\n * \n * \n * )}\n * />\n *\n * Provides additional metadata like `index` if you need it, as well as a more generic\n * `separators.updateProps` function which let's you set whatever props you want to change the\n * rendering of either the leading separator or trailing separator in case the more common\n * `highlight` and `unhighlight` (which set the `highlighted: boolean` prop) are insufficient for\n * your use-case.\n */\n ListItemComponent?: ?React.ComponentType,\n /**\n * Rendered when the list is empty. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListEmptyComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered at the bottom of all the items. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListFooterComponent?: ?(React.ComponentType | React.Element),\n /**\n * Styling for internal View for ListFooterComponent\n */\n ListFooterComponentStyle?: ViewStyleProp,\n /**\n * Rendered at the top of all the items. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListHeaderComponent?: ?(React.ComponentType | React.Element),\n /**\n * Styling for internal View for ListHeaderComponent\n */\n ListHeaderComponentStyle?: ViewStyleProp,\n /**\n * Optional custom style for multi-item rows generated when numColumns > 1.\n */\n columnWrapperStyle?: ViewStyleProp,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n /**\n * `getItemLayout` is an optional optimizations that let us skip measurement of dynamic content if\n * you know the height of items a priori. `getItemLayout` is the most efficient, and is easy to\n * use if you have fixed height items, for example:\n *\n * getItemLayout={(data, index) => (\n * {length: ITEM_HEIGHT, offset: ITEM_HEIGHT * index, index}\n * )}\n *\n * Adding `getItemLayout` can be a great performance boost for lists of several hundred items.\n * Remember to include separator length (height or width) in your offset calculation if you\n * specify `ItemSeparatorComponent`.\n */\n getItemLayout?: (\n data: ?Array,\n index: number,\n ) => {length: number, offset: number, index: number},\n /**\n * If true, renders items next to each other horizontally instead of stacked vertically.\n */\n horizontal?: ?boolean,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender: number,\n /**\n * Instead of starting at the top with the first item, start at `initialScrollIndex`. This\n * disables the \"scroll to top\" optimization that keeps the first `initialNumToRender` items\n * always rendered and immediately renders the items starting at this initial index. Requires\n * `getItemLayout` to be implemented.\n */\n initialScrollIndex?: ?number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n /**\n * Used to extract a unique key for a given item at the specified index. Key is used for caching\n * and as the react key to track item re-ordering. The default extractor checks `item.key`, then\n * falls back to using the index, like React does.\n */\n keyExtractor: (item: ItemT, index: number) => string,\n /**\n * Multiple columns can only be rendered with `horizontal={false}` and will zig-zag like a\n * `flexWrap` layout. Items should all be the same height - masonry layouts are not supported.\n */\n numColumns: number,\n /**\n * Called once when the scroll position gets within `onEndReachedThreshold` of the rendered\n * content.\n */\n onEndReached?: ?(info: {distanceFromEnd: number}) => void,\n /**\n * How far from the end (in units of visible length of the list) the bottom edge of the\n * list must be from the end of the content to trigger the `onEndReached` callback.\n * Thus a value of 0.5 will trigger `onEndReached` when the end of the content is\n * within half the visible length of the list.\n */\n onEndReachedThreshold?: ?number,\n /**\n * If provided, a standard RefreshControl will be added for \"Pull to Refresh\" functionality. Make\n * sure to also set the `refreshing` prop correctly.\n */\n onRefresh?: ?() => void,\n /**\n * Called when the viewability of rows changes, as defined by the `viewabilityConfig` prop.\n */\n onViewableItemsChanged?: ?(info: {\n viewableItems: Array,\n changed: Array,\n }) => void,\n /**\n * Set this when offset is needed for the loading indicator to show correctly.\n * @platform android\n */\n progressViewOffset?: number,\n /**\n * The legacy implementation is no longer supported.\n */\n legacyImplementation?: empty,\n /**\n * Set this true while waiting for new data from a refresh.\n */\n refreshing?: ?boolean,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n */\n removeClippedSubviews?: boolean,\n /**\n * See `ViewabilityHelper` for flow type and further documentation.\n */\n viewabilityConfig?: ViewabilityConfig,\n /**\n * List of ViewabilityConfig/onViewableItemsChanged pairs. A specific onViewableItemsChanged\n * will be called when its corresponding ViewabilityConfig's conditions are met.\n */\n viewabilityConfigCallbackPairs?: Array,\n};\nexport type Props = RequiredProps &\n OptionalProps &\n VirtualizedListProps;\n\nconst defaultProps = {\n ...VirtualizedList.defaultProps,\n numColumns: 1,\n /**\n * Enabling this prop on Android greatly improves scrolling performance with no known issues.\n * The alternative is that scrolling on Android is unusably bad. Enabling it on iOS has a few\n * known issues.\n */\n removeClippedSubviews: Platform.OS === 'android',\n};\nexport type DefaultProps = typeof defaultProps;\n\n/**\n * A performant interface for rendering simple, flat lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Optional horizontal mode.\n * - Configurable viewability callbacks.\n * - Header support.\n * - Footer support.\n * - Separator support.\n * - Pull to Refresh.\n * - Scroll loading.\n * - ScrollToIndex support.\n *\n * If you need section support, use [``](docs/sectionlist.html).\n *\n * Minimal Example:\n *\n * {item.key}}\n * />\n *\n * More complex, multi-select example demonstrating `PureComponent` usage for perf optimization and avoiding bugs.\n *\n * - By binding the `onPressItem` handler, the props will remain `===` and `PureComponent` will\n * prevent wasteful re-renders unless the actual `id`, `selected`, or `title` props change, even\n * if the components rendered in `MyListItem` did not have such optimizations.\n * - By passing `extraData={this.state}` to `FlatList` we make sure `FlatList` itself will re-render\n * when the `state.selected` changes. Without setting this prop, `FlatList` would not know it\n * needs to re-render any items because it is also a `PureComponent` and the prop comparison will\n * not show any changes.\n * - `keyExtractor` tells the list to use the `id`s for the react keys instead of the default `key` property.\n *\n *\n * class MyListItem extends React.PureComponent {\n * _onPress = () => {\n * this.props.onPressItem(this.props.id);\n * };\n *\n * render() {\n * const textColor = this.props.selected ? \"red\" : \"black\";\n * return (\n * \n * \n * \n * {this.props.title}\n * \n * \n * \n * );\n * }\n * }\n *\n * class MultiSelectList extends React.PureComponent {\n * state = {selected: (new Map(): Map)};\n *\n * _keyExtractor = (item, index) => item.id;\n *\n * _onPressItem = (id: string) => {\n * // updater functions are preferred for transactional updates\n * this.setState((state) => {\n * // copy the map rather than modifying state.\n * const selected = new Map(state.selected);\n * selected.set(id, !selected.get(id)); // toggle\n * return {selected};\n * });\n * };\n *\n * _renderItem = ({item}) => (\n * \n * );\n *\n * render() {\n * return (\n * \n * );\n * }\n * }\n *\n * This is a convenience wrapper around [``](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n * Also inherits [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation.\n */\nclass FlatList extends React.PureComponent, void> {\n static defaultProps: DefaultProps = defaultProps;\n props: Props;\n /**\n * Scrolls to the end of the content. May be janky without `getItemLayout` prop.\n */\n scrollToEnd(params?: ?{animated?: ?boolean}) {\n if (this._listRef) {\n this._listRef.scrollToEnd(params);\n }\n }\n\n /**\n * Scrolls to the item at the specified index such that it is positioned in the viewable area\n * such that `viewPosition` 0 places it at the top, 1 at the bottom, and 0.5 centered in the\n * middle. `viewOffset` is a fixed number of pixels to offset the final target position.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToIndex(params: {\n animated?: ?boolean,\n index: number,\n viewOffset?: number,\n viewPosition?: number,\n }) {\n if (this._listRef) {\n this._listRef.scrollToIndex(params);\n }\n }\n\n /**\n * Requires linear scan through data - use `scrollToIndex` instead if possible.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToItem(params: {\n animated?: ?boolean,\n item: ItemT,\n viewPosition?: number,\n }) {\n if (this._listRef) {\n this._listRef.scrollToItem(params);\n }\n }\n\n /**\n * Scroll to a specific content pixel offset in the list.\n *\n * Check out [scrollToOffset](docs/virtualizedlist.html#scrolltooffset) of VirtualizedList\n */\n scrollToOffset(params: {animated?: ?boolean, offset: number}) {\n if (this._listRef) {\n this._listRef.scrollToOffset(params);\n }\n }\n\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n recordInteraction() {\n if (this._listRef) {\n this._listRef.recordInteraction();\n }\n }\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators() {\n if (this._listRef) {\n this._listRef.flashScrollIndicators();\n }\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n */\n getScrollResponder(): any {\n if (this._listRef) {\n return this._listRef.getScrollResponder();\n }\n }\n\n getScrollableNode(): any {\n if (this._listRef) {\n return this._listRef.getScrollableNode();\n }\n }\n\n setNativeProps(props: {[string]: mixed}) {\n if (this._listRef) {\n this._listRef.setNativeProps(props);\n }\n }\n\n constructor(props: Props) {\n super(props);\n this._checkProps(this.props);\n if (this.props.viewabilityConfigCallbackPairs) {\n this._virtualizedListPairs = this.props.viewabilityConfigCallbackPairs.map(\n pair => ({\n viewabilityConfig: pair.viewabilityConfig,\n onViewableItemsChanged: this._createOnViewableItemsChanged(\n pair.onViewableItemsChanged,\n ),\n }),\n );\n } else if (this.props.onViewableItemsChanged) {\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n this._virtualizedListPairs.push({\n viewabilityConfig: this.props.viewabilityConfig,\n onViewableItemsChanged: this._createOnViewableItemsChanged(\n this.props.onViewableItemsChanged,\n ),\n });\n }\n }\n\n componentDidUpdate(prevProps: Props) {\n invariant(\n prevProps.numColumns === this.props.numColumns,\n 'Changing numColumns on the fly is not supported. Change the key prop on FlatList when ' +\n 'changing the number of columns to force a fresh render of the component.',\n );\n invariant(\n prevProps.onViewableItemsChanged === this.props.onViewableItemsChanged,\n 'Changing onViewableItemsChanged on the fly is not supported',\n );\n invariant(\n !deepDiffer(prevProps.viewabilityConfig, this.props.viewabilityConfig),\n 'Changing viewabilityConfig on the fly is not supported',\n );\n invariant(\n prevProps.viewabilityConfigCallbackPairs ===\n this.props.viewabilityConfigCallbackPairs,\n 'Changing viewabilityConfigCallbackPairs on the fly is not supported',\n );\n\n this._checkProps(this.props);\n }\n\n _listRef: ?React.ElementRef;\n _virtualizedListPairs: Array = [];\n\n _captureRef = ref => {\n this._listRef = ref;\n };\n\n _checkProps(props: Props) {\n const {\n getItem,\n getItemCount,\n horizontal,\n numColumns,\n columnWrapperStyle,\n onViewableItemsChanged,\n viewabilityConfigCallbackPairs,\n } = props;\n invariant(\n !getItem && !getItemCount,\n 'FlatList does not support custom data formats.',\n );\n if (numColumns > 1) {\n invariant(!horizontal, 'numColumns does not support horizontal.');\n } else {\n invariant(\n !columnWrapperStyle,\n 'columnWrapperStyle not supported for single column lists',\n );\n }\n invariant(\n !(onViewableItemsChanged && viewabilityConfigCallbackPairs),\n 'FlatList does not support setting both onViewableItemsChanged and ' +\n 'viewabilityConfigCallbackPairs.',\n );\n }\n\n _getItem = (data: Array, index: number) => {\n const {numColumns} = this.props;\n if (numColumns > 1) {\n const ret = [];\n for (let kk = 0; kk < numColumns; kk++) {\n const item = data[index * numColumns + kk];\n if (item != null) {\n ret.push(item);\n }\n }\n return ret;\n } else {\n return data[index];\n }\n };\n\n _getItemCount = (data: ?Array): number => {\n return data ? Math.ceil(data.length / this.props.numColumns) : 0;\n };\n\n _keyExtractor = (items: ItemT | Array, index: number) => {\n const {keyExtractor, numColumns} = this.props;\n if (numColumns > 1) {\n invariant(\n Array.isArray(items),\n 'FlatList: Encountered internal consistency error, expected each item to consist of an ' +\n 'array with 1-%s columns; instead, received a single item.',\n numColumns,\n );\n return items\n .map((it, kk) => keyExtractor(it, index * numColumns + kk))\n .join(':');\n } else {\n return keyExtractor(items, index);\n }\n };\n\n _pushMultiColumnViewable(arr: Array, v: ViewToken): void {\n const {numColumns, keyExtractor} = this.props;\n v.item.forEach((item, ii) => {\n invariant(v.index != null, 'Missing index!');\n const index = v.index * numColumns + ii;\n arr.push({...v, item, key: keyExtractor(item, index), index});\n });\n }\n\n _createOnViewableItemsChanged(\n onViewableItemsChanged: ?(info: {\n viewableItems: Array,\n changed: Array,\n }) => void,\n ) {\n return (info: {\n viewableItems: Array,\n changed: Array,\n }) => {\n const {numColumns} = this.props;\n if (onViewableItemsChanged) {\n if (numColumns > 1) {\n const changed = [];\n const viewableItems = [];\n info.viewableItems.forEach(v =>\n this._pushMultiColumnViewable(viewableItems, v),\n );\n info.changed.forEach(v => this._pushMultiColumnViewable(changed, v));\n onViewableItemsChanged({viewableItems, changed});\n } else {\n onViewableItemsChanged(info);\n }\n }\n };\n }\n\n _renderer = () => {\n const {\n ListItemComponent,\n renderItem,\n numColumns,\n columnWrapperStyle,\n } = this.props;\n\n let virtualizedListRenderKey = ListItemComponent\n ? 'ListItemComponent'\n : 'renderItem';\n\n const renderer = props => {\n if (ListItemComponent) {\n return ;\n } else if (renderItem) {\n return renderItem(props);\n } else {\n return null;\n }\n };\n\n return {\n [virtualizedListRenderKey]: (info: RenderItemProps) => {\n if (numColumns > 1) {\n const {item, index} = info;\n invariant(\n Array.isArray(item),\n 'Expected array of items with numColumns > 1',\n );\n return (\n \n {item.map((it, kk) => {\n const element = renderer({\n item: it,\n index: index * numColumns + kk,\n separators: info.separators,\n });\n return element != null ? (\n {element}\n ) : null;\n })}\n \n );\n } else {\n return renderer(info);\n }\n },\n };\n };\n\n render(): React.Node {\n return (\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n row: {flexDirection: 'row'},\n});\n\nmodule.exports = FlatList;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst Batchinator = require('../Interaction/Batchinator');\nconst FillRateHelper = require('./FillRateHelper');\nconst PropTypes = require('prop-types');\nconst React = require('react');\nconst ReactNative = require('../Renderer/shims/ReactNative');\nconst RefreshControl = require('../Components/RefreshControl/RefreshControl');\nconst ScrollView = require('../Components/ScrollView/ScrollView');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst View = require('../Components/View/View');\nconst ViewabilityHelper = require('./ViewabilityHelper');\n\nconst flattenStyle = require('../StyleSheet/flattenStyle');\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\nconst warning = require('fbjs/lib/warning');\n\nconst {computeWindowedRenderLimits} = require('./VirtualizeUtils');\n\nimport type {ViewStyleProp} from '../StyleSheet/StyleSheet';\nimport type {\n ViewabilityConfig,\n ViewToken,\n ViewabilityConfigCallbackPair,\n} from './ViewabilityHelper';\n\ntype Item = any;\n\nexport type Separators = {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n};\n\nexport type RenderItemProps = {\n item: ItemT,\n index: number,\n separators: Separators,\n};\n\nexport type RenderItemType = (\n info: RenderItemProps,\n) => React.Node;\n\ntype ViewabilityHelperCallbackTuple = {\n viewabilityHelper: ViewabilityHelper,\n onViewableItemsChanged: (info: {\n viewableItems: Array,\n changed: Array,\n }) => void,\n};\n\ntype RequiredProps = {\n /**\n * The default accessor functions assume this is an Array<{key: string} | {id: string}> but you can override\n * getItem, getItemCount, and keyExtractor to handle any type of index-based data.\n */\n data?: any,\n /**\n * A generic accessor for extracting an item from any sort of data blob.\n */\n getItem: (data: any, index: number) => ?Item,\n /**\n * Determines how many items are in the data blob.\n */\n getItemCount: (data: any) => number,\n};\ntype OptionalProps = {\n // TODO: Conflicts with the optional `renderItem` in\n // `VirtualizedSectionList`'s props.\n renderItem?: $FlowFixMe>,\n /**\n * `debug` will turn on extra logging and visual overlays to aid with debugging both usage and\n * implementation, but with a significant perf hit.\n */\n debug?: ?boolean,\n /**\n * DEPRECATED: Virtualization provides significant performance and memory optimizations, but fully\n * unmounts react instances that are outside of the render window. You should only need to disable\n * this for debugging purposes.\n */\n disableVirtualization?: ?boolean,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n getItemLayout?: (\n data: any,\n index: number,\n ) => {length: number, offset: number, index: number}, // e.g. height, y\n horizontal?: ?boolean,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender: number,\n /**\n * Instead of starting at the top with the first item, start at `initialScrollIndex`. This\n * disables the \"scroll to top\" optimization that keeps the first `initialNumToRender` items\n * always rendered and immediately renders the items starting at this initial index. Requires\n * `getItemLayout` to be implemented.\n */\n initialScrollIndex?: ?number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n keyExtractor: (item: Item, index: number) => string,\n /**\n * Each cell is rendered using this element. Can be a React Component Class,\n * or a render function. Defaults to using View.\n */\n CellRendererComponent?: ?React.ComponentType,\n /**\n * Each data item is rendered using this element. Can be a React Component Class,\n * or a render function.\n */\n ListItemComponent?: ?React.ComponentType,\n /**\n * Rendered when the list is empty. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListEmptyComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered at the bottom of all the items. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListFooterComponent?: ?(React.ComponentType | React.Element),\n /**\n * Styling for internal View for ListFooterComponent\n */\n ListFooterComponentStyle?: ViewStyleProp,\n /**\n * Rendered at the top of all the items. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListHeaderComponent?: ?(React.ComponentType | React.Element),\n /**\n * Styling for internal View for ListHeaderComponent\n */\n ListHeaderComponentStyle?: ViewStyleProp,\n /**\n * A unique identifier for this list. If there are multiple VirtualizedLists at the same level of\n * nesting within another VirtualizedList, this key is necessary for virtualization to\n * work properly.\n */\n listKey?: string,\n /**\n * The maximum number of items to render in each incremental render batch. The more rendered at\n * once, the better the fill rate, but responsiveness may suffer because rendering content may\n * interfere with responding to button taps or other interactions.\n */\n maxToRenderPerBatch: number,\n onEndReached?: ?(info: {distanceFromEnd: number}) => void,\n onEndReachedThreshold?: ?number, // units of visible length\n onLayout?: ?Function,\n /**\n * If provided, a standard RefreshControl will be added for \"Pull to Refresh\" functionality. Make\n * sure to also set the `refreshing` prop correctly.\n */\n onRefresh?: ?Function,\n /**\n * Used to handle failures when scrolling to an index that has not been measured yet. Recommended\n * action is to either compute your own offset and `scrollTo` it, or scroll as far as possible and\n * then try again after more items have been rendered.\n */\n onScrollToIndexFailed?: ?(info: {\n index: number,\n highestMeasuredFrameIndex: number,\n averageItemLength: number,\n }) => void,\n /**\n * Called when the viewability of rows changes, as defined by the\n * `viewabilityConfig` prop.\n */\n onViewableItemsChanged?: ?(info: {\n viewableItems: Array,\n changed: Array,\n }) => void,\n persistentScrollbar?: ?boolean,\n /**\n * Set this when offset is needed for the loading indicator to show correctly.\n * @platform android\n */\n progressViewOffset?: number,\n /**\n * A custom refresh control element. When set, it overrides the default\n * component built internally. The onRefresh and refreshing\n * props are also ignored. Only works for vertical VirtualizedList.\n */\n refreshControl?: ?React.Element,\n /**\n * Set this true while waiting for new data from a refresh.\n */\n refreshing?: ?boolean,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n */\n removeClippedSubviews?: boolean,\n /**\n * Render a custom scroll component, e.g. with a differently styled `RefreshControl`.\n */\n renderScrollComponent?: (props: Object) => React.Element,\n /**\n * Amount of time between low-pri item render batches, e.g. for rendering items quite a ways off\n * screen. Similar fill rate/responsiveness tradeoff as `maxToRenderPerBatch`.\n */\n updateCellsBatchingPeriod: number,\n viewabilityConfig?: ViewabilityConfig,\n /**\n * List of ViewabilityConfig/onViewableItemsChanged pairs. A specific onViewableItemsChanged\n * will be called when its corresponding ViewabilityConfig's conditions are met.\n */\n viewabilityConfigCallbackPairs?: Array,\n /**\n * Determines the maximum number of items rendered outside of the visible area, in units of\n * visible lengths. So if your list fills the screen, then `windowSize={21}` (the default) will\n * render the visible screen area plus up to 10 screens above and 10 below the viewport. Reducing\n * this number will reduce memory consumption and may improve performance, but will increase the\n * chance that fast scrolling may reveal momentary blank areas of unrendered content.\n */\n windowSize: number,\n};\n/* $FlowFixMe - this Props seems to be missing a bunch of stuff. Remove this\n * comment to see the errors */\nexport type Props = RequiredProps & OptionalProps;\n\ntype DefaultProps = {|\n disableVirtualization: boolean,\n horizontal: boolean,\n initialNumToRender: number,\n keyExtractor: (item: Item, index: number) => string,\n maxToRenderPerBatch: number,\n onEndReachedThreshold: number,\n scrollEventThrottle: number,\n updateCellsBatchingPeriod: number,\n windowSize: number,\n|};\n\nlet _usedIndexForKey = false;\nlet _keylessItemComponentName: string = '';\n\ntype Frame = {\n offset: number,\n length: number,\n index: number,\n inLayout: boolean,\n};\n\ntype ChildListState = {\n first: number,\n last: number,\n frames: {[key: number]: Frame},\n};\n\ntype State = {first: number, last: number};\n\n/**\n * Base implementation for the more convenient [``](/react-native/docs/flatlist.html)\n * and [``](/react-native/docs/sectionlist.html) components, which are also better\n * documented. In general, this should only really be used if you need more flexibility than\n * `FlatList` provides, e.g. for use with immutable data instead of plain arrays.\n *\n * Virtualization massively improves memory consumption and performance of large lists by\n * maintaining a finite render window of active items and replacing all items outside of the render\n * window with appropriately sized blank space. The window adapts to scrolling behavior, and items\n * are rendered incrementally with low-pri (after any running interactions) if they are far from the\n * visible area, or with hi-pri otherwise to minimize the potential of seeing blank space.\n *\n * Some caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` or `id` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n */\nclass VirtualizedList extends React.PureComponent {\n props: Props;\n\n // scrollToEnd may be janky without getItemLayout prop\n scrollToEnd(params?: ?{animated?: ?boolean}) {\n const animated = params ? params.animated : true;\n const veryLast = this.props.getItemCount(this.props.data) - 1;\n const frame = this._getFrameMetricsApprox(veryLast);\n const offset = Math.max(\n 0,\n frame.offset +\n frame.length +\n this._footerLength -\n this._scrollMetrics.visibleLength,\n );\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment\n * suppresses an error when upgrading Flow's support for React. To see the\n * error delete this comment and run Flow. */\n this._scrollRef.scrollTo(\n this.props.horizontal ? {x: offset, animated} : {y: offset, animated},\n );\n }\n\n // scrollToIndex may be janky without getItemLayout prop\n scrollToIndex(params: {\n animated?: ?boolean,\n index: number,\n viewOffset?: number,\n viewPosition?: number,\n }) {\n const {\n data,\n horizontal,\n getItemCount,\n getItemLayout,\n onScrollToIndexFailed,\n } = this.props;\n const {animated, index, viewOffset, viewPosition} = params;\n invariant(\n index >= 0 && index < getItemCount(data),\n `scrollToIndex out of range: requested index ${index} but maximum is ${getItemCount(\n data,\n ) - 1}`,\n );\n if (!getItemLayout && index > this._highestMeasuredFrameIndex) {\n invariant(\n !!onScrollToIndexFailed,\n 'scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, ' +\n 'otherwise there is no way to know the location of offscreen indices or handle failures.',\n );\n onScrollToIndexFailed({\n averageItemLength: this._averageCellLength,\n highestMeasuredFrameIndex: this._highestMeasuredFrameIndex,\n index,\n });\n return;\n }\n const frame = this._getFrameMetricsApprox(index);\n const offset =\n Math.max(\n 0,\n frame.offset -\n (viewPosition || 0) *\n (this._scrollMetrics.visibleLength - frame.length),\n ) - (viewOffset || 0);\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment\n * suppresses an error when upgrading Flow's support for React. To see the\n * error delete this comment and run Flow. */\n this._scrollRef.scrollTo(\n horizontal ? {x: offset, animated} : {y: offset, animated},\n );\n }\n\n // scrollToItem may be janky without getItemLayout prop. Required linear scan through items -\n // use scrollToIndex instead if possible.\n scrollToItem(params: {\n animated?: ?boolean,\n item: Item,\n viewPosition?: number,\n }) {\n const {item} = params;\n const {data, getItem, getItemCount} = this.props;\n const itemCount = getItemCount(data);\n for (let index = 0; index < itemCount; index++) {\n if (getItem(data, index) === item) {\n this.scrollToIndex({...params, index});\n break;\n }\n }\n }\n\n /**\n * Scroll to a specific content pixel offset in the list.\n *\n * Param `offset` expects the offset to scroll to.\n * In case of `horizontal` is true, the offset is the x-value,\n * in any other case the offset is the y-value.\n *\n * Param `animated` (`true` by default) defines whether the list\n * should do an animation while scrolling.\n */\n scrollToOffset(params: {animated?: ?boolean, offset: number}) {\n const {animated, offset} = params;\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment\n * suppresses an error when upgrading Flow's support for React. To see the\n * error delete this comment and run Flow. */\n this._scrollRef.scrollTo(\n this.props.horizontal ? {x: offset, animated} : {y: offset, animated},\n );\n }\n\n recordInteraction() {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref.recordInteraction();\n });\n this._viewabilityTuples.forEach(t => {\n t.viewabilityHelper.recordInteraction();\n });\n this._updateViewableItems(this.props.data);\n }\n\n flashScrollIndicators() {\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment\n * suppresses an error when upgrading Flow's support for React. To see the\n * error delete this comment and run Flow. */\n this._scrollRef.flashScrollIndicators();\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n * Note that `this._scrollRef` might not be a `ScrollView`, so we\n * need to check that it responds to `getScrollResponder` before calling it.\n */\n getScrollResponder(): any {\n if (this._scrollRef && this._scrollRef.getScrollResponder) {\n return this._scrollRef.getScrollResponder();\n }\n }\n\n getScrollableNode(): any {\n if (this._scrollRef && this._scrollRef.getScrollableNode) {\n return this._scrollRef.getScrollableNode();\n } else {\n return ReactNative.findNodeHandle(this._scrollRef);\n }\n }\n\n getScrollRef(): any {\n if (this._scrollRef && this._scrollRef.getScrollRef) {\n return this._scrollRef.getScrollRef();\n } else {\n return this._scrollRef;\n }\n }\n\n setNativeProps(props: Object) {\n if (this._scrollRef) {\n this._scrollRef.setNativeProps(props);\n }\n }\n\n static defaultProps: DefaultProps = {\n disableVirtualization: false,\n horizontal: false,\n initialNumToRender: 10,\n keyExtractor: (item: Item, index: number) => {\n if (item.key != null) {\n return item.key;\n }\n if (item.id != null) {\n return item.id;\n }\n _usedIndexForKey = true;\n if (item.type && item.type.displayName) {\n _keylessItemComponentName = item.type.displayName;\n }\n return String(index);\n },\n maxToRenderPerBatch: 10,\n onEndReachedThreshold: 2, // multiples of length\n scrollEventThrottle: 50,\n updateCellsBatchingPeriod: 50,\n windowSize: 21, // multiples of length\n };\n\n static contextTypes:\n | any\n | {|\n virtualizedCell: {|\n cellKey: React$PropType$Primitive,\n |},\n virtualizedList: {|\n getScrollMetrics: React$PropType$Primitive,\n horizontal: React$PropType$Primitive,\n getOutermostParentListRef: React$PropType$Primitive,\n getNestedChildState: React$PropType$Primitive,\n registerAsNestedChild: React$PropType$Primitive,\n unregisterAsNestedChild: React$PropType$Primitive,\n |},\n |} = {\n virtualizedCell: PropTypes.shape({\n cellKey: PropTypes.string,\n }),\n virtualizedList: PropTypes.shape({\n getScrollMetrics: PropTypes.func,\n horizontal: PropTypes.bool,\n getOutermostParentListRef: PropTypes.func,\n getNestedChildState: PropTypes.func,\n registerAsNestedChild: PropTypes.func,\n unregisterAsNestedChild: PropTypes.func,\n }),\n };\n\n static childContextTypes:\n | any\n | {|\n getScrollMetrics: React$PropType$Primitive,\n horizontal: React$PropType$Primitive,\n getOutermostParentListRef: React$PropType$Primitive,\n getNestedChildState: React$PropType$Primitive,\n registerAsNestedChild: React$PropType$Primitive,\n unregisterAsNestedChild: React$PropType$Primitive,\n |} = {\n virtualizedList: PropTypes.shape({\n getScrollMetrics: PropTypes.func,\n horizontal: PropTypes.bool,\n getOutermostParentListRef: PropTypes.func,\n getNestedChildState: PropTypes.func,\n registerAsNestedChild: PropTypes.func,\n unregisterAsNestedChild: PropTypes.func,\n }),\n };\n\n getChildContext(): {|\n virtualizedList: {\n getScrollMetrics: () => {\n contentLength: number,\n dOffset: number,\n dt: number,\n offset: number,\n timestamp: number,\n velocity: number,\n visibleLength: number,\n },\n horizontal: ?boolean,\n getOutermostParentListRef: Function,\n getNestedChildState: string => ?ChildListState,\n registerAsNestedChild: ({\n cellKey: string,\n key: string,\n ref: VirtualizedList,\n }) => ?ChildListState,\n unregisterAsNestedChild: ({\n key: string,\n state: ChildListState,\n }) => void,\n },\n |} {\n return {\n virtualizedList: {\n getScrollMetrics: this._getScrollMetrics,\n horizontal: this.props.horizontal,\n getOutermostParentListRef: this._getOutermostParentListRef,\n getNestedChildState: this._getNestedChildState,\n registerAsNestedChild: this._registerAsNestedChild,\n unregisterAsNestedChild: this._unregisterAsNestedChild,\n },\n };\n }\n\n _getCellKey(): string {\n return (\n (this.context.virtualizedCell && this.context.virtualizedCell.cellKey) ||\n 'rootList'\n );\n }\n\n _getScrollMetrics = () => {\n return this._scrollMetrics;\n };\n\n hasMore(): boolean {\n return this._hasMore;\n }\n\n _getOutermostParentListRef = () => {\n if (this._isNestedWithSameOrientation()) {\n return this.context.virtualizedList.getOutermostParentListRef();\n } else {\n return this;\n }\n };\n\n _getNestedChildState = (key: string): ?ChildListState => {\n const existingChildData = this._nestedChildLists.get(key);\n return existingChildData && existingChildData.state;\n };\n\n _registerAsNestedChild = (childList: {\n cellKey: string,\n key: string,\n ref: VirtualizedList,\n }): ?ChildListState => {\n // Register the mapping between this child key and the cellKey for its cell\n const childListsInCell =\n this._cellKeysToChildListKeys.get(childList.cellKey) || new Set();\n childListsInCell.add(childList.key);\n this._cellKeysToChildListKeys.set(childList.cellKey, childListsInCell);\n\n const existingChildData = this._nestedChildLists.get(childList.key);\n if (existingChildData && existingChildData.ref !== null) {\n console.error(\n 'A VirtualizedList contains a cell which itself contains ' +\n 'more than one VirtualizedList of the same orientation as the parent ' +\n 'list. You must pass a unique listKey prop to each sibling list.',\n );\n }\n this._nestedChildLists.set(childList.key, {\n ref: childList.ref,\n state: null,\n });\n\n if (this._hasInteracted) {\n childList.ref.recordInteraction();\n }\n };\n\n _unregisterAsNestedChild = (childList: {\n key: string,\n state: ChildListState,\n }): void => {\n this._nestedChildLists.set(childList.key, {\n ref: null,\n state: childList.state,\n });\n };\n\n state: State;\n\n constructor(props: Props, context: Object) {\n super(props, context);\n invariant(\n !props.onScroll || !props.onScroll.__isNative,\n 'Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent ' +\n 'to support native onScroll events with useNativeDriver',\n );\n\n invariant(\n props.windowSize > 0,\n 'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.',\n );\n\n this._fillRateHelper = new FillRateHelper(this._getFrameMetrics);\n this._updateCellsToRenderBatcher = new Batchinator(\n this._updateCellsToRender,\n this.props.updateCellsBatchingPeriod,\n );\n\n if (this.props.viewabilityConfigCallbackPairs) {\n this._viewabilityTuples = this.props.viewabilityConfigCallbackPairs.map(\n pair => ({\n viewabilityHelper: new ViewabilityHelper(pair.viewabilityConfig),\n onViewableItemsChanged: pair.onViewableItemsChanged,\n }),\n );\n } else if (this.props.onViewableItemsChanged) {\n this._viewabilityTuples.push({\n viewabilityHelper: new ViewabilityHelper(this.props.viewabilityConfig),\n onViewableItemsChanged: this.props.onViewableItemsChanged,\n });\n }\n\n let initialState = {\n first: this.props.initialScrollIndex || 0,\n last:\n Math.min(\n this.props.getItemCount(this.props.data),\n (this.props.initialScrollIndex || 0) + this.props.initialNumToRender,\n ) - 1,\n };\n\n if (this._isNestedWithSameOrientation()) {\n const storedState = this.context.virtualizedList.getNestedChildState(\n this.props.listKey || this._getCellKey(),\n );\n if (storedState) {\n initialState = storedState;\n this.state = storedState;\n this._frames = storedState.frames;\n }\n }\n\n this.state = initialState;\n }\n\n componentDidMount() {\n if (this._isNestedWithSameOrientation()) {\n this.context.virtualizedList.registerAsNestedChild({\n cellKey: this._getCellKey(),\n key: this.props.listKey || this._getCellKey(),\n ref: this,\n });\n }\n }\n\n componentWillUnmount() {\n if (this._isNestedWithSameOrientation()) {\n this.context.virtualizedList.unregisterAsNestedChild({\n key: this.props.listKey || this._getCellKey(),\n state: {\n first: this.state.first,\n last: this.state.last,\n frames: this._frames,\n },\n });\n }\n this._updateViewableItems(null);\n this._updateCellsToRenderBatcher.dispose({abort: true});\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.dispose();\n });\n this._fillRateHelper.deactivateAndFlush();\n }\n\n static getDerivedStateFromProps(newProps: Props, prevState: State): State {\n const {data, getItemCount, maxToRenderPerBatch} = newProps;\n // first and last could be stale (e.g. if a new, shorter items props is passed in), so we make\n // sure we're rendering a reasonable range here.\n return {\n first: Math.max(\n 0,\n Math.min(prevState.first, getItemCount(data) - 1 - maxToRenderPerBatch),\n ),\n last: Math.max(0, Math.min(prevState.last, getItemCount(data) - 1)),\n };\n }\n\n _pushCells(\n cells: Array,\n stickyHeaderIndices: Array,\n stickyIndicesFromProps: Set,\n first: number,\n last: number,\n inversionStyle: ViewStyleProp,\n ) {\n const {\n CellRendererComponent,\n ItemSeparatorComponent,\n data,\n getItem,\n getItemCount,\n horizontal,\n keyExtractor,\n } = this.props;\n const stickyOffset = this.props.ListHeaderComponent ? 1 : 0;\n const end = getItemCount(data) - 1;\n let prevCellKey;\n last = Math.min(end, last);\n for (let ii = first; ii <= last; ii++) {\n const item = getItem(data, ii);\n const key = keyExtractor(item, ii);\n this._indicesToKeys.set(ii, key);\n if (stickyIndicesFromProps.has(ii + stickyOffset)) {\n stickyHeaderIndices.push(cells.length);\n }\n cells.push(\n this._onCellLayout(e, key, ii)}\n onUnmount={this._onCellUnmount}\n parentProps={this.props}\n ref={ref => {\n this._cellRefs[key] = ref;\n }}\n />,\n );\n prevCellKey = key;\n }\n }\n\n _onUpdateSeparators = (keys: Array, newProps: Object) => {\n keys.forEach(key => {\n const ref = key != null && this._cellRefs[key];\n ref && ref.updateSeparatorProps(newProps);\n });\n };\n\n _isVirtualizationDisabled(): boolean {\n return this.props.disableVirtualization || false;\n }\n\n _isNestedWithSameOrientation(): boolean {\n const nestedContext = this.context.virtualizedList;\n return !!(\n nestedContext && !!nestedContext.horizontal === !!this.props.horizontal\n );\n }\n\n render(): React.Node {\n if (__DEV__) {\n const flatStyles = flattenStyle(this.props.contentContainerStyle);\n warning(\n flatStyles == null || flatStyles.flexWrap !== 'wrap',\n '`flexWrap: `wrap`` is not supported with the `VirtualizedList` components.' +\n 'Consider using `numColumns` with `FlatList` instead.',\n );\n }\n const {\n ListEmptyComponent,\n ListFooterComponent,\n ListHeaderComponent,\n } = this.props;\n const {data, horizontal} = this.props;\n const isVirtualizationDisabled = this._isVirtualizationDisabled();\n const inversionStyle = this.props.inverted\n ? this.props.horizontal\n ? styles.horizontallyInverted\n : styles.verticallyInverted\n : null;\n const cells = [];\n const stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);\n const stickyHeaderIndices = [];\n if (ListHeaderComponent) {\n if (stickyIndicesFromProps.has(0)) {\n stickyHeaderIndices.push(0);\n }\n const element = React.isValidElement(ListHeaderComponent) ? (\n ListHeaderComponent\n ) : (\n // $FlowFixMe\n \n );\n cells.push(\n \n \n {\n // $FlowFixMe - Typing ReactNativeComponent revealed errors\n element\n }\n \n ,\n );\n }\n const itemCount = this.props.getItemCount(data);\n if (itemCount > 0) {\n _usedIndexForKey = false;\n _keylessItemComponentName = '';\n const spacerKey = !horizontal ? 'height' : 'width';\n const lastInitialIndex = this.props.initialScrollIndex\n ? -1\n : this.props.initialNumToRender - 1;\n const {first, last} = this.state;\n this._pushCells(\n cells,\n stickyHeaderIndices,\n stickyIndicesFromProps,\n 0,\n lastInitialIndex,\n inversionStyle,\n );\n const firstAfterInitial = Math.max(lastInitialIndex + 1, first);\n if (!isVirtualizationDisabled && first > lastInitialIndex + 1) {\n let insertedStickySpacer = false;\n if (stickyIndicesFromProps.size > 0) {\n const stickyOffset = ListHeaderComponent ? 1 : 0;\n // See if there are any sticky headers in the virtualized space that we need to render.\n for (let ii = firstAfterInitial - 1; ii > lastInitialIndex; ii--) {\n if (stickyIndicesFromProps.has(ii + stickyOffset)) {\n const initBlock = this._getFrameMetricsApprox(lastInitialIndex);\n const stickyBlock = this._getFrameMetricsApprox(ii);\n const leadSpace =\n stickyBlock.offset -\n initBlock.offset -\n (this.props.initialScrollIndex ? 0 : initBlock.length);\n cells.push(\n ,\n );\n this._pushCells(\n cells,\n stickyHeaderIndices,\n stickyIndicesFromProps,\n ii,\n ii,\n inversionStyle,\n );\n const trailSpace =\n this._getFrameMetricsApprox(first).offset -\n (stickyBlock.offset + stickyBlock.length);\n cells.push(\n ,\n );\n insertedStickySpacer = true;\n break;\n }\n }\n }\n if (!insertedStickySpacer) {\n const initBlock = this._getFrameMetricsApprox(lastInitialIndex);\n const firstSpace =\n this._getFrameMetricsApprox(first).offset -\n (initBlock.offset + initBlock.length);\n cells.push(\n ,\n );\n }\n }\n this._pushCells(\n cells,\n stickyHeaderIndices,\n stickyIndicesFromProps,\n firstAfterInitial,\n last,\n inversionStyle,\n );\n if (!this._hasWarned.keys && _usedIndexForKey) {\n console.warn(\n 'VirtualizedList: missing keys for items, make sure to specify a key or id property on each ' +\n 'item or provide a custom keyExtractor.',\n _keylessItemComponentName,\n );\n this._hasWarned.keys = true;\n }\n if (!isVirtualizationDisabled && last < itemCount - 1) {\n const lastFrame = this._getFrameMetricsApprox(last);\n // Without getItemLayout, we limit our tail spacer to the _highestMeasuredFrameIndex to\n // prevent the user for hyperscrolling into un-measured area because otherwise content will\n // likely jump around as it renders in above the viewport.\n const end = this.props.getItemLayout\n ? itemCount - 1\n : Math.min(itemCount - 1, this._highestMeasuredFrameIndex);\n const endFrame = this._getFrameMetricsApprox(end);\n const tailSpacerLength =\n endFrame.offset +\n endFrame.length -\n (lastFrame.offset + lastFrame.length);\n cells.push(\n ,\n );\n }\n } else if (ListEmptyComponent) {\n const element: React.Element = ((React.isValidElement(\n ListEmptyComponent,\n ) ? (\n ListEmptyComponent\n ) : (\n // $FlowFixMe\n \n )): any);\n cells.push(\n React.cloneElement(element, {\n key: '$empty',\n onLayout: event => {\n this._onLayoutEmpty(event);\n if (element.props.onLayout) {\n element.props.onLayout(event);\n }\n },\n style: StyleSheet.compose(\n inversionStyle,\n element.props.style,\n ),\n }),\n );\n }\n if (ListFooterComponent) {\n const element = React.isValidElement(ListFooterComponent) ? (\n ListFooterComponent\n ) : (\n // $FlowFixMe\n \n );\n cells.push(\n \n \n {\n // $FlowFixMe - Typing ReactNativeComponent revealed errors\n element\n }\n \n ,\n );\n }\n const scrollProps = {\n ...this.props,\n onContentSizeChange: this._onContentSizeChange,\n onLayout: this._onLayout,\n onScroll: this._onScroll,\n onScrollBeginDrag: this._onScrollBeginDrag,\n onScrollEndDrag: this._onScrollEndDrag,\n onMomentumScrollEnd: this._onMomentumScrollEnd,\n scrollEventThrottle: this.props.scrollEventThrottle, // TODO: Android support\n invertStickyHeaders:\n this.props.invertStickyHeaders !== undefined\n ? this.props.invertStickyHeaders\n : this.props.inverted,\n stickyHeaderIndices,\n };\n if (inversionStyle) {\n /* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.70 was deployed. To see the error delete\n * this comment and run Flow. */\n scrollProps.style = [inversionStyle, this.props.style];\n }\n\n this._hasMore =\n this.state.last < this.props.getItemCount(this.props.data) - 1;\n\n const innerRet = React.cloneElement(\n (this.props.renderScrollComponent || this._defaultRenderScrollComponent)(\n scrollProps,\n ),\n {\n ref: this._captureScrollRef,\n },\n cells,\n );\n let ret = innerRet;\n if (__DEV__) {\n ret = (\n \n {scrollContext => {\n if (\n scrollContext != null &&\n !scrollContext.horizontal === !this.props.horizontal &&\n !this._hasWarned.nesting &&\n this.context.virtualizedList == null\n ) {\n // TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170\n console.warn(\n 'VirtualizedLists should never be nested inside plain ScrollViews with the same ' +\n 'orientation - use another VirtualizedList-backed container instead.',\n );\n this._hasWarned.nesting = true;\n }\n return innerRet;\n }}\n \n );\n }\n if (this.props.debug) {\n return (\n \n {ret}\n {this._renderDebugOverlay()}\n \n );\n } else {\n return ret;\n }\n }\n\n componentDidUpdate(prevProps: Props) {\n const {data, extraData} = this.props;\n if (data !== prevProps.data || extraData !== prevProps.extraData) {\n this._hasDataChangedSinceEndReached = true;\n\n // clear the viewableIndices cache to also trigger\n // the onViewableItemsChanged callback with the new data\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.resetViewableIndices();\n });\n }\n // The `this._hiPriInProgress` is guaranteeing a hiPri cell update will only happen\n // once per fiber update. The `_scheduleCellsToRenderUpdate` will set it to true\n // if a hiPri update needs to perform. If `componentDidUpdate` is triggered with\n // `this._hiPriInProgress=true`, means it's triggered by the hiPri update. The\n // `_scheduleCellsToRenderUpdate` will check this condition and not perform\n // another hiPri update.\n const hiPriInProgress = this._hiPriInProgress;\n this._scheduleCellsToRenderUpdate();\n // Make sure setting `this._hiPriInProgress` back to false after `componentDidUpdate`\n // is triggered with `this._hiPriInProgress = true`\n if (hiPriInProgress) {\n this._hiPriInProgress = false;\n }\n }\n\n _averageCellLength = 0;\n // Maps a cell key to the set of keys for all outermost child lists within that cell\n _cellKeysToChildListKeys: Map> = new Map();\n _cellRefs = {};\n _fillRateHelper: FillRateHelper;\n _frames = {};\n _footerLength = 0;\n _hasDataChangedSinceEndReached = true;\n _hasDoneInitialScroll = false;\n _hasInteracted = false;\n _hasMore = false;\n _hasWarned = {};\n _headerLength = 0;\n _hiPriInProgress: boolean = false; // flag to prevent infinite hiPri cell limit update\n _highestMeasuredFrameIndex = 0;\n _indicesToKeys: Map = new Map();\n _nestedChildLists: Map<\n string,\n {ref: ?VirtualizedList, state: ?ChildListState},\n > = new Map();\n _offsetFromParentVirtualizedList: number = 0;\n _prevParentOffset: number = 0;\n _scrollMetrics = {\n contentLength: 0,\n dOffset: 0,\n dt: 10,\n offset: 0,\n timestamp: 0,\n velocity: 0,\n visibleLength: 0,\n };\n _scrollRef: ?React.ElementRef = null;\n _sentEndForContentLength = 0;\n _totalCellLength = 0;\n _totalCellsMeasured = 0;\n _updateCellsToRenderBatcher: Batchinator;\n _viewabilityTuples: Array = [];\n\n _captureScrollRef = ref => {\n this._scrollRef = ref;\n };\n\n _computeBlankness() {\n this._fillRateHelper.computeBlankness(\n this.props,\n this.state,\n this._scrollMetrics,\n );\n }\n\n _defaultRenderScrollComponent = props => {\n const onRefresh = props.onRefresh;\n if (this._isNestedWithSameOrientation()) {\n // $FlowFixMe - Typing ReactNativeComponent revealed errors\n return ;\n } else if (onRefresh) {\n invariant(\n typeof props.refreshing === 'boolean',\n '`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `' +\n JSON.stringify(props.refreshing) +\n '`',\n );\n return (\n // $FlowFixMe Invalid prop usage\n \n ) : (\n props.refreshControl\n )\n }\n />\n );\n } else {\n // $FlowFixMe Invalid prop usage\n return ;\n }\n };\n\n _onCellLayout(e, cellKey, index) {\n const layout = e.nativeEvent.layout;\n const next = {\n offset: this._selectOffset(layout),\n length: this._selectLength(layout),\n index,\n inLayout: true,\n };\n const curr = this._frames[cellKey];\n if (\n !curr ||\n next.offset !== curr.offset ||\n next.length !== curr.length ||\n index !== curr.index\n ) {\n this._totalCellLength += next.length - (curr ? curr.length : 0);\n this._totalCellsMeasured += curr ? 0 : 1;\n this._averageCellLength =\n this._totalCellLength / this._totalCellsMeasured;\n this._frames[cellKey] = next;\n this._highestMeasuredFrameIndex = Math.max(\n this._highestMeasuredFrameIndex,\n index,\n );\n this._scheduleCellsToRenderUpdate();\n } else {\n this._frames[cellKey].inLayout = true;\n }\n\n const childListKeys = this._cellKeysToChildListKeys.get(cellKey);\n if (childListKeys) {\n for (let childKey of childListKeys) {\n const childList = this._nestedChildLists.get(childKey);\n childList &&\n childList.ref &&\n childList.ref.measureLayoutRelativeToContainingList();\n }\n }\n\n this._computeBlankness();\n this._updateViewableItems(this.props.data);\n }\n\n _onCellUnmount = (cellKey: string) => {\n const curr = this._frames[cellKey];\n if (curr) {\n this._frames[cellKey] = {...curr, inLayout: false};\n }\n };\n\n measureLayoutRelativeToContainingList(): void {\n // TODO (T35574538): findNodeHandle sometimes crashes with \"Unable to find\n // node on an unmounted component\" during scrolling\n try {\n if (!this._scrollRef) {\n return;\n }\n // We are assuming that getOutermostParentListRef().getScrollRef()\n // is a non-null reference to a ScrollView\n this._scrollRef.measureLayout(\n this.context.virtualizedList\n .getOutermostParentListRef()\n .getScrollRef()\n .getNativeScrollRef(),\n (x, y, width, height) => {\n this._offsetFromParentVirtualizedList = this._selectOffset({x, y});\n this._scrollMetrics.contentLength = this._selectLength({\n width,\n height,\n });\n const scrollMetrics = this._convertParentScrollMetrics(\n this.context.virtualizedList.getScrollMetrics(),\n );\n this._scrollMetrics.visibleLength = scrollMetrics.visibleLength;\n this._scrollMetrics.offset = scrollMetrics.offset;\n },\n error => {\n console.warn(\n \"VirtualizedList: Encountered an error while measuring a list's\" +\n ' offset from its containing VirtualizedList.',\n );\n },\n );\n } catch (error) {\n console.warn(\n 'measureLayoutRelativeToContainingList threw an error',\n error.stack,\n );\n }\n }\n\n _onLayout = (e: Object) => {\n if (this._isNestedWithSameOrientation()) {\n // Need to adjust our scroll metrics to be relative to our containing\n // VirtualizedList before we can make claims about list item viewability\n this.measureLayoutRelativeToContainingList();\n } else {\n this._scrollMetrics.visibleLength = this._selectLength(\n e.nativeEvent.layout,\n );\n }\n this.props.onLayout && this.props.onLayout(e);\n this._scheduleCellsToRenderUpdate();\n this._maybeCallOnEndReached();\n };\n\n _onLayoutEmpty = e => {\n this.props.onLayout && this.props.onLayout(e);\n };\n\n _onLayoutFooter = e => {\n this._footerLength = this._selectLength(e.nativeEvent.layout);\n };\n\n _onLayoutHeader = e => {\n this._headerLength = this._selectLength(e.nativeEvent.layout);\n };\n\n _renderDebugOverlay() {\n const normalize =\n this._scrollMetrics.visibleLength /\n (this._scrollMetrics.contentLength || 1);\n const framesInLayout = [];\n const itemCount = this.props.getItemCount(this.props.data);\n for (let ii = 0; ii < itemCount; ii++) {\n const frame = this._getFrameMetricsApprox(ii);\n /* $FlowFixMe(>=0.68.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.68 was deployed. To see the error delete this\n * comment and run Flow. */\n if (frame.inLayout) {\n framesInLayout.push(frame);\n }\n }\n const windowTop = this._getFrameMetricsApprox(this.state.first).offset;\n const frameLast = this._getFrameMetricsApprox(this.state.last);\n const windowLen = frameLast.offset + frameLast.length - windowTop;\n const visTop = this._scrollMetrics.offset;\n const visLen = this._scrollMetrics.visibleLength;\n\n return (\n \n {framesInLayout.map((f, ii) => (\n \n ))}\n \n \n \n );\n }\n\n _selectLength(metrics: $ReadOnly<{height: number, width: number}>): number {\n return !this.props.horizontal ? metrics.height : metrics.width;\n }\n\n _selectOffset(metrics: $ReadOnly<{x: number, y: number}>): number {\n return !this.props.horizontal ? metrics.y : metrics.x;\n }\n\n _maybeCallOnEndReached() {\n const {\n data,\n getItemCount,\n onEndReached,\n onEndReachedThreshold,\n } = this.props;\n const {contentLength, visibleLength, offset} = this._scrollMetrics;\n const distanceFromEnd = contentLength - visibleLength - offset;\n if (\n onEndReached &&\n this.state.last === getItemCount(data) - 1 &&\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n distanceFromEnd < onEndReachedThreshold * visibleLength &&\n (this._hasDataChangedSinceEndReached ||\n this._scrollMetrics.contentLength !== this._sentEndForContentLength)\n ) {\n // Only call onEndReached once for a given dataset + content length.\n this._hasDataChangedSinceEndReached = false;\n this._sentEndForContentLength = this._scrollMetrics.contentLength;\n onEndReached({distanceFromEnd});\n }\n }\n\n _onContentSizeChange = (width: number, height: number) => {\n if (\n width > 0 &&\n height > 0 &&\n this.props.initialScrollIndex != null &&\n this.props.initialScrollIndex > 0 &&\n !this._hasDoneInitialScroll\n ) {\n this.scrollToIndex({\n animated: false,\n index: this.props.initialScrollIndex,\n });\n this._hasDoneInitialScroll = true;\n }\n if (this.props.onContentSizeChange) {\n this.props.onContentSizeChange(width, height);\n }\n this._scrollMetrics.contentLength = this._selectLength({height, width});\n this._scheduleCellsToRenderUpdate();\n this._maybeCallOnEndReached();\n };\n\n /* Translates metrics from a scroll event in a parent VirtualizedList into\n * coordinates relative to the child list.\n */\n _convertParentScrollMetrics = (metrics: {\n visibleLength: number,\n offset: number,\n }) => {\n // Offset of the top of the nested list relative to the top of its parent's viewport\n const offset = metrics.offset - this._offsetFromParentVirtualizedList;\n // Child's visible length is the same as its parent's\n const visibleLength = metrics.visibleLength;\n const dOffset = offset - this._scrollMetrics.offset;\n const contentLength = this._scrollMetrics.contentLength;\n\n return {\n visibleLength,\n contentLength,\n offset,\n dOffset,\n };\n };\n\n _onScroll = (e: Object) => {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref._onScroll(e);\n });\n if (this.props.onScroll) {\n this.props.onScroll(e);\n }\n const timestamp = e.timeStamp;\n let visibleLength = this._selectLength(e.nativeEvent.layoutMeasurement);\n let contentLength = this._selectLength(e.nativeEvent.contentSize);\n let offset = this._selectOffset(e.nativeEvent.contentOffset);\n let dOffset = offset - this._scrollMetrics.offset;\n\n if (this._isNestedWithSameOrientation()) {\n if (this._scrollMetrics.contentLength === 0) {\n // Ignore scroll events until onLayout has been called and we\n // know our offset from our offset from our parent\n return;\n }\n ({\n visibleLength,\n contentLength,\n offset,\n dOffset,\n } = this._convertParentScrollMetrics({\n visibleLength,\n offset,\n }));\n }\n\n const dt = this._scrollMetrics.timestamp\n ? Math.max(1, timestamp - this._scrollMetrics.timestamp)\n : 1;\n const velocity = dOffset / dt;\n\n if (\n dt > 500 &&\n this._scrollMetrics.dt > 500 &&\n contentLength > 5 * visibleLength &&\n !this._hasWarned.perf\n ) {\n infoLog(\n 'VirtualizedList: You have a large list that is slow to update - make sure your ' +\n 'renderItem function renders components that follow React performance best practices ' +\n 'like PureComponent, shouldComponentUpdate, etc.',\n {dt, prevDt: this._scrollMetrics.dt, contentLength},\n );\n this._hasWarned.perf = true;\n }\n this._scrollMetrics = {\n contentLength,\n dt,\n dOffset,\n offset,\n timestamp,\n velocity,\n visibleLength,\n };\n this._updateViewableItems(this.props.data);\n if (!this.props) {\n return;\n }\n this._maybeCallOnEndReached();\n if (velocity !== 0) {\n this._fillRateHelper.activate();\n }\n this._computeBlankness();\n this._scheduleCellsToRenderUpdate();\n };\n\n _scheduleCellsToRenderUpdate() {\n const {first, last} = this.state;\n const {offset, visibleLength, velocity} = this._scrollMetrics;\n const itemCount = this.props.getItemCount(this.props.data);\n let hiPri = false;\n const scrollingThreshold =\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete\n * this comment and run Flow. */\n (this.props.onEndReachedThreshold * visibleLength) / 2;\n // Mark as high priority if we're close to the start of the first item\n // But only if there are items before the first rendered item\n if (first > 0) {\n const distTop = offset - this._getFrameMetricsApprox(first).offset;\n hiPri =\n hiPri || distTop < 0 || (velocity < -2 && distTop < scrollingThreshold);\n }\n // Mark as high priority if we're close to the end of the last item\n // But only if there are items after the last rendered item\n if (last < itemCount - 1) {\n const distBottom =\n this._getFrameMetricsApprox(last).offset - (offset + visibleLength);\n hiPri =\n hiPri ||\n distBottom < 0 ||\n (velocity > 2 && distBottom < scrollingThreshold);\n }\n // Only trigger high-priority updates if we've actually rendered cells,\n // and with that size estimate, accurately compute how many cells we should render.\n // Otherwise, it would just render as many cells as it can (of zero dimension),\n // each time through attempting to render more (limited by maxToRenderPerBatch),\n // starving the renderer from actually laying out the objects and computing _averageCellLength.\n // If this is triggered in an `componentDidUpdate` followed by a hiPri cellToRenderUpdate\n // We shouldn't do another hipri cellToRenderUpdate\n if (\n hiPri &&\n (this._averageCellLength || this.props.getItemLayout) &&\n !this._hiPriInProgress\n ) {\n this._hiPriInProgress = true;\n // Don't worry about interactions when scrolling quickly; focus on filling content as fast\n // as possible.\n this._updateCellsToRenderBatcher.dispose({abort: true});\n this._updateCellsToRender();\n return;\n } else {\n this._updateCellsToRenderBatcher.schedule();\n }\n }\n\n _onScrollBeginDrag = (e): void => {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref._onScrollBeginDrag(e);\n });\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.recordInteraction();\n });\n this._hasInteracted = true;\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);\n };\n\n _onScrollEndDrag = (e): void => {\n const {velocity} = e.nativeEvent;\n if (velocity) {\n this._scrollMetrics.velocity = this._selectOffset(velocity);\n }\n this._computeBlankness();\n this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);\n };\n\n _onMomentumScrollEnd = (e): void => {\n this._scrollMetrics.velocity = 0;\n this._computeBlankness();\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);\n };\n\n _updateCellsToRender = () => {\n const {data, getItemCount, onEndReachedThreshold} = this.props;\n const isVirtualizationDisabled = this._isVirtualizationDisabled();\n this._updateViewableItems(data);\n if (!data) {\n return;\n }\n this.setState(state => {\n let newState;\n if (!isVirtualizationDisabled) {\n // If we run this with bogus data, we'll force-render window {first: 0, last: 0},\n // and wipe out the initialNumToRender rendered elements.\n // So let's wait until the scroll view metrics have been set up. And until then,\n // we will trust the initialNumToRender suggestion\n if (this._scrollMetrics.visibleLength) {\n // If we have a non-zero initialScrollIndex and run this before we've scrolled,\n // we'll wipe out the initialNumToRender rendered elements starting at initialScrollIndex.\n // So let's wait until we've scrolled the view to the right place. And until then,\n // we will trust the initialScrollIndex suggestion.\n if (!this.props.initialScrollIndex || this._scrollMetrics.offset) {\n newState = computeWindowedRenderLimits(\n this.props,\n state,\n this._getFrameMetricsApprox,\n this._scrollMetrics,\n );\n }\n }\n } else {\n const {contentLength, offset, visibleLength} = this._scrollMetrics;\n const distanceFromEnd = contentLength - visibleLength - offset;\n const renderAhead =\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses\n * an error found when Flow v0.63 was deployed. To see the error\n * delete this comment and run Flow. */\n distanceFromEnd < onEndReachedThreshold * visibleLength\n ? this.props.maxToRenderPerBatch\n : 0;\n newState = {\n first: 0,\n last: Math.min(state.last + renderAhead, getItemCount(data) - 1),\n };\n }\n if (newState && this._nestedChildLists.size > 0) {\n const newFirst = newState.first;\n const newLast = newState.last;\n // If some cell in the new state has a child list in it, we should only render\n // up through that item, so that we give that list a chance to render.\n // Otherwise there's churn from multiple child lists mounting and un-mounting\n // their items.\n for (let ii = newFirst; ii <= newLast; ii++) {\n const cellKeyForIndex = this._indicesToKeys.get(ii);\n const childListKeys =\n cellKeyForIndex &&\n this._cellKeysToChildListKeys.get(cellKeyForIndex);\n if (!childListKeys) {\n continue;\n }\n let someChildHasMore = false;\n // For each cell, need to check whether any child list in it has more elements to render\n for (let childKey of childListKeys) {\n const childList = this._nestedChildLists.get(childKey);\n if (childList && childList.ref && childList.ref.hasMore()) {\n someChildHasMore = true;\n break;\n }\n }\n if (someChildHasMore) {\n newState.last = ii;\n break;\n }\n }\n }\n return newState;\n });\n };\n\n _createViewToken = (index: number, isViewable: boolean) => {\n const {data, getItem, keyExtractor} = this.props;\n const item = getItem(data, index);\n return {index, item, key: keyExtractor(item, index), isViewable};\n };\n\n _getFrameMetricsApprox = (\n index: number,\n ): {length: number, offset: number} => {\n const frame = this._getFrameMetrics(index);\n if (frame && frame.index === index) {\n // check for invalid frames due to row re-ordering\n return frame;\n } else {\n const {getItemLayout} = this.props;\n invariant(\n !getItemLayout,\n 'Should not have to estimate frames when a measurement metrics function is provided',\n );\n return {\n length: this._averageCellLength,\n offset: this._averageCellLength * index,\n };\n }\n };\n\n _getFrameMetrics = (\n index: number,\n ): ?{\n length: number,\n offset: number,\n index: number,\n inLayout?: boolean,\n } => {\n const {\n data,\n getItem,\n getItemCount,\n getItemLayout,\n keyExtractor,\n } = this.props;\n invariant(\n getItemCount(data) > index,\n 'Tried to get frame for out of range index ' + index,\n );\n const item = getItem(data, index);\n let frame = item && this._frames[keyExtractor(item, index)];\n if (!frame || frame.index !== index) {\n if (getItemLayout) {\n frame = getItemLayout(data, index);\n if (__DEV__) {\n const frameType = PropTypes.shape({\n length: PropTypes.number.isRequired,\n offset: PropTypes.number.isRequired,\n index: PropTypes.number.isRequired,\n }).isRequired;\n PropTypes.checkPropTypes(\n {frame: frameType},\n {frame},\n 'frame',\n 'VirtualizedList.getItemLayout',\n );\n }\n }\n }\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n return frame;\n };\n\n _updateViewableItems(data: any) {\n const {getItemCount} = this.props;\n\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.onUpdate(\n getItemCount(data),\n this._scrollMetrics.offset,\n this._scrollMetrics.visibleLength,\n this._getFrameMetrics,\n this._createViewToken,\n tuple.onViewableItemsChanged,\n this.state,\n );\n });\n }\n}\n\ntype CellRendererProps = {\n CellRendererComponent?: ?React.ComponentType,\n ItemSeparatorComponent: ?React.ComponentType<*>,\n cellKey: string,\n fillRateHelper: FillRateHelper,\n horizontal: ?boolean,\n index: number,\n inversionStyle: ViewStyleProp,\n item: Item,\n onLayout: (event: Object) => void, // This is extracted by ScrollViewStickyHeader\n onUnmount: (cellKey: string) => void,\n onUpdateSeparators: (cellKeys: Array, props: Object) => void,\n parentProps: {\n getItemLayout?: ?Function,\n renderItem?: ?RenderItemType,\n ListItemComponent?: ?(React.ComponentType | React.Element),\n },\n prevCellKey: ?string,\n};\n\ntype CellRendererState = {\n separatorProps: $ReadOnly<{|\n highlighted: boolean,\n leadingItem: ?Item,\n |}>,\n};\n\nclass CellRenderer extends React.Component<\n CellRendererProps,\n CellRendererState,\n> {\n state = {\n separatorProps: {\n highlighted: false,\n leadingItem: this.props.item,\n },\n };\n\n static childContextTypes = {\n virtualizedCell: PropTypes.shape({\n cellKey: PropTypes.string,\n }),\n };\n\n static getDerivedStateFromProps(\n props: CellRendererProps,\n prevState: CellRendererState,\n ): ?CellRendererState {\n return {\n separatorProps: {\n ...prevState.separatorProps,\n leadingItem: props.item,\n },\n };\n }\n\n getChildContext() {\n return {\n virtualizedCell: {\n cellKey: this.props.cellKey,\n },\n };\n }\n\n // TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not\n // reused by SectionList and we can keep VirtualizedList simpler.\n _separators = {\n highlight: () => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators([cellKey, prevCellKey], {\n highlighted: true,\n });\n },\n unhighlight: () => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators([cellKey, prevCellKey], {\n highlighted: false,\n });\n },\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators(\n [select === 'leading' ? prevCellKey : cellKey],\n newProps,\n );\n },\n };\n\n updateSeparatorProps(newProps: Object) {\n this.setState(state => ({\n separatorProps: {...state.separatorProps, ...newProps},\n }));\n }\n\n componentWillUnmount() {\n this.props.onUnmount(this.props.cellKey);\n }\n\n _renderElement(renderItem, ListItemComponent, item, index) {\n if (renderItem && ListItemComponent) {\n console.warn(\n 'VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take' +\n ' precedence over renderItem.',\n );\n }\n\n if (ListItemComponent) {\n return React.createElement(ListItemComponent, {\n item,\n index,\n separators: this._separators,\n });\n }\n\n if (renderItem) {\n return renderItem({\n item,\n index,\n separators: this._separators,\n });\n }\n\n invariant(\n false,\n 'VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.',\n );\n }\n\n render() {\n const {\n CellRendererComponent,\n ItemSeparatorComponent,\n fillRateHelper,\n horizontal,\n item,\n index,\n inversionStyle,\n parentProps,\n } = this.props;\n const {renderItem, getItemLayout, ListItemComponent} = parentProps;\n const element = this._renderElement(\n renderItem,\n ListItemComponent,\n item,\n index,\n );\n\n const onLayout =\n /* $FlowFixMe(>=0.68.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.68 was deployed. To see the error delete this\n * comment and run Flow. */\n getItemLayout && !parentProps.debug && !fillRateHelper.enabled()\n ? undefined\n : this.props.onLayout;\n // NOTE: that when this is a sticky header, `onLayout` will get automatically extracted and\n // called explicitly by `ScrollViewStickyHeader`.\n const itemSeparator = ItemSeparatorComponent && (\n \n );\n const cellStyle = inversionStyle\n ? horizontal\n ? [styles.rowReverse, inversionStyle]\n : [styles.columnReverse, inversionStyle]\n : horizontal\n ? [styles.row, inversionStyle]\n : inversionStyle;\n if (!CellRendererComponent) {\n return (\n /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete\n * this comment and run Flow. */\n \n {element}\n {itemSeparator}\n \n );\n }\n return (\n \n {element}\n {itemSeparator}\n \n );\n }\n}\n\nclass VirtualizedCellWrapper extends React.Component<{\n cellKey: string,\n children: React.Node,\n}> {\n static childContextTypes = {\n virtualizedCell: PropTypes.shape({\n cellKey: PropTypes.string,\n }),\n };\n\n getChildContext() {\n return {\n virtualizedCell: {\n cellKey: this.props.cellKey,\n },\n };\n }\n\n render() {\n return this.props.children;\n }\n}\n\nconst styles = StyleSheet.create({\n verticallyInverted: {\n transform: [{scaleY: -1}],\n },\n horizontallyInverted: {\n transform: [{scaleX: -1}],\n },\n row: {\n flexDirection: 'row',\n },\n rowReverse: {\n flexDirection: 'row-reverse',\n },\n columnReverse: {\n flexDirection: 'column-reverse',\n },\n debug: {\n flex: 1,\n },\n debugOverlayBase: {\n position: 'absolute',\n top: 0,\n right: 0,\n },\n debugOverlay: {\n bottom: 0,\n width: 20,\n borderColor: 'blue',\n borderWidth: 1,\n },\n debugOverlayFrame: {\n left: 0,\n backgroundColor: 'orange',\n },\n debugOverlayFrameLast: {\n left: 0,\n borderColor: 'green',\n borderWidth: 2,\n },\n debugOverlayFrameVis: {\n left: 0,\n borderColor: 'red',\n borderWidth: 2,\n },\n});\n\nmodule.exports = VirtualizedList;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst InteractionManager = require('./InteractionManager');\n\n/**\n * A simple class for batching up invocations of a low-pri callback. A timeout is set to run the\n * callback once after a delay, no matter how many times it's scheduled. Once the delay is reached,\n * InteractionManager.runAfterInteractions is used to invoke the callback after any hi-pri\n * interactions are done running.\n *\n * Make sure to cleanup with dispose(). Example:\n *\n * class Widget extends React.Component {\n * _batchedSave: new Batchinator(() => this._saveState, 1000);\n * _saveSate() {\n * // save this.state to disk\n * }\n * componentDidUpdate() {\n * this._batchedSave.schedule();\n * }\n * componentWillUnmount() {\n * this._batchedSave.dispose();\n * }\n * ...\n * }\n */\nclass Batchinator {\n _callback: () => void;\n _delay: number;\n _taskHandle: ?{cancel: () => void};\n constructor(callback: () => void, delayMS: number) {\n this._delay = delayMS;\n this._callback = callback;\n }\n /*\n * Cleanup any pending tasks.\n *\n * By default, if there is a pending task the callback is run immediately. Set the option abort to\n * true to not call the callback if it was pending.\n */\n dispose(options: {abort: boolean} = {abort: false}) {\n if (this._taskHandle) {\n this._taskHandle.cancel();\n if (!options.abort) {\n this._callback();\n }\n this._taskHandle = null;\n }\n }\n schedule() {\n if (this._taskHandle) {\n return;\n }\n const timeoutHandle = setTimeout(() => {\n this._taskHandle = InteractionManager.runAfterInteractions(() => {\n // Note that we clear the handle before invoking the callback so that if the callback calls\n // schedule again, it will actually schedule another task.\n this._taskHandle = null;\n this._callback();\n });\n }, this._delay);\n this._taskHandle = {cancel: () => clearTimeout(timeoutHandle)};\n }\n}\n\nmodule.exports = Batchinator;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst performanceNow = require('fbjs/lib/performanceNow');\nconst warning = require('fbjs/lib/warning');\n\nexport type FillRateInfo = Info;\n\nclass Info {\n any_blank_count: number = 0;\n any_blank_ms: number = 0;\n any_blank_speed_sum: number = 0;\n mostly_blank_count: number = 0;\n mostly_blank_ms: number = 0;\n pixels_blank: number = 0;\n pixels_sampled: number = 0;\n pixels_scrolled: number = 0;\n total_time_spent: number = 0;\n sample_count: number = 0;\n}\n\ntype FrameMetrics = {inLayout?: boolean, length: number, offset: number};\n\nconst DEBUG = false;\n\nlet _listeners: Array<(Info) => void> = [];\nlet _minSampleCount = 10;\nlet _sampleRate = DEBUG ? 1 : null;\n\n/**\n * A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.\n * By default the sampling rate is set to zero and this will do nothing. If you want to collect\n * samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.\n *\n * Listeners and sample rate are global for all `VirtualizedList`s - typical usage will combine with\n * `SceneTracker.getActiveScene` to determine the context of the events.\n */\nclass FillRateHelper {\n _anyBlankStartTime = (null: ?number);\n _enabled = false;\n _getFrameMetrics: (index: number) => ?FrameMetrics;\n _info = new Info();\n _mostlyBlankStartTime = (null: ?number);\n _samplesStartTime = (null: ?number);\n\n static addListener(callback: FillRateInfo => void): {remove: () => void} {\n warning(\n _sampleRate !== null,\n 'Call `FillRateHelper.setSampleRate` before `addListener`.',\n );\n _listeners.push(callback);\n return {\n remove: () => {\n _listeners = _listeners.filter(listener => callback !== listener);\n },\n };\n }\n\n static setSampleRate(sampleRate: number) {\n _sampleRate = sampleRate;\n }\n\n static setMinSampleCount(minSampleCount: number) {\n _minSampleCount = minSampleCount;\n }\n\n constructor(getFrameMetrics: (index: number) => ?FrameMetrics) {\n this._getFrameMetrics = getFrameMetrics;\n this._enabled = (_sampleRate || 0) > Math.random();\n this._resetData();\n }\n\n activate() {\n if (this._enabled && this._samplesStartTime == null) {\n DEBUG && console.debug('FillRateHelper: activate');\n this._samplesStartTime = performanceNow();\n }\n }\n\n deactivateAndFlush() {\n if (!this._enabled) {\n return;\n }\n const start = this._samplesStartTime; // const for flow\n if (start == null) {\n DEBUG &&\n console.debug('FillRateHelper: bail on deactivate with no start time');\n return;\n }\n if (this._info.sample_count < _minSampleCount) {\n // Don't bother with under-sampled events.\n this._resetData();\n return;\n }\n const total_time_spent = performanceNow() - start;\n const info: any = {\n ...this._info,\n total_time_spent,\n };\n if (DEBUG) {\n const derived = {\n avg_blankness: this._info.pixels_blank / this._info.pixels_sampled,\n avg_speed: this._info.pixels_scrolled / (total_time_spent / 1000),\n avg_speed_when_any_blank:\n this._info.any_blank_speed_sum / this._info.any_blank_count,\n any_blank_per_min:\n this._info.any_blank_count / (total_time_spent / 1000 / 60),\n any_blank_time_frac: this._info.any_blank_ms / total_time_spent,\n mostly_blank_per_min:\n this._info.mostly_blank_count / (total_time_spent / 1000 / 60),\n mostly_blank_time_frac: this._info.mostly_blank_ms / total_time_spent,\n };\n for (const key in derived) {\n derived[key] = Math.round(1000 * derived[key]) / 1000;\n }\n console.debug('FillRateHelper deactivateAndFlush: ', {derived, info});\n }\n _listeners.forEach(listener => listener(info));\n this._resetData();\n }\n\n computeBlankness(\n props: {\n data: Array,\n getItemCount: (data: Array) => number,\n initialNumToRender: number,\n },\n state: {\n first: number,\n last: number,\n },\n scrollMetrics: {\n dOffset: number,\n offset: number,\n velocity: number,\n visibleLength: number,\n },\n ): number {\n if (\n !this._enabled ||\n props.getItemCount(props.data) === 0 ||\n this._samplesStartTime == null\n ) {\n return 0;\n }\n const {dOffset, offset, velocity, visibleLength} = scrollMetrics;\n\n // Denominator metrics that we track for all events - most of the time there is no blankness and\n // we want to capture that.\n this._info.sample_count++;\n this._info.pixels_sampled += Math.round(visibleLength);\n this._info.pixels_scrolled += Math.round(Math.abs(dOffset));\n const scrollSpeed = Math.round(Math.abs(velocity) * 1000); // px / sec\n\n // Whether blank now or not, record the elapsed time blank if we were blank last time.\n const now = performanceNow();\n if (this._anyBlankStartTime != null) {\n this._info.any_blank_ms += now - this._anyBlankStartTime;\n }\n this._anyBlankStartTime = null;\n if (this._mostlyBlankStartTime != null) {\n this._info.mostly_blank_ms += now - this._mostlyBlankStartTime;\n }\n this._mostlyBlankStartTime = null;\n\n let blankTop = 0;\n let first = state.first;\n let firstFrame = this._getFrameMetrics(first);\n while (first <= state.last && (!firstFrame || !firstFrame.inLayout)) {\n firstFrame = this._getFrameMetrics(first);\n first++;\n }\n // Only count blankTop if we aren't rendering the first item, otherwise we will count the header\n // as blank.\n if (firstFrame && first > 0) {\n blankTop = Math.min(\n visibleLength,\n Math.max(0, firstFrame.offset - offset),\n );\n }\n let blankBottom = 0;\n let last = state.last;\n let lastFrame = this._getFrameMetrics(last);\n while (last >= state.first && (!lastFrame || !lastFrame.inLayout)) {\n lastFrame = this._getFrameMetrics(last);\n last--;\n }\n // Only count blankBottom if we aren't rendering the last item, otherwise we will count the\n // footer as blank.\n if (lastFrame && last < props.getItemCount(props.data) - 1) {\n const bottomEdge = lastFrame.offset + lastFrame.length;\n blankBottom = Math.min(\n visibleLength,\n Math.max(0, offset + visibleLength - bottomEdge),\n );\n }\n const pixels_blank = Math.round(blankTop + blankBottom);\n const blankness = pixels_blank / visibleLength;\n if (blankness > 0) {\n this._anyBlankStartTime = now;\n this._info.any_blank_speed_sum += scrollSpeed;\n this._info.any_blank_count++;\n this._info.pixels_blank += pixels_blank;\n if (blankness > 0.5) {\n this._mostlyBlankStartTime = now;\n this._info.mostly_blank_count++;\n }\n } else if (scrollSpeed < 0.01 || Math.abs(dOffset) < 1) {\n this.deactivateAndFlush();\n }\n return blankness;\n }\n\n enabled(): boolean {\n return this._enabled;\n }\n\n _resetData() {\n this._anyBlankStartTime = null;\n this._info = new Info();\n this._mostlyBlankStartTime = null;\n this._samplesStartTime = null;\n }\n}\n\nmodule.exports = FillRateHelper;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\n\nconst nullthrows = require('nullthrows');\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport AndroidSwipeRefreshLayoutNativeComponent from './AndroidSwipeRefreshLayoutNativeComponent';\nimport PullToRefreshViewNativeComponent from './PullToRefreshViewNativeComponent';\n\nlet RefreshLayoutConsts: any;\nif (Platform.OS === 'android') {\n const AndroidSwipeRefreshLayout = require('../../ReactNative/UIManager').getViewManagerConfig(\n 'AndroidSwipeRefreshLayout',\n );\n RefreshLayoutConsts = AndroidSwipeRefreshLayout\n ? AndroidSwipeRefreshLayout.Constants\n : {SIZE: {}};\n} else {\n RefreshLayoutConsts = {SIZE: {}};\n}\n\ntype IOSProps = $ReadOnly<{|\n /**\n * The color of the refresh indicator.\n */\n tintColor?: ?ColorValue,\n /**\n * Title color.\n */\n titleColor?: ?ColorValue,\n /**\n * The title displayed under the refresh indicator.\n */\n title?: ?string,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Whether the pull to refresh functionality is enabled.\n */\n enabled?: ?boolean,\n /**\n * The colors (at least one) that will be used to draw the refresh indicator.\n */\n colors?: ?$ReadOnlyArray,\n /**\n * The background color of the refresh indicator.\n */\n progressBackgroundColor?: ?ColorValue,\n /**\n * Size of the refresh indicator, see RefreshControl.SIZE.\n */\n size?: ?(\n | typeof RefreshLayoutConsts.SIZE.DEFAULT\n | typeof RefreshLayoutConsts.SIZE.LARGE\n ),\n /**\n * Progress view top offset\n */\n progressViewOffset?: ?number,\n|}>;\n\nexport type RefreshControlProps = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?() => void,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n|}>;\n\n/**\n * This component is used inside a ScrollView or ListView to add pull to refresh\n * functionality. When the ScrollView is at `scrollY: 0`, swiping down\n * triggers an `onRefresh` event.\n *\n * ### Usage example\n *\n * ``` js\n * class RefreshableList extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * refreshing: false,\n * };\n * }\n *\n * _onRefresh() {\n * this.setState({refreshing: true});\n * fetchData().then(() => {\n * this.setState({refreshing: false});\n * });\n * }\n *\n * render() {\n * return (\n * \n * }\n * ...\n * >\n * ...\n * \n * );\n * }\n * ...\n * }\n * ```\n *\n * __Note:__ `refreshing` is a controlled prop, this is why it needs to be set to true\n * in the `onRefresh` function otherwise the refresh indicator will stop immediately.\n */\nclass RefreshControl extends React.Component {\n static SIZE: any = RefreshLayoutConsts.SIZE;\n\n _setNativePropsOnRef: ?({refreshing: boolean}) => void;\n _lastNativeRefreshing = false;\n\n componentDidMount() {\n this._lastNativeRefreshing = this.props.refreshing;\n }\n\n componentDidUpdate(prevProps: RefreshControlProps) {\n // RefreshControl is a controlled component so if the native refreshing\n // value doesn't match the current js refreshing prop update it to\n // the js value.\n if (this.props.refreshing !== prevProps.refreshing) {\n this._lastNativeRefreshing = this.props.refreshing;\n } else if (\n this.props.refreshing !== this._lastNativeRefreshing &&\n this._setNativePropsOnRef\n ) {\n this._setNativePropsOnRef({\n refreshing: this.props.refreshing,\n });\n this._lastNativeRefreshing = this.props.refreshing;\n }\n }\n\n render(): React.Node {\n const setRef = ref =>\n (this._setNativePropsOnRef = ref ? ref.setNativeProps.bind(ref) : null);\n if (Platform.OS === 'ios') {\n const {\n enabled,\n colors,\n progressBackgroundColor,\n size,\n progressViewOffset,\n ...props\n } = this.props;\n return (\n \n );\n } else {\n const {tintColor, titleColor, title, ...props} = this.props;\n return (\n \n );\n }\n }\n\n _onRefresh = () => {\n this._lastNativeRefreshing = true;\n\n this.props.onRefresh && this.props.onRefresh();\n\n // The native component will start refreshing so force an update to\n // make sure it stays in sync with the js component.\n this.forceUpdate();\n };\n}\n\nmodule.exports = RefreshControl;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\nimport type {\n DirectEventHandler,\n Float,\n Int32,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Whether the pull to refresh functionality is enabled.\n */\n enabled?: WithDefault,\n /**\n * The colors (at least one) that will be used to draw the refresh indicator.\n */\n colors?: ?$ReadOnlyArray,\n /**\n * The background color of the refresh indicator.\n */\n progressBackgroundColor?: ?ColorValue,\n /**\n * Size of the refresh indicator, see RefreshControl.SIZE.\n *\n * This type isn't currently accurate. It really is specific numbers\n * hard coded in the Android platform.\n *\n * Also, 1 isn't actually a safe default. We are able to set this here\n * because native code isn't currently consuming the generated artifact.\n * This will end up being\n * size?: WithDefault<'default' | 'large', 'default'>,\n */\n size?: WithDefault,\n /**\n * Progress view top offset\n */\n progressViewOffset?: WithDefault,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?DirectEventHandler,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n|}>;\n\nexport default (codegenNativeComponent(\n 'AndroidSwipeRefreshLayout',\n): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {DirectEventHandler, WithDefault} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The color of the refresh indicator.\n */\n tintColor?: ?ColorValue,\n /**\n * Title color.\n */\n titleColor?: ?ColorValue,\n /**\n * The title displayed under the refresh indicator.\n */\n title?: WithDefault,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?DirectEventHandler,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n|}>;\n\nexport default (codegenNativeComponent('PullToRefreshView', {\n paperComponentName: 'RCTRefreshControl',\n}): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst AnimatedImplementation = require('../../Animated/src/AnimatedImplementation');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\nconst ScrollResponder = require('../ScrollResponder');\nconst ScrollViewStickyHeader = require('./ScrollViewStickyHeader');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\n\nconst dismissKeyboard = require('../../Utilities/dismissKeyboard');\nconst flattenStyle = require('../../StyleSheet/flattenStyle');\nconst invariant = require('invariant');\nconst processDecelerationRate = require('./processDecelerationRate');\nconst requireNativeComponent = require('../../ReactNative/requireNativeComponent');\nconst resolveAssetSource = require('../../Image/resolveAssetSource');\nconst splitLayoutProps = require('../../StyleSheet/splitLayoutProps');\n\nimport type {NativeMethodsMixinType} from '../../Renderer/shims/ReactNativeTypes';\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {PointProp} from '../../StyleSheet/PointPropType';\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {\n PressEvent,\n ScrollEvent,\n LayoutEvent,\n} from '../../Types/CoreEventTypes';\nimport type {State as ScrollResponderState} from '../ScrollResponder';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {Props as ScrollViewStickyHeaderProps} from './ScrollViewStickyHeader';\n\nlet AndroidScrollView;\nlet AndroidHorizontalScrollContentView;\nlet AndroidHorizontalScrollView;\nlet RCTScrollView;\nlet RCTScrollContentView;\n\nif (Platform.OS === 'android') {\n AndroidScrollView = requireNativeComponent('RCTScrollView');\n AndroidHorizontalScrollView = requireNativeComponent(\n 'AndroidHorizontalScrollView',\n );\n AndroidHorizontalScrollContentView = requireNativeComponent(\n 'AndroidHorizontalScrollContentView',\n );\n} else if (Platform.OS === 'ios') {\n RCTScrollView = requireNativeComponent('RCTScrollView');\n RCTScrollContentView = requireNativeComponent('RCTScrollContentView');\n} else {\n RCTScrollView = requireNativeComponent('RCTScrollView');\n RCTScrollContentView = requireNativeComponent('RCTScrollContentView');\n}\n\nexport type ScrollResponderType = {\n ...ScrollView,\n ...typeof ScrollResponder.Mixin,\n};\n\ntype TouchableProps = $ReadOnly<{|\n onTouchStart?: (event: PressEvent) => void,\n onTouchMove?: (event: PressEvent) => void,\n onTouchEnd?: (event: PressEvent) => void,\n onTouchCancel?: (event: PressEvent) => void,\n onTouchEndCapture?: (event: PressEvent) => void,\n|}>;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Controls whether iOS should automatically adjust the content inset\n * for scroll views that are placed behind a navigation bar or\n * tab bar/ toolbar. The default value is true.\n * @platform ios\n */\n automaticallyAdjustContentInsets?: ?boolean,\n /**\n * The amount by which the scroll view content is inset from the edges\n * of the scroll view. Defaults to `{top: 0, left: 0, bottom: 0, right: 0}`.\n * @platform ios\n */\n contentInset?: ?EdgeInsetsProp,\n /**\n * Used to manually set the starting scroll offset.\n * The default value is `{x: 0, y: 0}`.\n * @platform ios\n */\n contentOffset?: ?PointProp,\n /**\n * When true, the scroll view bounces when it reaches the end of the\n * content if the content is larger then the scroll view along the axis of\n * the scroll direction. When false, it disables all bouncing even if\n * the `alwaysBounce*` props are true. The default value is true.\n * @platform ios\n */\n bounces?: ?boolean,\n /**\n * By default, ScrollView has an active pan responder that hijacks panresponders\n * deeper in the render tree in order to prevent accidental touches while scrolling.\n * However, in certain occasions (such as when using snapToInterval) in a vertical scrollview\n * You may want to disable this behavior in order to prevent the ScrollView from blocking touches\n */\n disableScrollViewPanResponder?: ?boolean,\n /**\n * When true, gestures can drive zoom past min/max and the zoom will animate\n * to the min/max value at gesture end, otherwise the zoom will not exceed\n * the limits.\n * @platform ios\n */\n bouncesZoom?: ?boolean,\n /**\n * When true, the scroll view bounces horizontally when it reaches the end\n * even if the content is smaller than the scroll view itself. The default\n * value is true when `horizontal={true}` and false otherwise.\n * @platform ios\n */\n alwaysBounceHorizontal?: ?boolean,\n /**\n * When true, the scroll view bounces vertically when it reaches the end\n * even if the content is smaller than the scroll view itself. The default\n * value is false when `horizontal={true}` and true otherwise.\n * @platform ios\n */\n alwaysBounceVertical?: ?boolean,\n /**\n * When true, the scroll view automatically centers the content when the\n * content is smaller than the scroll view bounds; when the content is\n * larger than the scroll view, this property has no effect. The default\n * value is false.\n * @platform ios\n */\n centerContent?: ?boolean,\n /**\n * The style of the scroll indicators.\n *\n * - `'default'` (the default), same as `black`.\n * - `'black'`, scroll indicator is black. This style is good against a light background.\n * - `'white'`, scroll indicator is white. This style is good against a dark background.\n *\n * @platform ios\n */\n indicatorStyle?: ?('default' | 'black' | 'white'),\n /**\n * When true, the ScrollView will try to lock to only vertical or horizontal\n * scrolling while dragging. The default value is false.\n * @platform ios\n */\n directionalLockEnabled?: ?boolean,\n /**\n * When false, once tracking starts, won't try to drag if the touch moves.\n * The default value is true.\n * @platform ios\n */\n canCancelContentTouches?: ?boolean,\n /**\n * When set, the scroll view will adjust the scroll position so that the first child that is\n * currently visible and at or beyond `minIndexForVisible` will not change position. This is\n * useful for lists that are loading content in both directions, e.g. a chat thread, where new\n * messages coming in might otherwise cause the scroll position to jump. A value of 0 is common,\n * but other values such as 1 can be used to skip loading spinners or other content that should\n * not maintain position.\n *\n * The optional `autoscrollToTopThreshold` can be used to make the content automatically scroll\n * to the top after making the adjustment if the user was within the threshold of the top before\n * the adjustment was made. This is also useful for chat-like applications where you want to see\n * new messages scroll into place, but not if the user has scrolled up a ways and it would be\n * disruptive to scroll a bunch.\n *\n * Caveat 1: Reordering elements in the scrollview with this enabled will probably cause\n * jumpiness and jank. It can be fixed, but there are currently no plans to do so. For now,\n * don't re-order the content of any ScrollViews or Lists that use this feature.\n *\n * Caveat 2: This simply uses `contentOffset` and `frame.origin` in native code to compute\n * visibility. Occlusion, transforms, and other complexity won't be taken into account as to\n * whether content is \"visible\" or not.\n *\n * @platform ios\n */\n maintainVisibleContentPosition?: ?$ReadOnly<{|\n minIndexForVisible: number,\n autoscrollToTopThreshold?: ?number,\n |}>,\n /**\n * The maximum allowed zoom scale. The default value is 1.0.\n * @platform ios\n */\n maximumZoomScale?: ?number,\n /**\n * The minimum allowed zoom scale. The default value is 1.0.\n * @platform ios\n */\n minimumZoomScale?: ?number,\n /**\n * When true, ScrollView allows use of pinch gestures to zoom in and out.\n * The default value is true.\n * @platform ios\n */\n pinchGestureEnabled?: ?boolean,\n /**\n * This controls how often the scroll event will be fired while scrolling\n * (as a time interval in ms). A lower number yields better accuracy for code\n * that is tracking the scroll position, but can lead to scroll performance\n * problems due to the volume of information being send over the bridge.\n *\n * Values between 0 and 17ms indicate 60fps updates are needed and throttling\n * will be disabled.\n *\n * If you do not need precise scroll position tracking, set this value higher\n * to limit the information being sent across the bridge.\n *\n * The default value is zero, which results in the scroll event being sent only\n * once each time the view is scrolled.\n *\n * @platform ios\n */\n scrollEventThrottle?: ?number,\n /**\n * The amount by which the scroll view indicators are inset from the edges\n * of the scroll view. This should normally be set to the same value as\n * the `contentInset`. Defaults to `{0, 0, 0, 0}`.\n * @platform ios\n */\n scrollIndicatorInsets?: ?EdgeInsetsProp,\n /**\n * When true, the scroll view can be programmatically scrolled beyond its\n * content size. The default value is false.\n * @platform ios\n */\n scrollToOverflowEnabled?: ?boolean,\n /**\n * When true, the scroll view scrolls to top when the status bar is tapped.\n * The default value is true.\n * @platform ios\n */\n scrollsToTop?: ?boolean,\n /**\n * Fires when the scroll view scrolls to top after the status bar has been tapped\n * @platform ios\n */\n onScrollToTop?: (event: ScrollEvent) => void,\n /**\n * When true, shows a horizontal scroll indicator.\n * The default value is true.\n */\n showsHorizontalScrollIndicator?: ?boolean,\n /**\n * When `snapToInterval` is set, `snapToAlignment` will define the relationship\n * of the snapping to the scroll view.\n *\n * - `'start'` (the default) will align the snap at the left (horizontal) or top (vertical)\n * - `'center'` will align the snap in the center\n * - `'end'` will align the snap at the right (horizontal) or bottom (vertical)\n *\n * @platform ios\n */\n snapToAlignment?: ?('start' | 'center' | 'end'),\n /**\n * The current scale of the scroll view content. The default value is 1.0.\n * @platform ios\n */\n zoomScale?: ?number,\n /**\n * This property specifies how the safe area insets are used to modify the\n * content area of the scroll view. The default value of this property is\n * \"never\". Available on iOS 11 and later.\n * @platform ios\n */\n contentInsetAdjustmentBehavior?: ?(\n | 'automatic'\n | 'scrollableAxes'\n | 'never'\n | 'always'\n ),\n /**\n * When true, ScrollView will emit updateChildFrames data in scroll events,\n * otherwise will not compute or emit child frame data. This only exists\n * to support legacy issues, `onLayout` should be used instead to retrieve\n * frame data.\n * The default value is false.\n * @platform ios\n */\n DEPRECATED_sendUpdatedChildFrames?: ?boolean,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Enables nested scrolling for Android API level 21+.\n * Nested scrolling is supported by default on iOS\n * @platform android\n */\n nestedScrollEnabled?: ?boolean,\n /**\n * Sometimes a scrollview takes up more space than its content fills. When this is\n * the case, this prop will fill the rest of the scrollview with a color to avoid setting\n * a background and creating unnecessary overdraw. This is an advanced optimization\n * that is not needed in the general case.\n * @platform android\n */\n endFillColor?: ?ColorValue,\n /**\n * Tag used to log scroll performance on this scroll view. Will force\n * momentum events to be turned on (see sendMomentumEvents). This doesn't do\n * anything out of the box and you need to implement a custom native\n * FpsListener for it to be useful.\n * @platform android\n */\n scrollPerfTag?: ?string,\n /**\n * Used to override default value of overScroll mode.\n *\n * Possible values:\n *\n * - `'auto'` - Default value, allow a user to over-scroll\n * this view only if the content is large enough to meaningfully scroll.\n * - `'always'` - Always allow a user to over-scroll this view.\n * - `'never'` - Never allow a user to over-scroll this view.\n *\n * @platform android\n */\n overScrollMode?: ?('auto' | 'always' | 'never'),\n /**\n * Causes the scrollbars not to turn transparent when they are not in use.\n * The default value is false.\n *\n * @platform android\n */\n persistentScrollbar?: ?boolean,\n|}>;\n\ntype VRProps = $ReadOnly<{|\n /**\n * Optionally an image can be used for the scroll bar thumb. This will\n * override the color. While the image is loading or the image fails to\n * load the color will be used instead. Use an alpha of 0 in the color\n * to avoid seeing it while the image is loading.\n *\n * - `uri` - a string representing the resource identifier for the image, which\n * should be either a local file path or the name of a static image resource\n * - `number` - Opaque type returned by something like\n * `import IMAGE from './image.jpg'`.\n * @platform vr\n */\n scrollBarThumbImage?: ?($ReadOnly<{||}> | number), // Opaque type returned by import IMAGE from './image.jpg'\n|}>;\n\ntype StickyHeaderComponentType = React.ComponentType & {\n setNextHeaderY: number => void,\n};\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n ...TouchableProps,\n ...IOSProps,\n ...AndroidProps,\n ...VRProps,\n\n /**\n * These styles will be applied to the scroll view content container which\n * wraps all of the child views. Example:\n *\n * ```\n * return (\n * \n * \n * );\n * ...\n * const styles = StyleSheet.create({\n * contentContainer: {\n * paddingVertical: 20\n * }\n * });\n * ```\n */\n contentContainerStyle?: ?ViewStyleProp,\n /**\n * When true, the scroll view stops on the next index (in relation to scroll\n * position at release) regardless of how fast the gesture is. This can be\n * used for horizontal pagination when the page is less than the width of\n * the ScrollView. The default value is false.\n */\n disableIntervalMomentum?: ?boolean,\n /**\n * A floating-point number that determines how quickly the scroll view\n * decelerates after the user lifts their finger. You may also use string\n * shortcuts `\"normal\"` and `\"fast\"` which match the underlying iOS settings\n * for `UIScrollViewDecelerationRateNormal` and\n * `UIScrollViewDecelerationRateFast` respectively.\n *\n * - `'normal'`: 0.998 on iOS, 0.985 on Android (the default)\n * - `'fast'`: 0.99 on iOS, 0.9 on Android\n */\n decelerationRate?: ?('fast' | 'normal' | number),\n /**\n * When true, the scroll view's children are arranged horizontally in a row\n * instead of vertically in a column. The default value is false.\n */\n horizontal?: ?boolean,\n /**\n * If sticky headers should stick at the bottom instead of the top of the\n * ScrollView. This is usually used with inverted ScrollViews.\n */\n invertStickyHeaders?: ?boolean,\n /**\n * Determines whether the keyboard gets dismissed in response to a drag.\n *\n * *Cross platform*\n *\n * - `'none'` (the default), drags do not dismiss the keyboard.\n * - `'on-drag'`, the keyboard is dismissed when a drag begins.\n *\n * *iOS Only*\n *\n * - `'interactive'`, the keyboard is dismissed interactively with the drag and moves in\n * synchrony with the touch; dragging upwards cancels the dismissal.\n * On android this is not supported and it will have the same behavior as 'none'.\n */\n keyboardDismissMode?: ?(\n | 'none' // default\n | 'on-drag' // cross-platform\n | 'interactive'\n ), // ios only\n /**\n * Determines when the keyboard should stay visible after a tap.\n *\n * - `'never'` (the default), tapping outside of the focused text input when the keyboard\n * is up dismisses the keyboard. When this happens, children won't receive the tap.\n * - `'always'`, the keyboard will not dismiss automatically, and the scroll view will not\n * catch taps, but children of the scroll view can catch taps.\n * - `'handled'`, the keyboard will not dismiss automatically when the tap was handled by\n * a children, (or captured by an ancestor).\n * - `false`, deprecated, use 'never' instead\n * - `true`, deprecated, use 'always' instead\n */\n keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | true | false),\n /**\n * Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).\n */\n onMomentumScrollBegin?: (event: ScrollEvent) => void,\n /**\n * Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop).\n */\n onMomentumScrollEnd?: (event: ScrollEvent) => void,\n\n /**\n * Fires at most once per frame during scrolling. The frequency of the\n * events can be controlled using the `scrollEventThrottle` prop.\n */\n onScroll?: (event: ScrollEvent) => void,\n /**\n * Called when the user begins to drag the scroll view.\n */\n onScrollBeginDrag?: (event: ScrollEvent) => void,\n /**\n * Called when the user stops dragging the scroll view and it either stops\n * or begins to glide.\n */\n onScrollEndDrag?: (event: ScrollEvent) => void,\n /**\n * Called when scrollable content view of the ScrollView changes.\n *\n * Handler function is passed the content width and content height as parameters:\n * `(contentWidth, contentHeight)`\n *\n * It's implemented using onLayout handler attached to the content container\n * which this ScrollView renders.\n */\n onContentSizeChange?: (contentWidth: number, contentHeight: number) => void,\n onKeyboardDidShow?: (event: PressEvent) => void,\n /**\n * When true, the scroll view stops on multiples of the scroll view's size\n * when scrolling. This can be used for horizontal pagination. The default\n * value is false.\n *\n * Note: Vertical pagination is not supported on Android.\n */\n pagingEnabled?: ?boolean,\n\n /**\n * When false, the view cannot be scrolled via touch interaction.\n * The default value is true.\n *\n * Note that the view can always be scrolled by calling `scrollTo`.\n */\n scrollEnabled?: ?boolean,\n /**\n * When true, shows a vertical scroll indicator.\n * The default value is true.\n */\n showsVerticalScrollIndicator?: ?boolean,\n /**\n * An array of child indices determining which children get docked to the\n * top of the screen when scrolling. For example, passing\n * `stickyHeaderIndices={[0]}` will cause the first child to be fixed to the\n * top of the scroll view. This property is not supported in conjunction\n * with `horizontal={true}`.\n */\n stickyHeaderIndices?: ?$ReadOnlyArray,\n /**\n * A React Component that will be used to render sticky headers.\n * To be used together with `stickyHeaderIndices` or with `SectionList`, defaults to `ScrollViewStickyHeader`.\n * You may need to set this if your sticky header uses custom transforms (eg. translation),\n * for example when you want your list to have an animated hidable header.\n */\n StickyHeaderComponent?: StickyHeaderComponentType,\n /**\n * When set, causes the scroll view to stop at multiples of the value of\n * `snapToInterval`. This can be used for paginating through children\n * that have lengths smaller than the scroll view. Typically used in\n * combination with `snapToAlignment` and `decelerationRate=\"fast\"`.\n *\n * Overrides less configurable `pagingEnabled` prop.\n */\n snapToInterval?: ?number,\n /**\n * When set, causes the scroll view to stop at the defined offsets.\n * This can be used for paginating through variously sized children\n * that have lengths smaller than the scroll view. Typically used in\n * combination with `decelerationRate=\"fast\"`.\n *\n * Overrides less configurable `pagingEnabled` and `snapToInterval` props.\n */\n snapToOffsets?: ?$ReadOnlyArray,\n /**\n * Use in conjunction with `snapToOffsets`. By default, the beginning\n * of the list counts as a snap offset. Set `snapToStart` to false to disable\n * this behavior and allow the list to scroll freely between its start and\n * the first `snapToOffsets` offset.\n * The default value is true.\n */\n snapToStart?: ?boolean,\n /**\n * Use in conjunction with `snapToOffsets`. By default, the end\n * of the list counts as a snap offset. Set `snapToEnd` to false to disable\n * this behavior and allow the list to scroll freely between its end and\n * the last `snapToOffsets` offset.\n * The default value is true.\n */\n snapToEnd?: ?boolean,\n /**\n * Experimental: When true, offscreen child views (whose `overflow` value is\n * `hidden`) are removed from their native backing superview when offscreen.\n * This can improve scrolling performance on long lists. The default value is\n * true.\n */\n removeClippedSubviews?: ?boolean,\n /**\n * A RefreshControl component, used to provide pull-to-refresh\n * functionality for the ScrollView. Only works for vertical ScrollViews\n * (`horizontal` prop must be `false`).\n *\n * See [RefreshControl](docs/refreshcontrol.html).\n */\n // $FlowFixMe - how to handle generic type without existential operator?\n refreshControl?: ?React.Element,\n children?: React.Node,\n|}>;\n\ntype State = {|\n layoutHeight: ?number,\n ...ScrollResponderState,\n|};\n\nfunction createScrollResponder(\n node: React.ElementRef,\n): typeof ScrollResponder.Mixin {\n const scrollResponder = {...ScrollResponder.Mixin};\n\n for (const key in scrollResponder) {\n if (typeof scrollResponder[key] === 'function') {\n scrollResponder[key] = scrollResponder[key].bind(node);\n }\n }\n\n return scrollResponder;\n}\n\ntype ContextType = {|horizontal: boolean|} | null;\nconst Context = React.createContext(null);\nconst standardHorizontalContext: ContextType = Object.freeze({\n horizontal: true,\n});\nconst standardVerticalContext: ContextType = Object.freeze({horizontal: false});\n\n/**\n * Component that wraps platform ScrollView while providing\n * integration with touch locking \"responder\" system.\n *\n * Keep in mind that ScrollViews must have a bounded height in order to work,\n * since they contain unbounded-height children into a bounded container (via\n * a scroll interaction). In order to bound the height of a ScrollView, either\n * set the height of the view directly (discouraged) or make sure all parent\n * views have bounded height. Forgetting to transfer `{flex: 1}` down the\n * view stack can lead to errors here, which the element inspector makes\n * easy to debug.\n *\n * Doesn't yet support other contained responders from blocking this scroll\n * view from becoming the responder.\n *\n *\n * `` vs [``](/react-native/docs/flatlist.html) - which one to use?\n *\n * `ScrollView` simply renders all its react child components at once. That\n * makes it very easy to understand and use.\n *\n * On the other hand, this has a performance downside. Imagine you have a very\n * long list of items you want to display, maybe several screens worth of\n * content. Creating JS components and native views for everything all at once,\n * much of which may not even be shown, will contribute to slow rendering and\n * increased memory usage.\n *\n * This is where `FlatList` comes into play. `FlatList` renders items lazily,\n * just when they are about to appear, and removes items that scroll way off\n * screen to save memory and processing time.\n *\n * `FlatList` is also handy if you want to render separators between your items,\n * multiple columns, infinite scroll loading, or any number of other features it\n * supports out of the box.\n */\nclass ScrollView extends React.Component {\n static Context: React$Context = Context;\n /**\n * Part 1: Removing ScrollResponder.Mixin:\n *\n * 1. Mixin methods should be flow typed. That's why we create a\n * copy of ScrollResponder.Mixin and attach it to this._scrollResponder.\n * Otherwise, we'd have to manually declare each method on the component\n * class and assign it a flow type.\n * 2. Mixin methods can call component methods, and access the component's\n * props and state. So, we need to bind all mixin methods to the\n * component instance.\n * 3. Continued...\n */\n _scrollResponder: typeof ScrollResponder.Mixin = createScrollResponder(this);\n\n constructor(props: Props) {\n super(props);\n\n /**\n * Part 2: Removing ScrollResponder.Mixin\n *\n * 3. Mixin methods access other mixin methods via dynamic dispatch using\n * this. Since mixin methods are bound to the component instance, we need\n * to copy all mixin methods to the component instance. This is also\n * necessary because getScrollResponder() is a public method that returns\n * an object that can be used to execute all scrollResponder methods.\n * Since the object returned from that method is the ScrollView instance,\n * we need to bind all mixin methods to the ScrollView instance.\n */\n for (const key in ScrollResponder.Mixin) {\n if (\n typeof ScrollResponder.Mixin[key] === 'function' &&\n key.startsWith('scrollResponder')\n ) {\n // $FlowFixMe - dynamically adding properties to a class\n (this: any)[key] = ScrollResponder.Mixin[key].bind(this);\n }\n }\n\n /**\n * Part 3: Removing ScrollResponder.Mixin\n *\n * 4. Mixins can initialize properties and use properties on the component\n * instance.\n */\n Object.keys(ScrollResponder.Mixin)\n .filter(key => typeof ScrollResponder.Mixin[key] !== 'function')\n .forEach(key => {\n // $FlowFixMe - dynamically adding properties to a class\n (this: any)[key] = ScrollResponder.Mixin[key];\n });\n }\n\n _scrollAnimatedValue: AnimatedImplementation.Value = new AnimatedImplementation.Value(\n 0,\n );\n _scrollAnimatedValueAttachment: ?{detach: () => void} = null;\n _stickyHeaderRefs: Map = new Map();\n _headerLayoutYs: Map = new Map();\n\n state: State = {\n layoutHeight: null,\n ...ScrollResponder.Mixin.scrollResponderMixinGetInitialState(),\n };\n\n UNSAFE_componentWillMount() {\n this._scrollResponder.UNSAFE_componentWillMount();\n this._scrollAnimatedValue = new AnimatedImplementation.Value(\n this.props.contentOffset ? this.props.contentOffset.y : 0,\n );\n this._scrollAnimatedValue.setOffset(\n this.props.contentInset ? this.props.contentInset.top || 0 : 0,\n );\n this._stickyHeaderRefs = new Map();\n this._headerLayoutYs = new Map();\n }\n\n UNSAFE_componentWillReceiveProps(nextProps: Props) {\n const currentContentInsetTop = this.props.contentInset\n ? this.props.contentInset.top\n : 0;\n const nextContentInsetTop = nextProps.contentInset\n ? nextProps.contentInset.top\n : 0;\n if (currentContentInsetTop !== nextContentInsetTop) {\n this._scrollAnimatedValue.setOffset(nextContentInsetTop || 0);\n }\n }\n\n componentDidMount() {\n this._updateAnimatedNodeAttachment();\n }\n\n componentDidUpdate() {\n this._updateAnimatedNodeAttachment();\n }\n\n componentWillUnmount() {\n this._scrollResponder.componentWillUnmount();\n if (this._scrollAnimatedValueAttachment) {\n this._scrollAnimatedValueAttachment.detach();\n }\n }\n\n setNativeProps(props: {[key: string]: mixed}) {\n this._scrollViewRef && this._scrollViewRef.setNativeProps(props);\n }\n\n /**\n * Returns a reference to the underlying scroll responder, which supports\n * operations like `scrollTo`. All ScrollView-like components should\n * implement this method so that they can be composed while providing access\n * to the underlying scroll responder's methods.\n */\n getScrollResponder(): ScrollResponderType {\n // $FlowFixMe - overriding type to include ScrollResponder.Mixin\n return ((this: any): ScrollResponderType);\n }\n\n getScrollableNode(): ?number {\n return ReactNative.findNodeHandle(this._scrollViewRef);\n }\n\n getInnerViewNode(): ?number {\n return ReactNative.findNodeHandle(this._innerViewRef);\n }\n\n getNativeScrollRef(): ?ScrollView {\n return this._scrollViewRef;\n }\n\n /**\n * Scrolls to a given x, y offset, either immediately or with a smooth animation.\n *\n * Example:\n *\n * `scrollTo({x: 0, y: 0, animated: true})`\n *\n * Note: The weird function signature is due to the fact that, for historical reasons,\n * the function also accepts separate arguments as an alternative to the options object.\n * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.\n */\n scrollTo(\n options?: {x?: number, y?: number, animated?: boolean} | number,\n deprecatedX?: number,\n deprecatedAnimated?: boolean,\n ) {\n let x, y, animated;\n if (typeof options === 'number') {\n console.warn(\n '`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, ' +\n 'animated: true})` instead.',\n );\n y = options;\n x = deprecatedX;\n animated = deprecatedAnimated;\n } else if (options) {\n y = options.y;\n x = options.x;\n animated = options.animated;\n }\n this._scrollResponder.scrollResponderScrollTo({\n x: x || 0,\n y: y || 0,\n animated: animated !== false,\n });\n }\n\n /**\n * If this is a vertical ScrollView scrolls to the bottom.\n * If this is a horizontal ScrollView scrolls to the right.\n *\n * Use `scrollToEnd({animated: true})` for smooth animated scrolling,\n * `scrollToEnd({animated: false})` for immediate scrolling.\n * If no options are passed, `animated` defaults to true.\n */\n scrollToEnd(options?: ?{animated?: boolean}) {\n // Default to true\n const animated = (options && options.animated) !== false;\n this._scrollResponder.scrollResponderScrollToEnd({\n animated: animated,\n });\n }\n\n /**\n * Deprecated, use `scrollTo` instead.\n */\n scrollWithoutAnimationTo(y: number = 0, x: number = 0) {\n console.warn(\n '`scrollWithoutAnimationTo` is deprecated. Use `scrollTo` instead',\n );\n this.scrollTo({x, y, animated: false});\n }\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators() {\n this._scrollResponder.scrollResponderFlashScrollIndicators();\n }\n\n _getKeyForIndex(index, childArray) {\n const child = childArray[index];\n return child && child.key;\n }\n\n _updateAnimatedNodeAttachment() {\n if (this._scrollAnimatedValueAttachment) {\n this._scrollAnimatedValueAttachment.detach();\n }\n if (\n this.props.stickyHeaderIndices &&\n this.props.stickyHeaderIndices.length > 0\n ) {\n this._scrollAnimatedValueAttachment = AnimatedImplementation.attachNativeEvent(\n this._scrollViewRef,\n 'onScroll',\n [{nativeEvent: {contentOffset: {y: this._scrollAnimatedValue}}}],\n );\n }\n }\n\n _setStickyHeaderRef(key: string, ref: ?StickyHeaderComponentType) {\n if (ref) {\n this._stickyHeaderRefs.set(key, ref);\n } else {\n this._stickyHeaderRefs.delete(key);\n }\n }\n\n _onStickyHeaderLayout(index, event, key) {\n const {stickyHeaderIndices} = this.props;\n if (!stickyHeaderIndices) {\n return;\n }\n const childArray = React.Children.toArray(this.props.children);\n if (key !== this._getKeyForIndex(index, childArray)) {\n // ignore stale layout update\n return;\n }\n\n const layoutY = event.nativeEvent.layout.y;\n this._headerLayoutYs.set(key, layoutY);\n\n const indexOfIndex = stickyHeaderIndices.indexOf(index);\n const previousHeaderIndex = stickyHeaderIndices[indexOfIndex - 1];\n if (previousHeaderIndex != null) {\n const previousHeader = this._stickyHeaderRefs.get(\n this._getKeyForIndex(previousHeaderIndex, childArray),\n );\n previousHeader &&\n previousHeader.setNextHeaderY &&\n previousHeader.setNextHeaderY(layoutY);\n }\n }\n\n _handleScroll = (e: ScrollEvent) => {\n if (__DEV__) {\n if (\n this.props.onScroll &&\n this.props.scrollEventThrottle == null &&\n Platform.OS === 'ios'\n ) {\n console.log(\n 'You specified `onScroll` on a but not ' +\n '`scrollEventThrottle`. You will only receive one event. ' +\n 'Using `16` you get all the events but be aware that it may ' +\n \"cause frame drops, use a bigger number if you don't need as \" +\n 'much precision.',\n );\n }\n }\n if (Platform.OS === 'android') {\n if (\n this.props.keyboardDismissMode === 'on-drag' &&\n this.state.isTouching\n ) {\n dismissKeyboard();\n }\n }\n this._scrollResponder.scrollResponderHandleScroll(e);\n };\n\n _handleLayout = (e: LayoutEvent) => {\n if (this.props.invertStickyHeaders === true) {\n this.setState({layoutHeight: e.nativeEvent.layout.height});\n }\n if (this.props.onLayout) {\n this.props.onLayout(e);\n }\n };\n\n _handleContentOnLayout = (e: LayoutEvent) => {\n const {width, height} = e.nativeEvent.layout;\n this.props.onContentSizeChange &&\n this.props.onContentSizeChange(width, height);\n };\n\n _scrollViewRef: ?ScrollView = null;\n _setScrollViewRef = (ref: ?ScrollView) => {\n this._scrollViewRef = ref;\n };\n\n _innerViewRef: ?NativeMethodsMixinType = null;\n _setInnerViewRef = (ref: ?NativeMethodsMixinType) => {\n this._innerViewRef = ref;\n };\n\n render(): React.Node | React.Element {\n let ScrollViewClass;\n let ScrollContentContainerViewClass;\n if (Platform.OS === 'android') {\n if (this.props.horizontal === true) {\n ScrollViewClass = AndroidHorizontalScrollView;\n ScrollContentContainerViewClass = AndroidHorizontalScrollContentView;\n } else {\n ScrollViewClass = AndroidScrollView;\n ScrollContentContainerViewClass = View;\n }\n } else {\n ScrollViewClass = RCTScrollView;\n ScrollContentContainerViewClass = RCTScrollContentView;\n }\n\n invariant(\n ScrollViewClass !== undefined,\n 'ScrollViewClass must not be undefined',\n );\n\n invariant(\n ScrollContentContainerViewClass !== undefined,\n 'ScrollContentContainerViewClass must not be undefined',\n );\n\n const contentContainerStyle = [\n this.props.horizontal === true && styles.contentContainerHorizontal,\n this.props.contentContainerStyle,\n ];\n if (__DEV__ && this.props.style !== undefined) {\n const style = flattenStyle(this.props.style);\n const childLayoutProps = ['alignItems', 'justifyContent'].filter(\n prop => style && style[prop] !== undefined,\n );\n invariant(\n childLayoutProps.length === 0,\n 'ScrollView child layout (' +\n JSON.stringify(childLayoutProps) +\n ') must be applied through the contentContainerStyle prop.',\n );\n }\n\n let contentSizeChangeProps = {};\n if (this.props.onContentSizeChange) {\n contentSizeChangeProps = {\n onLayout: this._handleContentOnLayout,\n };\n }\n\n const {stickyHeaderIndices} = this.props;\n let children = this.props.children;\n\n if (stickyHeaderIndices != null && stickyHeaderIndices.length > 0) {\n const childArray = React.Children.toArray(this.props.children);\n\n children = childArray.map((child, index) => {\n const indexOfIndex = child ? stickyHeaderIndices.indexOf(index) : -1;\n if (indexOfIndex > -1) {\n const key = child.key;\n const nextIndex = stickyHeaderIndices[indexOfIndex + 1];\n const StickyHeaderComponent =\n this.props.StickyHeaderComponent || ScrollViewStickyHeader;\n return (\n this._setStickyHeaderRef(key, ref)}\n nextHeaderLayoutY={this._headerLayoutYs.get(\n this._getKeyForIndex(nextIndex, childArray),\n )}\n onLayout={event => this._onStickyHeaderLayout(index, event, key)}\n scrollAnimatedValue={this._scrollAnimatedValue}\n inverted={this.props.invertStickyHeaders}\n scrollViewHeight={this.state.layoutHeight}>\n {child}\n \n );\n } else {\n return child;\n }\n });\n }\n children = (\n \n {children}\n \n );\n\n const hasStickyHeaders =\n Array.isArray(stickyHeaderIndices) && stickyHeaderIndices.length > 0;\n\n const contentContainer = (\n \n {children}\n \n );\n\n const alwaysBounceHorizontal =\n this.props.alwaysBounceHorizontal !== undefined\n ? this.props.alwaysBounceHorizontal\n : this.props.horizontal;\n\n const alwaysBounceVertical =\n this.props.alwaysBounceVertical !== undefined\n ? this.props.alwaysBounceVertical\n : !this.props.horizontal;\n\n const DEPRECATED_sendUpdatedChildFrames = !!this.props\n .DEPRECATED_sendUpdatedChildFrames;\n\n const baseStyle =\n this.props.horizontal === true\n ? styles.baseHorizontal\n : styles.baseVertical;\n const props = {\n ...this.props,\n alwaysBounceHorizontal,\n alwaysBounceVertical,\n style: [baseStyle, this.props.style],\n // Override the onContentSizeChange from props, since this event can\n // bubble up from TextInputs\n onContentSizeChange: null,\n onLayout: this._handleLayout,\n onMomentumScrollBegin: this._scrollResponder\n .scrollResponderHandleMomentumScrollBegin,\n onMomentumScrollEnd: this._scrollResponder\n .scrollResponderHandleMomentumScrollEnd,\n onResponderGrant: this._scrollResponder\n .scrollResponderHandleResponderGrant,\n onResponderReject: this._scrollResponder\n .scrollResponderHandleResponderReject,\n onResponderRelease: this._scrollResponder\n .scrollResponderHandleResponderRelease,\n // $FlowFixMe\n onResponderTerminate: this._scrollResponder\n .scrollResponderHandleTerminate,\n onResponderTerminationRequest: this._scrollResponder\n .scrollResponderHandleTerminationRequest,\n onScrollBeginDrag: this._scrollResponder\n .scrollResponderHandleScrollBeginDrag,\n onScrollEndDrag: this._scrollResponder.scrollResponderHandleScrollEndDrag,\n onScrollShouldSetResponder: this._scrollResponder\n .scrollResponderHandleScrollShouldSetResponder,\n onStartShouldSetResponder: this._scrollResponder\n .scrollResponderHandleStartShouldSetResponder,\n onStartShouldSetResponderCapture: this._scrollResponder\n .scrollResponderHandleStartShouldSetResponderCapture,\n onTouchEnd: this._scrollResponder.scrollResponderHandleTouchEnd,\n onTouchMove: this._scrollResponder.scrollResponderHandleTouchMove,\n onTouchStart: this._scrollResponder.scrollResponderHandleTouchStart,\n onTouchCancel: this._scrollResponder.scrollResponderHandleTouchCancel,\n onScroll: this._handleScroll,\n scrollBarThumbImage: resolveAssetSource(this.props.scrollBarThumbImage),\n scrollEventThrottle: hasStickyHeaders\n ? 1\n : this.props.scrollEventThrottle,\n sendMomentumEvents:\n this.props.onMomentumScrollBegin || this.props.onMomentumScrollEnd\n ? true\n : false,\n DEPRECATED_sendUpdatedChildFrames,\n // default to true\n snapToStart: this.props.snapToStart !== false,\n // default to true\n snapToEnd: this.props.snapToEnd !== false,\n // pagingEnabled is overridden by snapToInterval / snapToOffsets\n pagingEnabled: Platform.select({\n // on iOS, pagingEnabled must be set to false to have snapToInterval / snapToOffsets work\n ios:\n this.props.pagingEnabled === true &&\n this.props.snapToInterval == null &&\n this.props.snapToOffsets == null,\n // on Android, pagingEnabled must be set to true to have snapToInterval / snapToOffsets work\n android:\n this.props.pagingEnabled === true ||\n this.props.snapToInterval != null ||\n this.props.snapToOffsets != null,\n }),\n };\n\n const {decelerationRate} = this.props;\n if (decelerationRate != null) {\n props.decelerationRate = processDecelerationRate(decelerationRate);\n }\n\n const refreshControl = this.props.refreshControl;\n\n if (refreshControl) {\n if (Platform.OS === 'ios') {\n // On iOS the RefreshControl is a child of the ScrollView.\n // tvOS lacks native support for RefreshControl, so don't include it in that case\n return (\n // $FlowFixMe\n \n {Platform.isTV ? null : refreshControl}\n {contentContainer}\n \n );\n } else if (Platform.OS === 'android') {\n // On Android wrap the ScrollView with a AndroidSwipeRefreshLayout.\n // Since the ScrollView is wrapped add the style props to the\n // AndroidSwipeRefreshLayout and use flex: 1 for the ScrollView.\n // Note: we should split props.style on the inner and outer props\n // however, the ScrollView still needs the baseStyle to be scrollable\n const {outer, inner} = splitLayoutProps(flattenStyle(props.style));\n return React.cloneElement(\n refreshControl,\n {style: [baseStyle, outer]},\n \n {contentContainer}\n ,\n );\n }\n }\n return (\n // $FlowFixMe\n \n {contentContainer}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n baseVertical: {\n flexGrow: 1,\n flexShrink: 1,\n flexDirection: 'column',\n overflow: 'scroll',\n },\n baseHorizontal: {\n flexGrow: 1,\n flexShrink: 1,\n flexDirection: 'row',\n overflow: 'scroll',\n },\n contentContainerHorizontal: {\n flexDirection: 'row',\n },\n});\n\nmodule.exports = ScrollView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Dimensions = require('../Utilities/Dimensions');\nconst FrameRateLogger = require('../Interaction/FrameRateLogger');\nconst Keyboard = require('./Keyboard/Keyboard');\nconst ReactNative = require('../Renderer/shims/ReactNative');\nconst TextInputState = require('./TextInput/TextInputState');\nconst UIManager = require('../ReactNative/UIManager');\n\nconst invariant = require('invariant');\nconst nullthrows = require('nullthrows');\nconst performanceNow = require('fbjs/lib/performanceNow');\nconst warning = require('fbjs/lib/warning');\n\nconst {ScrollViewManager} = require('../BatchedBridge/NativeModules');\n\nimport type {PressEvent, ScrollEvent} from '../Types/CoreEventTypes';\nimport type {KeyboardEvent} from './Keyboard/Keyboard';\nimport type EmitterSubscription from '../vendor/emitter/EmitterSubscription';\n\n/**\n * Mixin that can be integrated in order to handle scrolling that plays well\n * with `ResponderEventPlugin`. Integrate with your platform specific scroll\n * views, or even your custom built (every-frame animating) scroll views so that\n * all of these systems play well with the `ResponderEventPlugin`.\n *\n * iOS scroll event timing nuances:\n * ===============================\n *\n *\n * Scrolling without bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... physical touch starts ...\n * 2. `onTouchStartCapture` (when you press down to stop the scroll)\n * 3. `onTouchStart` (same, but bubble phase)\n * 4. `onResponderRelease` (when lifting up - you could pause forever before * lifting)\n * 5. `onMomentumScrollEnd`\n *\n *\n * Scrolling with bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... bounce begins ...\n * ... some time elapses ...\n * ... physical touch during bounce ...\n * 2. `onMomentumScrollEnd` (Makes no sense why this occurs first during bounce)\n * 3. `onTouchStartCapture` (immediately after `onMomentumScrollEnd`)\n * 4. `onTouchStart` (same, but bubble phase)\n * 5. `onTouchEnd` (You could hold the touch start for a long time)\n * 6. `onMomentumScrollBegin` (When releasing the view starts bouncing back)\n *\n * So when we receive an `onTouchStart`, how can we tell if we are touching\n * *during* an animation (which then causes the animation to stop)? The only way\n * to tell is if the `touchStart` occurred immediately after the\n * `onMomentumScrollEnd`.\n *\n * This is abstracted out for you, so you can just call this.scrollResponderIsAnimating() if\n * necessary\n *\n * `ScrollResponder` also includes logic for blurring a currently focused input\n * if one is focused while scrolling. The `ScrollResponder` is a natural place\n * to put this logic since it can support not dismissing the keyboard while\n * scrolling, unless a recognized \"tap\"-like gesture has occurred.\n *\n * The public lifecycle API includes events for keyboard interaction, responder\n * interaction, and scrolling (among others). The keyboard callbacks\n * `onKeyboardWill/Did/*` are *global* events, but are invoked on scroll\n * responder's props so that you can guarantee that the scroll responder's\n * internal state has been updated accordingly (and deterministically) by\n * the time the props callbacks are invoke. Otherwise, you would always wonder\n * if the scroll responder is currently in a state where it recognizes new\n * keyboard positions etc. If coordinating scrolling with keyboard movement,\n * *always* use these hooks instead of listening to your own global keyboard\n * events.\n *\n * Public keyboard lifecycle API: (props callbacks)\n *\n * Standard Keyboard Appearance Sequence:\n *\n * this.props.onKeyboardWillShow\n * this.props.onKeyboardDidShow\n *\n * `onScrollResponderKeyboardDismissed` will be invoked if an appropriate\n * tap inside the scroll responder's scrollable region was responsible\n * for the dismissal of the keyboard. There are other reasons why the\n * keyboard could be dismissed.\n *\n * this.props.onScrollResponderKeyboardDismissed\n *\n * Standard Keyboard Hide Sequence:\n *\n * this.props.onKeyboardWillHide\n * this.props.onKeyboardDidHide\n */\n\nconst IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;\n\nexport type State = {|\n isTouching: boolean,\n lastMomentumScrollBeginTime: number,\n lastMomentumScrollEndTime: number,\n observedScrollSinceBecomingResponder: boolean,\n becameResponderWhileAnimating: boolean,\n|};\n\nconst ScrollResponderMixin = {\n _subscriptionKeyboardWillShow: (null: ?EmitterSubscription),\n _subscriptionKeyboardWillHide: (null: ?EmitterSubscription),\n _subscriptionKeyboardDidShow: (null: ?EmitterSubscription),\n _subscriptionKeyboardDidHide: (null: ?EmitterSubscription),\n scrollResponderMixinGetInitialState: function(): State {\n return {\n isTouching: false,\n lastMomentumScrollBeginTime: 0,\n lastMomentumScrollEndTime: 0,\n\n // Reset to false every time becomes responder. This is used to:\n // - Determine if the scroll view has been scrolled and therefore should\n // refuse to give up its responder lock.\n // - Determine if releasing should dismiss the keyboard when we are in\n // tap-to-dismiss mode (this.props.keyboardShouldPersistTaps !== 'always').\n observedScrollSinceBecomingResponder: false,\n becameResponderWhileAnimating: false,\n };\n },\n\n /**\n * Invoke this from an `onScroll` event.\n */\n scrollResponderHandleScrollShouldSetResponder: function(): boolean {\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n return this.state.isTouching;\n },\n\n /**\n * Merely touch starting is not sufficient for a scroll view to become the\n * responder. Being the \"responder\" means that the very next touch move/end\n * event will result in an action/movement.\n *\n * Invoke this from an `onStartShouldSetResponder` event.\n *\n * `onStartShouldSetResponder` is used when the next move/end will trigger\n * some UI movement/action, but when you want to yield priority to views\n * nested inside of the view.\n *\n * There may be some cases where scroll views actually should return `true`\n * from `onStartShouldSetResponder`: Any time we are detecting a standard tap\n * that gives priority to nested views.\n *\n * - If a single tap on the scroll view triggers an action such as\n * recentering a map style view yet wants to give priority to interaction\n * views inside (such as dropped pins or labels), then we would return true\n * from this method when there is a single touch.\n *\n * - Similar to the previous case, if a two finger \"tap\" should trigger a\n * zoom, we would check the `touches` count, and if `>= 2`, we would return\n * true.\n *\n */\n scrollResponderHandleStartShouldSetResponder: function(\n e: PressEvent,\n ): boolean {\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n\n const currentlyFocusedTextInput = TextInputState.currentlyFocusedField();\n\n if (\n this.props.keyboardShouldPersistTaps === 'handled' &&\n currentlyFocusedTextInput != null &&\n e.target !== currentlyFocusedTextInput\n ) {\n return true;\n }\n return false;\n },\n\n /**\n * There are times when the scroll view wants to become the responder\n * (meaning respond to the next immediate `touchStart/touchEnd`), in a way\n * that *doesn't* give priority to nested views (hence the capture phase):\n *\n * - Currently animating.\n * - Tapping anywhere that is not a text input, while the keyboard is\n * up (which should dismiss the keyboard).\n *\n * Invoke this from an `onStartShouldSetResponderCapture` event.\n */\n scrollResponderHandleStartShouldSetResponderCapture: function(\n e: PressEvent,\n ): boolean {\n // The scroll view should receive taps instead of its descendants if:\n // * it is already animating/decelerating\n if (this.scrollResponderIsAnimating()) {\n return true;\n }\n\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n\n // * the keyboard is up, keyboardShouldPersistTaps is 'never' (the default),\n // and a new touch starts with a non-textinput target (in which case the\n // first tap should be sent to the scroll view and dismiss the keyboard,\n // then the second tap goes to the actual interior view)\n const currentlyFocusedTextInput = TextInputState.currentlyFocusedField();\n const {keyboardShouldPersistTaps} = this.props;\n const keyboardNeverPersistTaps =\n !keyboardShouldPersistTaps || keyboardShouldPersistTaps === 'never';\n if (\n keyboardNeverPersistTaps &&\n currentlyFocusedTextInput != null &&\n e.target &&\n !TextInputState.isTextInput(e.target)\n ) {\n return true;\n }\n\n return false;\n },\n\n /**\n * Invoke this from an `onResponderReject` event.\n *\n * Some other element is not yielding its role as responder. Normally, we'd\n * just disable the `UIScrollView`, but a touch has already began on it, the\n * `UIScrollView` will not accept being disabled after that. The easiest\n * solution for now is to accept the limitation of disallowing this\n * altogether. To improve this, find a way to disable the `UIScrollView` after\n * a touch has already started.\n */\n scrollResponderHandleResponderReject: function() {},\n\n /**\n * We will allow the scroll view to give up its lock iff it acquired the lock\n * during an animation. This is a very useful default that happens to satisfy\n * many common user experiences.\n *\n * - Stop a scroll on the left edge, then turn that into an outer view's\n * backswipe.\n * - Stop a scroll mid-bounce at the top, continue pulling to have the outer\n * view dismiss.\n * - However, without catching the scroll view mid-bounce (while it is\n * motionless), if you drag far enough for the scroll view to become\n * responder (and therefore drag the scroll view a bit), any backswipe\n * navigation of a swipe gesture higher in the view hierarchy, should be\n * rejected.\n */\n scrollResponderHandleTerminationRequest: function(): boolean {\n return !this.state.observedScrollSinceBecomingResponder;\n },\n\n /**\n * Invoke this from an `onTouchEnd` event.\n *\n * @param {PressEvent} e Event.\n */\n scrollResponderHandleTouchEnd: function(e: PressEvent) {\n const nativeEvent = e.nativeEvent;\n this.state.isTouching = nativeEvent.touches.length !== 0;\n this.props.onTouchEnd && this.props.onTouchEnd(e);\n },\n\n /**\n * Invoke this from an `onTouchCancel` event.\n *\n * @param {PressEvent} e Event.\n */\n scrollResponderHandleTouchCancel: function(e: PressEvent) {\n this.state.isTouching = false;\n this.props.onTouchCancel && this.props.onTouchCancel(e);\n },\n\n /**\n * Invoke this from an `onResponderRelease` event.\n */\n scrollResponderHandleResponderRelease: function(e: PressEvent) {\n this.props.onResponderRelease && this.props.onResponderRelease(e);\n\n // By default scroll views will unfocus a textField\n // if another touch occurs outside of it\n const currentlyFocusedTextInput = TextInputState.currentlyFocusedField();\n if (\n this.props.keyboardShouldPersistTaps !== true &&\n this.props.keyboardShouldPersistTaps !== 'always' &&\n currentlyFocusedTextInput != null &&\n e.target !== currentlyFocusedTextInput &&\n !this.state.observedScrollSinceBecomingResponder &&\n !this.state.becameResponderWhileAnimating\n ) {\n this.props.onScrollResponderKeyboardDismissed &&\n this.props.onScrollResponderKeyboardDismissed(e);\n TextInputState.blurTextInput(currentlyFocusedTextInput);\n }\n },\n\n scrollResponderHandleScroll: function(e: ScrollEvent) {\n this.state.observedScrollSinceBecomingResponder = true;\n this.props.onScroll && this.props.onScroll(e);\n },\n\n /**\n * Invoke this from an `onResponderGrant` event.\n */\n scrollResponderHandleResponderGrant: function(e: ScrollEvent) {\n this.state.observedScrollSinceBecomingResponder = false;\n this.props.onResponderGrant && this.props.onResponderGrant(e);\n this.state.becameResponderWhileAnimating = this.scrollResponderIsAnimating();\n },\n\n /**\n * Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll\n * animation, and there's not an easy way to distinguish a drag vs. stopping\n * momentum.\n *\n * Invoke this from an `onScrollBeginDrag` event.\n */\n scrollResponderHandleScrollBeginDrag: function(e: ScrollEvent) {\n FrameRateLogger.beginScroll(); // TODO: track all scrolls after implementing onScrollEndAnimation\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);\n },\n\n /**\n * Invoke this from an `onScrollEndDrag` event.\n */\n scrollResponderHandleScrollEndDrag: function(e: ScrollEvent) {\n const {velocity} = e.nativeEvent;\n // - If we are animating, then this is a \"drag\" that is stopping the scrollview and momentum end\n // will fire.\n // - If velocity is non-zero, then the interaction will stop when momentum scroll ends or\n // another drag starts and ends.\n // - If we don't get velocity, better to stop the interaction twice than not stop it.\n if (\n !this.scrollResponderIsAnimating() &&\n (!velocity || (velocity.x === 0 && velocity.y === 0))\n ) {\n FrameRateLogger.endScroll();\n }\n this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);\n },\n\n /**\n * Invoke this from an `onMomentumScrollBegin` event.\n */\n scrollResponderHandleMomentumScrollBegin: function(e: ScrollEvent) {\n this.state.lastMomentumScrollBeginTime = performanceNow();\n this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);\n },\n\n /**\n * Invoke this from an `onMomentumScrollEnd` event.\n */\n scrollResponderHandleMomentumScrollEnd: function(e: ScrollEvent) {\n FrameRateLogger.endScroll();\n this.state.lastMomentumScrollEndTime = performanceNow();\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);\n },\n\n /**\n * Invoke this from an `onTouchStart` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {PressEvent} e Touch Start event.\n */\n scrollResponderHandleTouchStart: function(e: PressEvent) {\n this.state.isTouching = true;\n this.props.onTouchStart && this.props.onTouchStart(e);\n },\n\n /**\n * Invoke this from an `onTouchMove` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {PressEvent} e Touch Start event.\n */\n scrollResponderHandleTouchMove: function(e: PressEvent) {\n this.props.onTouchMove && this.props.onTouchMove(e);\n },\n\n /**\n * A helper function for this class that lets us quickly determine if the\n * view is currently animating. This is particularly useful to know when\n * a touch has just started or ended.\n */\n scrollResponderIsAnimating: function(): boolean {\n const now = performanceNow();\n const timeSinceLastMomentumScrollEnd =\n now - this.state.lastMomentumScrollEndTime;\n const isAnimating =\n timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS ||\n this.state.lastMomentumScrollEndTime <\n this.state.lastMomentumScrollBeginTime;\n return isAnimating;\n },\n\n /**\n * Returns the node that represents native view that can be scrolled.\n * Components can pass what node to use by defining a `getScrollableNode`\n * function otherwise `this` is used.\n */\n scrollResponderGetScrollableNode: function(): ?number {\n return this.getScrollableNode\n ? this.getScrollableNode()\n : ReactNative.findNodeHandle(this);\n },\n\n /**\n * A helper function to scroll to a specific point in the ScrollView.\n * This is currently used to help focus child TextViews, but can also\n * be used to quickly scroll to any element we want to focus. Syntax:\n *\n * `scrollResponderScrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})`\n *\n * Note: The weird argument signature is due to the fact that, for historical reasons,\n * the function also accepts separate arguments as as alternative to the options object.\n * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.\n */\n scrollResponderScrollTo: function(\n x?: number | {x?: number, y?: number, animated?: boolean},\n y?: number,\n animated?: boolean,\n ) {\n if (typeof x === 'number') {\n console.warn(\n '`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.',\n );\n } else {\n ({x, y, animated} = x || {});\n }\n UIManager.dispatchViewManagerCommand(\n nullthrows(this.scrollResponderGetScrollableNode()),\n UIManager.getViewManagerConfig('RCTScrollView').Commands.scrollTo,\n [x || 0, y || 0, animated !== false],\n );\n },\n\n /**\n * Scrolls to the end of the ScrollView, either immediately or with a smooth\n * animation.\n *\n * Example:\n *\n * `scrollResponderScrollToEnd({animated: true})`\n */\n scrollResponderScrollToEnd: function(options?: {animated?: boolean}) {\n // Default to true\n const animated = (options && options.animated) !== false;\n UIManager.dispatchViewManagerCommand(\n this.scrollResponderGetScrollableNode(),\n UIManager.getViewManagerConfig('RCTScrollView').Commands.scrollToEnd,\n [animated],\n );\n },\n\n /**\n * Deprecated, do not use.\n */\n scrollResponderScrollWithoutAnimationTo: function(\n offsetX: number,\n offsetY: number,\n ) {\n console.warn(\n '`scrollResponderScrollWithoutAnimationTo` is deprecated. Use `scrollResponderScrollTo` instead',\n );\n this.scrollResponderScrollTo({x: offsetX, y: offsetY, animated: false});\n },\n\n /**\n * A helper function to zoom to a specific rect in the scrollview. The argument has the shape\n * {x: number; y: number; width: number; height: number; animated: boolean = true}\n *\n * @platform ios\n */\n scrollResponderZoomTo: function(\n rect: {|\n x: number,\n y: number,\n width: number,\n height: number,\n animated?: boolean,\n |},\n animated?: boolean, // deprecated, put this inside the rect argument instead\n ) {\n invariant(\n ScrollViewManager && ScrollViewManager.zoomToRect,\n 'zoomToRect is not implemented',\n );\n if ('animated' in rect) {\n animated = rect.animated;\n delete rect.animated;\n } else if (typeof animated !== 'undefined') {\n console.warn(\n '`scrollResponderZoomTo` `animated` argument is deprecated. Use `options.animated` instead',\n );\n }\n ScrollViewManager.zoomToRect(\n this.scrollResponderGetScrollableNode(),\n rect,\n animated !== false,\n );\n },\n\n /**\n * Displays the scroll indicators momentarily.\n */\n scrollResponderFlashScrollIndicators: function() {\n UIManager.dispatchViewManagerCommand(\n this.scrollResponderGetScrollableNode(),\n UIManager.getViewManagerConfig('RCTScrollView').Commands\n .flashScrollIndicators,\n [],\n );\n },\n\n /**\n * This method should be used as the callback to onFocus in a TextInputs'\n * parent view. Note that any module using this mixin needs to return\n * the parent view's ref in getScrollViewRef() in order to use this method.\n * @param {number} nodeHandle The TextInput node handle\n * @param {number} additionalOffset The scroll view's bottom \"contentInset\".\n * Default is 0.\n * @param {bool} preventNegativeScrolling Whether to allow pulling the content\n * down to make it meet the keyboard's top. Default is false.\n */\n scrollResponderScrollNativeHandleToKeyboard: function(\n nodeHandle: number,\n additionalOffset?: number,\n preventNegativeScrollOffset?: boolean,\n ) {\n this.additionalScrollOffset = additionalOffset || 0;\n this.preventNegativeScrollOffset = !!preventNegativeScrollOffset;\n UIManager.measureLayout(\n nodeHandle,\n ReactNative.findNodeHandle(this.getInnerViewNode()),\n this.scrollResponderTextInputFocusError,\n this.scrollResponderInputMeasureAndScrollToKeyboard,\n );\n },\n\n /**\n * The calculations performed here assume the scroll view takes up the entire\n * screen - even if has some content inset. We then measure the offsets of the\n * keyboard, and compensate both for the scroll view's \"contentInset\".\n *\n * @param {number} left Position of input w.r.t. table view.\n * @param {number} top Position of input w.r.t. table view.\n * @param {number} width Width of the text input.\n * @param {number} height Height of the text input.\n */\n scrollResponderInputMeasureAndScrollToKeyboard: function(\n left: number,\n top: number,\n width: number,\n height: number,\n ) {\n let keyboardScreenY = Dimensions.get('window').height;\n if (this.keyboardWillOpenTo) {\n keyboardScreenY = this.keyboardWillOpenTo.endCoordinates.screenY;\n }\n let scrollOffsetY =\n top - keyboardScreenY + height + this.additionalScrollOffset;\n\n // By default, this can scroll with negative offset, pulling the content\n // down so that the target component's bottom meets the keyboard's top.\n // If requested otherwise, cap the offset at 0 minimum to avoid content\n // shifting down.\n if (this.preventNegativeScrollOffset) {\n scrollOffsetY = Math.max(0, scrollOffsetY);\n }\n this.scrollResponderScrollTo({x: 0, y: scrollOffsetY, animated: true});\n\n this.additionalOffset = 0;\n this.preventNegativeScrollOffset = false;\n },\n\n scrollResponderTextInputFocusError: function(msg: string) {\n console.error('Error measuring text field: ', msg);\n },\n\n /**\n * `componentWillMount` is the closest thing to a standard \"constructor\" for\n * React components.\n *\n * The `keyboardWillShow` is called before input focus.\n */\n UNSAFE_componentWillMount: function() {\n const {keyboardShouldPersistTaps} = this.props;\n warning(\n typeof keyboardShouldPersistTaps !== 'boolean',\n `'keyboardShouldPersistTaps={${keyboardShouldPersistTaps}}' is deprecated. ` +\n `Use 'keyboardShouldPersistTaps=\"${\n keyboardShouldPersistTaps ? 'always' : 'never'\n }\"' instead`,\n );\n\n this.keyboardWillOpenTo = null;\n this.additionalScrollOffset = 0;\n this._subscriptionKeyboardWillShow = Keyboard.addListener(\n 'keyboardWillShow',\n this.scrollResponderKeyboardWillShow,\n );\n\n this._subscriptionKeyboardWillHide = Keyboard.addListener(\n 'keyboardWillHide',\n this.scrollResponderKeyboardWillHide,\n );\n this._subscriptionKeyboardDidShow = Keyboard.addListener(\n 'keyboardDidShow',\n this.scrollResponderKeyboardDidShow,\n );\n this._subscriptionKeyboardDidHide = Keyboard.addListener(\n 'keyboardDidHide',\n this.scrollResponderKeyboardDidHide,\n );\n },\n\n componentWillUnmount: function() {\n if (this._subscriptionKeyboardWillShow != null) {\n this._subscriptionKeyboardWillShow.remove();\n }\n if (this._subscriptionKeyboardWillHide != null) {\n this._subscriptionKeyboardWillHide.remove();\n }\n if (this._subscriptionKeyboardDidShow != null) {\n this._subscriptionKeyboardDidShow.remove();\n }\n if (this._subscriptionKeyboardDidHide != null) {\n this._subscriptionKeyboardDidHide.remove();\n }\n },\n\n /**\n * Warning, this may be called several times for a single keyboard opening.\n * It's best to store the information in this method and then take any action\n * at a later point (either in `keyboardDidShow` or other).\n *\n * Here's the order that events occur in:\n * - focus\n * - willShow {startCoordinates, endCoordinates} several times\n * - didShow several times\n * - blur\n * - willHide {startCoordinates, endCoordinates} several times\n * - didHide several times\n *\n * The `ScrollResponder` module callbacks for each of these events.\n * Even though any user could have easily listened to keyboard events\n * themselves, using these `props` callbacks ensures that ordering of events\n * is consistent - and not dependent on the order that the keyboard events are\n * subscribed to. This matters when telling the scroll view to scroll to where\n * the keyboard is headed - the scroll responder better have been notified of\n * the keyboard destination before being instructed to scroll to where the\n * keyboard will be. Stick to the `ScrollResponder` callbacks, and everything\n * will work.\n *\n * WARNING: These callbacks will fire even if a keyboard is displayed in a\n * different navigation pane. Filter out the events to determine if they are\n * relevant to you. (For example, only if you receive these callbacks after\n * you had explicitly focused a node etc).\n */\n scrollResponderKeyboardWillShow: function(e: KeyboardEvent) {\n this.keyboardWillOpenTo = e;\n this.props.onKeyboardWillShow && this.props.onKeyboardWillShow(e);\n },\n\n scrollResponderKeyboardWillHide: function(e: KeyboardEvent) {\n this.keyboardWillOpenTo = null;\n this.props.onKeyboardWillHide && this.props.onKeyboardWillHide(e);\n },\n\n scrollResponderKeyboardDidShow: function(e: KeyboardEvent) {\n // TODO(7693961): The event for DidShow is not available on iOS yet.\n // Use the one from WillShow and do not assign.\n if (e) {\n this.keyboardWillOpenTo = e;\n }\n this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e);\n },\n\n scrollResponderKeyboardDidHide: function(e: KeyboardEvent) {\n this.keyboardWillOpenTo = null;\n this.props.onKeyboardDidHide && this.props.onKeyboardDidHide(e);\n },\n};\n\nconst ScrollResponder = {\n Mixin: ScrollResponderMixin,\n};\n\nmodule.exports = ScrollResponder;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport NativeFrameRateLogger from './NativeFrameRateLogger';\n\nconst invariant = require('invariant');\n\n/**\n * Flow API for native FrameRateLogger module. If the native module is not installed, function calls\n * are just no-ops.\n *\n * Typical behavior is that `setContext` is called when a new screen is loaded (e.g. via a\n * navigation integration), and then `beginScroll` is called by `ScrollResponder` at which point the\n * native module then begins tracking frame drops. When `ScrollResponder` calls `endScroll`, the\n * native module gathers up all it's frame drop data and reports it via an analytics pipeline for\n * analysis.\n *\n * Note that `beginScroll` may be called multiple times by `ScrollResponder` - unclear if that's a\n * bug, but the native module should be robust to that.\n *\n * In the future we may add support for tracking frame drops in other types of interactions beyond\n * scrolling.\n */\nconst FrameRateLogger = {\n /**\n * Enable `debug` to see local logs of what's going on. `reportStackTraces` will grab stack traces\n * during UI thread stalls and upload them if the native module supports it.\n */\n setGlobalOptions: function(options: {\n debug?: boolean,\n reportStackTraces?: boolean,\n }) {\n if (options.debug !== undefined) {\n invariant(\n NativeFrameRateLogger,\n 'Trying to debug FrameRateLogger without the native module!',\n );\n }\n if (NativeFrameRateLogger) {\n // Needs to clone the object first to avoid modifying the argument.\n const optionsClone = {\n debug: !!options.debug,\n reportStackTraces: !!options.reportStackTraces,\n };\n NativeFrameRateLogger.setGlobalOptions(optionsClone);\n }\n },\n\n /**\n * Must call `setContext` before any events can be properly tracked, which is done automatically\n * in `AppRegistry`, but navigation is also a common place to hook in.\n */\n setContext: function(context: string) {\n NativeFrameRateLogger && NativeFrameRateLogger.setContext(context);\n },\n\n /**\n * Called in `ScrollResponder` so any component that uses that module will handle this\n * automatically.\n */\n beginScroll() {\n NativeFrameRateLogger && NativeFrameRateLogger.beginScroll();\n },\n\n /**\n * Called in `ScrollResponder` so any component that uses that module will handle this\n * automatically.\n */\n endScroll() {\n NativeFrameRateLogger && NativeFrameRateLogger.endScroll();\n },\n};\n\nmodule.exports = FrameRateLogger;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nexport interface Spec extends TurboModule {\n +setGlobalOptions: (options: {|\n +debug?: ?boolean,\n +reportStackTraces?: ?boolean,\n |}) => void;\n +setContext: (context: string) => void;\n +beginScroll: () => void;\n +endScroll: () => void;\n}\n\nexport default TurboModuleRegistry.get('FrameRateLogger');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst LayoutAnimation = require('../../LayoutAnimation/LayoutAnimation');\nconst NativeEventEmitter = require('../../EventEmitter/NativeEventEmitter');\n\nconst dismissKeyboard = require('../../Utilities/dismissKeyboard');\nconst invariant = require('invariant');\n\nimport NativeKeyboardObserver from './NativeKeyboardObserver';\nconst KeyboardEventEmitter = new NativeEventEmitter(NativeKeyboardObserver);\n\nexport type KeyboardEventName =\n | 'keyboardWillShow'\n | 'keyboardDidShow'\n | 'keyboardWillHide'\n | 'keyboardDidHide'\n | 'keyboardWillChangeFrame'\n | 'keyboardDidChangeFrame';\n\nexport type KeyboardEventEasing =\n | 'easeIn'\n | 'easeInEaseOut'\n | 'easeOut'\n | 'linear'\n | 'keyboard';\n\nexport type KeyboardEventCoordinates = $ReadOnly<{|\n screenX: number,\n screenY: number,\n width: number,\n height: number,\n|}>;\n\nexport type KeyboardEvent = AndroidKeyboardEvent | IOSKeyboardEvent;\n\ntype BaseKeyboardEvent = {|\n duration: number,\n easing: KeyboardEventEasing,\n endCoordinates: KeyboardEventCoordinates,\n|};\n\nexport type AndroidKeyboardEvent = $ReadOnly<{|\n ...BaseKeyboardEvent,\n duration: 0,\n easing: 'keyboard',\n|}>;\n\nexport type IOSKeyboardEvent = $ReadOnly<{|\n ...BaseKeyboardEvent,\n startCoordinates: KeyboardEventCoordinates,\n isEventFromThisApp: boolean,\n|}>;\n\ntype KeyboardEventListener = (e: KeyboardEvent) => void;\n\n// The following object exists for documentation purposes\n// Actual work happens in\n// https://github.com/facebook/react-native/blob/master/Libraries/EventEmitter/NativeEventEmitter.js\n\n/**\n * `Keyboard` module to control keyboard events.\n *\n * ### Usage\n *\n * The Keyboard module allows you to listen for native events and react to them, as\n * well as make changes to the keyboard, like dismissing it.\n *\n *```\n * import React, { Component } from 'react';\n * import { Keyboard, TextInput } from 'react-native';\n *\n * class Example extends Component {\n * componentWillMount () {\n * this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow);\n * this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide);\n * }\n *\n * componentWillUnmount () {\n * this.keyboardDidShowListener.remove();\n * this.keyboardDidHideListener.remove();\n * }\n *\n * _keyboardDidShow () {\n * alert('Keyboard Shown');\n * }\n *\n * _keyboardDidHide () {\n * alert('Keyboard Hidden');\n * }\n *\n * render() {\n * return (\n * \n * );\n * }\n * }\n *```\n */\n\nlet Keyboard:\n | NativeEventEmitter\n | $TEMPORARY$object<{|\n addListener: (\n eventName: KeyboardEventName,\n callback: KeyboardEventListener,\n ) => $FlowFixMe,\n dismiss: () => $FlowFixMe,\n removeAllListeners: (eventName: KeyboardEventName) => $FlowFixMe,\n removeListener: (\n eventName: KeyboardEventName,\n callback: KeyboardEventListener,\n ) => $FlowFixMe,\n scheduleLayoutAnimation: (event: KeyboardEvent) => $FlowFixMe,\n |}> = {\n /**\n * The `addListener` function connects a JavaScript function to an identified native\n * keyboard notification event.\n *\n * This function then returns the reference to the listener.\n *\n * @param {string} eventName The `nativeEvent` is the string that identifies the event you're listening for. This\n *can be any of the following:\n *\n * - `keyboardWillShow`\n * - `keyboardDidShow`\n * - `keyboardWillHide`\n * - `keyboardDidHide`\n * - `keyboardWillChangeFrame`\n * - `keyboardDidChangeFrame`\n *\n * Note that if you set `android:windowSoftInputMode` to `adjustResize` or `adjustNothing`,\n * only `keyboardDidShow` and `keyboardDidHide` events will be available on Android.\n * `keyboardWillShow` as well as `keyboardWillHide` are generally not available on Android\n * since there is no native corresponding event.\n *\n * @param {function} callback function to be called when the event fires.\n */\n addListener(eventName: KeyboardEventName, callback: KeyboardEventListener) {\n invariant(false, 'Dummy method used for documentation');\n },\n\n /**\n * Removes a specific listener.\n *\n * @param {string} eventName The `nativeEvent` is the string that identifies the event you're listening for.\n * @param {function} callback function to be called when the event fires.\n */\n removeListener(\n eventName: KeyboardEventName,\n callback: KeyboardEventListener,\n ) {\n invariant(false, 'Dummy method used for documentation');\n },\n\n /**\n * Removes all listeners for a specific event type.\n *\n * @param {string} eventType The native event string listeners are watching which will be removed.\n */\n removeAllListeners(eventName: KeyboardEventName) {\n invariant(false, 'Dummy method used for documentation');\n },\n\n /**\n * Dismisses the active keyboard and removes focus.\n */\n dismiss() {\n invariant(false, 'Dummy method used for documentation');\n },\n\n /**\n * Useful for syncing TextInput (or other keyboard accessory view) size of\n * position changes with keyboard movements.\n */\n scheduleLayoutAnimation(event: KeyboardEvent) {\n invariant(false, 'Dummy method used for documentation');\n },\n};\n\n// Throw away the dummy object and reassign it to original module\nKeyboard = KeyboardEventEmitter;\nKeyboard.dismiss = dismissKeyboard;\nKeyboard.scheduleLayoutAnimation = function(event: KeyboardEvent) {\n const {duration, easing} = event;\n if (duration != null && duration !== 0) {\n LayoutAnimation.configureNext({\n duration: duration,\n update: {\n duration: duration,\n type: (easing != null && LayoutAnimation.Types[easing]) || 'keyboard',\n },\n });\n }\n};\n\nmodule.exports = Keyboard;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('KeyboardObserver'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst UIManager = require('../ReactNative/UIManager');\n\nimport Platform from '../Utilities/Platform';\n\ntype Type =\n | 'spring'\n | 'linear'\n | 'easeInEaseOut'\n | 'easeIn'\n | 'easeOut'\n | 'keyboard';\n\ntype Property = 'opacity' | 'scaleX' | 'scaleY' | 'scaleXY';\n\ntype AnimationConfig = $ReadOnly<{|\n duration?: number,\n delay?: number,\n springDamping?: number,\n initialVelocity?: number,\n type?: Type,\n property?: Property,\n|}>;\n\ntype LayoutAnimationConfig = $ReadOnly<{|\n duration: number,\n create?: AnimationConfig,\n update?: AnimationConfig,\n delete?: AnimationConfig,\n|}>;\n\nfunction configureNext(\n config: LayoutAnimationConfig,\n onAnimationDidEnd?: Function,\n) {\n if (!Platform.isTesting) {\n UIManager.configureNextLayoutAnimation(\n config,\n onAnimationDidEnd ?? function() {},\n function() {} /* unused onError */,\n );\n }\n}\n\nfunction create(\n duration: number,\n type: Type,\n property: Property,\n): LayoutAnimationConfig {\n return {\n duration,\n create: {type, property},\n update: {type},\n delete: {type, property},\n };\n}\n\nconst Presets = {\n easeInEaseOut: (create(\n 300,\n 'easeInEaseOut',\n 'opacity',\n ): LayoutAnimationConfig),\n linear: (create(500, 'linear', 'opacity'): LayoutAnimationConfig),\n spring: {\n duration: 700,\n create: {\n type: 'linear',\n property: 'opacity',\n },\n update: {\n type: 'spring',\n springDamping: 0.4,\n },\n delete: {\n type: 'linear',\n property: 'opacity',\n },\n },\n};\n\n/**\n * Automatically animates views to their new positions when the\n * next layout happens.\n *\n * A common way to use this API is to call it before calling `setState`.\n *\n * Note that in order to get this to work on **Android** you need to set the following flags via `UIManager`:\n *\n * UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);\n */\nconst LayoutAnimation = {\n /**\n * Schedules an animation to happen on the next layout.\n *\n * @param config Specifies animation properties:\n *\n * - `duration` in milliseconds\n * - `create`, `AnimationConfig` for animating in new views\n * - `update`, `AnimationConfig` for animating views that have been updated\n *\n * @param onAnimationDidEnd Called when the animation finished.\n * Only supported on iOS.\n * @param onError Called on error. Only supported on iOS.\n */\n configureNext,\n /**\n * Helper for creating a config for `configureNext`.\n */\n create,\n Types: Object.freeze({\n spring: 'spring',\n linear: 'linear',\n easeInEaseOut: 'easeInEaseOut',\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n keyboard: 'keyboard',\n }),\n Properties: Object.freeze({\n opacity: 'opacity',\n scaleX: 'scaleX',\n scaleY: 'scaleY',\n scaleXY: 'scaleXY',\n }),\n checkConfig(...args: Array) {\n console.error('LayoutAnimation.checkConfig(...) has been disabled.');\n },\n Presets,\n easeInEaseOut: (configureNext.bind(null, Presets.easeInEaseOut): (\n onAnimationDidEnd?: any,\n ) => void),\n linear: (configureNext.bind(null, Presets.linear): (\n onAnimationDidEnd?: any,\n ) => void),\n spring: (configureNext.bind(null, Presets.spring): (\n onAnimationDidEnd?: any,\n ) => void),\n};\n\nmodule.exports = LayoutAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * This function dismisses the currently-open keyboard, if any\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst TextInputState = require('../Components/TextInput/TextInputState');\n\nfunction dismissKeyboard() {\n TextInputState.blurTextInput(TextInputState.currentlyFocusedField());\n}\n\nmodule.exports = dismissKeyboard;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst AnimatedImplementation = require('../../Animated/src/AnimatedImplementation');\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\n\nimport type {LayoutEvent} from '../../Types/CoreEventTypes';\n\nconst AnimatedView = AnimatedImplementation.createAnimatedComponent(View);\n\nexport type Props = {\n children?: React.Element,\n nextHeaderLayoutY: ?number,\n onLayout: (event: LayoutEvent) => void,\n scrollAnimatedValue: AnimatedImplementation.Value,\n // Will cause sticky headers to stick at the bottom of the ScrollView instead\n // of the top.\n inverted: ?boolean,\n // The height of the parent ScrollView. Currently only set when inverted.\n scrollViewHeight: ?number,\n};\n\ntype State = {\n measured: boolean,\n layoutY: number,\n layoutHeight: number,\n nextHeaderLayoutY: ?number,\n};\n\nclass ScrollViewStickyHeader extends React.Component {\n state: State = {\n measured: false,\n layoutY: 0,\n layoutHeight: 0,\n nextHeaderLayoutY: this.props.nextHeaderLayoutY,\n };\n\n setNextHeaderY(y: number) {\n this.setState({nextHeaderLayoutY: y});\n }\n\n _onLayout = event => {\n this.setState({\n measured: true,\n layoutY: event.nativeEvent.layout.y,\n layoutHeight: event.nativeEvent.layout.height,\n });\n\n this.props.onLayout(event);\n const child = React.Children.only(this.props.children);\n if (child.props.onLayout) {\n child.props.onLayout(event);\n }\n };\n\n render(): React.Node {\n const {inverted, scrollViewHeight} = this.props;\n const {measured, layoutHeight, layoutY, nextHeaderLayoutY} = this.state;\n const inputRange: Array = [-1, 0];\n const outputRange: Array = [0, 0];\n\n if (measured) {\n if (inverted) {\n // The interpolation looks like:\n // - Negative scroll: no translation\n // - `stickStartPoint` is the point at which the header will start sticking.\n // It is calculated using the ScrollView viewport height so it is a the bottom.\n // - Headers that are in the initial viewport will never stick, `stickStartPoint`\n // will be negative.\n // - From 0 to `stickStartPoint` no translation. This will cause the header\n // to scroll normally until it reaches the top of the scroll view.\n // - From `stickStartPoint` to when the next header y hits the bottom edge of the header: translate\n // equally to scroll. This will cause the header to stay at the top of the scroll view.\n // - Past the collision with the next header y: no more translation. This will cause the\n // header to continue scrolling up and make room for the next sticky header.\n // In the case that there is no next header just translate equally to\n // scroll indefinitely.\n if (scrollViewHeight != null) {\n const stickStartPoint = layoutY + layoutHeight - scrollViewHeight;\n if (stickStartPoint > 0) {\n inputRange.push(stickStartPoint);\n outputRange.push(0);\n inputRange.push(stickStartPoint + 1);\n outputRange.push(1);\n // If the next sticky header has not loaded yet (probably windowing) or is the last\n // we can just keep it sticked forever.\n const collisionPoint =\n (nextHeaderLayoutY || 0) - layoutHeight - scrollViewHeight;\n if (collisionPoint > stickStartPoint) {\n inputRange.push(collisionPoint, collisionPoint + 1);\n outputRange.push(\n collisionPoint - stickStartPoint,\n collisionPoint - stickStartPoint,\n );\n }\n }\n }\n } else {\n // The interpolation looks like:\n // - Negative scroll: no translation\n // - From 0 to the y of the header: no translation. This will cause the header\n // to scroll normally until it reaches the top of the scroll view.\n // - From header y to when the next header y hits the bottom edge of the header: translate\n // equally to scroll. This will cause the header to stay at the top of the scroll view.\n // - Past the collision with the next header y: no more translation. This will cause the\n // header to continue scrolling up and make room for the next sticky header.\n // In the case that there is no next header just translate equally to\n // scroll indefinitely.\n inputRange.push(layoutY);\n outputRange.push(0);\n // If the next sticky header has not loaded yet (probably windowing) or is the last\n // we can just keep it sticked forever.\n const collisionPoint = (nextHeaderLayoutY || 0) - layoutHeight;\n if (collisionPoint >= layoutY) {\n inputRange.push(collisionPoint, collisionPoint + 1);\n outputRange.push(collisionPoint - layoutY, collisionPoint - layoutY);\n } else {\n inputRange.push(layoutY + 1);\n outputRange.push(1);\n }\n }\n }\n\n const translateY = this.props.scrollAnimatedValue.interpolate({\n inputRange,\n outputRange,\n });\n const child = React.Children.only(this.props.children);\n\n return (\n \n {React.cloneElement(child, {\n style: styles.fill, // We transfer the child style to the wrapper.\n onLayout: undefined, // we call this manually through our this._onLayout\n })}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n header: {\n zIndex: 10,\n },\n fill: {\n flex: 1,\n },\n});\n\nmodule.exports = ScrollViewStickyHeader;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\n\nfunction processDecelerationRate(\n decelerationRate: number | 'normal' | 'fast',\n): number {\n if (decelerationRate === 'normal') {\n return Platform.select({\n ios: 0.998,\n android: 0.985,\n });\n } else if (decelerationRate === 'fast') {\n return Platform.select({\n ios: 0.99,\n android: 0.9,\n });\n }\n return decelerationRate;\n}\n\nmodule.exports = processDecelerationRate;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {DangerouslyImpreciseStyle} from './StyleSheet';\n\nconst OUTER_PROPS = Object.assign(Object.create(null), {\n margin: true,\n marginHorizontal: true,\n marginVertical: true,\n marginBottom: true,\n marginTop: true,\n marginLeft: true,\n marginRight: true,\n flex: true,\n flexGrow: true,\n flexShrink: true,\n flexBasis: true,\n alignSelf: true,\n height: true,\n minHeight: true,\n maxHeight: true,\n width: true,\n minWidth: true,\n maxWidth: true,\n position: true,\n left: true,\n right: true,\n bottom: true,\n top: true,\n transform: true,\n});\n\nfunction splitLayoutProps(\n props: ?DangerouslyImpreciseStyle,\n): {\n outer: DangerouslyImpreciseStyle,\n inner: DangerouslyImpreciseStyle,\n} {\n const inner = {};\n const outer = {};\n if (props) {\n Object.keys(props).forEach(k => {\n const value: $ElementType = props[k];\n if (OUTER_PROPS[k]) {\n outer[k] = value;\n } else {\n inner[k] = value;\n }\n });\n }\n return {outer, inner};\n}\n\nmodule.exports = splitLayoutProps;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst invariant = require('invariant');\n\nexport type ViewToken = {\n item: any,\n key: string,\n index: ?number,\n isViewable: boolean,\n section?: any,\n};\n\nexport type ViewabilityConfigCallbackPair = {\n viewabilityConfig: ViewabilityConfig,\n onViewableItemsChanged: (info: {\n viewableItems: Array,\n changed: Array,\n }) => void,\n};\n\nexport type ViewabilityConfig = {|\n /**\n * Minimum amount of time (in milliseconds) that an item must be physically viewable before the\n * viewability callback will be fired. A high number means that scrolling through content without\n * stopping will not mark the content as viewable.\n */\n minimumViewTime?: number,\n\n /**\n * Percent of viewport that must be covered for a partially occluded item to count as\n * \"viewable\", 0-100. Fully visible items are always considered viewable. A value of 0 means\n * that a single pixel in the viewport makes the item viewable, and a value of 100 means that\n * an item must be either entirely visible or cover the entire viewport to count as viewable.\n */\n viewAreaCoveragePercentThreshold?: number,\n\n /**\n * Similar to `viewAreaPercentThreshold`, but considers the percent of the item that is visible,\n * rather than the fraction of the viewable area it covers.\n */\n itemVisiblePercentThreshold?: number,\n\n /**\n * Nothing is considered viewable until the user scrolls or `recordInteraction` is called after\n * render.\n */\n waitForInteraction?: boolean,\n|};\n\n/**\n * A Utility class for calculating viewable items based on current metrics like scroll position and\n * layout.\n *\n * An item is said to be in a \"viewable\" state when any of the following\n * is true for longer than `minimumViewTime` milliseconds (after an interaction if `waitForInteraction`\n * is true):\n *\n * - Occupying >= `viewAreaCoveragePercentThreshold` of the view area XOR fraction of the item\n * visible in the view area >= `itemVisiblePercentThreshold`.\n * - Entirely visible on screen\n */\nclass ViewabilityHelper {\n _config: ViewabilityConfig;\n _hasInteracted: boolean = false;\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.63 was deployed. To see the error delete this comment\n * and run Flow. */\n _timers: Set = new Set();\n _viewableIndices: Array = [];\n _viewableItems: Map = new Map();\n\n constructor(\n config: ViewabilityConfig = {viewAreaCoveragePercentThreshold: 0},\n ) {\n this._config = config;\n }\n\n /**\n * Cleanup, e.g. on unmount. Clears any pending timers.\n */\n dispose() {\n this._timers.forEach(clearTimeout);\n }\n\n /**\n * Determines which items are viewable based on the current metrics and config.\n */\n computeViewableItems(\n itemCount: number,\n scrollOffset: number,\n viewportHeight: number,\n getFrameMetrics: (index: number) => ?{length: number, offset: number},\n renderRange?: {first: number, last: number}, // Optional optimization to reduce the scan size\n ): Array {\n const {\n itemVisiblePercentThreshold,\n viewAreaCoveragePercentThreshold,\n } = this._config;\n const viewAreaMode = viewAreaCoveragePercentThreshold != null;\n const viewablePercentThreshold = viewAreaMode\n ? viewAreaCoveragePercentThreshold\n : itemVisiblePercentThreshold;\n invariant(\n viewablePercentThreshold != null &&\n (itemVisiblePercentThreshold != null) !==\n (viewAreaCoveragePercentThreshold != null),\n 'Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold',\n );\n const viewableIndices = [];\n if (itemCount === 0) {\n return viewableIndices;\n }\n let firstVisible = -1;\n const {first, last} = renderRange || {first: 0, last: itemCount - 1};\n if (last >= itemCount) {\n console.warn(\n 'Invalid render range computing viewability ' +\n JSON.stringify({renderRange, itemCount}),\n );\n return [];\n }\n for (let idx = first; idx <= last; idx++) {\n const metrics = getFrameMetrics(idx);\n if (!metrics) {\n continue;\n }\n const top = metrics.offset - scrollOffset;\n const bottom = top + metrics.length;\n if (top < viewportHeight && bottom > 0) {\n firstVisible = idx;\n if (\n _isViewable(\n viewAreaMode,\n viewablePercentThreshold,\n top,\n bottom,\n viewportHeight,\n metrics.length,\n )\n ) {\n viewableIndices.push(idx);\n }\n } else if (firstVisible >= 0) {\n break;\n }\n }\n return viewableIndices;\n }\n\n /**\n * Figures out which items are viewable and how that has changed from before and calls\n * `onViewableItemsChanged` as appropriate.\n */\n onUpdate(\n itemCount: number,\n scrollOffset: number,\n viewportHeight: number,\n getFrameMetrics: (index: number) => ?{length: number, offset: number},\n createViewToken: (index: number, isViewable: boolean) => ViewToken,\n onViewableItemsChanged: ({\n viewableItems: Array,\n changed: Array,\n }) => void,\n renderRange?: {first: number, last: number}, // Optional optimization to reduce the scan size\n ): void {\n if (\n (this._config.waitForInteraction && !this._hasInteracted) ||\n itemCount === 0 ||\n !getFrameMetrics(0)\n ) {\n return;\n }\n let viewableIndices = [];\n if (itemCount) {\n viewableIndices = this.computeViewableItems(\n itemCount,\n scrollOffset,\n viewportHeight,\n getFrameMetrics,\n renderRange,\n );\n }\n if (\n this._viewableIndices.length === viewableIndices.length &&\n this._viewableIndices.every((v, ii) => v === viewableIndices[ii])\n ) {\n // We might get a lot of scroll events where visibility doesn't change and we don't want to do\n // extra work in those cases.\n return;\n }\n this._viewableIndices = viewableIndices;\n if (this._config.minimumViewTime) {\n const handle = setTimeout(() => {\n this._timers.delete(handle);\n this._onUpdateSync(\n viewableIndices,\n onViewableItemsChanged,\n createViewToken,\n );\n }, this._config.minimumViewTime);\n this._timers.add(handle);\n } else {\n this._onUpdateSync(\n viewableIndices,\n onViewableItemsChanged,\n createViewToken,\n );\n }\n }\n\n /**\n * clean-up cached _viewableIndices to evaluate changed items on next update\n */\n resetViewableIndices() {\n this._viewableIndices = [];\n }\n\n /**\n * Records that an interaction has happened even if there has been no scroll.\n */\n recordInteraction() {\n this._hasInteracted = true;\n }\n\n _onUpdateSync(\n viewableIndicesToCheck,\n onViewableItemsChanged,\n createViewToken,\n ) {\n // Filter out indices that have gone out of view since this call was scheduled.\n viewableIndicesToCheck = viewableIndicesToCheck.filter(ii =>\n this._viewableIndices.includes(ii),\n );\n const prevItems = this._viewableItems;\n const nextItems = new Map(\n viewableIndicesToCheck.map(ii => {\n const viewable = createViewToken(ii, true);\n return [viewable.key, viewable];\n }),\n );\n\n const changed = [];\n for (const [key, viewable] of nextItems) {\n if (!prevItems.has(key)) {\n changed.push(viewable);\n }\n }\n for (const [key, viewable] of prevItems) {\n if (!nextItems.has(key)) {\n changed.push({...viewable, isViewable: false});\n }\n }\n if (changed.length > 0) {\n this._viewableItems = nextItems;\n onViewableItemsChanged({\n viewableItems: Array.from(nextItems.values()),\n changed,\n viewabilityConfig: this._config,\n });\n }\n }\n}\n\nfunction _isViewable(\n viewAreaMode: boolean,\n viewablePercentThreshold: number,\n top: number,\n bottom: number,\n viewportHeight: number,\n itemLength: number,\n): boolean {\n if (_isEntirelyVisible(top, bottom, viewportHeight)) {\n return true;\n } else {\n const pixels = _getPixelsVisible(top, bottom, viewportHeight);\n const percent =\n 100 * (viewAreaMode ? pixels / viewportHeight : pixels / itemLength);\n return percent >= viewablePercentThreshold;\n }\n}\n\nfunction _getPixelsVisible(\n top: number,\n bottom: number,\n viewportHeight: number,\n): number {\n const visibleHeight = Math.min(bottom, viewportHeight) - Math.max(top, 0);\n return Math.max(0, visibleHeight);\n}\n\nfunction _isEntirelyVisible(\n top: number,\n bottom: number,\n viewportHeight: number,\n): boolean {\n return top >= 0 && bottom <= viewportHeight && bottom > top;\n}\n\nmodule.exports = ViewabilityHelper;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst invariant = require('invariant');\n\n/**\n * Used to find the indices of the frames that overlap the given offsets. Useful for finding the\n * items that bound different windows of content, such as the visible area or the buffered overscan\n * area.\n */\nfunction elementsThatOverlapOffsets(\n offsets: Array,\n itemCount: number,\n getFrameMetrics: (index: number) => {length: number, offset: number},\n): Array {\n const out = [];\n let outLength = 0;\n for (let ii = 0; ii < itemCount; ii++) {\n const frame = getFrameMetrics(ii);\n const trailingOffset = frame.offset + frame.length;\n for (let kk = 0; kk < offsets.length; kk++) {\n if (out[kk] == null && trailingOffset >= offsets[kk]) {\n out[kk] = ii;\n outLength++;\n if (kk === offsets.length - 1) {\n invariant(\n outLength === offsets.length,\n 'bad offsets input, should be in increasing order: %s',\n JSON.stringify(offsets),\n );\n return out;\n }\n }\n }\n }\n return out;\n}\n\n/**\n * Computes the number of elements in the `next` range that are new compared to the `prev` range.\n * Handy for calculating how many new items will be rendered when the render window changes so we\n * can restrict the number of new items render at once so that content can appear on the screen\n * faster.\n */\nfunction newRangeCount(\n prev: {first: number, last: number},\n next: {first: number, last: number},\n): number {\n return (\n next.last -\n next.first +\n 1 -\n Math.max(\n 0,\n 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first),\n )\n );\n}\n\n/**\n * Custom logic for determining which items should be rendered given the current frame and scroll\n * metrics, as well as the previous render state. The algorithm may evolve over time, but generally\n * prioritizes the visible area first, then expands that with overscan regions ahead and behind,\n * biased in the direction of scroll.\n */\nfunction computeWindowedRenderLimits(\n props: {\n data: any,\n getItemCount: (data: any) => number,\n maxToRenderPerBatch: number,\n windowSize: number,\n },\n prev: {first: number, last: number},\n getFrameMetricsApprox: (index: number) => {length: number, offset: number},\n scrollMetrics: {\n dt: number,\n offset: number,\n velocity: number,\n visibleLength: number,\n },\n): {first: number, last: number} {\n const {data, getItemCount, maxToRenderPerBatch, windowSize} = props;\n const itemCount = getItemCount(data);\n if (itemCount === 0) {\n return prev;\n }\n const {offset, velocity, visibleLength} = scrollMetrics;\n\n // Start with visible area, then compute maximum overscan region by expanding from there, biased\n // in the direction of scroll. Total overscan area is capped, which should cap memory consumption\n // too.\n const visibleBegin = Math.max(0, offset);\n const visibleEnd = visibleBegin + visibleLength;\n const overscanLength = (windowSize - 1) * visibleLength;\n\n // Considering velocity seems to introduce more churn than it's worth.\n const leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));\n\n const fillPreference =\n velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';\n\n const overscanBegin = Math.max(\n 0,\n visibleBegin - (1 - leadFactor) * overscanLength,\n );\n const overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);\n\n const lastItemOffset = getFrameMetricsApprox(itemCount - 1).offset;\n if (lastItemOffset < overscanBegin) {\n // Entire list is before our overscan window\n return {\n first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),\n last: itemCount - 1,\n };\n }\n\n // Find the indices that correspond to the items at the render boundaries we're targeting.\n let [overscanFirst, first, last, overscanLast] = elementsThatOverlapOffsets(\n [overscanBegin, visibleBegin, visibleEnd, overscanEnd],\n props.getItemCount(props.data),\n getFrameMetricsApprox,\n );\n overscanFirst = overscanFirst == null ? 0 : overscanFirst;\n first = first == null ? Math.max(0, overscanFirst) : first;\n overscanLast = overscanLast == null ? itemCount - 1 : overscanLast;\n last =\n last == null\n ? Math.min(overscanLast, first + maxToRenderPerBatch - 1)\n : last;\n const visible = {first, last};\n\n // We want to limit the number of new cells we're rendering per batch so that we can fill the\n // content on the screen quickly. If we rendered the entire overscan window at once, the user\n // could be staring at white space for a long time waiting for a bunch of offscreen content to\n // render.\n let newCellCount = newRangeCount(prev, visible);\n\n while (true) {\n if (first <= overscanFirst && last >= overscanLast) {\n // If we fill the entire overscan range, we're done.\n break;\n }\n const maxNewCells = newCellCount >= maxToRenderPerBatch;\n const firstWillAddMore = first <= prev.first || first > prev.last;\n const firstShouldIncrement =\n first > overscanFirst && (!maxNewCells || !firstWillAddMore);\n const lastWillAddMore = last >= prev.last || last < prev.first;\n const lastShouldIncrement =\n last < overscanLast && (!maxNewCells || !lastWillAddMore);\n if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {\n // We only want to stop if we've hit maxNewCells AND we cannot increment first or last\n // without rendering new items. This let's us preserve as many already rendered items as\n // possible, reducing render churn and keeping the rendered overscan range as large as\n // possible.\n break;\n }\n if (\n firstShouldIncrement &&\n !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)\n ) {\n if (firstWillAddMore) {\n newCellCount++;\n }\n first--;\n }\n if (\n lastShouldIncrement &&\n !(fillPreference === 'before' && firstShouldIncrement && firstWillAddMore)\n ) {\n if (lastWillAddMore) {\n newCellCount++;\n }\n last++;\n }\n }\n if (\n !(\n last >= first &&\n first >= 0 &&\n last < itemCount &&\n first >= overscanFirst &&\n last <= overscanLast &&\n first <= visible.first &&\n last >= visible.last\n )\n ) {\n throw new Error(\n 'Bad window calculation ' +\n JSON.stringify({\n first,\n last,\n itemCount,\n overscanFirst,\n overscanLast,\n visible,\n }),\n );\n }\n return {first, last};\n}\n\nconst VirtualizeUtils = {\n computeWindowedRenderLimits,\n elementsThatOverlapOffsets,\n newRangeCount,\n};\n\nmodule.exports = VirtualizeUtils;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst Image = require('../../../Image/Image');\n\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nmodule.exports = (createAnimatedComponent(Image): $FlowFixMe);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst DeprecatedImagePropType = require('../DeprecatedPropTypes/DeprecatedImagePropType');\nconst NativeModules = require('../BatchedBridge/NativeModules');\nconst React = require('react');\nconst ReactNative = require('../Renderer/shims/ReactNative'); // eslint-disable-line no-unused-vars\nconst StyleSheet = require('../StyleSheet/StyleSheet');\n\nconst flattenStyle = require('../StyleSheet/flattenStyle');\nconst requireNativeComponent = require('../ReactNative/requireNativeComponent');\nconst resolveAssetSource = require('./resolveAssetSource');\n\nconst ImageViewManager = NativeModules.ImageViewManager;\n\nconst RCTImageView = requireNativeComponent('RCTImageView');\n\nimport type {ImageProps as ImagePropsType} from './ImageProps';\n\nimport type {ImageStyleProp} from '../StyleSheet/StyleSheet';\n\nfunction getSize(\n uri: string,\n success: (width: number, height: number) => void,\n failure?: (error: any) => void,\n) {\n ImageViewManager.getSize(\n uri,\n success,\n failure ||\n function() {\n console.warn('Failed to get size for image: ' + uri);\n },\n );\n}\n\nfunction getSizeWithHeaders(\n uri: string,\n headers: {[string]: string},\n success: (width: number, height: number) => void,\n failure?: (error: any) => void,\n): any {\n return ImageViewManager.getSizeWithHeaders({uri, headers})\n .then(function(sizes) {\n success(sizes.width, sizes.height);\n })\n .catch(\n failure ||\n function() {\n console.warn('Failed to get size for image: ' + uri);\n },\n );\n}\n\nfunction prefetch(url: string): any {\n return ImageViewManager.prefetchImage(url);\n}\n\nasync function queryCache(\n urls: Array,\n): Promise<{[string]: 'memory' | 'disk' | 'disk/memory'}> {\n return await ImageViewManager.queryCache(urls);\n}\n\ndeclare class ImageComponentType extends ReactNative.NativeComponent {\n static getSize: typeof getSize;\n static getSizeWithHeaders: typeof getSizeWithHeaders;\n static prefetch: typeof prefetch;\n static queryCache: typeof queryCache;\n static resolveAssetSource: typeof resolveAssetSource;\n static propTypes: typeof DeprecatedImagePropType;\n}\n\n/**\n * A React component for displaying different types of images,\n * including network images, static resources, temporary local images, and\n * images from local disk, such as the camera roll.\n *\n * See https://facebook.github.io/react-native/docs/image.html\n */\nlet Image = (\n props: ImagePropsType,\n forwardedRef: ?React.Ref<'RCTImageView'>,\n) => {\n const source = resolveAssetSource(props.source) || {\n uri: undefined,\n width: undefined,\n height: undefined,\n };\n\n let sources;\n let style: ImageStyleProp;\n if (Array.isArray(source)) {\n // $FlowFixMe flattenStyle is not strong enough\n style = flattenStyle([styles.base, props.style]) || {};\n sources = source;\n } else {\n const {width, height, uri} = source;\n // $FlowFixMe flattenStyle is not strong enough\n style = flattenStyle([{width, height}, styles.base, props.style]) || {};\n sources = [source];\n\n if (uri === '') {\n console.warn('source.uri should not be an empty string');\n }\n }\n\n const resizeMode = props.resizeMode || style.resizeMode || 'cover';\n const tintColor = style.tintColor;\n\n if (props.src != null) {\n console.warn(\n 'The component requires a `source` property rather than `src`.',\n );\n }\n\n if (props.children != null) {\n throw new Error(\n 'The component cannot contain children. If you want to render content on top of the image, consider using the component or absolute positioning.',\n );\n }\n\n return (\n \n );\n};\n\nImage = React.forwardRef(Image);\nImage.displayName = 'Image';\n\n/**\n * Retrieve the width and height (in pixels) of an image prior to displaying it.\n *\n * See https://facebook.github.io/react-native/docs/image.html#getsize\n */\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nImage.getSize = getSize;\n\n/**\n * Retrieve the width and height (in pixels) of an image prior to displaying it\n * with the ability to provide the headers for the request.\n *\n * See https://facebook.github.io/react-native/docs/image.html#getsizewithheaders\n */\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nImage.getSizeWithHeaders = getSizeWithHeaders;\n\n/**\n * Prefetches a remote image for later use by downloading it to the disk\n * cache.\n *\n * See https://facebook.github.io/react-native/docs/image.html#prefetch\n */\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nImage.prefetch = prefetch;\n\n/**\n * Performs cache interrogation.\n *\n * See https://facebook.github.io/react-native/docs/image.html#querycache\n */\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nImage.queryCache = queryCache;\n\n/**\n * Resolves an asset reference into an object.\n *\n * See https://facebook.github.io/react-native/docs/image.html#resolveassetsource\n */\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nImage.resolveAssetSource = resolveAssetSource;\n\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nImage.propTypes = DeprecatedImagePropType;\n\nconst styles = StyleSheet.create({\n base: {\n overflow: 'hidden',\n },\n});\n\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nmodule.exports = (Image: Class);\n","module.exports = require(\"regenerator-runtime\");\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedImageSourcePropType = require('./DeprecatedImageSourcePropType');\nconst DeprecatedImageStylePropTypes = require('./DeprecatedImageStylePropTypes');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst PropTypes = require('prop-types');\n\nmodule.exports = {\n style: (DeprecatedStyleSheetPropType(\n DeprecatedImageStylePropTypes,\n ): ReactPropsCheckType),\n source: DeprecatedImageSourcePropType,\n defaultSource: (PropTypes.oneOfType([\n PropTypes.shape({\n uri: PropTypes.string,\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n }),\n PropTypes.number,\n ]): React$PropType$Primitive<\n {height?: number, scale?: number, uri?: string, width?: number} | number,\n >),\n\n accessible: PropTypes.bool,\n\n accessibilityLabel: PropTypes.node,\n\n blurRadius: PropTypes.number,\n\n capInsets: DeprecatedEdgeInsetsPropType,\n\n resizeMethod: (PropTypes.oneOf([\n 'auto',\n 'resize',\n 'scale',\n ]): React$PropType$Primitive<'auto' | 'resize' | 'scale'>),\n\n resizeMode: (PropTypes.oneOf([\n 'cover',\n 'contain',\n 'stretch',\n 'repeat',\n 'center',\n ]): React$PropType$Primitive<\n 'cover' | 'contain' | 'stretch' | 'repeat' | 'center',\n >),\n\n testID: PropTypes.string,\n\n onLayout: PropTypes.func,\n\n onLoadStart: PropTypes.func,\n\n onProgress: PropTypes.func,\n\n onError: PropTypes.func,\n\n onPartialLoad: PropTypes.func,\n\n onLoad: PropTypes.func,\n\n onLoadEnd: PropTypes.func,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @no-flow\n * @format\n */\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst ImageURISourcePropType = PropTypes.shape({\n uri: PropTypes.string,\n bundle: PropTypes.string,\n method: PropTypes.string,\n headers: PropTypes.objectOf(PropTypes.string),\n body: PropTypes.string,\n cache: PropTypes.oneOf([\n 'default',\n 'reload',\n 'force-cache',\n 'only-if-cached',\n ]),\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n});\n\nconst ImageSourcePropType = PropTypes.oneOfType([\n ImageURISourcePropType,\n // Opaque type returned by require('./image.jpg')\n PropTypes.number,\n // Multiple sources\n PropTypes.arrayOf(ImageURISourcePropType),\n]);\n\nmodule.exports = ImageSourcePropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst ScrollView = require('../../../Components/ScrollView/ScrollView');\n\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nmodule.exports = (createAnimatedComponent(ScrollView, {\n scrollEventThrottle: 0.0001,\n}): $FlowFixMe);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst SectionList = require('../../../Lists/SectionList');\n\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nmodule.exports = (createAnimatedComponent(SectionList, {\n scrollEventThrottle: 0.0001,\n}): $FlowFixMe);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst Platform = require('../Utilities/Platform');\nconst React = require('react');\nconst ScrollView = require('../Components/ScrollView/ScrollView');\nconst VirtualizedSectionList = require('./VirtualizedSectionList');\n\nimport type {ViewToken} from './ViewabilityHelper';\nimport type {\n SectionBase as _SectionBase,\n Props as VirtualizedSectionListProps,\n ScrollToLocationParamsType,\n} from './VirtualizedSectionList';\n\ntype Item = any;\n\nexport type SectionBase = _SectionBase;\n\ntype RequiredProps> = {\n /**\n * The actual data to render, akin to the `data` prop in [``](/react-native/docs/flatlist.html).\n *\n * General shape:\n *\n * sections: $ReadOnlyArray<{\n * data: $ReadOnlyArray,\n * renderItem?: ({item: SectionItem, ...}) => ?React.Element<*>,\n * ItemSeparatorComponent?: ?ReactClass<{highlighted: boolean, ...}>,\n * }>\n */\n sections: $ReadOnlyArray,\n};\n\ntype OptionalProps> = {\n /**\n * Default renderer for every item in every section. Can be over-ridden on a per-section basis.\n */\n renderItem?: (info: {\n item: Item,\n index: number,\n section: SectionT,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n },\n }) => ?React.Element,\n /**\n * Rendered in between each item, but not at the top or bottom. By default, `highlighted`,\n * `section`, and `[leading/trailing][Item/Separator]` props are provided. `renderItem` provides\n * `separators.highlight`/`unhighlight` which will update the `highlighted` prop, but you can also\n * add custom props with `separators.updateProps`.\n */\n ItemSeparatorComponent?: ?React.ComponentType,\n /**\n * Rendered at the very beginning of the list. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListHeaderComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered when the list is empty. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListEmptyComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered at the very end of the list. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListFooterComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered at the top and bottom of each section (note this is different from\n * `ItemSeparatorComponent` which is only rendered between items). These are intended to separate\n * sections from the headers above and below and typically have the same highlight response as\n * `ItemSeparatorComponent`. Also receives `highlighted`, `[leading/trailing][Item/Separator]`,\n * and any custom props from `separators.updateProps`.\n */\n SectionSeparatorComponent?: ?React.ComponentType,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender: number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n /**\n * Used to extract a unique key for a given item at the specified index. Key is used for caching\n * and as the react key to track item re-ordering. The default extractor checks item.key, then\n * falls back to using the index, like react does. Note that this sets keys for each item, but\n * each overall section still needs its own key.\n */\n keyExtractor: (item: Item, index: number) => string,\n /**\n * Called once when the scroll position gets within `onEndReachedThreshold` of the rendered\n * content.\n */\n onEndReached?: ?(info: {distanceFromEnd: number}) => void,\n /**\n * How far from the end (in units of visible length of the list) the bottom edge of the\n * list must be from the end of the content to trigger the `onEndReached` callback.\n * Thus a value of 0.5 will trigger `onEndReached` when the end of the content is\n * within half the visible length of the list.\n */\n onEndReachedThreshold?: ?number,\n /**\n * If provided, a standard RefreshControl will be added for \"Pull to Refresh\" functionality. Make\n * sure to also set the `refreshing` prop correctly.\n */\n onRefresh?: ?() => void,\n /**\n * Called when the viewability of rows changes, as defined by the\n * `viewabilityConfig` prop.\n */\n onViewableItemsChanged?: ?(info: {\n viewableItems: Array,\n changed: Array,\n }) => void,\n /**\n * Set this true while waiting for new data from a refresh.\n */\n refreshing?: ?boolean,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n */\n removeClippedSubviews?: boolean,\n /**\n * Rendered at the top of each section. These stick to the top of the `ScrollView` by default on\n * iOS. See `stickySectionHeadersEnabled`.\n */\n renderSectionHeader?: ?(info: {section: SectionT}) => ?React.Element,\n /**\n * Rendered at the bottom of each section.\n */\n renderSectionFooter?: ?(info: {section: SectionT}) => ?React.Element,\n /**\n * Makes section headers stick to the top of the screen until the next one pushes it off. Only\n * enabled by default on iOS because that is the platform standard there.\n */\n stickySectionHeadersEnabled?: boolean,\n\n /**\n * The legacy implementation is no longer supported.\n */\n legacyImplementation?: empty,\n};\n\nexport type Props = RequiredProps &\n OptionalProps &\n VirtualizedSectionListProps;\n\nconst defaultProps = {\n ...VirtualizedSectionList.defaultProps,\n stickySectionHeadersEnabled: Platform.OS === 'ios',\n};\n\ntype DefaultProps = typeof defaultProps;\n\n/**\n * A performant interface for rendering sectioned lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Configurable viewability callbacks.\n * - List header support.\n * - List footer support.\n * - Item separator support.\n * - Section header support.\n * - Section separator support.\n * - Heterogeneous data and item rendering support.\n * - Pull to Refresh.\n * - Scroll loading.\n *\n * If you don't need section support and want a simpler interface, use\n * [``](/react-native/docs/flatlist.html).\n *\n * Simple Examples:\n *\n * }\n * renderSectionHeader={({section}) =>
    }\n * sections={[ // homogeneous rendering between sections\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * ]}\n * />\n *\n * \n *\n * This is a convenience wrapper around [``](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate and momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n */\nclass SectionList> extends React.PureComponent<\n Props,\n void,\n> {\n props: Props;\n static defaultProps: DefaultProps = defaultProps;\n\n /**\n * Scrolls to the item at the specified `sectionIndex` and `itemIndex` (within the section)\n * positioned in the viewable area such that `viewPosition` 0 places it at the top (and may be\n * covered by a sticky header), 1 at the bottom, and 0.5 centered in the middle. `viewOffset` is a\n * fixed number of pixels to offset the final target position, e.g. to compensate for sticky\n * headers.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToLocation(params: ScrollToLocationParamsType) {\n if (this._wrapperListRef != null) {\n this._wrapperListRef.scrollToLocation(params);\n }\n }\n\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n recordInteraction() {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n listRef && listRef.recordInteraction();\n }\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators() {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n listRef && listRef.flashScrollIndicators();\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n */\n getScrollResponder(): ?ScrollView {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n return listRef.getScrollResponder();\n }\n }\n\n getScrollableNode(): any {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n return listRef.getScrollableNode();\n }\n }\n\n setNativeProps(props: Object) {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n listRef.setNativeProps(props);\n }\n }\n\n render(): React.Node {\n return (\n items.length}\n getItem={(items, index) => items[index]}\n />\n );\n }\n\n _wrapperListRef: ?React.ElementRef;\n _captureRef = ref => {\n /* $FlowFixMe(>=0.99.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.99 was deployed. To see the error, delete this\n * comment and run Flow. */\n this._wrapperListRef = ref;\n };\n}\n\nmodule.exports = SectionList;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst React = require('react');\nconst View = require('../Components/View/View');\nconst VirtualizedList = require('./VirtualizedList');\n\nconst invariant = require('invariant');\n\nimport type {ViewToken} from './ViewabilityHelper';\nimport type {Props as VirtualizedListProps} from './VirtualizedList';\n\ntype Item = any;\n\nexport type SectionBase = {\n /**\n * The data for rendering items in this section.\n */\n data: $ReadOnlyArray,\n /**\n * Optional key to keep track of section re-ordering. If you don't plan on re-ordering sections,\n * the array index will be used by default.\n */\n key?: string,\n\n // Optional props will override list-wide props just for this section.\n renderItem?: ?(info: {\n item: SectionItemT,\n index: number,\n section: SectionBase,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n },\n }) => ?React.Element,\n ItemSeparatorComponent?: ?React.ComponentType,\n keyExtractor?: (item: SectionItemT, index?: ?number) => string,\n};\n\ntype RequiredProps> = {\n sections: $ReadOnlyArray,\n};\n\ntype OptionalProps> = {\n /**\n * Rendered after the last item in the last section.\n */\n ListFooterComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered at the very beginning of the list.\n */\n ListHeaderComponent?: ?(React.ComponentType | React.Element),\n /**\n * Default renderer for every item in every section.\n */\n renderItem?: (info: {\n item: Item,\n index: number,\n section: SectionT,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n },\n }) => ?React.Element,\n /**\n * Rendered at the top of each section.\n */\n renderSectionHeader?: ?({section: SectionT}) => ?React.Element,\n /**\n * Rendered at the bottom of each section.\n */\n renderSectionFooter?: ?({section: SectionT}) => ?React.Element,\n /**\n * Rendered at the bottom of every Section, except the very last one, in place of the normal\n * ItemSeparatorComponent.\n */\n SectionSeparatorComponent?: ?React.ComponentType,\n /**\n * Rendered at the bottom of every Item except the very last one in the last section.\n */\n ItemSeparatorComponent?: ?React.ComponentType,\n /**\n * DEPRECATED: Virtualization provides significant performance and memory optimizations, but fully\n * unmounts react instances that are outside of the render window. You should only need to disable\n * this for debugging purposes.\n */\n disableVirtualization?: ?boolean,\n keyExtractor: (item: Item, index: number) => string,\n onEndReached?: ?({distanceFromEnd: number}) => void,\n /**\n * If provided, a standard RefreshControl will be added for \"Pull to Refresh\" functionality. Make\n * sure to also set the `refreshing` prop correctly.\n */\n onRefresh?: ?() => void,\n /**\n * Called when the viewability of rows changes, as defined by the\n * `viewabilityConfig` prop.\n */\n onViewableItemsChanged?: ?({\n viewableItems: Array,\n changed: Array,\n }) => void,\n /**\n * Set this true while waiting for new data from a refresh.\n */\n refreshing?: ?boolean,\n};\n\nexport type Props = RequiredProps &\n OptionalProps &\n VirtualizedListProps;\nexport type ScrollToLocationParamsType = {|\n animated?: ?boolean,\n itemIndex: number,\n sectionIndex: number,\n viewOffset?: number,\n viewPosition?: number,\n|};\n\ntype DefaultProps = {|\n ...typeof VirtualizedList.defaultProps,\n data: $ReadOnlyArray,\n|};\n\ntype State = {childProps: VirtualizedListProps};\n\n/**\n * Right now this just flattens everything into one list and uses VirtualizedList under the\n * hood. The only operation that might not scale well is concatting the data arrays of all the\n * sections when new props are received, which should be plenty fast for up to ~10,000 items.\n */\nclass VirtualizedSectionList<\n SectionT: SectionBase,\n> extends React.PureComponent, State> {\n static defaultProps: DefaultProps = {\n ...VirtualizedList.defaultProps,\n data: [],\n };\n\n scrollToLocation(params: ScrollToLocationParamsType) {\n let index = params.itemIndex;\n for (let i = 0; i < params.sectionIndex; i++) {\n index += this.props.getItemCount(this.props.sections[i].data) + 2;\n }\n let viewOffset = params.viewOffset || 0;\n if (params.itemIndex > 0 && this.props.stickySectionHeadersEnabled) {\n const frame = this._listRef._getFrameMetricsApprox(\n index - params.itemIndex,\n );\n viewOffset += frame.length;\n }\n const toIndexParams = {\n ...params,\n viewOffset,\n index,\n };\n this._listRef.scrollToIndex(toIndexParams);\n }\n\n getListRef(): VirtualizedList {\n return this._listRef;\n }\n\n constructor(props: Props, context: Object) {\n super(props, context);\n this.state = this._computeState(props);\n }\n\n UNSAFE_componentWillReceiveProps(nextProps: Props) {\n this.setState(this._computeState(nextProps));\n }\n\n _computeState(props: Props): State {\n const offset = props.ListHeaderComponent ? 1 : 0;\n const stickyHeaderIndices = [];\n const itemCount = props.sections\n ? props.sections.reduce((v, section) => {\n stickyHeaderIndices.push(v + offset);\n return v + props.getItemCount(section.data) + 2; // Add two for the section header and footer.\n }, 0)\n : 0;\n\n return {\n childProps: {\n ...props,\n renderItem: this._renderItem,\n ItemSeparatorComponent: undefined, // Rendered with renderItem\n data: props.sections,\n getItemCount: () => itemCount,\n // $FlowFixMe\n getItem: (sections, index) => getItem(props, sections, index),\n keyExtractor: this._keyExtractor,\n onViewableItemsChanged: props.onViewableItemsChanged\n ? this._onViewableItemsChanged\n : undefined,\n stickyHeaderIndices: props.stickySectionHeadersEnabled\n ? stickyHeaderIndices\n : undefined,\n },\n };\n }\n\n render(): React.Node {\n return (\n \n );\n }\n\n _keyExtractor = (item: Item, index: number) => {\n const info = this._subExtractor(index);\n return (info && info.key) || String(index);\n };\n\n _subExtractor(\n index: number,\n ): ?{\n section: SectionT,\n key: string, // Key of the section or combined key for section + item\n index: ?number, // Relative index within the section\n header?: ?boolean, // True if this is the section header\n leadingItem?: ?Item,\n leadingSection?: ?SectionT,\n trailingItem?: ?Item,\n trailingSection?: ?SectionT,\n } {\n let itemIndex = index;\n const {getItem, getItemCount, keyExtractor, sections} = this.props;\n for (let i = 0; i < sections.length; i++) {\n const section = sections[i];\n const sectionData = section.data;\n const key = section.key || String(i);\n itemIndex -= 1; // The section adds an item for the header\n if (itemIndex >= getItemCount(sectionData) + 1) {\n itemIndex -= getItemCount(sectionData) + 1; // The section adds an item for the footer.\n } else if (itemIndex === -1) {\n return {\n section,\n key: key + ':header',\n index: null,\n header: true,\n trailingSection: sections[i + 1],\n };\n } else if (itemIndex === getItemCount(sectionData)) {\n return {\n section,\n key: key + ':footer',\n index: null,\n header: false,\n trailingSection: sections[i + 1],\n };\n } else {\n const extractor = section.keyExtractor || keyExtractor;\n return {\n section,\n key:\n key + ':' + extractor(getItem(sectionData, itemIndex), itemIndex),\n index: itemIndex,\n leadingItem: getItem(sectionData, itemIndex - 1),\n leadingSection: sections[i - 1],\n trailingItem: getItem(sectionData, itemIndex + 1),\n trailingSection: sections[i + 1],\n };\n }\n }\n }\n\n _convertViewable = (viewable: ViewToken): ?ViewToken => {\n invariant(viewable.index != null, 'Received a broken ViewToken');\n const info = this._subExtractor(viewable.index);\n if (!info) {\n return null;\n }\n const keyExtractor = info.section.keyExtractor || this.props.keyExtractor;\n return {\n ...viewable,\n index: info.index,\n /* $FlowFixMe(>=0.63.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.63 was deployed. To see the error delete this\n * comment and run Flow. */\n key: keyExtractor(viewable.item, info.index),\n section: info.section,\n };\n };\n\n _onViewableItemsChanged = ({\n viewableItems,\n changed,\n }: {\n viewableItems: Array,\n changed: Array,\n }) => {\n if (this.props.onViewableItemsChanged) {\n this.props.onViewableItemsChanged({\n viewableItems: viewableItems\n .map(this._convertViewable, this)\n .filter(Boolean),\n changed: changed.map(this._convertViewable, this).filter(Boolean),\n });\n }\n };\n\n _renderItem = ({item, index}: {item: Item, index: number}) => {\n const info = this._subExtractor(index);\n if (!info) {\n return null;\n }\n const infoIndex = info.index;\n if (infoIndex == null) {\n const {section} = info;\n if (info.header === true) {\n const {renderSectionHeader} = this.props;\n return renderSectionHeader ? renderSectionHeader({section}) : null;\n } else {\n const {renderSectionFooter} = this.props;\n return renderSectionFooter ? renderSectionFooter({section}) : null;\n }\n } else {\n const renderItem = info.section.renderItem || this.props.renderItem;\n const SeparatorComponent = this._getSeparatorComponent(index, info);\n invariant(renderItem, 'no renderItem!');\n return (\n {\n this._cellRefs[info.key] = ref;\n }}\n renderItem={renderItem}\n section={info.section}\n trailingItem={info.trailingItem}\n trailingSection={info.trailingSection}\n />\n );\n }\n };\n\n _onUpdateSeparator = (key: string, newProps: Object) => {\n const ref = this._cellRefs[key];\n ref && ref.updateSeparatorProps(newProps);\n };\n\n _getSeparatorComponent(\n index: number,\n info?: ?Object,\n ): ?React.ComponentType {\n info = info || this._subExtractor(index);\n if (!info) {\n return null;\n }\n const ItemSeparatorComponent =\n info.section.ItemSeparatorComponent || this.props.ItemSeparatorComponent;\n const {SectionSeparatorComponent} = this.props;\n const isLastItemInList = index === this.state.childProps.getItemCount() - 1;\n const isLastItemInSection =\n info.index === this.props.getItemCount(info.section.data) - 1;\n if (SectionSeparatorComponent && isLastItemInSection) {\n return SectionSeparatorComponent;\n }\n if (ItemSeparatorComponent && !isLastItemInSection && !isLastItemInList) {\n return ItemSeparatorComponent;\n }\n return null;\n }\n\n _cellRefs = {};\n _listRef: VirtualizedList;\n _captureRef = ref => {\n /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment\n * suppresses an error when upgrading Flow's support for React. To see the\n * error delete this comment and run Flow. */\n this._listRef = ref;\n };\n}\n\ntype ItemWithSeparatorCommonProps = $ReadOnly<{|\n leadingItem: ?Item,\n leadingSection: ?Object,\n section: Object,\n trailingItem: ?Item,\n trailingSection: ?Object,\n|}>;\n\ntype ItemWithSeparatorProps = $ReadOnly<{|\n ...ItemWithSeparatorCommonProps,\n LeadingSeparatorComponent: ?React.ComponentType,\n SeparatorComponent: ?React.ComponentType,\n cellKey: string,\n index: number,\n item: Item,\n onUpdateSeparator: (cellKey: string, newProps: Object) => void,\n prevCellKey?: ?string,\n renderItem: Function,\n|}>;\n\ntype ItemWithSeparatorState = {\n separatorProps: $ReadOnly<{|\n highlighted: false,\n ...ItemWithSeparatorCommonProps,\n |}>,\n leadingSeparatorProps: $ReadOnly<{|\n highlighted: false,\n ...ItemWithSeparatorCommonProps,\n |}>,\n};\n\nclass ItemWithSeparator extends React.Component<\n ItemWithSeparatorProps,\n ItemWithSeparatorState,\n> {\n state = {\n separatorProps: {\n highlighted: false,\n leadingItem: this.props.item,\n leadingSection: this.props.leadingSection,\n section: this.props.section,\n trailingItem: this.props.trailingItem,\n trailingSection: this.props.trailingSection,\n },\n leadingSeparatorProps: {\n highlighted: false,\n leadingItem: this.props.leadingItem,\n leadingSection: this.props.leadingSection,\n section: this.props.section,\n trailingItem: this.props.item,\n trailingSection: this.props.trailingSection,\n },\n };\n\n _separators = {\n highlight: () => {\n ['leading', 'trailing'].forEach(s =>\n this._separators.updateProps(s, {highlighted: true}),\n );\n },\n unhighlight: () => {\n ['leading', 'trailing'].forEach(s =>\n this._separators.updateProps(s, {highlighted: false}),\n );\n },\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => {\n const {LeadingSeparatorComponent, cellKey, prevCellKey} = this.props;\n if (select === 'leading' && LeadingSeparatorComponent != null) {\n this.setState(state => ({\n leadingSeparatorProps: {...state.leadingSeparatorProps, ...newProps},\n }));\n } else {\n this.props.onUpdateSeparator(\n (select === 'leading' && prevCellKey) || cellKey,\n newProps,\n );\n }\n },\n };\n\n static getDerivedStateFromProps(\n props: ItemWithSeparatorProps,\n prevState: ItemWithSeparatorState,\n ): ?ItemWithSeparatorState {\n return {\n separatorProps: {\n ...prevState.separatorProps,\n leadingItem: props.item,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.trailingItem,\n trailingSection: props.trailingSection,\n },\n leadingSeparatorProps: {\n ...prevState.leadingSeparatorProps,\n leadingItem: props.leadingItem,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.item,\n trailingSection: props.trailingSection,\n },\n };\n }\n\n updateSeparatorProps(newProps: Object) {\n this.setState(state => ({\n separatorProps: {...state.separatorProps, ...newProps},\n }));\n }\n\n render() {\n const {\n LeadingSeparatorComponent,\n SeparatorComponent,\n item,\n index,\n section,\n } = this.props;\n const element = this.props.renderItem({\n item,\n index,\n section,\n separators: this._separators,\n });\n const leadingSeparator = LeadingSeparatorComponent && (\n \n );\n const separator = SeparatorComponent && (\n \n );\n return leadingSeparator || separator ? (\n /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete\n * this comment and run Flow. */\n \n {leadingSeparator}\n {element}\n {separator}\n \n ) : (\n element\n );\n }\n}\n\nfunction getItem(\n props: Props>,\n sections: ?$ReadOnlyArray,\n index: number,\n): ?Item {\n if (!sections) {\n return null;\n }\n let itemIdx = index - 1;\n for (let i = 0; i < sections.length; i++) {\n const section = sections[i];\n const sectionData = section.data;\n const itemCount = props.getItemCount(sectionData);\n if (itemIdx === -1 || itemIdx === itemCount) {\n // We intend for there to be overflow by one on both ends of the list.\n // This will be for headers and footers. When returning a header or footer\n // item the section itself is the item.\n return section;\n } else if (itemIdx < itemCount) {\n // If we are in the bounds of the list's data then return the item.\n return props.getItem(sectionData, itemIdx);\n } else {\n itemIdx -= itemCount + 2; // Add two for the header and footer\n }\n }\n return null;\n}\n\nmodule.exports = VirtualizedSectionList;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst Text = require('../../../Text/Text');\n\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nmodule.exports = (createAnimatedComponent(Text): $FlowFixMe);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst View = require('../../../Components/View/View');\n\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nmodule.exports = (createAnimatedComponent(View): $FlowFixMe);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst {\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,\n} = require('./ReactNative');\n\nimport type {NativeMethodsMixinType} from './ReactNativeTypes';\n\nconst {NativeMethodsMixin} = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nmodule.exports = ((NativeMethodsMixin: any): $Exact);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('../../DeprecatedPropTypes/DeprecatedEdgeInsetsPropType');\nconst React = require('react');\nconst PropTypes = require('prop-types');\nconst Touchable = require('./Touchable');\nconst View = require('../View/View');\n\nconst createReactClass = require('create-react-class');\nconst ensurePositiveDelayProps = require('./ensurePositiveDelayProps');\n\nconst {\n DeprecatedAccessibilityRoles,\n} = require('../../DeprecatedPropTypes/DeprecatedViewAccessibility');\n\nimport type {\n SyntheticEvent,\n LayoutEvent,\n PressEvent,\n} from '../../Types/CoreEventTypes';\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {\n AccessibilityRole,\n AccessibilityStates,\n AccessibilityState,\n AccessibilityActionInfo,\n AccessibilityActionEvent,\n} from '../View/ViewAccessibility';\n\ntype TargetEvent = SyntheticEvent<\n $ReadOnly<{|\n target: number,\n |}>,\n>;\n\ntype BlurEvent = TargetEvent;\ntype FocusEvent = TargetEvent;\n\nconst PRESS_RETENTION_OFFSET = {top: 20, left: 20, right: 20, bottom: 30};\n\nconst OVERRIDE_PROPS = [\n 'accessibilityLabel',\n 'accessibilityHint',\n 'accessibilityIgnoresInvertColors',\n 'accessibilityRole',\n 'accessibilityStates',\n 'accessibilityState',\n 'accessibilityActions',\n 'onAccessibilityAction',\n 'hitSlop',\n 'nativeID',\n 'onBlur',\n 'onFocus',\n 'onLayout',\n 'testID',\n];\n\nexport type Props = $ReadOnly<{|\n accessible?: ?boolean,\n accessibilityLabel?: ?Stringish,\n accessibilityHint?: ?Stringish,\n accessibilityIgnoresInvertColors?: ?boolean,\n accessibilityRole?: ?AccessibilityRole,\n accessibilityStates?: ?AccessibilityStates,\n accessibilityState?: ?AccessibilityState,\n accessibilityActions?: ?$ReadOnlyArray,\n children?: ?React.Node,\n delayLongPress?: ?number,\n delayPressIn?: ?number,\n delayPressOut?: ?number,\n disabled?: ?boolean,\n hitSlop?: ?EdgeInsetsProp,\n nativeID?: ?string,\n touchSoundDisabled?: ?boolean,\n onBlur?: ?(e: BlurEvent) => void,\n onFocus?: ?(e: FocusEvent) => void,\n onLayout?: ?(event: LayoutEvent) => mixed,\n onLongPress?: ?(event: PressEvent) => mixed,\n onPress?: ?(event: PressEvent) => mixed,\n onPressIn?: ?(event: PressEvent) => mixed,\n onPressOut?: ?(event: PressEvent) => mixed,\n onAccessibilityAction?: ?(event: AccessibilityActionEvent) => void,\n pressRetentionOffset?: ?EdgeInsetsProp,\n rejectResponderTermination?: ?boolean,\n testID?: ?string,\n|}>;\n\n/**\n * Do not use unless you have a very good reason. All elements that\n * respond to press should have a visual feedback when touched.\n *\n * TouchableWithoutFeedback supports only one child.\n * If you wish to have several child components, wrap them in a View.\n */\nconst TouchableWithoutFeedback = ((createReactClass({\n displayName: 'TouchableWithoutFeedback',\n mixins: [Touchable.Mixin],\n\n propTypes: {\n accessible: PropTypes.bool,\n accessibilityLabel: PropTypes.node,\n accessibilityHint: PropTypes.string,\n accessibilityIgnoresInvertColors: PropTypes.bool,\n accessibilityRole: PropTypes.oneOf(DeprecatedAccessibilityRoles),\n accessibilityStates: PropTypes.array,\n accessibilityState: PropTypes.object,\n accessibilityActions: PropTypes.array,\n onAccessibilityAction: PropTypes.func,\n /**\n * When `accessible` is true (which is the default) this may be called when\n * the OS-specific concept of \"focus\" occurs. Some platforms may not have\n * the concept of focus.\n */\n onFocus: PropTypes.func,\n /**\n * When `accessible` is true (which is the default) this may be called when\n * the OS-specific concept of \"blur\" occurs, meaning the element lost focus.\n * Some platforms may not have the concept of blur.\n */\n onBlur: PropTypes.func,\n /**\n * If true, disable all interactions for this component.\n */\n disabled: PropTypes.bool,\n /**\n * Called when the touch is released, but not if cancelled (e.g. by a scroll\n * that steals the responder lock).\n */\n onPress: PropTypes.func,\n /**\n * Called as soon as the touchable element is pressed and invoked even before onPress.\n * This can be useful when making network requests.\n */\n onPressIn: PropTypes.func,\n /**\n * Called as soon as the touch is released even before onPress.\n */\n onPressOut: PropTypes.func,\n /**\n * Invoked on mount and layout changes with\n *\n * `{nativeEvent: {layout: {x, y, width, height}}}`\n */\n onLayout: PropTypes.func,\n /**\n * If true, doesn't play system sound on touch (Android Only)\n **/\n touchSoundDisabled: PropTypes.bool,\n\n onLongPress: PropTypes.func,\n\n nativeID: PropTypes.string,\n testID: PropTypes.string,\n\n /**\n * Delay in ms, from the start of the touch, before onPressIn is called.\n */\n delayPressIn: PropTypes.number,\n /**\n * Delay in ms, from the release of the touch, before onPressOut is called.\n */\n delayPressOut: PropTypes.number,\n /**\n * Delay in ms, from onPressIn, before onLongPress is called.\n */\n delayLongPress: PropTypes.number,\n /**\n * When the scroll view is disabled, this defines how far your touch may\n * move off of the button, before deactivating the button. Once deactivated,\n * try moving it back and you'll see that the button is once again\n * reactivated! Move it back and forth several times while the scroll view\n * is disabled. Ensure you pass in a constant to reduce memory allocations.\n */\n pressRetentionOffset: DeprecatedEdgeInsetsPropType,\n /**\n * This defines how far your touch can start away from the button. This is\n * added to `pressRetentionOffset` when moving off of the button.\n * ** NOTE **\n * The touch area never extends past the parent view bounds and the Z-index\n * of sibling views always takes precedence if a touch hits two overlapping\n * views.\n */\n hitSlop: DeprecatedEdgeInsetsPropType,\n },\n\n getInitialState: function() {\n return this.touchableGetInitialState();\n },\n\n componentDidMount: function() {\n ensurePositiveDelayProps(this.props);\n },\n\n UNSAFE_componentWillReceiveProps: function(nextProps: Object) {\n ensurePositiveDelayProps(nextProps);\n },\n\n /**\n * `Touchable.Mixin` self callbacks. The mixin will invoke these if they are\n * defined on your component.\n */\n touchableHandlePress: function(e: PressEvent) {\n this.props.onPress && this.props.onPress(e);\n },\n\n touchableHandleActivePressIn: function(e: PressEvent) {\n this.props.onPressIn && this.props.onPressIn(e);\n },\n\n touchableHandleActivePressOut: function(e: PressEvent) {\n this.props.onPressOut && this.props.onPressOut(e);\n },\n\n touchableHandleLongPress: function(e: PressEvent) {\n this.props.onLongPress && this.props.onLongPress(e);\n },\n\n touchableGetPressRectOffset: function(): typeof PRESS_RETENTION_OFFSET {\n // $FlowFixMe Invalid prop usage\n return this.props.pressRetentionOffset || PRESS_RETENTION_OFFSET;\n },\n\n touchableGetHitSlop: function(): ?Object {\n return this.props.hitSlop;\n },\n\n touchableGetHighlightDelayMS: function(): number {\n return this.props.delayPressIn || 0;\n },\n\n touchableGetLongPressDelayMS: function(): number {\n return this.props.delayLongPress === 0\n ? 0\n : this.props.delayLongPress || 500;\n },\n\n touchableGetPressOutDelayMS: function(): number {\n return this.props.delayPressOut || 0;\n },\n\n render: function(): React.Element {\n // Note(avik): remove dynamic typecast once Flow has been upgraded\n // $FlowFixMe(>=0.41.0)\n const child = React.Children.only(this.props.children);\n let children = child.props.children;\n if (Touchable.TOUCH_TARGET_DEBUG && child.type === View) {\n children = React.Children.toArray(children);\n children.push(\n Touchable.renderDebugView({color: 'red', hitSlop: this.props.hitSlop}),\n );\n }\n\n const overrides = {};\n for (const prop of OVERRIDE_PROPS) {\n if (this.props[prop] !== undefined) {\n overrides[prop] = this.props[prop];\n }\n }\n\n return (React: any).cloneElement(child, {\n ...overrides,\n accessible: this.props.accessible !== false,\n focusable:\n this.props.focusable !== false && this.props.onPress !== undefined,\n onClick: this.touchableHandlePress,\n onStartShouldSetResponder: this.touchableHandleStartShouldSetResponder,\n onResponderTerminationRequest: this\n .touchableHandleResponderTerminationRequest,\n onResponderGrant: this.touchableHandleResponderGrant,\n onResponderMove: this.touchableHandleResponderMove,\n onResponderRelease: this.touchableHandleResponderRelease,\n onResponderTerminate: this.touchableHandleResponderTerminate,\n children,\n });\n },\n}): any): React.ComponentType);\n\nmodule.exports = TouchableWithoutFeedback;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar React = require('react');\nvar factory = require('./factory');\n\nif (typeof React === 'undefined') {\n throw Error(\n 'create-react-class could not find the React object. If you are using script tags, ' +\n 'make sure that React is being loaded before create-react-class.'\n );\n}\n\n// Hack to grab NoopUpdateQueue from isomorphic React\nvar ReactNoopUpdateQueue = new React.Component().updater;\n\nmodule.exports = factory(\n React.Component,\n React.isValidElement,\n ReactNoopUpdateQueue\n);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar _invariant = require('fbjs/lib/invariant');\n\nif (process.env.NODE_ENV !== 'production') {\n var warning = require('fbjs/lib/warning');\n}\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\nvar ReactPropTypeLocationNames;\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n} else {\n ReactPropTypeLocationNames = {};\n}\n\nfunction factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) {\n /**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n var injectedMixins = [];\n\n /**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return
    Hello World
    ;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\n var ReactClassInterface = {\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return
    Hello, {name}!
    ;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillMount`.\n *\n * @optional\n */\n UNSAFE_componentWillMount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillReceiveProps`.\n *\n * @optional\n */\n UNSAFE_componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillUpdate`.\n *\n * @optional\n */\n UNSAFE_componentWillUpdate: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n };\n\n /**\n * Similar to ReactClassInterface but for static methods.\n */\n var ReactClassStaticInterface = {\n /**\n * This method is invoked after a component is instantiated and when it\n * receives new props. Return an object to update state in response to\n * prop changes. Return null to indicate no change to state.\n *\n * If an object is returned, its keys will be merged into the existing state.\n *\n * @return {object || null}\n * @optional\n */\n getDerivedStateFromProps: 'DEFINE_MANY_MERGED'\n };\n\n /**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\n var RESERVED_SPEC_KEYS = {\n displayName: function(Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function(Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function(Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign(\n {},\n Constructor.childContextTypes,\n childContextTypes\n );\n },\n contextTypes: function(Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign(\n {},\n Constructor.contextTypes,\n contextTypes\n );\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function(Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(\n Constructor.getDefaultProps,\n getDefaultProps\n );\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function(Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function(Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function() {}\n };\n\n function validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an _invariant so components\n // don't show up in prod but only in __DEV__\n if (process.env.NODE_ENV !== 'production') {\n warning(\n typeof typeDef[propName] === 'function',\n '%s: %s type `%s` is invalid; it must be a function, usually from ' +\n 'React.PropTypes.',\n Constructor.displayName || 'ReactClass',\n ReactPropTypeLocationNames[location],\n propName\n );\n }\n }\n }\n }\n\n function validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name)\n ? ReactClassInterface[name]\n : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n _invariant(\n specPolicy === 'OVERRIDE_BASE',\n 'ReactClassInterface: You are attempting to override ' +\n '`%s` from your class specification. Ensure that your method names ' +\n 'do not overlap with React methods.',\n name\n );\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n _invariant(\n specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClassInterface: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be due ' +\n 'to a mixin.',\n name\n );\n }\n }\n\n /**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\n function mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n isMixinValid,\n \"%s: You're attempting to include a mixin that is either null \" +\n 'or not an object. Check the mixins included by the component, ' +\n 'as well as any mixins they include themselves. ' +\n 'Expected object but got %s.',\n Constructor.displayName || 'ReactClass',\n spec === null ? null : typeofSpec\n );\n }\n }\n\n return;\n }\n\n _invariant(\n typeof spec !== 'function',\n \"ReactClass: You're attempting to \" +\n 'use a component class or function as a mixin. Instead, just use a ' +\n 'regular object.'\n );\n _invariant(\n !isValidElement(spec),\n \"ReactClass: You're attempting to \" +\n 'use a component as a mixin. Instead, just use a regular object.'\n );\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind =\n isFunction &&\n !isReactClassMethod &&\n !isAlreadyDefined &&\n spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n _invariant(\n isReactClassMethod &&\n (specPolicy === 'DEFINE_MANY_MERGED' ||\n specPolicy === 'DEFINE_MANY'),\n 'ReactClass: Unexpected spec policy %s for key %s ' +\n 'when mixing in component specs.',\n specPolicy,\n name\n );\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n }\n\n function mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n _invariant(\n !isReserved,\n 'ReactClass: You are attempting to define a reserved ' +\n 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' +\n 'as an instance property instead; it will still be accessible on the ' +\n 'constructor.',\n name\n );\n\n var isAlreadyDefined = name in Constructor;\n if (isAlreadyDefined) {\n var specPolicy = ReactClassStaticInterface.hasOwnProperty(name)\n ? ReactClassStaticInterface[name]\n : null;\n\n _invariant(\n specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClass: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be ' +\n 'due to a mixin.',\n name\n );\n\n Constructor[name] = createMergedResultFunction(Constructor[name], property);\n\n return;\n }\n\n Constructor[name] = property;\n }\n }\n\n /**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\n function mergeIntoWithNoDuplicateKeys(one, two) {\n _invariant(\n one && two && typeof one === 'object' && typeof two === 'object',\n 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'\n );\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n _invariant(\n one[key] === undefined,\n 'mergeIntoWithNoDuplicateKeys(): ' +\n 'Tried to merge two objects with the same key: `%s`. This conflict ' +\n 'may be due to a mixin; in particular, this may be caused by two ' +\n 'getInitialState() or getDefaultProps() methods returning objects ' +\n 'with clashing keys.',\n key\n );\n one[key] = two[key];\n }\n }\n return one;\n }\n\n /**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n }\n\n /**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n }\n\n /**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\n function bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function(newThis) {\n for (\n var _len = arguments.length,\n args = Array(_len > 1 ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n ) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): React component methods may only be bound to the ' +\n 'component instance. See %s',\n componentName\n );\n }\n } else if (!args.length) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): You are binding a component method to the component. ' +\n 'React does this for you automatically in a high-performance ' +\n 'way, so you can safely remove this call. See %s',\n componentName\n );\n }\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n }\n\n /**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\n function bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n\n var IsMountedPreMixin = {\n componentDidMount: function() {\n this.__isMounted = true;\n }\n };\n\n var IsMountedPostMixin = {\n componentWillUnmount: function() {\n this.__isMounted = false;\n }\n };\n\n /**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\n var ReactClassMixin = {\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function(newState, callback) {\n this.updater.enqueueReplaceState(this, newState, callback);\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function() {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this.__didWarnIsMounted,\n '%s: isMounted is deprecated. Instead, make sure to clean up ' +\n 'subscriptions and pending requests in componentWillUnmount to ' +\n 'prevent memory leaks.',\n (this.constructor && this.constructor.displayName) ||\n this.name ||\n 'Component'\n );\n this.__didWarnIsMounted = true;\n }\n return !!this.__isMounted;\n }\n };\n\n var ReactClassComponent = function() {};\n _assign(\n ReactClassComponent.prototype,\n ReactComponent.prototype,\n ReactClassMixin\n );\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n function createClass(spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function(props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this instanceof Constructor,\n 'Something is calling a React component directly. Use a factory or ' +\n 'JSX instead. See: https://fb.me/react-legacyfactory'\n );\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (\n initialState === undefined &&\n this.getInitialState._isMockFunction\n ) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n _invariant(\n typeof initialState === 'object' && !Array.isArray(initialState),\n '%s.getInitialState(): must return an object or null',\n Constructor.displayName || 'ReactCompositeComponent'\n );\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, IsMountedPreMixin);\n mixSpecIntoComponent(Constructor, spec);\n mixSpecIntoComponent(Constructor, IsMountedPostMixin);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n _invariant(\n Constructor.prototype.render,\n 'createClass(...): Class specification must implement a `render` method.'\n );\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n !Constructor.prototype.componentShouldUpdate,\n '%s has a method called ' +\n 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n 'The name is phrased as a question because the function is ' +\n 'expected to return a value.',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.componentWillRecieveProps,\n '%s has a method called ' +\n 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.UNSAFE_componentWillRecieveProps,\n '%s has a method called UNSAFE_componentWillRecieveProps(). ' +\n 'Did you mean UNSAFE_componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n }\n\n return createClass;\n}\n\nmodule.exports = factory;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nconst ensurePositiveDelayProps = function(props: any) {\n invariant(\n !(\n props.delayPressIn < 0 ||\n props.delayPressOut < 0 ||\n props.delayLongPress < 0\n ),\n 'Touchable components cannot have negative delay properties',\n );\n};\n\nmodule.exports = ensurePositiveDelayProps;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nmodule.exports = {\n // This must be kept in sync with the AccessibilityRolesMask in RCTViewManager.m\n DeprecatedAccessibilityRoles: [\n 'none',\n 'button',\n 'link',\n 'search',\n 'image',\n 'keyboardkey',\n 'text',\n 'adjustable',\n 'imagebutton',\n 'header',\n 'summary',\n 'alert',\n 'checkbox',\n 'combobox',\n 'menu',\n 'menubar',\n 'menuitem',\n 'progressbar',\n 'radio',\n 'radiogroup',\n 'scrollbar',\n 'spinbutton',\n 'switch',\n 'tab',\n 'tablist',\n 'timer',\n 'toolbar',\n ],\n // This must be kept in sync with the AccessibilityStatesMask in RCTViewManager.m\n DeprecatedAccessibilityStates: [\n 'selected',\n 'disabled',\n 'checked',\n 'unchecked',\n 'busy',\n 'expanded',\n 'collapsed',\n 'hasPopup',\n ],\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\n\n/**\n * Common implementation for a simple stubbed view. Simply applies the view's styles to the inner\n * View component and renders its children.\n */\nclass UnimplementedView extends React.Component<$FlowFixMeProps> {\n render(): React.Node {\n // Workaround require cycle from requireNativeComponent\n const View = require('../View/View');\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n unimplementedView: __DEV__\n ? {\n alignSelf: 'flex-start',\n borderColor: 'red',\n borderWidth: 1,\n }\n : {},\n});\n\nmodule.exports = UnimplementedView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * This is a controlled component version of RCTDatePickerIOS\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst RCTDatePickerNativeComponent = require('./RCTDatePickerNativeComponent');\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\n\nconst invariant = require('invariant');\n\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Event = SyntheticEvent<\n $ReadOnly<{|\n timestamp: number,\n |}>,\n>;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The currently selected date.\n */\n date?: ?Date,\n\n /**\n * Provides an initial value that will change when the user starts selecting\n * a date. It is useful for simple use-cases where you do not want to deal\n * with listening to events and updating the date prop to keep the\n * controlled state in sync. The controlled state has known bugs which\n * causes it to go out of sync with native. The initialDate prop is intended\n * to allow you to have native be source of truth.\n */\n initialDate?: ?Date,\n\n /**\n * The date picker locale.\n */\n locale?: ?string,\n\n /**\n * Maximum date.\n *\n * Restricts the range of possible date/time values.\n */\n maximumDate?: ?Date,\n\n /**\n * Minimum date.\n *\n * Restricts the range of possible date/time values.\n */\n minimumDate?: ?Date,\n\n /**\n * The interval at which minutes can be selected.\n */\n minuteInterval?: ?(1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30),\n\n /**\n * The date picker mode.\n */\n mode?: ?('date' | 'time' | 'datetime'),\n\n /**\n * Date change handler.\n *\n * This is called when the user changes the date or time in the UI.\n * The first and only argument is an Event. For getting the date the picker\n * was changed to, use onDateChange instead.\n */\n onChange?: ?(event: Event) => void,\n\n /**\n * Date change handler.\n *\n * This is called when the user changes the date or time in the UI.\n * The first and only argument is a Date object representing the new\n * date and time.\n */\n onDateChange: (date: Date) => void,\n\n /**\n * Timezone offset in minutes.\n *\n * By default, the date picker will use the device's timezone. With this\n * parameter, it is possible to force a certain timezone offset. For\n * instance, to show times in Pacific Standard Time, pass -7 * 60.\n */\n timeZoneOffsetInMinutes?: ?number,\n|}>;\n\n/**\n * Use `DatePickerIOS` to render a date/time picker (selector) on iOS. This is\n * a controlled component, so you must hook in to the `onDateChange` callback\n * and update the `date` prop in order for the component to update, otherwise\n * the user's change will be reverted immediately to reflect `props.date` as the\n * source of truth.\n */\nclass DatePickerIOS extends React.Component {\n static DefaultProps: $TEMPORARY$object<{|\n mode: $TEMPORARY$string<'datetime'>,\n |}> = {\n mode: 'datetime',\n };\n\n _picker: ?React.ElementRef = null;\n\n componentDidUpdate() {\n if (this.props.date) {\n const propsTimeStamp = this.props.date.getTime();\n if (this._picker) {\n this._picker.setNativeProps({\n date: propsTimeStamp,\n });\n }\n }\n }\n\n _onChange = (event: Event) => {\n const nativeTimeStamp = event.nativeEvent.timestamp;\n this.props.onDateChange &&\n this.props.onDateChange(new Date(nativeTimeStamp));\n this.props.onChange && this.props.onChange(event);\n };\n\n render(): React.Node {\n const props = this.props;\n invariant(\n props.date || props.initialDate,\n 'A selected date or initial date should be specified.',\n );\n return (\n \n {\n this._picker = picker;\n }}\n style={styles.datePickerIOS}\n date={\n props.date\n ? props.date.getTime()\n : props.initialDate\n ? props.initialDate.getTime()\n : undefined\n }\n locale={\n props.locale != null && props.locale !== ''\n ? props.locale\n : undefined\n }\n maximumDate={\n props.maximumDate ? props.maximumDate.getTime() : undefined\n }\n minimumDate={\n props.minimumDate ? props.minimumDate.getTime() : undefined\n }\n mode={props.mode}\n minuteInterval={props.minuteInterval}\n timeZoneOffsetInMinutes={props.timeZoneOffsetInMinutes}\n onChange={this._onChange}\n onStartShouldSetResponder={() => true}\n onResponderTerminationRequest={() => false}\n />\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n datePickerIOS: {\n height: 216,\n },\n});\n\nmodule.exports = DatePickerIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst requireNativeComponent = require('../../ReactNative/requireNativeComponent');\n\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {NativeComponent} from '../../Renderer/shims/ReactNative';\n\ntype Event = SyntheticEvent<\n $ReadOnly<{|\n timestamp: number,\n |}>,\n>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n date?: ?number,\n initialDate?: ?Date,\n locale?: ?string,\n maximumDate?: ?number,\n minimumDate?: ?number,\n minuteInterval?: ?(1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30),\n mode?: ?('date' | 'time' | 'datetime'),\n onChange?: ?(event: Event) => void,\n timeZoneOffsetInMinutes?: ?number,\n|}>;\ntype RCTDatePickerNativeType = Class>;\n\nmodule.exports = ((requireNativeComponent(\n 'RCTDatePicker',\n): any): RCTDatePickerNativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst Image = require('./Image');\nconst React = require('react');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst View = require('../Components/View/View');\n\n/**\n * Very simple drop-in replacement for which supports nesting views.\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, View, ImageBackground, Text } from 'react-native';\n *\n * class DisplayAnImageBackground extends Component {\n * render() {\n * return (\n * \n * React\n * \n * );\n * }\n * }\n *\n * // App registration and rendering\n * AppRegistry.registerComponent('DisplayAnImageBackground', () => DisplayAnImageBackground);\n * ```\n */\nclass ImageBackground extends React.Component<$FlowFixMeProps> {\n setNativeProps(props: Object) {\n // Work-around flow\n const viewRef = this._viewRef;\n if (viewRef) {\n viewRef.setNativeProps(props);\n }\n }\n\n _viewRef: ?React.ElementRef = null;\n\n _captureRef = ref => {\n this._viewRef = ref;\n };\n\n render(): React.Node {\n const {children, style, imageStyle, imageRef, ...props} = this.props;\n\n return (\n \n overwrites width and height styles\n // (which is not quite correct), and these styles conflict with explicitly set styles\n // of and with our internal layout model here.\n // So, we have to proxy/reapply these styles explicitly for actual component.\n // This workaround should be removed after implementing proper support of\n // intrinsic content size of the .\n width: style.width,\n height: style.height,\n },\n imageStyle,\n ]}\n ref={imageRef}\n />\n {children}\n \n );\n }\n}\n\nmodule.exports = ImageBackground;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst DeprecatedColorPropType = require('../../DeprecatedPropTypes/DeprecatedColorPropType');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\n\nimport RCTInputAccessoryViewNativeComponent from './RCTInputAccessoryViewNativeComponent';\n\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\n\n/**\n * Note: iOS only\n *\n * A component which enables customization of the keyboard input accessory view.\n * The input accessory view is displayed above the keyboard whenever a TextInput\n * has focus. This component can be used to create custom toolbars.\n *\n * To use this component wrap your custom toolbar with the\n * InputAccessoryView component, and set a nativeID. Then, pass that nativeID\n * as the inputAccessoryViewID of whatever TextInput you desire. A simple\n * example:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, TextInput, InputAccessoryView, Button } from 'react-native';\n *\n * export default class UselessTextInput extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {text: 'Placeholder Text'};\n * }\n *\n * render() {\n * const inputAccessoryViewID = \"uniqueID\";\n * return (\n * \n * \n * this.setState({text})}\n * value={this.state.text}\n * />\n * \n * \n * this.setState({text: 'Placeholder Text'})}\n * title=\"Reset Text\"\n * />\n * \n * \n * );\n * }\n * }\n *\n * // skip this line if using Create React Native App\n * AppRegistry.registerComponent('AwesomeProject', () => UselessTextInput);\n * ```\n *\n * This component can also be used to create sticky text inputs (text inputs\n * which are anchored to the top of the keyboard). To do this, wrap a\n * TextInput with the InputAccessoryView component, and don't set a nativeID.\n * For an example, look at InputAccessoryViewExample.js in RNTester.\n */\n\ntype Props = $ReadOnly<{|\n +children: React.Node,\n /**\n * An ID which is used to associate this `InputAccessoryView` to\n * specified TextInput(s).\n */\n nativeID?: ?string,\n style?: ?ViewStyleProp,\n backgroundColor?: ?DeprecatedColorPropType,\n|}>;\n\nclass InputAccessoryView extends React.Component {\n render(): React.Node {\n if (Platform.OS !== 'ios') {\n console.warn(' is only supported on iOS.');\n }\n\n if (React.Children.count(this.props.children) === 0) {\n return null;\n }\n\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n position: 'absolute',\n },\n});\n\nmodule.exports = InputAccessoryView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n backgroundColor?: ?ColorValue,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTInputAccessoryView',\n): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Keyboard = require('./Keyboard');\nconst LayoutAnimation = require('../../LayoutAnimation/LayoutAnimation');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\n\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type EmitterSubscription from '../../vendor/emitter/EmitterSubscription';\nimport type {\n ViewProps,\n ViewLayout,\n ViewLayoutEvent,\n} from '../View/ViewPropTypes';\nimport type {KeyboardEvent} from './Keyboard';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Specify how to react to the presence of the keyboard.\n */\n behavior?: ?('height' | 'position' | 'padding'),\n\n /**\n * Style of the content container when `behavior` is 'position'.\n */\n contentContainerStyle?: ?ViewStyleProp,\n\n /**\n * Controls whether this `KeyboardAvoidingView` instance should take effect.\n * This is useful when more than one is on the screen. Defaults to true.\n */\n enabled: ?boolean,\n\n /**\n * Distance between the top of the user screen and the React Native view. This\n * may be non-zero in some cases. Defaults to 0.\n */\n keyboardVerticalOffset: number,\n|}>;\n\ntype State = {|\n bottom: number,\n|};\n\n/**\n * View that moves out of the way when the keyboard appears by automatically\n * adjusting its height, position, or bottom padding.\n */\nclass KeyboardAvoidingView extends React.Component {\n static defaultProps: $TEMPORARY$object<{|\n enabled: boolean,\n keyboardVerticalOffset: number,\n |}> = {\n enabled: true,\n keyboardVerticalOffset: 0,\n };\n\n _frame: ?ViewLayout = null;\n _subscriptions: Array = [];\n viewRef: {current: React.ElementRef | null};\n _initialFrameHeight: number = 0;\n\n constructor(props: Props) {\n super(props);\n this.state = {bottom: 0};\n this.viewRef = React.createRef();\n }\n\n _relativeKeyboardHeight(keyboardFrame): number {\n const frame = this._frame;\n if (!frame || !keyboardFrame) {\n return 0;\n }\n\n const keyboardY = keyboardFrame.screenY - this.props.keyboardVerticalOffset;\n\n // Calculate the displacement needed for the view such that it\n // no longer overlaps with the keyboard\n return Math.max(frame.y + frame.height - keyboardY, 0);\n }\n\n _onKeyboardChange = (event: ?KeyboardEvent) => {\n if (event == null) {\n this.setState({bottom: 0});\n return;\n }\n\n const {duration, easing, endCoordinates} = event;\n const height = this._relativeKeyboardHeight(endCoordinates);\n\n if (this.state.bottom === height) {\n return;\n }\n\n if (duration && easing) {\n LayoutAnimation.configureNext({\n // We have to pass the duration equal to minimal accepted duration defined here: RCTLayoutAnimation.m\n duration: duration > 10 ? duration : 10,\n update: {\n duration: duration > 10 ? duration : 10,\n type: LayoutAnimation.Types[easing] || 'keyboard',\n },\n });\n }\n this.setState({bottom: height});\n };\n\n _onLayout = (event: ViewLayoutEvent) => {\n this._frame = event.nativeEvent.layout;\n if (!this._initialFrameHeight) {\n // save the initial frame height, before the keyboard is visible\n this._initialFrameHeight = this._frame.height;\n }\n };\n\n componentDidMount(): void {\n if (Platform.OS === 'ios') {\n this._subscriptions = [\n Keyboard.addListener('keyboardWillChangeFrame', this._onKeyboardChange),\n ];\n } else {\n this._subscriptions = [\n Keyboard.addListener('keyboardDidHide', this._onKeyboardChange),\n Keyboard.addListener('keyboardDidShow', this._onKeyboardChange),\n ];\n }\n }\n\n componentWillUnmount(): void {\n this._subscriptions.forEach(subscription => {\n subscription.remove();\n });\n }\n\n render(): React.Node {\n const {\n behavior,\n children,\n contentContainerStyle,\n enabled,\n keyboardVerticalOffset,\n style,\n ...props\n } = this.props;\n const bottomHeight = enabled ? this.state.bottom : 0;\n switch (behavior) {\n case 'height':\n let heightStyle;\n if (this._frame != null && this.state.bottom > 0) {\n // Note that we only apply a height change when there is keyboard present,\n // i.e. this.state.bottom is greater than 0. If we remove that condition,\n // this.frame.height will never go back to its original value.\n // When height changes, we need to disable flex.\n heightStyle = {\n height: this._initialFrameHeight - bottomHeight,\n flex: 0,\n };\n }\n return (\n \n {children}\n \n );\n\n case 'position':\n return (\n \n \n {children}\n \n \n );\n\n case 'padding':\n return (\n \n {children}\n \n );\n\n default:\n return (\n \n {children}\n \n );\n }\n }\n}\n\nmodule.exports = KeyboardAvoidingView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport RCTMaskedViewNativeComponent from './RCTMaskedViewNativeComponent';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n children: React.Node,\n /**\n * Should be a React element to be rendered and applied as the\n * mask for the child element.\n */\n maskElement: React.Element,\n|}>;\n\n/**\n * Renders the child view with a mask specified in the `maskElement` prop.\n *\n * ```\n * import React from 'react';\n * import { MaskedViewIOS, Text, View } from 'react-native';\n *\n * class MyMaskedView extends React.Component {\n * render() {\n * return (\n * \n * \n * Basic Mask\n * \n * \n * }\n * >\n * \n * \n * );\n * }\n * }\n * ```\n *\n * The above example will render a view with a blue background that fills its\n * parent, and then mask that view with text that says \"Basic Mask\".\n *\n * The alpha channel of the view rendered by the `maskElement` prop determines how\n * much of the view's content and background shows through. Fully or partially\n * opaque pixels allow the underlying content to show through but fully\n * transparent pixels block that content.\n *\n */\nclass MaskedViewIOS extends React.Component {\n _hasWarnedInvalidRenderMask = false;\n\n render(): React.Node {\n const {maskElement, children, ...otherViewProps} = this.props;\n\n if (!React.isValidElement(maskElement)) {\n if (!this._hasWarnedInvalidRenderMask) {\n console.warn(\n 'MaskedView: Invalid `maskElement` prop was passed to MaskedView. ' +\n 'Expected a React Element. No mask will render.',\n );\n this._hasWarnedInvalidRenderMask = true;\n }\n return {children};\n }\n\n return (\n \n \n {maskElement}\n \n {children}\n \n );\n }\n}\n\nmodule.exports = MaskedViewIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTMaskedView',\n): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst AppContainer = require('../ReactNative/AppContainer');\nconst I18nManager = require('../ReactNative/I18nManager');\nconst NativeEventEmitter = require('../EventEmitter/NativeEventEmitter');\nimport NativeModalManager from './NativeModalManager';\nconst Platform = require('../Utilities/Platform');\nconst React = require('react');\nconst PropTypes = require('prop-types');\nconst ScrollView = require('../Components/ScrollView/ScrollView');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst View = require('../Components/View/View');\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport type {DirectEventHandler} from '../Types/CodegenTypes';\nimport type {SyntheticEvent} from '../Types/CoreEventTypes';\nimport type EmitterSubscription from '../vendor/emitter/EmitterSubscription';\nimport RCTModalHostView from './RCTModalHostViewNativeComponent';\n\nconst ModalEventEmitter =\n Platform.OS === 'ios' && NativeModalManager != null\n ? new NativeEventEmitter(NativeModalManager)\n : null;\n\n/**\n * The Modal component is a simple way to present content above an enclosing view.\n *\n * See https://facebook.github.io/react-native/docs/modal.html\n */\n\n// In order to route onDismiss callbacks, we need to uniquely identifier each\n// on screen. There can be different ones, either nested or as siblings.\n// We cannot pass the onDismiss callback to native as the view will be\n// destroyed before the callback is fired.\nlet uniqueModalIdentifier = 0;\n\ntype OrientationChangeEvent = $ReadOnly<{|\n orientation: 'portrait' | 'landscape',\n|}>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The `animationType` prop controls how the modal animates.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#animationtype\n */\n animationType?: ?('none' | 'slide' | 'fade'),\n\n /**\n * The `presentationStyle` prop controls how the modal appears.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#presentationstyle\n */\n presentationStyle?: ?(\n | 'fullScreen'\n | 'pageSheet'\n | 'formSheet'\n | 'overFullScreen'\n ),\n\n /**\n * The `transparent` prop determines whether your modal will fill the\n * entire view.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#transparent\n */\n transparent?: ?boolean,\n\n /**\n * The `hardwareAccelerated` prop controls whether to force hardware\n * acceleration for the underlying window.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#hardwareaccelerated\n */\n hardwareAccelerated?: ?boolean,\n\n /**\n * The `visible` prop determines whether your modal is visible.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#visible\n */\n visible?: ?boolean,\n\n /**\n * The `onRequestClose` callback is called when the user taps the hardware\n * back button on Android or the menu button on Apple TV.\n *\n * This is required on Apple TV and Android.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#onrequestclose\n */\n onRequestClose?: ?DirectEventHandler,\n\n /**\n * The `onShow` prop allows passing a function that will be called once the\n * modal has been shown.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#onshow\n */\n onShow?: ?DirectEventHandler,\n\n /**\n * The `onDismiss` prop allows passing a function that will be called once\n * the modal has been dismissed.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#ondismiss\n */\n onDismiss?: ?() => mixed,\n\n /**\n * Deprecated. Use the `animationType` prop instead.\n */\n animated?: ?boolean,\n\n /**\n * The `supportedOrientations` prop allows the modal to be rotated to any of the specified orientations.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#supportedorientations\n */\n supportedOrientations?: ?$ReadOnlyArray<\n | 'portrait'\n | 'portrait-upside-down'\n | 'landscape'\n | 'landscape-left'\n | 'landscape-right',\n >,\n\n /**\n * The `onOrientationChange` callback is called when the orientation changes while the modal is being displayed.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#onorientationchange\n */\n onOrientationChange?: ?DirectEventHandler,\n|}>;\n\nclass Modal extends React.Component {\n static defaultProps: $TEMPORARY$object<{|\n hardwareAccelerated: boolean,\n visible: boolean,\n |}> = {\n visible: true,\n hardwareAccelerated: false,\n };\n\n static contextTypes:\n | any\n | $TEMPORARY$object<{|rootTag: React$PropType$Primitive|}> = {\n rootTag: PropTypes.number,\n };\n\n _identifier: number;\n _eventSubscription: ?EmitterSubscription;\n\n constructor(props: Props) {\n super(props);\n Modal._confirmProps(props);\n this._identifier = uniqueModalIdentifier++;\n }\n\n static childContextTypes:\n | any\n | $TEMPORARY$object<{|virtualizedList: React$PropType$Primitive|}> = {\n virtualizedList: PropTypes.object,\n };\n\n getChildContext(): $TEMPORARY$object<{|virtualizedList: null|}> {\n // Reset the context so VirtualizedList doesn't get confused by nesting\n // in the React tree that doesn't reflect the native component hierarchy.\n return {\n virtualizedList: null,\n };\n }\n\n componentDidMount() {\n if (ModalEventEmitter) {\n this._eventSubscription = ModalEventEmitter.addListener(\n 'modalDismissed',\n event => {\n if (event.modalID === this._identifier && this.props.onDismiss) {\n this.props.onDismiss();\n }\n },\n );\n }\n }\n\n componentWillUnmount() {\n if (this._eventSubscription) {\n this._eventSubscription.remove();\n }\n }\n\n UNSAFE_componentWillReceiveProps(nextProps: Props) {\n Modal._confirmProps(nextProps);\n }\n\n static _confirmProps(props: Props) {\n if (\n props.presentationStyle &&\n props.presentationStyle !== 'overFullScreen' &&\n props.transparent\n ) {\n console.warn(\n `Modal with '${\n props.presentationStyle\n }' presentation style and 'transparent' value is not supported.`,\n );\n }\n }\n\n render(): React.Node {\n if (this.props.visible !== true) {\n return null;\n }\n\n const containerStyles = {\n backgroundColor: this.props.transparent ? 'transparent' : 'white',\n };\n\n let animationType = this.props.animationType;\n if (!animationType) {\n // manually setting default prop here to keep support for the deprecated 'animated' prop\n animationType = 'none';\n if (this.props.animated) {\n animationType = 'slide';\n }\n }\n\n let presentationStyle = this.props.presentationStyle;\n if (!presentationStyle) {\n presentationStyle = 'fullScreen';\n if (this.props.transparent) {\n presentationStyle = 'overFullScreen';\n }\n }\n\n const innerChildren = __DEV__ ? (\n \n {this.props.children}\n \n ) : (\n this.props.children\n );\n\n return (\n \n \n \n {innerChildren}\n \n \n \n );\n }\n\n // We don't want any responder events bubbling out of the modal.\n _shouldSetResponder(): boolean {\n return true;\n }\n}\n\nconst side = I18nManager.getConstants().isRTL ? 'right' : 'left';\nconst styles = StyleSheet.create({\n modal: {\n position: 'absolute',\n },\n container: {\n [side]: 0,\n top: 0,\n flex: 1,\n },\n});\n\nmodule.exports = Modal;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('ModalManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport codegenNativeComponent from '../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../Utilities/codegenNativeComponent';\nimport type {\n WithDefault,\n BubblingEventHandler,\n DirectEventHandler,\n Int32,\n} from '../Types/CodegenTypes';\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\n\ntype OrientationChangeEvent = $ReadOnly<{|\n orientation: 'portrait' | 'landscape',\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The `animationType` prop controls how the modal animates.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#animationtype\n */\n animationType?: WithDefault<'none' | 'slide' | 'fade', 'none'>,\n\n /**\n * The `presentationStyle` prop controls how the modal appears.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#presentationstyle\n */\n presentationStyle?: WithDefault<\n 'fullScreen' | 'pageSheet' | 'formSheet' | 'overFullScreen',\n 'fullScreen',\n >,\n\n /**\n * The `transparent` prop determines whether your modal will fill the\n * entire view.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#transparent\n */\n transparent?: WithDefault,\n\n /**\n * The `hardwareAccelerated` prop controls whether to force hardware\n * acceleration for the underlying window.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#hardwareaccelerated\n */\n hardwareAccelerated?: WithDefault,\n\n /**\n * The `onRequestClose` callback is called when the user taps the hardware\n * back button on Android or the menu button on Apple TV.\n *\n * This is required on Apple TV and Android.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#onrequestclose\n */\n onRequestClose?: ?DirectEventHandler,\n\n /**\n * The `onShow` prop allows passing a function that will be called once the\n * modal has been shown.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#onshow\n */\n onShow?: ?DirectEventHandler,\n\n /**\n * The `onDismiss` prop allows passing a function that will be called once\n * the modal has been dismissed.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#ondismiss\n */\n onDismiss?: ?BubblingEventHandler,\n\n /**\n * Deprecated. Use the `animationType` prop instead.\n */\n animated?: WithDefault,\n\n /**\n * The `supportedOrientations` prop allows the modal to be rotated to any of the specified orientations.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#supportedorientations\n */\n supportedOrientations?: WithDefault<\n $ReadOnlyArray<\n | 'portrait'\n | 'portrait-upside-down'\n | 'landscape'\n | 'landscape-left'\n | 'landscape-right',\n >,\n 'portrait',\n >,\n\n /**\n * The `onOrientationChange` callback is called when the orientation changes while the modal is being displayed.\n *\n * See https://facebook.github.io/react-native/docs/modal.html#onorientationchange\n */\n onOrientationChange?: ?DirectEventHandler,\n\n /**\n * The `identifier` is the unique number for identifying Modal components.\n */\n identifier?: WithDefault,\n|}>;\n\nexport default (codegenNativeComponent('ModalHostView', {\n interfaceOnly: true,\n paperComponentName: 'RCTModalHostView',\n}): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EmitterSubscription = require('../vendor/emitter/EmitterSubscription');\nconst PropTypes = require('prop-types');\nconst RCTDeviceEventEmitter = require('../EventEmitter/RCTDeviceEventEmitter');\nconst React = require('react');\nconst ReactNative = require('../Renderer/shims/ReactNative');\nconst RootTagContext = require('./RootTagContext');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst View = require('../Components/View/View');\n\ntype Context = {\n rootTag: number,\n};\n\ntype Props = $ReadOnly<{|\n children?: React.Node,\n rootTag: number,\n WrapperComponent?: ?React.ComponentType,\n|}>;\n\ntype State = {|\n inspector: ?React.Node,\n mainKey: number,\n|};\n\nclass AppContainer extends React.Component {\n state: State = {\n inspector: null,\n mainKey: 1,\n };\n _mainRef: ?React.ElementRef;\n _subscription: ?EmitterSubscription = null;\n\n static childContextTypes:\n | any\n | $TEMPORARY$object<{|rootTag: React$PropType$Primitive|}> = {\n rootTag: PropTypes.number,\n };\n\n getChildContext(): Context {\n return {\n rootTag: this.props.rootTag,\n };\n }\n\n componentDidMount(): void {\n if (__DEV__) {\n if (!global.__RCTProfileIsProfiling) {\n this._subscription = RCTDeviceEventEmitter.addListener(\n 'toggleElementInspector',\n () => {\n const Inspector = require('../Inspector/Inspector');\n const inspector = this.state.inspector ? null : (\n {\n this.setState(\n s => ({mainKey: s.mainKey + 1}),\n () =>\n updateInspectedViewTag(\n ReactNative.findNodeHandle(this._mainRef),\n ),\n );\n }}\n />\n );\n this.setState({inspector});\n },\n );\n }\n }\n }\n\n componentWillUnmount(): void {\n if (this._subscription != null) {\n this._subscription.remove();\n }\n }\n\n render(): React.Node {\n let yellowBox = null;\n if (__DEV__) {\n if (!global.__RCTProfileIsProfiling) {\n const YellowBox = require('../YellowBox/YellowBox');\n yellowBox = ;\n }\n }\n\n let innerView = (\n {\n this._mainRef = ref;\n }}>\n {this.props.children}\n \n );\n\n const Wrapper = this.props.WrapperComponent;\n if (Wrapper != null) {\n innerView = {innerView};\n }\n return (\n \n \n {innerView}\n {yellowBox}\n {this.state.inspector}\n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n appContainer: {\n flex: 1,\n },\n});\n\nif (__DEV__) {\n if (!global.__RCTProfileIsProfiling) {\n const YellowBox = require('../YellowBox/YellowBox');\n YellowBox.install();\n }\n}\n\nmodule.exports = AppContainer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst React = require('react');\n\nmodule.exports = (React.createContext(0): React$Context);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n'use strict';\n\nimport NativeI18nManager from './NativeI18nManager';\n\nconst i18nConstants: {|\n doLeftAndRightSwapInRTL: boolean,\n isRTL: boolean,\n|} = NativeI18nManager\n ? NativeI18nManager.getConstants()\n : {\n isRTL: false,\n doLeftAndRightSwapInRTL: true,\n };\n\nmodule.exports = {\n getConstants: (): {|doLeftAndRightSwapInRTL: boolean, isRTL: boolean|} => {\n return i18nConstants;\n },\n\n allowRTL: (shouldAllow: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.allowRTL(shouldAllow);\n },\n\n forceRTL: (shouldForce: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.forceRTL(shouldForce);\n },\n\n swapLeftAndRightInRTL: (flipStyles: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.swapLeftAndRightInRTL(flipStyles);\n },\n\n isRTL: i18nConstants.isRTL,\n doLeftAndRightSwapInRTL: i18nConstants.doLeftAndRightSwapInRTL,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n isRTL: boolean,\n doLeftAndRightSwapInRTL: boolean,\n |};\n allowRTL: (allowRTL: boolean) => void;\n forceRTL: (forceRTL: boolean) => void;\n swapLeftAndRightInRTL: (flipStyles: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.get('I18nManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst PickerAndroid = require('./PickerAndroid');\nconst PickerIOS = require('./PickerIOS');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst UnimplementedView = require('../UnimplementedViews/UnimplementedView');\n\nimport type {TextStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\n\nconst MODE_DIALOG = 'dialog';\nconst MODE_DROPDOWN = 'dropdown';\n\ntype PickerItemProps = $ReadOnly<{|\n /**\n * Text to display for this item.\n */\n label: string,\n\n /**\n * The value to be passed to picker's `onValueChange` callback when\n * this item is selected. Can be a string or an integer.\n */\n value?: ?(number | string),\n\n /**\n * Color of this item's text.\n * @platform android\n */\n color?: ColorValue,\n\n /**\n * Used to locate the item in end-to-end tests.\n */\n testID?: string,\n|}>;\n\n/**\n * Individual selectable item in a Picker.\n */\nclass PickerItem extends React.Component {\n render() {\n // The items are not rendered directly\n throw null;\n }\n}\n\ntype PickerProps = $ReadOnly<{|\n children?: React.Node,\n style?: ?TextStyleProp,\n\n /**\n * Value matching value of one of the items. Can be a string or an integer.\n */\n selectedValue?: ?(number | string),\n\n /**\n * Callback for when an item is selected. This is called with the following parameters:\n * - `itemValue`: the `value` prop of the item that was selected\n * - `itemIndex`: the index of the selected item in this picker\n */\n onValueChange?: ?(itemValue: string | number, itemIndex: number) => mixed,\n\n /**\n * If set to false, the picker will be disabled, i.e. the user will not be able to make a\n * selection.\n * @platform android\n */\n enabled?: ?boolean,\n\n /**\n * On Android, specifies how to display the selection items when the user taps on the picker:\n *\n * - 'dialog': Show a modal dialog. This is the default.\n * - 'dropdown': Shows a dropdown anchored to the picker view\n *\n * @platform android\n */\n mode?: ?('dialog' | 'dropdown'),\n\n /**\n * Style to apply to each of the item labels.\n * @platform ios\n */\n itemStyle?: ?TextStyleProp,\n\n /**\n * Prompt string for this picker, used on Android in dialog mode as the title of the dialog.\n * @platform android\n */\n prompt?: ?string,\n\n /**\n * Used to locate this view in end-to-end tests.\n */\n testID?: ?string,\n|}>;\n\n/**\n * Renders the native picker component on iOS and Android. Example:\n *\n * this.setState({language: itemValue})}>\n * \n * \n * \n */\nclass Picker extends React.Component {\n /**\n * On Android, display the options in a dialog.\n */\n static MODE_DIALOG: $TEMPORARY$string<'dialog'> = MODE_DIALOG;\n\n /**\n * On Android, display the options in a dropdown (this is the default).\n */\n static MODE_DROPDOWN: $TEMPORARY$string<'dropdown'> = MODE_DROPDOWN;\n\n static Item: typeof PickerItem = PickerItem;\n\n static defaultProps: $TEMPORARY$object<{|\n mode: $TEMPORARY$string<'dialog'>,\n |}> = {\n mode: MODE_DIALOG,\n };\n\n render(): React.Node {\n if (Platform.OS === 'ios') {\n /* $FlowFixMe(>=0.81.0 site=react_native_ios_fb) This suppression was\n * added when renaming suppression sites. */\n return {this.props.children};\n } else if (Platform.OS === 'android') {\n return (\n /* $FlowFixMe(>=0.81.0 site=react_native_android_fb) This suppression\n * was added when renaming suppression sites. */\n {this.props.children}\n );\n } else {\n return ;\n }\n }\n}\n\nmodule.exports = Picker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * This is a controlled component version of RCTPickerIOS\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst RCTPickerNativeComponent = require('./RCTPickerNativeComponent');\nconst React = require('react');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\n\nconst processColor = require('../../StyleSheet/processColor');\n\nimport type {TextStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype PickerIOSChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n newValue: number | string,\n newIndex: number,\n |}>,\n>;\n\ntype RCTPickerIOSItemType = $ReadOnly<{|\n label: ?Label,\n value: ?(number | string),\n textColor: ?number,\n|}>;\n\ntype RCTPickerIOSType = Class<\n ReactNative.NativeComponent<\n $ReadOnly<{|\n items: $ReadOnlyArray,\n onChange: (event: PickerIOSChangeEvent) => void,\n onResponderTerminationRequest: () => boolean,\n onStartShouldSetResponder: () => boolean,\n selectedIndex: number,\n style?: ?TextStyleProp,\n testID?: ?string,\n |}>,\n >,\n>;\n\ntype Label = Stringish | number;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n children: React.ChildrenArray>,\n itemStyle?: ?TextStyleProp,\n onChange?: ?(event: PickerIOSChangeEvent) => mixed,\n onValueChange?: ?(itemValue: string | number, itemIndex: number) => mixed,\n selectedValue: ?(number | string),\n|}>;\n\ntype State = {|\n selectedIndex: number,\n items: $ReadOnlyArray,\n|};\n\ntype ItemProps = $ReadOnly<{|\n label: ?Label,\n value?: ?(number | string),\n color?: ?ColorValue,\n|}>;\n\nconst PickerIOSItem = (props: ItemProps): null => {\n return null;\n};\n\nclass PickerIOS extends React.Component {\n _picker: ?React.ElementRef = null;\n\n state: State = {\n selectedIndex: 0,\n items: [],\n };\n\n static Item: (props: ItemProps) => null = PickerIOSItem;\n\n static getDerivedStateFromProps(props: Props): State {\n let selectedIndex = 0;\n const items = [];\n React.Children.toArray(props.children)\n .filter(child => child !== null)\n .forEach(function(child, index) {\n if (child.props.value === props.selectedValue) {\n selectedIndex = index;\n }\n items.push({\n value: child.props.value,\n label: child.props.label,\n textColor: processColor(child.props.color),\n });\n });\n return {selectedIndex, items};\n }\n\n render(): React.Node {\n return (\n \n {\n this._picker = picker;\n }}\n testID={this.props.testID}\n style={[styles.pickerIOS, this.props.itemStyle]}\n items={this.state.items}\n selectedIndex={this.state.selectedIndex}\n onChange={this._onChange}\n onStartShouldSetResponder={() => true}\n onResponderTerminationRequest={() => false}\n />\n \n );\n }\n\n _onChange = event => {\n if (this.props.onChange) {\n this.props.onChange(event);\n }\n if (this.props.onValueChange) {\n this.props.onValueChange(\n event.nativeEvent.newValue,\n event.nativeEvent.newIndex,\n );\n }\n\n // The picker is a controlled component. This means we expect the\n // on*Change handlers to be in charge of updating our\n // `selectedValue` prop. That way they can also\n // disallow/undo/mutate the selection of certain values. In other\n // words, the embedder of this component should be the source of\n // truth, not the native component.\n if (\n this._picker &&\n this.state.selectedIndex !== event.nativeEvent.newIndex\n ) {\n this._picker.setNativeProps({\n selectedIndex: this.state.selectedIndex,\n });\n }\n };\n}\n\nconst styles = StyleSheet.create({\n pickerIOS: {\n // The picker will conform to whatever width is given, but we do\n // have to set the component's height explicitly on the\n // surrounding view to ensure it gets rendered.\n height: 216,\n },\n});\n\nmodule.exports = PickerIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst requireNativeComponent = require('../../ReactNative/requireNativeComponent');\n\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {TextStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {NativeComponent} from '../../Renderer/shims/ReactNative';\n\ntype PickerIOSChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n newValue: number | string,\n newIndex: number,\n |}>,\n>;\n\ntype RCTPickerIOSItemType = $ReadOnly<{|\n label: ?Label,\n value: ?(number | string),\n textColor: ?number,\n|}>;\n\ntype Label = Stringish | number;\n\ntype RCTPickerIOSType = Class<\n NativeComponent<\n $ReadOnly<{|\n items: $ReadOnlyArray,\n onChange: (event: PickerIOSChangeEvent) => void,\n onResponderTerminationRequest: () => boolean,\n onStartShouldSetResponder: () => boolean,\n selectedIndex: number,\n style?: ?TextStyleProp,\n testID?: ?string,\n |}>,\n >,\n>;\n\nmodule.exports = ((requireNativeComponent('RCTPicker'): any): RCTPickerIOSType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\n\nimport RCTProgressViewNativeComponent from './RCTProgressViewNativeComponent';\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The progress bar style.\n */\n progressViewStyle?: ?('default' | 'bar'),\n\n /**\n * The progress value (between 0 and 1).\n */\n progress?: ?number,\n\n /**\n * The tint color of the progress bar itself.\n */\n progressTintColor?: ?ColorValue,\n\n /**\n * The tint color of the progress bar track.\n */\n trackTintColor?: ?ColorValue,\n\n /**\n * A stretchable image to display as the progress bar.\n */\n progressImage?: ?ImageSource,\n\n /**\n * A stretchable image to display behind the progress bar.\n */\n trackImage?: ?ImageSource,\n|}>;\n\n/**\n * Use `ProgressViewIOS` to render a UIProgressView on iOS.\n */\nconst ProgressViewIOS = (\n props: Props,\n forwardedRef?: ?React.Ref,\n) => (\n \n);\n\nconst styles = StyleSheet.create({\n progressView: {\n height: 2,\n },\n});\n\nconst ProgressViewIOSWithRef = React.forwardRef(ProgressViewIOS);\n\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nmodule.exports = (ProgressViewIOSWithRef: typeof RCTProgressViewNativeComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {Float, WithDefault} from '../../Types/CodegenTypes';\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n progressViewStyle?: WithDefault<'default' | 'bar', 'default'>,\n progress?: WithDefault,\n progressTintColor?: ?ColorValue,\n trackTintColor?: ?ColorValue,\n progressImage?: ?ImageSource,\n trackImage?: ?ImageSource,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTProgressView',\n): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst View = require('../View/View');\n\nimport type {NativeComponent} from '../../Renderer/shims/ReactNative';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n emulateUnlessSupported?: boolean,\n|}>;\n\nlet exported: Class> | Class>;\n\n/**\n * Renders nested content and automatically applies paddings reflect the portion\n * of the view that is not covered by navigation bars, tab bars, toolbars, and\n * other ancestor views.\n *\n * Moreover, and most importantly, Safe Area's paddings reflect physical\n * limitation of the screen, such as rounded corners or camera notches (aka\n * sensor housing area on iPhone X).\n */\nif (Platform.OS === 'android') {\n const SafeAreaView = (\n props: Props,\n forwardedRef?: ?React.Ref,\n ) => {\n const {emulateUnlessSupported, ...localProps} = props;\n return ;\n };\n\n const SafeAreaViewRef = React.forwardRef(SafeAreaView);\n SafeAreaViewRef.displayName = 'SafeAreaView';\n exported = ((SafeAreaViewRef: any): Class>);\n} else {\n const RCTSafeAreaViewNativeComponent = require('./RCTSafeAreaViewNativeComponent')\n .default;\n\n const SafeAreaView = (\n props: Props,\n forwardedRef?: ?React.Ref,\n ) => {\n return (\n \n );\n };\n\n const SafeAreaViewRef = React.forwardRef(SafeAreaView);\n SafeAreaViewRef.displayName = 'SafeAreaView';\n exported = ((SafeAreaViewRef: any): Class>);\n}\n\nmodule.exports = exported;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {WithDefault} from '../../Types/CodegenTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n emulateUnlessSupported?: WithDefault,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTSafeAreaView',\n): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport * as React from 'react';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport type {OnChangeEvent} from './RCTSegmentedControlNativeComponent';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport RCTSegmentedControlNativeComponent from './RCTSegmentedControlNativeComponent';\nimport type {SyntheticEvent} from 'react-native/Libraries/Types/CoreEventTypes';\n\ntype SegmentedControlIOSProps = $ReadOnly<{|\n ...ViewProps,\n /**\n * The labels for the control's segment buttons, in order.\n */\n values?: $ReadOnlyArray,\n /**\n * The index in `props.values` of the segment to be (pre)selected.\n */\n selectedIndex?: ?number,\n /**\n * If false the user won't be able to interact with the control.\n */\n enabled?: boolean,\n /**\n * Accent color of the control.\n */\n tintColor?: ?string,\n /**\n * If true, then selecting a segment won't persist visually.\n * The `onValueChange` callback will still work as expected.\n */\n momentary?: ?boolean,\n /**\n * Callback that is called when the user taps a segment\n */\n onChange?: ?(event: SyntheticEvent) => void,\n /**\n * Callback that is called when the user taps a segment;\n * passes the segment's value as an argument\n */\n onValueChange?: ?(value: number) => mixed,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...SegmentedControlIOSProps,\n forwardedRef: ?React.Ref,\n|}>;\n\n/**\n * Use `SegmentedControlIOS` to render a UISegmentedControl iOS.\n *\n * #### Programmatically changing selected index\n *\n * The selected index can be changed on the fly by assigning the\n * selectedIndex prop to a state variable, then changing that variable.\n * Note that the state variable would need to be updated as the user\n * selects a value and changes the index, as shown in the example below.\n *\n * ````\n * {\n * this.setState({selectedIndex: event.nativeEvent.selectedSegmentIndex});\n * }}\n * />\n * ````\n */\n\nclass SegmentedControlIOS extends React.Component {\n static defaultProps = {\n values: [],\n enabled: true,\n };\n\n _onChange = (event: SyntheticEvent) => {\n this.props.onChange && this.props.onChange(event);\n this.props.onValueChange &&\n this.props.onValueChange(event.nativeEvent.value);\n };\n\n render() {\n const {forwardedRef, onValueChange, style, ...props} = this.props;\n return (\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n segmentedControl: {\n height: 28,\n },\n});\n\nconst SegmentedControlIOSWithRef = React.forwardRef(\n (\n props: SegmentedControlIOSProps,\n forwardedRef: ?React.Ref,\n ) => {\n return ;\n },\n);\n\n/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\nmodule.exports = (SegmentedControlIOSWithRef: NativeSegmentedControlIOS);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {\n BubblingEventHandler,\n WithDefault,\n Int32,\n} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\n\nexport type OnChangeEvent = $ReadOnly<{|\n value: Int32,\n selectedSegmentIndex: Int32,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n values?: $ReadOnlyArray,\n selectedIndex?: WithDefault,\n enabled?: WithDefault,\n tintColor?: ?ColorValue,\n momentary?: WithDefault,\n\n // Events\n onChange?: ?BubblingEventHandler,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTSegmentedControl',\n): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nimport SliderNativeComponent from './SliderNativeComponent';\nconst React = require('react');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\n\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\n\ntype Event = SyntheticEvent<\n $ReadOnly<{|\n value: number,\n /**\n * Android Only.\n */\n fromUser?: boolean,\n |}>,\n>;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Assigns a single image for the track. Only static images are supported.\n * The center pixel of the image will be stretched to fill the track.\n */\n trackImage?: ?ImageSource,\n\n /**\n * Assigns a minimum track image. Only static images are supported. The\n * rightmost pixel of the image will be stretched to fill the track.\n */\n minimumTrackImage?: ?ImageSource,\n\n /**\n * Assigns a maximum track image. Only static images are supported. The\n * leftmost pixel of the image will be stretched to fill the track.\n */\n maximumTrackImage?: ?ImageSource,\n\n /**\n * Sets an image for the thumb. Only static images are supported.\n */\n thumbImage?: ?ImageSource,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n\n /**\n * Used to style and layout the `Slider`. See `StyleSheet.js` and\n * `DeprecatedViewStylePropTypes.js` for more info.\n */\n style?: ?ViewStyleProp,\n\n /**\n * Initial value of the slider. The value should be between minimumValue\n * and maximumValue, which default to 0 and 1 respectively.\n * Default value is 0.\n *\n * *This is not a controlled component*, you don't need to update the\n * value during dragging.\n */\n value?: ?number,\n\n /**\n * Step value of the slider. The value should be\n * between 0 and (maximumValue - minimumValue).\n * Default value is 0.\n */\n step?: ?number,\n\n /**\n * Initial minimum value of the slider. Default value is 0.\n */\n minimumValue?: ?number,\n\n /**\n * Initial maximum value of the slider. Default value is 1.\n */\n maximumValue?: ?number,\n\n /**\n * The color used for the track to the left of the button.\n * Overrides the default blue gradient image on iOS.\n */\n minimumTrackTintColor?: ?ColorValue,\n\n /**\n * The color used for the track to the right of the button.\n * Overrides the default blue gradient image on iOS.\n */\n maximumTrackTintColor?: ?ColorValue,\n /**\n * The color used to tint the default thumb images on iOS, or the\n * color of the foreground switch grip on Android.\n */\n thumbTintColor?: ?ColorValue,\n\n /**\n * If true the user won't be able to move the slider.\n * Default value is false.\n */\n disabled?: ?boolean,\n\n /**\n * Callback continuously called while the user is dragging the slider.\n */\n onValueChange?: ?(value: number) => void,\n\n /**\n * Callback that is called when the user releases the slider,\n * regardless if the value has changed. The current value is passed\n * as an argument to the callback handler.\n */\n onSlidingComplete?: ?(value: number) => void,\n\n /**\n * Used to locate this view in UI automation tests.\n */\n testID?: ?string,\n|}>;\n\n/**\n * A component used to select a single value from a range of values.\n *\n * ### Usage\n *\n * The example below shows how to use `Slider` to change\n * a value used by `Text`. The value is stored using\n * the state of the root component (`App`). The same component\n * subscribes to the `onValueChange` of `Slider` and changes\n * the value using `setState`.\n *\n *```\n * import React from 'react';\n * import { StyleSheet, Text, View, Slider } from 'react-native';\n *\n * export default class App extends React.Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * value: 50\n * }\n * }\n *\n * change(value) {\n * this.setState(() => {\n * return {\n * value: parseFloat(value)\n * };\n * });\n * }\n *\n * render() {\n * const {value} = this.state;\n * return (\n * \n * {String(value)}\n * \n * \n * );\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * flexDirection: 'column',\n * justifyContent: 'center'\n * },\n * text: {\n * fontSize: 50,\n * textAlign: 'center'\n * }\n * });\n *```\n *\n */\nconst Slider = (\n props: Props,\n forwardedRef?: ?React.Ref,\n) => {\n const style = StyleSheet.compose(\n styles.slider,\n props.style,\n );\n\n const {onValueChange, onSlidingComplete, ...localProps} = props;\n\n const onValueChangeEvent = onValueChange\n ? (event: Event) => {\n let userEvent = true;\n if (Platform.OS === 'android') {\n // On Android there's a special flag telling us the user is\n // dragging the slider.\n userEvent =\n event.nativeEvent.fromUser != null && event.nativeEvent.fromUser;\n }\n userEvent && onValueChange(event.nativeEvent.value);\n }\n : null;\n\n const onChangeEvent = onValueChangeEvent;\n const onSlidingCompleteEvent = onSlidingComplete\n ? (event: Event) => {\n onSlidingComplete(event.nativeEvent.value);\n }\n : null;\n\n return (\n true}\n onResponderTerminationRequest={() => false}\n />\n );\n};\n\nconst SliderWithRef = React.forwardRef(Slider);\n\n/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.89 was deployed. To see the error, delete this comment\n * and run Flow. */\nSliderWithRef.defaultProps = {\n disabled: false,\n value: 0,\n minimumValue: 0,\n maximumValue: 1,\n step: 0,\n};\n\nlet styles;\nif (Platform.OS === 'ios') {\n styles = StyleSheet.create({\n slider: {\n height: 40,\n },\n });\n} else {\n styles = StyleSheet.create({\n slider: {},\n });\n}\n\n/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.89 was deployed. To see the error, delete this comment\n * and run Flow. */\nmodule.exports = (SliderWithRef: Class>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {\n Float,\n BubblingEventHandler,\n DirectEventHandler,\n WithDefault,\n} from '../../Types/CodegenTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Event = $ReadOnly<{|\n value: Float,\n fromUser?: boolean,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n enabled?: WithDefault,\n maximumTrackImage?: ?ImageSource,\n maximumTrackTintColor?: ?ColorValue,\n maximumValue?: WithDefault,\n minimumTrackImage?: ?ImageSource,\n minimumTrackTintColor?: ?ColorValue,\n minimumValue?: WithDefault,\n step?: WithDefault,\n testID?: WithDefault,\n thumbImage?: ?ImageSource,\n thumbTintColor?: ?ColorValue,\n trackImage?: ?ImageSource,\n value?: WithDefault,\n\n // Events\n onChange?: ?BubblingEventHandler,\n onValueChange?: ?BubblingEventHandler,\n onSlidingComplete?: ?DirectEventHandler,\n|}>;\n\nexport default (codegenNativeComponent('Slider', {\n interfaceOnly: true,\n paperComponentName: 'RCTSlider',\n}): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AndroidSwitchNativeComponent = require('./AndroidSwitchNativeComponent');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport SwitchNativeComponent from './SwitchNativeComponent';\n\ntype SwitchChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n value: boolean,\n |}>,\n>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Whether the switch is disabled. Defaults to false.\n */\n disabled?: ?boolean,\n\n /**\n * Boolean value of the switch. Defaults to false.\n */\n value?: ?boolean,\n\n /**\n * Custom color for the switch thumb.\n */\n thumbColor?: ?ColorValue,\n\n /**\n * Custom colors for the switch track.\n *\n * NOTE: On iOS when the switch value is false, the track shrinks into the\n * border. If you want to change the color of the background exposed by the\n * shrunken track, use `ios_backgroundColor`.\n */\n trackColor?: ?$ReadOnly<{|\n false?: ?ColorValue,\n true?: ?ColorValue,\n |}>,\n\n /**\n * On iOS, custom color for the background. This background color can be seen\n * either when the switch value is false or when the switch is disabled (and\n * the switch is translucent).\n */\n ios_backgroundColor?: ?ColorValue,\n\n /**\n * Called when the user tries to change the value of the switch.\n *\n * Receives the change event as an argument. If you want to only receive the\n * new value, use `onValueChange` instead.\n */\n onChange?: ?(event: SwitchChangeEvent) => Promise | void,\n\n /**\n * Called when the user tries to change the value of the switch.\n *\n * Receives the new value as an argument. If you want to instead receive an\n * event, use `onChange`.\n */\n onValueChange?: ?(value: boolean) => Promise | void,\n|}>;\n\n/**\n * A visual toggle between two mutually exclusive states.\n *\n * This is a controlled component that requires an `onValueChange` callback that\n * updates the `value` prop in order for the component to reflect user actions.\n * If the `value` prop is not updated, the component will continue to render the\n * supplied `value` prop instead of the expected result of any user actions.\n */\nclass Switch extends React.Component {\n _nativeSwitchRef: ?React.ElementRef<\n typeof SwitchNativeComponent | typeof AndroidSwitchNativeComponent,\n >;\n\n render(): React.Node {\n const {\n disabled,\n ios_backgroundColor,\n onChange,\n onValueChange,\n style,\n thumbColor,\n trackColor,\n value,\n ...props\n } = this.props;\n\n // Support deprecated color props.\n let _thumbColor = thumbColor;\n let _trackColorForFalse = trackColor?.false;\n let _trackColorForTrue = trackColor?.true;\n\n // TODO: Remove support for these props after a couple releases.\n const {thumbTintColor, tintColor, onTintColor} = (props: $FlowFixMe);\n if (thumbTintColor != null) {\n _thumbColor = thumbTintColor;\n if (__DEV__) {\n console.warn(\n 'Switch: `thumbTintColor` is deprecated, use `thumbColor` instead.',\n );\n }\n }\n if (tintColor != null) {\n _trackColorForFalse = tintColor;\n if (__DEV__) {\n console.warn(\n 'Switch: `tintColor` is deprecated, use `trackColor` instead.',\n );\n }\n }\n if (onTintColor != null) {\n _trackColorForTrue = onTintColor;\n if (__DEV__) {\n console.warn(\n 'Switch: `onTintColor` is deprecated, use `trackColor` instead.',\n );\n }\n }\n\n if (Platform.OS === 'android') {\n const platformProps = {\n enabled: disabled !== true,\n on: value === true,\n style,\n thumbTintColor: _thumbColor,\n trackColorForFalse: _trackColorForFalse,\n trackColorForTrue: _trackColorForTrue,\n trackTintColor:\n value === true ? _trackColorForTrue : _trackColorForFalse,\n };\n\n return (\n \n );\n }\n\n const platformProps = {\n disabled,\n onTintColor: _trackColorForTrue,\n style: StyleSheet.compose(\n {height: 31, width: 51},\n StyleSheet.compose(\n style,\n ios_backgroundColor == null\n ? null\n : {\n backgroundColor: ios_backgroundColor,\n borderRadius: 16,\n },\n ),\n ),\n thumbTintColor: _thumbColor,\n tintColor: _trackColorForFalse,\n value: value === true,\n };\n\n return (\n \n );\n }\n\n _handleChange = (event: SwitchChangeEvent) => {\n if (this._nativeSwitchRef == null) {\n return;\n }\n\n // Force value of native switch in order to control it.\n const value = this.props.value === true;\n if (Platform.OS === 'android') {\n this._nativeSwitchRef.setNativeProps({on: value});\n } else {\n this._nativeSwitchRef.setNativeProps({value});\n }\n\n if (this.props.onChange != null) {\n this.props.onChange(event);\n }\n\n if (this.props.onValueChange != null) {\n this.props.onValueChange(event.nativeEvent.value);\n }\n };\n\n _handleSwitchNativeComponentRef = (\n ref: ?React.ElementRef<\n typeof SwitchNativeComponent | typeof AndroidSwitchNativeComponent,\n >,\n ) => {\n this._nativeSwitchRef = ref;\n };\n}\n\nconst returnsFalse = () => false;\nconst returnsTrue = () => true;\n\nmodule.exports = Switch;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {BubblingEventHandler, WithDefault} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport {type NativeComponentType} from '../../Utilities/codegenNativeComponent';\n\ntype SwitchChangeEvent = $ReadOnly<{|\n value: boolean,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n value?: WithDefault,\n tintColor?: ?ColorValue,\n onTintColor?: ?ColorValue,\n thumbTintColor?: ?ColorValue,\n\n // Deprecated props\n thumbColor?: ?ColorValue,\n trackColorForFalse?: ?ColorValue,\n trackColorForTrue?: ?ColorValue,\n\n // Events\n onChange?: ?BubblingEventHandler,\n|}>;\n\nexport default (codegenNativeComponent('Switch', {\n paperComponentName: 'RCTSwitch',\n}): NativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst {NativeComponent} = require('../../Renderer/shims/ReactNative');\n\nconst requireNativeComponent = require('../../ReactNative/requireNativeComponent');\n\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype SwitchChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n value: boolean,\n |}>,\n>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: ?boolean,\n enabled?: ?boolean,\n thumbColor?: ?string,\n trackColorForFalse?: ?string,\n trackColorForTrue?: ?string,\n value?: ?boolean,\n on?: ?boolean,\n thumbTintColor?: ?string,\n trackTintColor?: ?string,\n\n // Events\n onChange?: ?(event: SwitchChangeEvent) => mixed,\n|}>;\n\ntype SwitchNativeComponentType = Class>;\n\nmodule.exports = ((requireNativeComponent(\n 'AndroidSwitch',\n): any): SwitchNativeComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\n\nconst processColor = require('../../StyleSheet/processColor');\n\nimport NativeStatusBarManager from './NativeStatusBarManager';\n\n/**\n * Status bar style\n */\nexport type StatusBarStyle = $Keys<{\n /**\n * Default status bar style (dark for iOS, light for Android)\n */\n default: string,\n /**\n * Dark background, white texts and icons\n */\n 'light-content': string,\n /**\n * Light background, dark texts and icons\n */\n 'dark-content': string,\n}>;\n\n/**\n * Status bar animation\n */\nexport type StatusBarAnimation = $Keys<{\n /**\n * No animation\n */\n none: string,\n /**\n * Fade animation\n */\n fade: string,\n /**\n * Slide animation\n */\n slide: string,\n}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * The background color of the status bar.\n * @platform android\n */\n backgroundColor?: ?string,\n /**\n * If the status bar is translucent.\n * When translucent is set to true, the app will draw under the status bar.\n * This is useful when using a semi transparent status bar color.\n *\n * @platform android\n */\n translucent?: ?boolean,\n|}>;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * If the network activity indicator should be visible.\n *\n * @platform ios\n */\n networkActivityIndicatorVisible?: ?boolean,\n /**\n * The transition effect when showing and hiding the status bar using the `hidden`\n * prop. Defaults to 'fade'.\n *\n * @platform ios\n */\n showHideTransition?: ?('fade' | 'slide'),\n|}>;\n\ntype Props = $ReadOnly<{|\n ...AndroidProps,\n ...IOSProps,\n /**\n * If the status bar is hidden.\n */\n hidden?: ?boolean,\n /**\n * If the transition between status bar property changes should be animated.\n * Supported for backgroundColor, barStyle and hidden.\n */\n animated?: ?boolean,\n /**\n * Sets the color of the status bar text.\n */\n barStyle?: ?('default' | 'light-content' | 'dark-content'),\n|}>;\n\n/**\n * Merges the prop stack with the default values.\n */\nfunction mergePropsStack(\n propsStack: Array,\n defaultValues: Object,\n): Object {\n return propsStack.reduce((prev, cur) => {\n for (const prop in cur) {\n if (cur[prop] != null) {\n prev[prop] = cur[prop];\n }\n }\n return prev;\n }, Object.assign({}, defaultValues));\n}\n\n/**\n * Returns an object to insert in the props stack from the props\n * and the transition/animation info.\n */\nfunction createStackEntry(props: any): any {\n return {\n backgroundColor:\n props.backgroundColor != null\n ? {\n value: props.backgroundColor,\n animated: props.animated,\n }\n : null,\n barStyle:\n props.barStyle != null\n ? {\n value: props.barStyle,\n animated: props.animated,\n }\n : null,\n translucent: props.translucent,\n hidden:\n props.hidden != null\n ? {\n value: props.hidden,\n animated: props.animated,\n transition: props.showHideTransition,\n }\n : null,\n networkActivityIndicatorVisible: props.networkActivityIndicatorVisible,\n };\n}\n\n/**\n * Component to control the app status bar.\n *\n * ### Usage with Navigator\n *\n * It is possible to have multiple `StatusBar` components mounted at the same\n * time. The props will be merged in the order the `StatusBar` components were\n * mounted. One use case is to specify status bar styles per route using `Navigator`.\n *\n * ```\n * \n * \n * \n * \n * \n * }\n * />\n * \n * ```\n *\n * ### Imperative API\n *\n * For cases where using a component is not ideal, there are static methods\n * to manipulate the `StatusBar` display stack. These methods have the same\n * behavior as mounting and unmounting a `StatusBar` component.\n *\n * For example, you can call `StatusBar.pushStackEntry` to update the status bar\n * before launching a third-party native UI component, and then call\n * `StatusBar.popStackEntry` when completed.\n *\n * ```\n * const openThirdPartyBugReporter = async () => {\n * // The bug reporter has a dark background, so we push a new status bar style.\n * const stackEntry = StatusBar.pushStackEntry({barStyle: 'light-content'});\n *\n * // `open` returns a promise that resolves when the UI is dismissed.\n * await BugReporter.open();\n *\n * // Don't forget to call `popStackEntry` when you're done.\n * StatusBar.popStackEntry(stackEntry);\n * };\n * ```\n *\n * There is a legacy imperative API that enables you to manually update the\n * status bar styles. However, the legacy API does not update the internal\n * `StatusBar` display stack, which means that any changes will be overridden\n * whenever a `StatusBar` component is mounted or unmounted.\n *\n * It is strongly advised that you use `pushStackEntry`, `popStackEntry`, or\n * `replaceStackEntry` instead of the static methods beginning with `set`.\n *\n * ### Constants\n *\n * `currentHeight` (Android only) The height of the status bar.\n */\nclass StatusBar extends React.Component {\n static _propsStack = [];\n\n static _defaultProps = createStackEntry({\n animated: false,\n showHideTransition: 'fade',\n backgroundColor: Platform.select({\n android:\n NativeStatusBarManager.getConstants().DEFAULT_BACKGROUND_COLOR ??\n 'black',\n ios: 'black',\n }),\n barStyle: 'default',\n translucent: false,\n hidden: false,\n networkActivityIndicatorVisible: false,\n });\n\n // Timer for updating the native module values at the end of the frame.\n static _updateImmediate = null;\n\n // The current merged values from the props stack.\n static _currentValues = null;\n\n // TODO(janic): Provide a real API to deal with status bar height. See the\n // discussion in #6195.\n /**\n * The current height of the status bar on the device.\n *\n * @platform android\n */\n static currentHeight: number = NativeStatusBarManager.getConstants().HEIGHT;\n\n // Provide an imperative API as static functions of the component.\n // See the corresponding prop for more detail.\n\n /**\n * Show or hide the status bar\n * @param hidden Hide the status bar.\n * @param animation Optional animation when\n * changing the status bar hidden property.\n */\n static setHidden(hidden: boolean, animation?: StatusBarAnimation) {\n animation = animation || 'none';\n StatusBar._defaultProps.hidden.value = hidden;\n if (Platform.OS === 'ios') {\n NativeStatusBarManager.setHidden(hidden, animation);\n } else if (Platform.OS === 'android') {\n NativeStatusBarManager.setHidden(hidden);\n }\n }\n\n /**\n * Set the status bar style\n * @param style Status bar style to set\n * @param animated Animate the style change.\n */\n static setBarStyle(style: StatusBarStyle, animated?: boolean) {\n animated = animated || false;\n StatusBar._defaultProps.barStyle.value = style;\n if (Platform.OS === 'ios') {\n NativeStatusBarManager.setStyle(style, animated);\n } else if (Platform.OS === 'android') {\n NativeStatusBarManager.setStyle(style);\n }\n }\n\n /**\n * Control the visibility of the network activity indicator\n * @param visible Show the indicator.\n */\n static setNetworkActivityIndicatorVisible(visible: boolean) {\n if (Platform.OS !== 'ios') {\n console.warn(\n '`setNetworkActivityIndicatorVisible` is only available on iOS',\n );\n return;\n }\n StatusBar._defaultProps.networkActivityIndicatorVisible = visible;\n NativeStatusBarManager.setNetworkActivityIndicatorVisible(visible);\n }\n\n /**\n * Set the background color for the status bar\n * @param color Background color.\n * @param animated Animate the style change.\n */\n static setBackgroundColor(color: string, animated?: boolean) {\n if (Platform.OS !== 'android') {\n console.warn('`setBackgroundColor` is only available on Android');\n return;\n }\n animated = animated || false;\n StatusBar._defaultProps.backgroundColor.value = color;\n\n const processedColor = processColor(color);\n if (processedColor == null) {\n console.warn(\n `\\`StatusBar.setBackgroundColor\\`: Color ${color} parsed to null or undefined`,\n );\n return;\n }\n\n NativeStatusBarManager.setColor(processedColor, animated);\n }\n\n /**\n * Control the translucency of the status bar\n * @param translucent Set as translucent.\n */\n static setTranslucent(translucent: boolean) {\n if (Platform.OS !== 'android') {\n console.warn('`setTranslucent` is only available on Android');\n return;\n }\n StatusBar._defaultProps.translucent = translucent;\n NativeStatusBarManager.setTranslucent(translucent);\n }\n\n /**\n * Push a StatusBar entry onto the stack.\n * The return value should be passed to `popStackEntry` when complete.\n *\n * @param props Object containing the StatusBar props to use in the stack entry.\n */\n static pushStackEntry(props: any): any {\n const entry = createStackEntry(props);\n StatusBar._propsStack.push(entry);\n StatusBar._updatePropsStack();\n return entry;\n }\n\n /**\n * Pop a StatusBar entry from the stack.\n *\n * @param entry Entry returned from `pushStackEntry`.\n */\n static popStackEntry(entry: any) {\n const index = StatusBar._propsStack.indexOf(entry);\n if (index !== -1) {\n StatusBar._propsStack.splice(index, 1);\n }\n StatusBar._updatePropsStack();\n }\n\n /**\n * Replace an existing StatusBar stack entry with new props.\n *\n * @param entry Entry returned from `pushStackEntry` to replace.\n * @param props Object containing the StatusBar props to use in the replacement stack entry.\n */\n static replaceStackEntry(entry: any, props: any): any {\n const newEntry = createStackEntry(props);\n const index = StatusBar._propsStack.indexOf(entry);\n if (index !== -1) {\n StatusBar._propsStack[index] = newEntry;\n }\n StatusBar._updatePropsStack();\n return newEntry;\n }\n\n static defaultProps: $TEMPORARY$object<{|\n animated: boolean,\n showHideTransition: $TEMPORARY$string<'fade'>,\n |}> = {\n animated: false,\n showHideTransition: 'fade',\n };\n\n _stackEntry = null;\n\n componentDidMount() {\n // Every time a StatusBar component is mounted, we push it's prop to a stack\n // and always update the native status bar with the props from the top of then\n // stack. This allows having multiple StatusBar components and the one that is\n // added last or is deeper in the view hierarchy will have priority.\n this._stackEntry = StatusBar.pushStackEntry(this.props);\n }\n\n componentWillUnmount() {\n // When a StatusBar is unmounted, remove itself from the stack and update\n // the native bar with the next props.\n StatusBar.popStackEntry(this._stackEntry);\n }\n\n componentDidUpdate() {\n this._stackEntry = StatusBar.replaceStackEntry(\n this._stackEntry,\n this.props,\n );\n }\n\n /**\n * Updates the native status bar with the props from the stack.\n */\n static _updatePropsStack = () => {\n // Send the update to the native module only once at the end of the frame.\n clearImmediate(StatusBar._updateImmediate);\n StatusBar._updateImmediate = setImmediate(() => {\n const oldProps = StatusBar._currentValues;\n const mergedProps = mergePropsStack(\n StatusBar._propsStack,\n StatusBar._defaultProps,\n );\n\n // Update the props that have changed using the merged values from the props stack.\n if (Platform.OS === 'ios') {\n if (\n !oldProps ||\n oldProps.barStyle.value !== mergedProps.barStyle.value\n ) {\n NativeStatusBarManager.setStyle(\n mergedProps.barStyle.value,\n mergedProps.barStyle.animated || false,\n );\n }\n if (!oldProps || oldProps.hidden.value !== mergedProps.hidden.value) {\n NativeStatusBarManager.setHidden(\n mergedProps.hidden.value,\n mergedProps.hidden.animated\n ? mergedProps.hidden.transition\n : 'none',\n );\n }\n\n if (\n !oldProps ||\n oldProps.networkActivityIndicatorVisible !==\n mergedProps.networkActivityIndicatorVisible\n ) {\n NativeStatusBarManager.setNetworkActivityIndicatorVisible(\n mergedProps.networkActivityIndicatorVisible,\n );\n }\n } else if (Platform.OS === 'android') {\n if (\n !oldProps ||\n oldProps.barStyle.value !== mergedProps.barStyle.value\n ) {\n NativeStatusBarManager.setStyle(mergedProps.barStyle.value);\n }\n if (\n !oldProps ||\n oldProps.backgroundColor.value !== mergedProps.backgroundColor.value\n ) {\n const processedColor = processColor(\n mergedProps.backgroundColor.value,\n );\n if (processedColor == null) {\n console.warn(\n `\\`StatusBar._updatePropsStack\\`: Color ${\n mergedProps.backgroundColor.value\n } parsed to null or undefined`,\n );\n } else {\n NativeStatusBarManager.setColor(\n processedColor,\n mergedProps.backgroundColor.animated,\n );\n }\n }\n if (!oldProps || oldProps.hidden.value !== mergedProps.hidden.value) {\n NativeStatusBarManager.setHidden(mergedProps.hidden.value);\n }\n if (!oldProps || oldProps.translucent !== mergedProps.translucent) {\n NativeStatusBarManager.setTranslucent(mergedProps.translucent);\n }\n }\n // Update the current prop values.\n StatusBar._currentValues = mergedProps;\n });\n };\n\n render(): React.Node {\n return null;\n }\n}\n\nmodule.exports = StatusBar;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n // Android only\n +getConstants: () => {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR: number,\n |};\n +setColor: (color: number, animated: boolean) => void;\n +setTranslucent: (translucent: boolean) => void;\n\n // iOS only\n // TODO(T47754272) Can we remove this method?\n +getHeight: (callback: (result: {|height: number|}) => void) => void;\n +setNetworkActivityIndicatorVisible: (visible: boolean) => void;\n +addListener: (eventType: string) => void;\n +removeListeners: (count: number) => void;\n\n // Android and iOS\n /**\n * - animated is iOS only\n * - statusBarStyles can be:\n * - 'default' (iOS and Android)\n * - 'dark-content' (iOS and Android)\n * - 'light-content' (iOS)\n */\n +setStyle: (statusBarStyle?: ?string, animated?: ?boolean) => void;\n /**\n * - withAnimation is iOS only\n * - withAnimation can be: 'none' | 'fade' | 'slide'\n */\n +setHidden: (hidden: boolean, withAnimation?: ?string) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'StatusBarManager',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst DeprecatedTextInputPropTypes = require('../../DeprecatedPropTypes/DeprecatedTextInputPropTypes');\nconst DocumentSelectionState = require('../../vendor/document/selection/DocumentSelectionState');\nconst NativeMethodsMixin = require('../../Renderer/shims/NativeMethodsMixin');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst Text = require('../../Text/Text');\nconst TextAncestor = require('../../Text/TextAncestor');\nconst TextInputState = require('./TextInputState');\nconst TouchableWithoutFeedback = require('../Touchable/TouchableWithoutFeedback');\nconst UIManager = require('../../ReactNative/UIManager');\n\nconst createReactClass = require('create-react-class');\nconst invariant = require('invariant');\nconst requireNativeComponent = require('../../ReactNative/requireNativeComponent');\nconst warning = require('fbjs/lib/warning');\n\nimport type {TextStyleProp, ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {SyntheticEvent, ScrollEvent} from '../../Types/CoreEventTypes';\nimport type {PressEvent} from '../../Types/CoreEventTypes';\n\nlet AndroidTextInput;\nlet RCTMultilineTextInputView;\nlet RCTSinglelineTextInputView;\n\nif (Platform.OS === 'android') {\n AndroidTextInput = requireNativeComponent('AndroidTextInput');\n} else if (Platform.OS === 'ios') {\n RCTMultilineTextInputView = requireNativeComponent(\n 'RCTMultilineTextInputView',\n );\n RCTSinglelineTextInputView = requireNativeComponent(\n 'RCTSinglelineTextInputView',\n );\n}\n\nconst onlyMultiline = {\n onTextInput: true,\n children: true,\n};\n\nexport type ChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n target: number,\n text: string,\n |}>,\n>;\n\nexport type TextInputEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n previousText: string,\n range: $ReadOnly<{|\n start: number,\n end: number,\n |}>,\n target: number,\n text: string,\n |}>,\n>;\n\nexport type ContentSizeChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n target: number,\n contentSize: $ReadOnly<{|\n width: number,\n height: number,\n |}>,\n |}>,\n>;\n\ntype TargetEvent = SyntheticEvent<\n $ReadOnly<{|\n target: number,\n |}>,\n>;\n\nexport type BlurEvent = TargetEvent;\nexport type FocusEvent = TargetEvent;\n\ntype Selection = $ReadOnly<{|\n start: number,\n end: number,\n|}>;\n\nexport type SelectionChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n selection: Selection,\n target: number,\n |}>,\n>;\n\nexport type KeyPressEvent = SyntheticEvent<\n $ReadOnly<{|\n key: string,\n target?: ?number,\n eventCount?: ?number,\n |}>,\n>;\n\nexport type EditingEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n text: string,\n target: number,\n |}>,\n>;\n\ntype DataDetectorTypesType =\n | 'phoneNumber'\n | 'link'\n | 'address'\n | 'calendarEvent'\n | 'none'\n | 'all';\n\nexport type KeyboardType =\n // Cross Platform\n | 'default'\n | 'email-address'\n | 'numeric'\n | 'phone-pad'\n | 'number-pad'\n | 'decimal-pad'\n // iOS-only\n | 'ascii-capable'\n | 'numbers-and-punctuation'\n | 'url'\n | 'name-phone-pad'\n | 'twitter'\n | 'web-search'\n // Android-only\n | 'visible-password';\n\nexport type ReturnKeyType =\n // Cross Platform\n | 'done'\n | 'go'\n | 'next'\n | 'search'\n | 'send'\n // Android-only\n | 'none'\n | 'previous'\n // iOS-only\n | 'default'\n | 'emergency-call'\n | 'google'\n | 'join'\n | 'route'\n | 'yahoo';\n\nexport type AutoCapitalize = 'none' | 'sentences' | 'words' | 'characters';\n\nexport type TextContentType =\n | 'none'\n | 'URL'\n | 'addressCity'\n | 'addressCityAndState'\n | 'addressState'\n | 'countryName'\n | 'creditCardNumber'\n | 'emailAddress'\n | 'familyName'\n | 'fullStreetAddress'\n | 'givenName'\n | 'jobTitle'\n | 'location'\n | 'middleName'\n | 'name'\n | 'namePrefix'\n | 'nameSuffix'\n | 'nickname'\n | 'organizationName'\n | 'postalCode'\n | 'streetAddressLine1'\n | 'streetAddressLine2'\n | 'sublocality'\n | 'telephoneNumber'\n | 'username'\n | 'password'\n | 'newPassword'\n | 'oneTimeCode';\n\ntype PasswordRules = string;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * If `false`, disables spell-check style (i.e. red underlines).\n * The default value is inherited from `autoCorrect`.\n * @platform ios\n */\n spellCheck?: ?boolean,\n\n /**\n * Determines the color of the keyboard.\n * @platform ios\n */\n keyboardAppearance?: ?('default' | 'light' | 'dark'),\n\n /**\n * If `true`, the keyboard disables the return key when there is no text and\n * automatically enables it when there is text. The default value is `false`.\n * @platform ios\n */\n enablesReturnKeyAutomatically?: ?boolean,\n\n /**\n * An instance of `DocumentSelectionState`, this is some state that is responsible for\n * maintaining selection information for a document.\n *\n * Some functionality that can be performed with this instance is:\n *\n * - `blur()`\n * - `focus()`\n * - `update()`\n *\n * > You can reference `DocumentSelectionState` in\n * > [`vendor/document/selection/DocumentSelectionState.js`](https://github.com/facebook/react-native/blob/master/Libraries/vendor/document/selection/DocumentSelectionState.js)\n *\n * @platform ios\n */\n selectionState?: ?DocumentSelectionState,\n\n /**\n * When the clear button should appear on the right side of the text view.\n * This property is supported only for single-line TextInput component.\n * @platform ios\n */\n clearButtonMode?: ?('never' | 'while-editing' | 'unless-editing' | 'always'),\n\n /**\n * If `true`, clears the text field automatically when editing begins.\n * @platform ios\n */\n clearTextOnFocus?: ?boolean,\n\n /**\n * Determines the types of data converted to clickable URLs in the text input.\n * Only valid if `multiline={true}` and `editable={false}`.\n * By default no data types are detected.\n *\n * You can provide one type or an array of many types.\n *\n * Possible values for `dataDetectorTypes` are:\n *\n * - `'phoneNumber'`\n * - `'link'`\n * - `'address'`\n * - `'calendarEvent'`\n * - `'none'`\n * - `'all'`\n *\n * @platform ios\n */\n dataDetectorTypes?:\n | ?DataDetectorTypesType\n | $ReadOnlyArray,\n\n /**\n * An optional identifier which links a custom InputAccessoryView to\n * this text input. The InputAccessoryView is rendered above the\n * keyboard when this text input is focused.\n * @platform ios\n */\n inputAccessoryViewID?: ?string,\n\n /**\n * Give the keyboard and the system information about the\n * expected semantic meaning for the content that users enter.\n * @platform ios\n */\n textContentType?: ?TextContentType,\n\n PasswordRules?: ?PasswordRules,\n\n /**\n * If `false`, scrolling of the text view will be disabled.\n * The default value is `true`. Does only work with 'multiline={true}'.\n * @platform ios\n */\n scrollEnabled?: ?boolean,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Determines which content to suggest on auto complete, e.g.`username`.\n * To disable auto complete, use `off`.\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `username`\n * - `password`\n * - `email`\n * - `name`\n * - `tel`\n * - `street-address`\n * - `postal-code`\n * - `cc-number`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `off`\n *\n * @platform android\n */\n autoCompleteType?: ?(\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-number'\n | 'email'\n | 'name'\n | 'password'\n | 'postal-code'\n | 'street-address'\n | 'tel'\n | 'username'\n | 'off'\n ),\n\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel?: ?string,\n\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n numberOfLines?: ?number,\n\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI?: ?boolean,\n\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy?: ?('simple' | 'highQuality' | 'balanced'),\n\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid?: ?ColorValue,\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft?: ?string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding?: ?number,\n\n importantForAutofill?: ?(\n | 'auto'\n | 'no'\n | 'noExcludeDescendants'\n | 'yes'\n | 'yesExcludeDescendants'\n ),\n\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n * @platform android\n */\n showSoftInputOnFocus?: ?boolean,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...$Diff>,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize?: ?AutoCapitalize,\n\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect?: ?boolean,\n\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus?: ?boolean,\n\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling?: ?boolean,\n\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier?: ?number,\n\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable?: ?boolean,\n\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `ascii-capable`\n * - `numbers-and-punctuation`\n * - `url`\n * - `name-phone-pad`\n * - `twitter`\n * - `web-search`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n */\n keyboardType?: ?KeyboardType,\n\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `default`\n * - `emergency-call`\n * - `google`\n * - `join`\n * - `route`\n * - `yahoo`\n */\n returnKeyType?: ?ReturnKeyType,\n\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength?: ?number,\n\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline?: ?boolean,\n\n /**\n * Callback that is called when the text input is blurred.\n */\n onBlur?: ?(e: BlurEvent) => mixed,\n\n /**\n * Callback that is called when the text input is focused.\n */\n onFocus?: ?(e: FocusEvent) => mixed,\n\n /**\n * Callback that is called when the text input's text changes.\n */\n onChange?: ?(e: ChangeEvent) => mixed,\n\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n */\n onChangeText?: ?(text: string) => mixed,\n\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange?: ?(e: ContentSizeChangeEvent) => mixed,\n\n onTextInput?: ?(e: TextInputEvent) => mixed,\n\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing?: ?(e: EditingEvent) => mixed,\n\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange?: ?(e: SelectionChangeEvent) => mixed,\n\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing?: ?(e: EditingEvent) => mixed,\n\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress?: ?(e: KeyPressEvent) => mixed,\n\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll?: ?(e: ScrollEvent) => mixed,\n\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder?: ?Stringish,\n\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor?: ?ColorValue,\n\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry?: ?boolean,\n\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor?: ?ColorValue,\n\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection?: ?$ReadOnly<{|\n start: number,\n end?: ?number,\n |}>,\n\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value?: ?Stringish,\n\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue?: ?Stringish,\n\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus?: ?boolean,\n\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n */\n blurOnSubmit?: ?boolean,\n\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n style?: ?TextStyleProp,\n\n /**\n * If `true`, caret is hidden. The default value is `false`.\n * This property is supported only for single-line TextInput component on iOS.\n */\n caretHidden?: ?boolean,\n\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden?: ?boolean,\n|}>;\n\nconst emptyFunctionThatReturnsTrue = () => true;\n\n/**\n * A foundational component for inputting text into the app via a\n * keyboard. Props provide configurability for several features, such as\n * auto-correction, auto-capitalization, placeholder text, and different keyboard\n * types, such as a numeric keypad.\n *\n * The simplest use case is to plop down a `TextInput` and subscribe to the\n * `onChangeText` events to read the user input. There are also other events,\n * such as `onSubmitEditing` and `onFocus` that can be subscribed to. A simple\n * example:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, TextInput } from 'react-native';\n *\n * export default class UselessTextInput extends Component {\n * constructor(props) {\n * super(props);\n * this.state = { text: 'Useless Placeholder' };\n * }\n *\n * render() {\n * return (\n * this.setState({text})}\n * value={this.state.text}\n * />\n * );\n * }\n * }\n *\n * // skip this line if using Create React Native App\n * AppRegistry.registerComponent('AwesomeProject', () => UselessTextInput);\n * ```\n *\n * Two methods exposed via the native element are .focus() and .blur() that\n * will focus or blur the TextInput programmatically.\n *\n * Note that some props are only available with `multiline={true/false}`.\n * Additionally, border styles that apply to only one side of the element\n * (e.g., `borderBottomColor`, `borderLeftWidth`, etc.) will not be applied if\n * `multiline=false`. To achieve the same effect, you can wrap your `TextInput`\n * in a `View`:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, View, TextInput } from 'react-native';\n *\n * class UselessTextInput extends Component {\n * render() {\n * return (\n * \n * );\n * }\n * }\n *\n * export default class UselessTextInputMultiline extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * text: 'Useless Multiline Placeholder',\n * };\n * }\n *\n * // If you type something in the text box that is a color, the background will change to that\n * // color.\n * render() {\n * return (\n * \n * this.setState({text})}\n * value={this.state.text}\n * />\n * \n * );\n * }\n * }\n *\n * // skip these lines if using Create React Native App\n * AppRegistry.registerComponent(\n * 'AwesomeProject',\n * () => UselessTextInputMultiline\n * );\n * ```\n *\n * `TextInput` has by default a border at the bottom of its view. This border\n * has its padding set by the background image provided by the system, and it\n * cannot be changed. Solutions to avoid this is to either not set height\n * explicitly, case in which the system will take care of displaying the border\n * in the correct position, or to not display the border by setting\n * `underlineColorAndroid` to transparent.\n *\n * Note that on Android performing text selection in input can change\n * app's activity `windowSoftInputMode` param to `adjustResize`.\n * This may cause issues with components that have position: 'absolute'\n * while keyboard is active. To avoid this behavior either specify `windowSoftInputMode`\n * in AndroidManifest.xml ( https://developer.android.com/guide/topics/manifest/activity-element.html )\n * or control this param programmatically with native code.\n *\n */\n\nconst TextInput = createReactClass({\n displayName: 'TextInput',\n statics: {\n State: {\n currentlyFocusedField: TextInputState.currentlyFocusedField,\n focusTextInput: TextInputState.focusTextInput,\n blurTextInput: TextInputState.blurTextInput,\n },\n },\n propTypes: DeprecatedTextInputPropTypes,\n getDefaultProps() {\n return {\n allowFontScaling: true,\n rejectResponderTermination: true,\n underlineColorAndroid: 'transparent',\n };\n },\n /**\n * `NativeMethodsMixin` will look for this when invoking `setNativeProps`. We\n * make `this` look like an actual native component class.\n */\n mixins: [NativeMethodsMixin],\n\n /**\n * Returns `true` if the input is currently focused; `false` otherwise.\n */\n isFocused: function(): boolean {\n return (\n TextInputState.currentlyFocusedField() ===\n ReactNative.findNodeHandle(this._inputRef)\n );\n },\n\n _inputRef: (undefined: any),\n _focusSubscription: (undefined: ?Function),\n _lastNativeText: (undefined: ?string),\n _lastNativeSelection: (undefined: ?Selection),\n _rafId: (null: ?AnimationFrameID),\n\n componentDidMount: function() {\n this._lastNativeText = this.props.value;\n const tag = ReactNative.findNodeHandle(this._inputRef);\n if (tag != null) {\n // tag is null only in unit tests\n TextInputState.registerInput(tag);\n }\n\n if (this.props.autoFocus) {\n this._rafId = requestAnimationFrame(this.focus);\n }\n },\n\n componentWillUnmount: function() {\n this._focusSubscription && this._focusSubscription.remove();\n if (this.isFocused()) {\n this.blur();\n }\n const tag = ReactNative.findNodeHandle(this._inputRef);\n if (tag != null) {\n TextInputState.unregisterInput(tag);\n }\n if (this._rafId != null) {\n cancelAnimationFrame(this._rafId);\n }\n },\n\n /**\n * Removes all text from the `TextInput`.\n */\n clear: function() {\n this.setNativeProps({text: ''});\n },\n\n render: function() {\n let textInput;\n if (Platform.OS === 'ios') {\n textInput = UIManager.getViewManagerConfig('RCTVirtualText')\n ? this._renderIOS()\n : this._renderIOSLegacy();\n } else if (Platform.OS === 'android') {\n textInput = this._renderAndroid();\n }\n return (\n {textInput}\n );\n },\n\n _getText: function(): ?string {\n return typeof this.props.value === 'string'\n ? this.props.value\n : typeof this.props.defaultValue === 'string'\n ? this.props.defaultValue\n : '';\n },\n\n _setNativeRef: function(ref: any) {\n this._inputRef = ref;\n },\n\n _renderIOSLegacy: function() {\n let textContainer;\n\n const props = Object.assign({}, this.props);\n props.style = [this.props.style];\n\n if (props.selection && props.selection.end == null) {\n props.selection = {\n start: props.selection.start,\n end: props.selection.start,\n };\n }\n\n if (!props.multiline) {\n if (__DEV__) {\n for (const propKey in onlyMultiline) {\n if (props[propKey]) {\n const error = new Error(\n 'TextInput prop `' +\n propKey +\n '` is only supported with multiline.',\n );\n warning(false, '%s', error.stack);\n }\n }\n }\n textContainer = (\n \n );\n } else {\n let children = props.children;\n let childCount = 0;\n React.Children.forEach(children, () => ++childCount);\n invariant(\n !(props.value && childCount),\n 'Cannot specify both value and children.',\n );\n if (childCount >= 1) {\n children = (\n \n {children}\n \n );\n }\n if (props.inputView) {\n children = [children, props.inputView];\n }\n props.style.unshift(styles.multilineInput);\n textContainer = (\n \n );\n }\n\n return (\n \n {textContainer}\n \n );\n },\n\n _renderIOS: function() {\n const props = Object.assign({}, this.props);\n props.style = [this.props.style];\n\n if (props.selection && props.selection.end == null) {\n props.selection = {\n start: props.selection.start,\n end: props.selection.start,\n };\n }\n\n const RCTTextInputView = props.multiline\n ? RCTMultilineTextInputView\n : RCTSinglelineTextInputView;\n\n if (props.multiline) {\n props.style.unshift(styles.multilineInput);\n }\n\n const textContainer = (\n \n );\n\n return (\n \n {textContainer}\n \n );\n },\n\n _renderAndroid: function() {\n const props = Object.assign({}, this.props);\n props.style = [this.props.style];\n props.autoCapitalize = props.autoCapitalize || 'sentences';\n let children = this.props.children;\n let childCount = 0;\n React.Children.forEach(children, () => ++childCount);\n invariant(\n !(this.props.value && childCount),\n 'Cannot specify both value and children.',\n );\n if (childCount > 1) {\n children = {children};\n }\n\n if (props.selection && props.selection.end == null) {\n props.selection = {\n start: props.selection.start,\n end: props.selection.start,\n };\n }\n\n const textContainer = (\n \n );\n\n return (\n \n {textContainer}\n \n );\n },\n\n _onFocus: function(event: FocusEvent) {\n if (this.props.onFocus) {\n this.props.onFocus(event);\n }\n\n if (this.props.selectionState) {\n this.props.selectionState.focus();\n }\n },\n\n _onPress: function(event: PressEvent) {\n if (this.props.editable || this.props.editable === undefined) {\n this.focus();\n }\n },\n\n _onChange: function(event: ChangeEvent) {\n // Make sure to fire the mostRecentEventCount first so it is already set on\n // native when the text value is set.\n if (this._inputRef && this._inputRef.setNativeProps) {\n ReactNative.setNativeProps(this._inputRef, {\n mostRecentEventCount: event.nativeEvent.eventCount,\n });\n }\n\n const text = event.nativeEvent.text;\n this.props.onChange && this.props.onChange(event);\n this.props.onChangeText && this.props.onChangeText(text);\n\n if (!this._inputRef) {\n // calling `this.props.onChange` or `this.props.onChangeText`\n // may clean up the input itself. Exits here.\n return;\n }\n\n this._lastNativeText = text;\n this.forceUpdate();\n },\n\n _onSelectionChange: function(event: SelectionChangeEvent) {\n this.props.onSelectionChange && this.props.onSelectionChange(event);\n\n if (!this._inputRef) {\n // calling `this.props.onSelectionChange`\n // may clean up the input itself. Exits here.\n return;\n }\n\n this._lastNativeSelection = event.nativeEvent.selection;\n\n if (this.props.selection || this.props.selectionState) {\n this.forceUpdate();\n }\n },\n\n componentDidUpdate: function() {\n // This is necessary in case native updates the text and JS decides\n // that the update should be ignored and we should stick with the value\n // that we have in JS.\n const nativeProps = {};\n\n if (\n this._lastNativeText !== this.props.value &&\n typeof this.props.value === 'string'\n ) {\n nativeProps.text = this.props.value;\n }\n\n // Selection is also a controlled prop, if the native value doesn't match\n // JS, update to the JS value.\n const {selection} = this.props;\n if (\n this._lastNativeSelection &&\n selection &&\n (this._lastNativeSelection.start !== selection.start ||\n this._lastNativeSelection.end !== selection.end)\n ) {\n nativeProps.selection = this.props.selection;\n }\n\n if (\n Object.keys(nativeProps).length > 0 &&\n this._inputRef &&\n this._inputRef.setNativeProps\n ) {\n ReactNative.setNativeProps(this._inputRef, nativeProps);\n }\n\n if (this.props.selectionState && selection) {\n this.props.selectionState.update(selection.start, selection.end);\n }\n },\n\n _onBlur: function(event: BlurEvent) {\n // This is a hack to fix https://fburl.com/toehyir8\n // @todo(rsnara) Figure out why this is necessary.\n this.blur();\n if (this.props.onBlur) {\n this.props.onBlur(event);\n }\n\n if (this.props.selectionState) {\n this.props.selectionState.blur();\n }\n },\n\n _onTextInput: function(event: TextInputEvent) {\n this.props.onTextInput && this.props.onTextInput(event);\n },\n\n _onScroll: function(event: ScrollEvent) {\n this.props.onScroll && this.props.onScroll(event);\n },\n});\n\nclass InternalTextInputType extends ReactNative.NativeComponent {\n clear() {}\n\n // $FlowFixMe\n isFocused(): boolean {}\n}\n\nconst TypedTextInput = ((TextInput: any): Class);\n\nconst styles = StyleSheet.create({\n multilineInput: {\n // This default top inset makes RCTMultilineTextInputView seem as close as possible\n // to single-line RCTSinglelineTextInputView defaults, using the system defaults\n // of font size 17 and a height of 31 points.\n paddingTop: 5,\n },\n});\n\nmodule.exports = TypedTextInput;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedViewPropTypes = require('./DeprecatedViewPropTypes');\nconst DocumentSelectionState = require('../vendor/document/selection/DocumentSelectionState');\nconst Text = require('../Text/Text');\n\nconst DataDetectorTypes = [\n 'phoneNumber',\n 'link',\n 'address',\n 'calendarEvent',\n 'none',\n 'all',\n];\n\nmodule.exports = {\n ...DeprecatedViewPropTypes,\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize: PropTypes.oneOf(['none', 'sentences', 'words', 'characters']),\n /**\n * Determines which content to suggest on auto complete, e.g.`username`.\n * To disable auto complete, use `off`.\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `username`\n * - `password`\n * - `email`\n * - `name`\n * - `tel`\n * - `street-address`\n * - `postal-code`\n * - `cc-number`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `off`\n *\n * @platform android\n */\n autoCompleteType: PropTypes.oneOf([\n 'cc-csc',\n 'cc-exp',\n 'cc-exp-month',\n 'cc-exp-year',\n 'cc-number',\n 'email',\n 'name',\n 'password',\n 'postal-code',\n 'street-address',\n 'tel',\n 'username',\n 'off',\n ]),\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect: PropTypes.bool,\n /**\n * If `false`, disables spell-check style (i.e. red underlines).\n * The default value is inherited from `autoCorrect`.\n * @platform ios\n */\n spellCheck: PropTypes.bool,\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus: PropTypes.bool,\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling: PropTypes.bool,\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier: PropTypes.number,\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable: PropTypes.bool,\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `ascii-capable`\n * - `numbers-and-punctuation`\n * - `url`\n * - `name-phone-pad`\n * - `twitter`\n * - `web-search`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n */\n keyboardType: PropTypes.oneOf([\n // Cross-platform\n 'default',\n 'email-address',\n 'numeric',\n 'phone-pad',\n 'number-pad',\n // iOS-only\n 'ascii-capable',\n 'numbers-and-punctuation',\n 'url',\n 'name-phone-pad',\n 'decimal-pad',\n 'twitter',\n 'web-search',\n // Android-only\n 'visible-password',\n ]),\n /**\n * Determines the color of the keyboard.\n * @platform ios\n */\n keyboardAppearance: PropTypes.oneOf(['default', 'light', 'dark']),\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `default`\n * - `emergency-call`\n * - `google`\n * - `join`\n * - `route`\n * - `yahoo`\n */\n returnKeyType: PropTypes.oneOf([\n // Cross-platform\n 'done',\n 'go',\n 'next',\n 'search',\n 'send',\n // Android-only\n 'none',\n 'previous',\n // iOS-only\n 'default',\n 'emergency-call',\n 'google',\n 'join',\n 'route',\n 'yahoo',\n ]),\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel: PropTypes.string,\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength: PropTypes.number,\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n numberOfLines: PropTypes.number,\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI: PropTypes.bool,\n /**\n * If `true`, the keyboard disables the return key when there is no text and\n * automatically enables it when there is text. The default value is `false`.\n * @platform ios\n */\n enablesReturnKeyAutomatically: PropTypes.bool,\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline: PropTypes.bool,\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy: PropTypes.oneOf(['simple', 'highQuality', 'balanced']),\n /**\n * Callback that is called when the text input is blurred.\n */\n onBlur: PropTypes.func,\n /**\n * Callback that is called when the text input is focused.\n */\n onFocus: PropTypes.func,\n /**\n * Callback that is called when the text input's text changes.\n */\n onChange: PropTypes.func,\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n */\n onChangeText: PropTypes.func,\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange: PropTypes.func,\n onTextInput: PropTypes.func,\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing: PropTypes.func,\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange: PropTypes.func,\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing: PropTypes.func,\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress: PropTypes.func,\n /**\n * Invoked on mount and layout changes with `{x, y, width, height}`.\n */\n onLayout: PropTypes.func,\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll: PropTypes.func,\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder: PropTypes.string,\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor: DeprecatedColorPropType,\n /**\n * If `false`, scrolling of the text view will be disabled.\n * The default value is `true`. Does only work with 'multiline={true}'.\n * @platform ios\n */\n scrollEnabled: PropTypes.bool,\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry: PropTypes.bool,\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor: DeprecatedColorPropType,\n /**\n * An instance of `DocumentSelectionState`, this is some state that is responsible for\n * maintaining selection information for a document.\n *\n * Some functionality that can be performed with this instance is:\n *\n * - `blur()`\n * - `focus()`\n * - `update()`\n *\n * > You can reference `DocumentSelectionState` in\n * > [`vendor/document/selection/DocumentSelectionState.js`](https://github.com/facebook/react-native/blob/master/Libraries/vendor/document/selection/DocumentSelectionState.js)\n *\n * @platform ios\n */\n selectionState: PropTypes.instanceOf(DocumentSelectionState),\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection: PropTypes.shape({\n start: PropTypes.number.isRequired,\n end: PropTypes.number,\n }),\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value: PropTypes.string,\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue: PropTypes.string,\n /**\n * When the clear button should appear on the right side of the text view.\n * This property is supported only for single-line TextInput component.\n * @platform ios\n */\n clearButtonMode: PropTypes.oneOf([\n 'never',\n 'while-editing',\n 'unless-editing',\n 'always',\n ]),\n /**\n * If `true`, clears the text field automatically when editing begins.\n * @platform ios\n */\n clearTextOnFocus: PropTypes.bool,\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus: PropTypes.bool,\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n */\n blurOnSubmit: PropTypes.bool,\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n style: Text.propTypes.style,\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid: DeprecatedColorPropType,\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft: PropTypes.string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding: PropTypes.number,\n\n /**\n * If `true`, allows TextInput to pass touch events to the parent component.\n * This allows components such as SwipeableListView to be swipeable from the TextInput on iOS,\n * as is the case on Android by default.\n * If `false`, TextInput always asks to handle the input (except when disabled).\n * @platform ios\n */\n rejectResponderTermination: PropTypes.bool,\n\n /**\n * Determines the types of data converted to clickable URLs in the text input.\n * Only valid if `multiline={true}` and `editable={false}`.\n * By default no data types are detected.\n *\n * You can provide one type or an array of many types.\n *\n * Possible values for `dataDetectorTypes` are:\n *\n * - `'phoneNumber'`\n * - `'link'`\n * - `'address'`\n * - `'calendarEvent'`\n * - `'none'`\n * - `'all'`\n *\n * @platform ios\n */\n dataDetectorTypes: PropTypes.oneOfType([\n PropTypes.oneOf(DataDetectorTypes),\n PropTypes.arrayOf(PropTypes.oneOf(DataDetectorTypes)),\n ]),\n /**\n * If `true`, caret is hidden. The default value is `false`.\n * This property is supported only for single-line TextInput component on iOS.\n */\n caretHidden: PropTypes.bool,\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden: PropTypes.bool,\n /**\n * An optional identifier which links a custom InputAccessoryView to\n * this text input. The InputAccessoryView is rendered above the\n * keyboard when this text input is focused.\n * @platform ios\n */\n inputAccessoryViewID: PropTypes.string,\n /**\n * Give the keyboard and the system information about the\n * expected semantic meaning for the content that users enter.\n * @platform ios\n */\n textContentType: PropTypes.oneOf([\n 'none',\n 'URL',\n 'addressCity',\n 'addressCityAndState',\n 'addressState',\n 'countryName',\n 'creditCardNumber',\n 'emailAddress',\n 'familyName',\n 'fullStreetAddress',\n 'givenName',\n 'jobTitle',\n 'location',\n 'middleName',\n 'name',\n 'namePrefix',\n 'nameSuffix',\n 'nickname',\n 'organizationName',\n 'postalCode',\n 'streetAddressLine1',\n 'streetAddressLine2',\n 'sublocality',\n 'telephoneNumber',\n 'username',\n 'password',\n 'newPassword',\n 'oneTimeCode',\n ]),\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n * @platform android\n */\n showSoftInputOnFocus: PropTypes.bool,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst PlatformViewPropTypes = require('../Components/View/PlatformViewPropTypes');\nconst PropTypes = require('prop-types');\n\nconst {\n DeprecatedAccessibilityRoles,\n DeprecatedAccessibilityStates,\n} = require('./DeprecatedViewAccessibility');\n\nconst stylePropType: ReactPropsCheckType = DeprecatedStyleSheetPropType(\n DeprecatedViewStylePropTypes,\n);\n\nmodule.exports = {\n /**\n * When `true`, indicates that the view is an accessibility element.\n * By default, all the touchable elements are accessible.\n *\n * See http://facebook.github.io/react-native/docs/view.html#accessible\n */\n accessible: PropTypes.bool,\n\n /**\n * Overrides the text that's read by the screen reader when the user interacts\n * with the element. By default, the label is constructed by traversing all\n * the children and accumulating all the `Text` nodes separated by space.\n *\n * See http://facebook.github.io/react-native/docs/view.html#accessibilitylabel\n */\n accessibilityLabel: PropTypes.node,\n\n /**\n * An accessibility hint helps users understand what will happen when they perform\n * an action on the accessibility element when that result is not obvious from the\n * accessibility label.\n *\n *\n * See http://facebook.github.io/react-native/docs/view.html#accessibilityHint\n */\n accessibilityHint: PropTypes.string,\n\n /**\n * Provides an array of custom actions available for accessibility.\n *\n * @platform ios\n */\n accessibilityActions: (PropTypes.arrayOf(\n PropTypes.string,\n ): React$PropType$Primitive>),\n\n /**\n * Prevents view from being inverted if set to true and color inversion is turned on.\n *\n * @platform ios\n */\n accessibilityIgnoresInvertColors: PropTypes.bool,\n\n /**\n * Indicates to accessibility services to treat UI component like a specific role.\n */\n accessibilityRole: (PropTypes.oneOf(\n DeprecatedAccessibilityRoles,\n ): React$PropType$Primitive<\n | 'none'\n | 'button'\n | 'link'\n | 'search'\n | 'image'\n | 'keyboardkey'\n | 'text'\n | 'adjustable'\n | 'imagebutton'\n | 'header'\n | 'summary'\n | 'alert'\n | 'checkbox'\n | 'combobox'\n | 'menu'\n | 'menubar'\n | 'menuitem'\n | 'progressbar'\n | 'radio'\n | 'radiogroup'\n | 'scrollbar'\n | 'spinbutton'\n | 'switch'\n | 'tab'\n | 'tablist'\n | 'timer'\n | 'toolbar',\n >),\n\n /**\n * Indicates to accessibility services that UI Component is in a specific State.\n */\n accessibilityStates: (PropTypes.arrayOf(\n PropTypes.oneOf(DeprecatedAccessibilityStates),\n ): React$PropType$Primitive<\n Array<\n | 'selected'\n | 'disabled'\n | 'checked'\n | 'unchecked'\n | 'busy'\n | 'expanded'\n | 'collapsed'\n | 'hasPopup',\n >,\n >),\n accessibilityState: PropTypes.object,\n /**\n * Indicates to accessibility services whether the user should be notified\n * when this view changes. Works for Android API >= 19 only.\n *\n * @platform android\n *\n * See http://facebook.github.io/react-native/docs/view.html#accessibilityliveregion\n */\n accessibilityLiveRegion: (PropTypes.oneOf([\n 'none',\n 'polite',\n 'assertive',\n ]): React$PropType$Primitive<'none' | 'polite' | 'assertive'>),\n\n /**\n * Controls how view is important for accessibility which is if it\n * fires accessibility events and if it is reported to accessibility services\n * that query the screen. Works for Android only.\n *\n * @platform android\n *\n * See http://facebook.github.io/react-native/docs/view.html#importantforaccessibility\n */\n importantForAccessibility: (PropTypes.oneOf([\n 'auto',\n 'yes',\n 'no',\n 'no-hide-descendants',\n ]): React$PropType$Primitive<'auto' | 'yes' | 'no' | 'no-hide-descendants'>),\n\n /**\n * A value indicating whether VoiceOver should ignore the elements\n * within views that are siblings of the receiver.\n * Default is `false`.\n *\n * @platform ios\n *\n * See http://facebook.github.io/react-native/docs/view.html#accessibilityviewismodal\n */\n accessibilityViewIsModal: PropTypes.bool,\n\n /**\n * A value indicating whether the accessibility elements contained within\n * this accessibility element are hidden.\n *\n * @platform ios\n *\n * See http://facebook.github.io/react-native/docs/view.html#accessibilityElementsHidden\n */\n accessibilityElementsHidden: PropTypes.bool,\n\n /**\n * When `accessible` is true, the system will try to invoke this function\n * when the user performs an accessibility custom action.\n *\n * @platform ios\n */\n onAccessibilityAction: PropTypes.func,\n\n /**\n * When `accessible` is true, the system will try to invoke this function\n * when the user performs accessibility tap gesture.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onaccessibilitytap\n */\n onAccessibilityTap: PropTypes.func,\n\n /**\n * When `accessible` is `true`, the system will invoke this function when the\n * user performs the magic tap gesture.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onmagictap\n */\n onMagicTap: PropTypes.func,\n\n /**\n * Used to locate this view in end-to-end tests.\n *\n * > This disables the 'layout-only view removal' optimization for this view!\n *\n * See http://facebook.github.io/react-native/docs/view.html#testid\n */\n testID: PropTypes.string,\n\n /**\n * Used to locate this view from native classes.\n *\n * > This disables the 'layout-only view removal' optimization for this view!\n *\n * See http://facebook.github.io/react-native/docs/view.html#nativeid\n */\n nativeID: PropTypes.string,\n\n /**\n * For most touch interactions, you'll simply want to wrap your component in\n * `TouchableHighlight` or `TouchableOpacity`. Check out `Touchable.js`,\n * `ScrollResponder.js` and `ResponderEventPlugin.js` for more discussion.\n */\n\n /**\n * The View is now responding for touch events. This is the time to highlight\n * and show the user what is happening.\n *\n * `View.props.onResponderGrant: (event) => {}`, where `event` is a synthetic\n * touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onrespondergrant\n */\n onResponderGrant: PropTypes.func,\n\n /**\n * The user is moving their finger.\n *\n * `View.props.onResponderMove: (event) => {}`, where `event` is a synthetic\n * touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onrespondermove\n */\n onResponderMove: PropTypes.func,\n\n /**\n * Another responder is already active and will not release it to that `View`\n * asking to be the responder.\n *\n * `View.props.onResponderReject: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onresponderreject\n */\n onResponderReject: PropTypes.func,\n\n /**\n * Fired at the end of the touch.\n *\n * `View.props.onResponderRelease: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onresponderrelease\n */\n onResponderRelease: PropTypes.func,\n\n /**\n * The responder has been taken from the `View`. Might be taken by other\n * views after a call to `onResponderTerminationRequest`, or might be taken\n * by the OS without asking (e.g., happens with control center/ notification\n * center on iOS)\n *\n * `View.props.onResponderTerminate: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onresponderterminate\n */\n onResponderTerminate: PropTypes.func,\n\n /**\n * Some other `View` wants to become responder and is asking this `View` to\n * release its responder. Returning `true` allows its release.\n *\n * `View.props.onResponderTerminationRequest: (event) => {}`, where `event`\n * is a synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onresponderterminationrequest\n */\n onResponderTerminationRequest: PropTypes.func,\n\n /**\n * Does this view want to become responder on the start of a touch?\n *\n * `View.props.onStartShouldSetResponder: (event) => [true | false]`, where\n * `event` is a synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onstartshouldsetresponder\n */\n onStartShouldSetResponder: PropTypes.func,\n\n /**\n * If a parent `View` wants to prevent a child `View` from becoming responder\n * on a touch start, it should have this handler which returns `true`.\n *\n * `View.props.onStartShouldSetResponderCapture: (event) => [true | false]`,\n * where `event` is a synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onstartshouldsetrespondercapture\n */\n onStartShouldSetResponderCapture: PropTypes.func,\n\n /**\n * Does this view want to \"claim\" touch responsiveness? This is called for\n * every touch move on the `View` when it is not the responder.\n *\n * `View.props.onMoveShouldSetResponder: (event) => [true | false]`, where\n * `event` is a synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onmoveshouldsetresponder\n */\n onMoveShouldSetResponder: PropTypes.func,\n\n /**\n * If a parent `View` wants to prevent a child `View` from becoming responder\n * on a move, it should have this handler which returns `true`.\n *\n * `View.props.onMoveShouldSetResponderCapture: (event) => [true | false]`,\n * where `event` is a synthetic touch event as described above.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onMoveShouldsetrespondercapture\n */\n onMoveShouldSetResponderCapture: PropTypes.func,\n\n /**\n * This defines how far a touch event can start away from the view.\n * Typical interface guidelines recommend touch targets that are at least\n * 30 - 40 points/density-independent pixels.\n *\n * > The touch area never extends past the parent view bounds and the Z-index\n * > of sibling views always takes precedence if a touch hits two overlapping\n * > views.\n *\n * See http://facebook.github.io/react-native/docs/view.html#hitslop\n */\n hitSlop: DeprecatedEdgeInsetsPropType,\n\n /**\n * Invoked on mount and layout changes with:\n *\n * `{nativeEvent: { layout: {x, y, width, height}}}`\n *\n * This event is fired immediately once the layout has been calculated, but\n * the new layout may not yet be reflected on the screen at the time the\n * event is received, especially if a layout animation is in progress.\n *\n * See http://facebook.github.io/react-native/docs/view.html#onlayout\n */\n onLayout: PropTypes.func,\n\n /**\n * Controls whether the `View` can be the target of touch events.\n *\n * See http://facebook.github.io/react-native/docs/view.html#pointerevents\n */\n pointerEvents: (PropTypes.oneOf([\n 'box-none',\n 'none',\n 'box-only',\n 'auto',\n ]): React$PropType$Primitive<'box-none' | 'none' | 'box-only' | 'auto'>),\n\n /**\n * See http://facebook.github.io/react-native/docs/style.html\n */\n style: stylePropType,\n\n /**\n * This is a special performance property exposed by `RCTView` and is useful\n * for scrolling content when there are many subviews, most of which are\n * offscreen. For this property to be effective, it must be applied to a\n * view that contains many subviews that extend outside its bound. The\n * subviews must also have `overflow: hidden`, as should the containing view\n * (or one of its superviews).\n *\n * See http://facebook.github.io/react-native/docs/view.html#removeclippedsubviews\n */\n removeClippedSubviews: PropTypes.bool,\n\n /**\n * Whether this `View` should render itself (and all of its children) into a\n * single hardware texture on the GPU.\n *\n * @platform android\n *\n * See http://facebook.github.io/react-native/docs/view.html#rendertohardwaretextureandroid\n */\n renderToHardwareTextureAndroid: PropTypes.bool,\n\n /**\n * Whether this `View` should be rendered as a bitmap before compositing.\n *\n * @platform ios\n *\n * See http://facebook.github.io/react-native/docs/view.html#shouldrasterizeios\n */\n shouldRasterizeIOS: PropTypes.bool,\n\n /**\n * Views that are only used to layout their children or otherwise don't draw\n * anything may be automatically removed from the native hierarchy as an\n * optimization. Set this property to `false` to disable this optimization and\n * ensure that this `View` exists in the native view hierarchy.\n *\n * @platform android\n *\n * See http://facebook.github.io/react-native/docs/view.html#collapsable\n */\n collapsable: PropTypes.bool,\n\n /**\n * Whether this `View` needs to rendered offscreen and composited with an\n * alpha in order to preserve 100% correct colors and blending behavior.\n *\n * @platform android\n *\n * See http://facebook.github.io/react-native/docs/view.html#needsoffscreenalphacompositing\n */\n needsOffscreenAlphaCompositing: PropTypes.bool,\n\n /**\n * Any additional platform-specific view prop types, or prop type overrides.\n */\n ...PlatformViewPropTypes,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @providesModule PlatformViewPropTypes\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {TVViewProps} from '../AppleTV/TVViewPropTypes';\n\nexport type PlatformViewPropTypes = TVViewProps;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @typechecks\n */\n\n'use strict';\n\nconst mixInEventEmitter = require('../../emitter/mixInEventEmitter');\n\n/**\n * DocumentSelectionState is responsible for maintaining selection information\n * for a document.\n *\n * It is intended for use by AbstractTextEditor-based components for\n * identifying the appropriate start/end positions to modify the\n * DocumentContent, and for programmatically setting browser selection when\n * components re-render.\n */\nclass DocumentSelectionState {\n /**\n * @param {number} anchor\n * @param {number} focus\n */\n constructor(anchor, focus) {\n this._anchorOffset = anchor;\n this._focusOffset = focus;\n this._hasFocus = false;\n }\n\n /**\n * Apply an update to the state. If either offset value has changed,\n * set the values and emit the `change` event. Otherwise no-op.\n *\n * @param {number} anchor\n * @param {number} focus\n */\n update(anchor, focus) {\n if (this._anchorOffset !== anchor || this._focusOffset !== focus) {\n this._anchorOffset = anchor;\n this._focusOffset = focus;\n this.emit('update');\n }\n }\n\n /**\n * Given a max text length, constrain our selection offsets to ensure\n * that the selection remains strictly within the text range.\n *\n * @param {number} maxLength\n */\n constrainLength(maxLength) {\n this.update(\n Math.min(this._anchorOffset, maxLength),\n Math.min(this._focusOffset, maxLength),\n );\n }\n\n focus() {\n if (!this._hasFocus) {\n this._hasFocus = true;\n this.emit('focus');\n }\n }\n\n blur() {\n if (this._hasFocus) {\n this._hasFocus = false;\n this.emit('blur');\n }\n }\n\n /**\n * @return {boolean}\n */\n hasFocus() {\n return this._hasFocus;\n }\n\n /**\n * @return {boolean}\n */\n isCollapsed() {\n return this._anchorOffset === this._focusOffset;\n }\n\n /**\n * @return {boolean}\n */\n isBackward() {\n return this._anchorOffset > this._focusOffset;\n }\n\n /**\n * @return {?number}\n */\n getAnchorOffset() {\n return this._hasFocus ? this._anchorOffset : null;\n }\n\n /**\n * @return {?number}\n */\n getFocusOffset() {\n return this._hasFocus ? this._focusOffset : null;\n }\n\n /**\n * @return {?number}\n */\n getStartOffset() {\n return this._hasFocus\n ? Math.min(this._anchorOffset, this._focusOffset)\n : null;\n }\n\n /**\n * @return {?number}\n */\n getEndOffset() {\n return this._hasFocus\n ? Math.max(this._anchorOffset, this._focusOffset)\n : null;\n }\n\n /**\n * @param {number} start\n * @param {number} end\n * @return {boolean}\n */\n overlaps(start, end) {\n return (\n this.hasFocus() &&\n this.getStartOffset() <= end &&\n start <= this.getEndOffset()\n );\n }\n}\n\nmixInEventEmitter(DocumentSelectionState, {\n blur: true,\n focus: true,\n update: true,\n});\n\nmodule.exports = DocumentSelectionState;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EventEmitter = require('./EventEmitter');\nconst EventEmitterWithHolding = require('./EventEmitterWithHolding');\nconst EventHolder = require('./EventHolder');\n\nconst invariant = require('invariant');\nconst keyOf = require('fbjs/lib/keyOf');\n\nimport type EmitterSubscription from './EmitterSubscription';\n\nconst TYPES_KEY = keyOf({__types: true});\n\n/**\n * API to setup an object or constructor to be able to emit data events.\n *\n * @example\n * function Dog() { ...dog stuff... }\n * mixInEventEmitter(Dog, {bark: true});\n *\n * var puppy = new Dog();\n * puppy.addListener('bark', function (volume) {\n * console.log('Puppy', this, 'barked at volume:', volume);\n * });\n * puppy.emit('bark', 'quiet');\n * // Puppy barked at volume: quiet\n *\n *\n * // A \"singleton\" object may also be commissioned:\n *\n * var Singleton = {};\n * mixInEventEmitter(Singleton, {lonely: true});\n * Singleton.emit('lonely', true);\n */\nfunction mixInEventEmitter(cls: Function | Object, types: Object) {\n invariant(types, 'Must supply set of valid event types');\n\n // If this is a constructor, write to the prototype, otherwise write to the\n // singleton object.\n const target = cls.prototype || cls;\n\n invariant(!target.__eventEmitter, 'An active emitter is already mixed in');\n\n const ctor = cls.constructor;\n if (ctor) {\n invariant(\n ctor === Object || ctor === Function,\n 'Mix EventEmitter into a class, not an instance',\n );\n }\n\n // Keep track of the provided types, union the types if they already exist,\n // which allows for prototype subclasses to provide more types.\n if (target.hasOwnProperty(TYPES_KEY)) {\n Object.assign(target.__types, types);\n } else if (target.__types) {\n target.__types = Object.assign({}, target.__types, types);\n } else {\n target.__types = types;\n }\n Object.assign(target, EventEmitterMixin);\n}\n\nconst EventEmitterMixin = {\n emit: function(eventType, a, b, c, d, e, _) {\n return this.__getEventEmitter().emit(eventType, a, b, c, d, e, _);\n },\n\n emitAndHold: function(eventType, a, b, c, d, e, _) {\n return this.__getEventEmitter().emitAndHold(eventType, a, b, c, d, e, _);\n },\n\n addListener: function(eventType, listener, context): EmitterSubscription {\n return this.__getEventEmitter().addListener(eventType, listener, context);\n },\n\n once: function(eventType, listener, context) {\n return this.__getEventEmitter().once(eventType, listener, context);\n },\n\n addRetroactiveListener: function(eventType, listener, context) {\n return this.__getEventEmitter().addRetroactiveListener(\n eventType,\n listener,\n context,\n );\n },\n\n addListenerMap: function(listenerMap, context) {\n return this.__getEventEmitter().addListenerMap(listenerMap, context);\n },\n\n addRetroactiveListenerMap: function(listenerMap, context) {\n return this.__getEventEmitter().addListenerMap(listenerMap, context);\n },\n\n removeAllListeners: function() {\n this.__getEventEmitter().removeAllListeners();\n },\n\n removeCurrentListener: function() {\n this.__getEventEmitter().removeCurrentListener();\n },\n\n releaseHeldEventType: function(eventType) {\n this.__getEventEmitter().releaseHeldEventType(eventType);\n },\n\n __getEventEmitter: function() {\n if (!this.__eventEmitter) {\n let emitter = new EventEmitter();\n if (__DEV__) {\n const EventValidator = require('./EventValidator');\n emitter = EventValidator.addValidation(emitter, this.__types);\n }\n\n const holder = new EventHolder();\n this.__eventEmitter = new EventEmitterWithHolding(emitter, holder);\n }\n return this.__eventEmitter;\n },\n};\n\nmodule.exports = mixInEventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type EmitterSubscription from './EmitterSubscription';\nimport type EventEmitter from './EventEmitter';\nimport type EventHolder from './EventHolder';\n\n/**\n * @class EventEmitterWithHolding\n * @description\n * An EventEmitterWithHolding decorates an event emitter and enables one to\n * \"hold\" or cache events and then have a handler register later to actually\n * handle them.\n *\n * This is separated into its own decorator so that only those who want to use\n * the holding functionality have to and others can just use an emitter. Since\n * it implements the emitter interface it can also be combined with anything\n * that uses an emitter.\n */\nclass EventEmitterWithHolding {\n _emitter: EventEmitter;\n _eventHolder: EventHolder;\n _currentEventToken: ?Object;\n _emittingHeldEvents: boolean;\n\n /**\n * @constructor\n * @param {object} emitter - The object responsible for emitting the actual\n * events.\n * @param {object} holder - The event holder that is responsible for holding\n * and then emitting held events.\n */\n constructor(emitter: EventEmitter, holder: EventHolder) {\n this._emitter = emitter;\n this._eventHolder = holder;\n this._currentEventToken = null;\n this._emittingHeldEvents = false;\n }\n\n /**\n * @see EventEmitter#addListener\n */\n addListener(eventType: string, listener: Function, context: ?Object): any {\n return this._emitter.addListener(eventType, listener, context);\n }\n\n /**\n * @see EventEmitter#once\n */\n once(eventType: string, listener: Function, context: ?Object): any {\n return this._emitter.once(eventType, listener, context);\n }\n\n /**\n * Adds a listener to be invoked when events of the specified type are\n * emitted. An optional calling context may be provided. The data arguments\n * emitted will be passed to the listener function. In addition to subscribing\n * to all subsequent events, this method will also handle any events that have\n * already been emitted, held, and not released.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n *\n * @example\n * emitter.emitAndHold('someEvent', 'abc');\n *\n * emitter.addRetroactiveListener('someEvent', function(message) {\n * console.log(message);\n * }); // logs 'abc'\n */\n addRetroactiveListener(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n const subscription = this._emitter.addListener(\n eventType,\n listener,\n context,\n );\n\n this._emittingHeldEvents = true;\n this._eventHolder.emitToListener(eventType, listener, context);\n this._emittingHeldEvents = false;\n\n return subscription;\n }\n\n /**\n * @see EventEmitter#removeAllListeners\n */\n removeAllListeners(eventType: string) {\n this._emitter.removeAllListeners(eventType);\n }\n\n /**\n * @see EventEmitter#removeCurrentListener\n */\n removeCurrentListener() {\n this._emitter.removeCurrentListener();\n }\n\n /**\n * @see EventEmitter#listeners\n */\n listeners(eventType: string): any /* TODO: Annotate return type here */ {\n return this._emitter.listeners(eventType);\n }\n\n /**\n * @see EventEmitter#emit\n */\n emit(eventType: string, ...args: any) {\n this._emitter.emit(eventType, ...args);\n }\n\n /**\n * Emits an event of the given type with the given data, and holds that event\n * in order to be able to dispatch it to a later subscriber when they say they\n * want to handle held events.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {...*} Arbitrary arguments to be passed to each registered listener\n *\n * @example\n * emitter.emitAndHold('someEvent', 'abc');\n *\n * emitter.addRetroactiveListener('someEvent', function(message) {\n * console.log(message);\n * }); // logs 'abc'\n */\n emitAndHold(eventType: string, ...args: any) {\n this._currentEventToken = this._eventHolder.holdEvent(eventType, ...args);\n this._emitter.emit(eventType, ...args);\n this._currentEventToken = null;\n }\n\n /**\n * @see EventHolder#releaseCurrentEvent\n */\n releaseCurrentEvent() {\n if (this._currentEventToken) {\n this._eventHolder.releaseEvent(this._currentEventToken);\n } else if (this._emittingHeldEvents) {\n this._eventHolder.releaseCurrentEvent();\n }\n }\n\n /**\n * @see EventHolder#releaseEventType\n * @param {string} eventType\n */\n releaseHeldEventType(eventType: string) {\n this._eventHolder.releaseEventType(eventType);\n }\n}\n\nmodule.exports = EventEmitterWithHolding;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nclass EventHolder {\n _heldEvents: Object;\n _currentEventKey: ?Object;\n\n constructor() {\n this._heldEvents = {};\n this._currentEventKey = null;\n }\n\n /**\n * Holds a given event for processing later.\n *\n * TODO: Annotate return type better. The structural type of the return here\n * is pretty obvious.\n *\n * @param {string} eventType - Name of the event to hold and later emit\n * @param {...*} Arbitrary arguments to be passed to each registered listener\n * @return {object} Token that can be used to release the held event\n *\n * @example\n *\n * holder.holdEvent({someEvent: 'abc'});\n *\n * holder.emitToHandler({\n * someEvent: function(data, event) {\n * console.log(data);\n * }\n * }); //logs 'abc'\n *\n */\n holdEvent(\n eventType: string,\n ...args: any\n ): $TEMPORARY$object<{|eventType: string, index: $FlowFixMeEmpty|}> {\n this._heldEvents[eventType] = this._heldEvents[eventType] || [];\n const eventsOfType = this._heldEvents[eventType];\n const key = {\n eventType: eventType,\n index: eventsOfType.length,\n };\n eventsOfType.push(args);\n return key;\n }\n\n /**\n * Emits the held events of the specified type to the given listener.\n *\n * @param {?string} eventType - Optional name of the events to replay\n * @param {function} listener - The listener to which to dispatch the event\n * @param {?object} context - Optional context object to use when invoking\n * the listener\n */\n emitToListener(eventType: ?string, listener: Function, context: ?Object) {\n const eventsOfType = this._heldEvents[eventType];\n if (!eventsOfType) {\n return;\n }\n const origEventKey = this._currentEventKey;\n eventsOfType.forEach((/*?array*/ eventHeld, /*number*/ index) => {\n if (!eventHeld) {\n return;\n }\n this._currentEventKey = {\n eventType: eventType,\n index: index,\n };\n listener.apply(context, eventHeld);\n });\n this._currentEventKey = origEventKey;\n }\n\n /**\n * Provides an API that can be called during an eventing cycle to release\n * the last event that was invoked, so that it is no longer \"held\".\n *\n * If it is called when not inside of an emitting cycle it will throw.\n *\n * @throws {Error} When called not during an eventing cycle\n */\n releaseCurrentEvent() {\n invariant(\n this._currentEventKey !== null,\n 'Not in an emitting cycle; there is no current event',\n );\n this._currentEventKey && this.releaseEvent(this._currentEventKey);\n }\n\n /**\n * Releases the event corresponding to the handle that was returned when the\n * event was first held.\n *\n * @param {object} token - The token returned from holdEvent\n */\n releaseEvent(token: Object) {\n delete this._heldEvents[token.eventType][token.index];\n }\n\n /**\n * Releases all events of a certain type.\n *\n * @param {string} type\n */\n releaseEventType(type: string) {\n this._heldEvents[type] = [];\n }\n}\n\nmodule.exports = EventHolder;\n","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/**\n * Allows extraction of a minified key. Let's the build system minify keys\n * without losing the ability to dynamically use key strings as values\n * themselves. Pass in an object with a single key/val pair and it will return\n * you the string key of that single record. Suppose you want to grab the\n * value for a key 'className' inside of an object. Key/val minification may\n * have aliased that key to be 'xa12'. keyOf({className: null}) will return\n * 'xa12' in that case. Resolve keys you want to use once at startup time, then\n * reuse those resolutions.\n */\nvar keyOf = function keyOf(oneKeyObj) {\n var key;\n\n for (key in oneKeyObj) {\n if (!oneKeyObj.hasOwnProperty(key)) {\n continue;\n }\n\n return key;\n }\n\n return null;\n};\n\nmodule.exports = keyOf;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst DeprecatedColorPropType = require('../../DeprecatedPropTypes/DeprecatedColorPropType');\nconst DeprecatedViewPropTypes = require('../../DeprecatedPropTypes/DeprecatedViewPropTypes');\nconst NativeMethodsMixin = require('../../Renderer/shims/NativeMethodsMixin');\nconst Platform = require('../../Utilities/Platform');\nconst PropTypes = require('prop-types');\nconst React = require('react');\nconst ReactNativeViewAttributes = require('../View/ReactNativeViewAttributes');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst Touchable = require('./Touchable');\nconst TouchableWithoutFeedback = require('./TouchableWithoutFeedback');\nconst View = require('../View/View');\n\nconst createReactClass = require('create-react-class');\nconst ensurePositiveDelayProps = require('./ensurePositiveDelayProps');\n\nimport type {PressEvent} from '../../Types/CoreEventTypes';\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheetTypes';\nimport type {Props as TouchableWithoutFeedbackProps} from './TouchableWithoutFeedback';\nimport type {TVParallaxPropertiesType} from '../AppleTV/TVViewPropTypes';\n\nconst DEFAULT_PROPS = {\n activeOpacity: 0.85,\n delayPressOut: 100,\n underlayColor: 'black',\n};\n\nconst PRESS_RETENTION_OFFSET = {top: 20, left: 20, right: 20, bottom: 30};\n\ntype IOSProps = $ReadOnly<{|\n hasTVPreferredFocus?: ?boolean,\n tvParallaxProperties?: ?TVParallaxPropertiesType,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n nextFocusDown?: ?number,\n nextFocusForward?: ?number,\n nextFocusLeft?: ?number,\n nextFocusRight?: ?number,\n nextFocusUp?: ?number,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...TouchableWithoutFeedbackProps,\n ...IOSProps,\n ...AndroidProps,\n\n activeOpacity?: ?number,\n underlayColor?: ?ColorValue,\n style?: ?ViewStyleProp,\n onShowUnderlay?: ?() => void,\n onHideUnderlay?: ?() => void,\n testOnly_pressed?: ?boolean,\n|}>;\n\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, which allows\n * the underlay color to show through, darkening or tinting the view.\n *\n * The underlay comes from wrapping the child in a new View, which can affect\n * layout, and sometimes cause unwanted visual artifacts if not used correctly,\n * for example if the backgroundColor of the wrapped view isn't explicitly set\n * to an opaque color.\n *\n * TouchableHighlight must have one child (not zero or more than one).\n * If you wish to have several child components, wrap them in a View.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * \n * \n * \n * );\n * },\n * ```\n *\n *\n * ### Example\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react'\n * import {\n * AppRegistry,\n * StyleSheet,\n * TouchableHighlight,\n * Text,\n * View,\n * } from 'react-native'\n *\n * class App extends Component {\n * constructor(props) {\n * super(props)\n * this.state = { count: 0 }\n * }\n *\n * onPress = () => {\n * this.setState({\n * count: this.state.count+1\n * })\n * }\n *\n * render() {\n * return (\n * \n * \n * Touch Here \n * \n * \n * \n * { this.state.count !== 0 ? this.state.count: null}\n * \n * \n * \n * )\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * justifyContent: 'center',\n * paddingHorizontal: 10\n * },\n * button: {\n * alignItems: 'center',\n * backgroundColor: '#DDDDDD',\n * padding: 10\n * },\n * countContainer: {\n * alignItems: 'center',\n * padding: 10\n * },\n * countText: {\n * color: '#FF00FF'\n * }\n * })\n *\n * AppRegistry.registerComponent('App', () => App)\n * ```\n *\n */\n\nconst TouchableHighlight = ((createReactClass({\n displayName: 'TouchableHighlight',\n propTypes: {\n /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.89 was deployed. To see the error, delete this\n * comment and run Flow. */\n ...TouchableWithoutFeedback.propTypes,\n /**\n * Determines what the opacity of the wrapped view should be when touch is\n * active.\n */\n activeOpacity: PropTypes.number,\n /**\n * The color of the underlay that will show through when the touch is\n * active.\n */\n underlayColor: DeprecatedColorPropType,\n /**\n * Style to apply to the container/underlay. Most commonly used to make sure\n * rounded corners match the wrapped component.\n */\n style: DeprecatedViewPropTypes.style,\n /**\n * Called immediately after the underlay is shown\n */\n onShowUnderlay: PropTypes.func,\n /**\n * Called immediately after the underlay is hidden\n */\n onHideUnderlay: PropTypes.func,\n /**\n * *(Apple TV only)* TV preferred focus (see documentation for the View component).\n *\n * @platform ios\n */\n hasTVPreferredFocus: PropTypes.bool,\n /**\n * TV next focus down (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusDown: PropTypes.number,\n /**\n * TV next focus forward (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusForward: PropTypes.number,\n /**\n * TV next focus left (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusLeft: PropTypes.number,\n /**\n * TV next focus right (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusRight: PropTypes.number,\n /**\n * TV next focus up (see documentation for the View component).\n *\n * @platform android\n */\n nextFocusUp: PropTypes.number,\n /**\n * *(Apple TV only)* Object with properties to control Apple TV parallax effects.\n *\n * enabled: If true, parallax effects are enabled. Defaults to true.\n * shiftDistanceX: Defaults to 2.0.\n * shiftDistanceY: Defaults to 2.0.\n * tiltAngle: Defaults to 0.05.\n * magnification: Defaults to 1.0.\n * pressMagnification: Defaults to 1.0.\n * pressDuration: Defaults to 0.3.\n * pressDelay: Defaults to 0.0.\n *\n * @platform ios\n */\n tvParallaxProperties: PropTypes.object,\n /**\n * Handy for snapshot tests.\n */\n testOnly_pressed: PropTypes.bool,\n },\n\n mixins: [NativeMethodsMixin, Touchable.Mixin.withoutDefaultFocusAndBlur],\n\n getDefaultProps: () => DEFAULT_PROPS,\n\n getInitialState: function() {\n this._isMounted = false;\n if (this.props.testOnly_pressed) {\n return {\n ...this.touchableGetInitialState(),\n extraChildStyle: {\n opacity: this.props.activeOpacity,\n },\n extraUnderlayStyle: {\n backgroundColor: this.props.underlayColor,\n },\n };\n } else {\n return {\n ...this.touchableGetInitialState(),\n extraChildStyle: null,\n extraUnderlayStyle: null,\n };\n }\n },\n\n componentDidMount: function() {\n this._isMounted = true;\n ensurePositiveDelayProps(this.props);\n },\n\n componentWillUnmount: function() {\n this._isMounted = false;\n clearTimeout(this._hideTimeout);\n },\n\n UNSAFE_componentWillReceiveProps: function(nextProps) {\n ensurePositiveDelayProps(nextProps);\n },\n\n viewConfig: {\n uiViewClassName: 'RCTView',\n validAttributes: ReactNativeViewAttributes.RCTView,\n },\n\n /**\n * `Touchable.Mixin` self callbacks. The mixin will invoke these if they are\n * defined on your component.\n */\n touchableHandleActivePressIn: function(e: PressEvent) {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n this._showUnderlay();\n this.props.onPressIn && this.props.onPressIn(e);\n },\n\n touchableHandleActivePressOut: function(e: PressEvent) {\n if (!this._hideTimeout) {\n this._hideUnderlay();\n }\n this.props.onPressOut && this.props.onPressOut(e);\n },\n\n touchableHandleFocus: function(e: Event) {\n if (Platform.isTV) {\n this._showUnderlay();\n }\n this.props.onFocus && this.props.onFocus(e);\n },\n\n touchableHandleBlur: function(e: Event) {\n if (Platform.isTV) {\n this._hideUnderlay();\n }\n this.props.onBlur && this.props.onBlur(e);\n },\n\n touchableHandlePress: function(e: PressEvent) {\n clearTimeout(this._hideTimeout);\n if (!Platform.isTV) {\n this._showUnderlay();\n this._hideTimeout = setTimeout(\n this._hideUnderlay,\n this.props.delayPressOut,\n );\n }\n this.props.onPress && this.props.onPress(e);\n },\n\n touchableHandleLongPress: function(e: PressEvent) {\n this.props.onLongPress && this.props.onLongPress(e);\n },\n\n touchableGetPressRectOffset: function() {\n return this.props.pressRetentionOffset || PRESS_RETENTION_OFFSET;\n },\n\n touchableGetHitSlop: function() {\n return this.props.hitSlop;\n },\n\n touchableGetHighlightDelayMS: function() {\n return this.props.delayPressIn;\n },\n\n touchableGetLongPressDelayMS: function() {\n return this.props.delayLongPress;\n },\n\n touchableGetPressOutDelayMS: function() {\n return this.props.delayPressOut;\n },\n\n _showUnderlay: function() {\n if (!this._isMounted || !this._hasPressHandler()) {\n return;\n }\n this.setState({\n extraChildStyle: {\n opacity: this.props.activeOpacity,\n },\n extraUnderlayStyle: {\n backgroundColor: this.props.underlayColor,\n },\n });\n this.props.onShowUnderlay && this.props.onShowUnderlay();\n },\n\n _hideUnderlay: function() {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n if (this.props.testOnly_pressed) {\n return;\n }\n if (this._hasPressHandler()) {\n this.setState({\n extraChildStyle: null,\n extraUnderlayStyle: null,\n });\n this.props.onHideUnderlay && this.props.onHideUnderlay();\n }\n },\n\n _hasPressHandler: function() {\n return !!(\n this.props.onPress ||\n this.props.onPressIn ||\n this.props.onPressOut ||\n this.props.onLongPress\n );\n },\n\n render: function() {\n const child = React.Children.only(this.props.children);\n return (\n \n {React.cloneElement(child, {\n style: StyleSheet.compose(\n child.props.style,\n this.state.extraChildStyle,\n ),\n })}\n {Touchable.renderDebugView({\n color: 'green',\n hitSlop: this.props.hitSlop,\n })}\n \n );\n },\n}): any): React.ComponentType);\n\nmodule.exports = TouchableHighlight;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nimport RCTActionSheetManager from './NativeActionSheetManager';\n\nconst invariant = require('invariant');\nconst processColor = require('../StyleSheet/processColor');\n\n/**\n * Display action sheets and share sheets on iOS.\n *\n * See http://facebook.github.io/react-native/docs/actionsheetios.html\n */\nconst ActionSheetIOS = {\n /**\n * Display an iOS action sheet.\n *\n * The `options` object must contain one or more of:\n *\n * - `options` (array of strings) - a list of button titles (required)\n * - `cancelButtonIndex` (int) - index of cancel button in `options`\n * - `destructiveButtonIndex` (int or array of ints) - index or indices of destructive buttons in `options`\n * - `title` (string) - a title to show above the action sheet\n * - `message` (string) - a message to show below the title\n *\n * The 'callback' function takes one parameter, the zero-based index\n * of the selected item.\n *\n * See http://facebook.github.io/react-native/docs/actionsheetios.html#showactionsheetwithoptions\n */\n showActionSheetWithOptions(\n options: {|\n +title?: ?string,\n +message?: ?string,\n +options: Array,\n +destructiveButtonIndex?: ?number,\n +cancelButtonIndex?: ?number,\n +anchor?: ?number,\n +tintColor?: number | string,\n |},\n callback: (buttonIndex: number) => void,\n ) {\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n invariant(typeof callback === 'function', 'Must provide a valid callback');\n invariant(RCTActionSheetManager, \"ActionSheetManager does't exist\");\n\n const {tintColor, ...remainingOptions} = options;\n\n RCTActionSheetManager.showActionSheetWithOptions(\n {...remainingOptions, tintColor: processColor(tintColor)},\n callback,\n );\n },\n\n /**\n * Display the iOS share sheet. The `options` object should contain\n * one or both of `message` and `url` and can additionally have\n * a `subject` or `excludedActivityTypes`:\n *\n * - `url` (string) - a URL to share\n * - `message` (string) - a message to share\n * - `subject` (string) - a subject for the message\n * - `excludedActivityTypes` (array) - the activities to exclude from\n * the ActionSheet\n * - `tintColor` (color) - tint color of the buttons\n *\n * The 'failureCallback' function takes one parameter, an error object.\n * The only property defined on this object is an optional `stack` property\n * of type `string`.\n *\n * The 'successCallback' function takes two parameters:\n *\n * - a boolean value signifying success or failure\n * - a string that, in the case of success, indicates the method of sharing\n *\n * See http://facebook.github.io/react-native/docs/actionsheetios.html#showshareactionsheetwithoptions\n */\n showShareActionSheetWithOptions(\n options: Object,\n failureCallback: Function,\n successCallback: Function,\n ) {\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n invariant(\n typeof failureCallback === 'function',\n 'Must provide a valid failureCallback',\n );\n invariant(\n typeof successCallback === 'function',\n 'Must provide a valid successCallback',\n );\n invariant(RCTActionSheetManager, \"ActionSheetManager does't exist\");\n RCTActionSheetManager.showShareActionSheetWithOptions(\n {...options, tintColor: processColor(options.tintColor)},\n failureCallback,\n successCallback,\n );\n },\n};\n\nmodule.exports = ActionSheetIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +showActionSheetWithOptions: (\n options: {|\n +title?: ?string,\n +message?: ?string,\n +options: ?Array,\n // Supports Array as well.\n +destructiveButtonIndex?: ?number,\n +cancelButtonIndex?: ?number,\n +anchor?: ?number,\n +tintColor?: ?number,\n |},\n callback: (buttonIndex: number) => void,\n ) => void;\n +showShareActionSheetWithOptions: (\n options: {|\n +message?: ?string,\n +url?: ?string,\n +subject?: ?string,\n +anchor?: ?number,\n +tintColor?: ?number,\n +excludedActivityTypes?: ?Array,\n |},\n failureCallback: (error: {|\n +domain: string,\n +code: string,\n +userInfo?: ?Object,\n +message: string,\n |}) => void,\n successCallback: (completed: boolean, activityType: ?string) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('ActionSheetManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\nconst BugReporting = require('../BugReporting/BugReporting');\nconst ReactNative = require('../Renderer/shims/ReactNative');\nconst SceneTracker = require('../Utilities/SceneTracker');\n\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\nconst renderApplication = require('./renderApplication');\nconst createPerformanceLogger = require('../Utilities/createPerformanceLogger');\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\n\nimport NativeHeadlessJsTaskSupport from './NativeHeadlessJsTaskSupport';\nimport HeadlessJsTaskError from './HeadlessJsTaskError';\n\ntype Task = (taskData: any) => Promise;\ntype TaskProvider = () => Task;\ntype TaskCanceller = () => void;\ntype TaskCancelProvider = () => TaskCanceller;\n\nexport type ComponentProvider = () => React$ComponentType;\nexport type ComponentProviderInstrumentationHook = (\n component: ComponentProvider,\n scopedPerformanceLogger: IPerformanceLogger,\n) => React$ComponentType;\nexport type AppConfig = {\n appKey: string,\n component?: ComponentProvider,\n run?: Function,\n section?: boolean,\n};\nexport type Runnable = {\n component?: ComponentProvider,\n run: Function,\n};\nexport type Runnables = {\n [appKey: string]: Runnable,\n};\nexport type Registry = {\n sections: Array,\n runnables: Runnables,\n};\nexport type WrapperComponentProvider = any => React$ComponentType<*>;\n\nconst runnables: Runnables = {};\nlet runCount = 1;\nconst sections: Runnables = {};\nconst taskProviders: Map = new Map();\nconst taskCancelProviders: Map = new Map();\nlet componentProviderInstrumentationHook: ComponentProviderInstrumentationHook = (\n component: ComponentProvider,\n) => component();\n\nlet wrapperComponentProvider: ?WrapperComponentProvider;\nlet showFabricIndicator = false;\n\n/**\n * `AppRegistry` is the JavaScript entry point to running all React Native apps.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html\n */\nconst AppRegistry = {\n setWrapperComponentProvider(provider: WrapperComponentProvider) {\n wrapperComponentProvider = provider;\n },\n\n enableFabricIndicator(enabled: boolean): void {\n showFabricIndicator = enabled;\n },\n\n registerConfig(config: Array): void {\n config.forEach(appConfig => {\n if (appConfig.run) {\n AppRegistry.registerRunnable(appConfig.appKey, appConfig.run);\n } else {\n invariant(\n appConfig.component != null,\n 'AppRegistry.registerConfig(...): Every config is expected to set ' +\n 'either `run` or `component`, but `%s` has neither.',\n appConfig.appKey,\n );\n AppRegistry.registerComponent(\n appConfig.appKey,\n appConfig.component,\n appConfig.section,\n );\n }\n });\n },\n\n /**\n * Registers an app's root component.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html#registercomponent\n */\n registerComponent(\n appKey: string,\n componentProvider: ComponentProvider,\n section?: boolean,\n ): string {\n let scopedPerformanceLogger = createPerformanceLogger();\n runnables[appKey] = {\n componentProvider,\n run: appParameters => {\n renderApplication(\n componentProviderInstrumentationHook(\n componentProvider,\n scopedPerformanceLogger,\n ),\n appParameters.initialProps,\n appParameters.rootTag,\n wrapperComponentProvider && wrapperComponentProvider(appParameters),\n appParameters.fabric,\n showFabricIndicator,\n scopedPerformanceLogger,\n );\n },\n };\n if (section) {\n sections[appKey] = runnables[appKey];\n }\n return appKey;\n },\n\n registerRunnable(appKey: string, run: Function): string {\n runnables[appKey] = {run};\n return appKey;\n },\n\n registerSection(appKey: string, component: ComponentProvider): void {\n AppRegistry.registerComponent(appKey, component, true);\n },\n\n getAppKeys(): Array {\n return Object.keys(runnables);\n },\n\n getSectionKeys(): Array {\n return Object.keys(sections);\n },\n\n getSections(): Runnables {\n return {\n ...sections,\n };\n },\n\n getRunnable(appKey: string): ?Runnable {\n return runnables[appKey];\n },\n\n getRegistry(): Registry {\n return {\n sections: AppRegistry.getSectionKeys(),\n runnables: {...runnables},\n };\n },\n\n setComponentProviderInstrumentationHook(\n hook: ComponentProviderInstrumentationHook,\n ) {\n componentProviderInstrumentationHook = hook;\n },\n\n /**\n * Loads the JavaScript bundle and runs the app.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html#runapplication\n */\n runApplication(appKey: string, appParameters: any): void {\n const msg =\n 'Running \"' + appKey + '\" with ' + JSON.stringify(appParameters);\n infoLog(msg);\n BugReporting.addSource(\n 'AppRegistry.runApplication' + runCount++,\n () => msg,\n );\n invariant(\n runnables[appKey] && runnables[appKey].run,\n `\"${appKey}\" has not been registered. This can happen if:\\n` +\n '* Metro (the local dev server) is run from the wrong folder. ' +\n 'Check if Metro is running, stop it and restart it in the current project.\\n' +\n \"* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.\",\n );\n\n SceneTracker.setActiveScene({name: appKey});\n runnables[appKey].run(appParameters);\n },\n\n /**\n * Stops an application when a view should be destroyed.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html#unmountapplicationcomponentatroottag\n */\n unmountApplicationComponentAtRootTag(rootTag: number): void {\n ReactNative.unmountComponentAtNodeAndRemoveContainer(rootTag);\n },\n\n /**\n * Register a headless task. A headless task is a bit of code that runs without a UI.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html#registerheadlesstask\n */\n registerHeadlessTask(taskKey: string, taskProvider: TaskProvider): void {\n this.registerCancellableHeadlessTask(taskKey, taskProvider, () => () => {\n /* Cancel is no-op */\n });\n },\n\n /**\n * Register a cancellable headless task. A headless task is a bit of code that runs without a UI.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html#registercancellableheadlesstask\n */\n registerCancellableHeadlessTask(\n taskKey: string,\n taskProvider: TaskProvider,\n taskCancelProvider: TaskCancelProvider,\n ): void {\n if (taskProviders.has(taskKey)) {\n console.warn(\n `registerHeadlessTask or registerCancellableHeadlessTask called multiple times for same key '${taskKey}'`,\n );\n }\n taskProviders.set(taskKey, taskProvider);\n taskCancelProviders.set(taskKey, taskCancelProvider);\n },\n\n /**\n * Only called from native code. Starts a headless task.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html#startheadlesstask\n */\n startHeadlessTask(taskId: number, taskKey: string, data: any): void {\n const taskProvider = taskProviders.get(taskKey);\n if (!taskProvider) {\n console.warn(`No task registered for key ${taskKey}`);\n if (NativeHeadlessJsTaskSupport) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n return;\n }\n taskProvider()(data)\n .then(() => {\n if (NativeHeadlessJsTaskSupport) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n })\n .catch(reason => {\n console.error(reason);\n\n if (\n NativeHeadlessJsTaskSupport &&\n reason instanceof HeadlessJsTaskError\n ) {\n NativeHeadlessJsTaskSupport.notifyTaskRetry(taskId).then(\n retryPosted => {\n if (!retryPosted) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n },\n );\n }\n });\n },\n\n /**\n * Only called from native code. Cancels a headless task.\n *\n * See http://facebook.github.io/react-native/docs/appregistry.html#cancelheadlesstask\n */\n cancelHeadlessTask(taskId: number, taskKey: string): void {\n const taskCancelProvider = taskCancelProviders.get(taskKey);\n if (!taskCancelProvider) {\n throw new Error(`No task canceller registered for key '${taskKey}'`);\n }\n taskCancelProvider()();\n },\n};\n\nBatchedBridge.registerCallableModule('AppRegistry', AppRegistry);\n\nmodule.exports = AppRegistry;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +notifyTaskFinished: (taskId: number) => void;\n +notifyTaskRetry: (taskId: number) => Promise;\n}\n\nexport default (TurboModuleRegistry.get('HeadlessJsTaskSupport'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nexport default class HeadlessJsTaskError extends Error {}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst RCTDeviceEventEmitter = require('../EventEmitter/RCTDeviceEventEmitter');\nconst infoLog = require('../Utilities/infoLog');\n\nimport type EmitterSubscription from '../vendor/emitter/EmitterSubscription';\nimport NativeBugReporting from './NativeBugReporting';\nimport NativeRedBox from '../NativeModules/specs/NativeRedBox';\n\ntype ExtraData = {[key: string]: string};\ntype SourceCallback = () => string;\ntype DebugData = {extras: ExtraData, files: ExtraData};\n\nfunction defaultExtras() {\n BugReporting.addFileSource('react_hierarchy.txt', () =>\n require('./dumpReactTree')(),\n );\n}\n\n/**\n * A simple class for collecting bug report data. Components can add sources that will be queried when a bug report\n * is created via `collectExtraData`. For example, a list component might add a source that provides the list of rows\n * that are currently visible on screen. Components should also remember to call `remove()` on the object that is\n * returned by `addSource` when they are unmounted.\n */\nclass BugReporting {\n static _extraSources: Map = new Map();\n static _fileSources: Map = new Map();\n static _subscription: ?EmitterSubscription = null;\n static _redboxSubscription: ?EmitterSubscription = null;\n\n static _maybeInit() {\n if (!BugReporting._subscription) {\n BugReporting._subscription = RCTDeviceEventEmitter.addListener(\n 'collectBugExtraData',\n BugReporting.collectExtraData,\n null,\n );\n defaultExtras();\n }\n\n if (!BugReporting._redboxSubscription) {\n BugReporting._redboxSubscription = RCTDeviceEventEmitter.addListener(\n 'collectRedBoxExtraData',\n BugReporting.collectExtraData,\n null,\n );\n }\n }\n\n /**\n * Maps a string key to a simple callback that should return a string payload to be attached\n * to a bug report. Source callbacks are called when `collectExtraData` is called.\n *\n * Returns an object to remove the source when the component unmounts.\n *\n * Conflicts trample with a warning.\n */\n static addSource(\n key: string,\n callback: SourceCallback,\n ): {remove: () => void} {\n return this._addSource(key, callback, BugReporting._extraSources);\n }\n\n /**\n * Maps a string key to a simple callback that should return a string payload to be attached\n * to a bug report. Source callbacks are called when `collectExtraData` is called.\n *\n * Returns an object to remove the source when the component unmounts.\n *\n * Conflicts trample with a warning.\n */\n static addFileSource(\n key: string,\n callback: SourceCallback,\n ): {remove: () => void} {\n return this._addSource(key, callback, BugReporting._fileSources);\n }\n\n static _addSource(\n key: string,\n callback: SourceCallback,\n source: Map,\n ): {remove: () => void} {\n BugReporting._maybeInit();\n if (source.has(key)) {\n console.warn(\n `BugReporting.add* called multiple times for same key '${key}'`,\n );\n }\n source.set(key, callback);\n return {\n remove: () => {\n source.delete(key);\n },\n };\n }\n\n /**\n * This can be called from a native bug reporting flow, or from JS code.\n *\n * If available, this will call `NativeModules.BugReporting.setExtraData(extraData)`\n * after collecting `extraData`.\n */\n static collectExtraData(): DebugData {\n const extraData: ExtraData = {};\n for (const [key, callback] of BugReporting._extraSources) {\n extraData[key] = callback();\n }\n const fileData: ExtraData = {};\n for (const [key, callback] of BugReporting._fileSources) {\n fileData[key] = callback();\n }\n infoLog('BugReporting extraData:', extraData);\n\n if (NativeBugReporting != null && NativeBugReporting.setExtraData != null) {\n NativeBugReporting.setExtraData(extraData, fileData);\n }\n\n if (NativeRedBox != null && NativeRedBox.setExtraData != null) {\n NativeRedBox.setExtraData(extraData, 'From BugReporting.js');\n }\n\n return {extras: extraData, files: fileData};\n }\n}\n\nmodule.exports = BugReporting;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nexport interface Spec extends TurboModule {\n +startReportAProblemFlow: () => void;\n +setExtraData: (extraData: Object, extraFiles: Object) => void;\n +setCategoryID: (categoryID: string) => void;\n}\n\nexport default TurboModuleRegistry.get('BugReporting');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +setExtraData: (extraData: Object, identifier: string) => void;\n +dismiss: () => void;\n}\n\nexport default (TurboModuleRegistry.get('RedBox'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/*\nconst getReactData = require('getReactData');\n\nconst INDENTATION_SIZE = 2;\nconst MAX_DEPTH = 2;\nconst MAX_STRING_LENGTH = 50;\n*/\n\n/**\n * Dump all React Native root views and their content. This function tries\n * it best to get the content but ultimately relies on implementation details\n * of React and will fail in future versions.\n */\nfunction dumpReactTree(): string {\n try {\n return getReactTree();\n } catch (e) {\n return 'Failed to dump react tree: ' + e;\n }\n}\n\nfunction getReactTree() {\n // TODO(sema): Reenable tree dumps using the Fiber tree structure. #15945684\n return (\n 'React tree dumps have been temporarily disabled while React is ' +\n 'upgraded to Fiber.'\n );\n /*\n let output = '';\n const rootIds = Object.getOwnPropertyNames(ReactNativeMount._instancesByContainerID);\n for (const rootId of rootIds) {\n const instance = ReactNativeMount._instancesByContainerID[rootId];\n output += `============ Root ID: ${rootId} ============\\n`;\n output += dumpNode(instance, 0);\n output += `============ End root ID: ${rootId} ============\\n`;\n }\n return output;\n*/\n}\n\n/*\nfunction dumpNode(node: Object, indentation: number) {\n const data = getReactData(node);\n if (data.nodeType === 'Text') {\n return indent(indentation) + data.text + '\\n';\n } else if (data.nodeType === 'Empty') {\n return '';\n }\n let output = indent(indentation) + `<${data.name}`;\n if (data.nodeType === 'Composite') {\n for (const propName of Object.getOwnPropertyNames(data.props || {})) {\n if (isNormalProp(propName)) {\n try {\n const value = convertValue(data.props[propName]);\n if (value) {\n output += ` ${propName}=${value}`;\n }\n } catch (e) {\n const message = `[Failed to get property: ${e}]`;\n output += ` ${propName}=${message}`;\n }\n }\n }\n }\n let childOutput = '';\n for (const child of data.children || []) {\n childOutput += dumpNode(child, indentation + 1);\n }\n\n if (childOutput) {\n output += '>\\n' + childOutput + indent(indentation) + `\\n`;\n } else {\n output += ' />\\n';\n }\n\n return output;\n}\n\nfunction isNormalProp(name: string): boolean {\n switch (name) {\n case 'children':\n case 'key':\n case 'ref':\n return false;\n default:\n return true;\n }\n}\n\nfunction convertObject(object: Object, depth: number) {\n if (depth >= MAX_DEPTH) {\n return '[...omitted]';\n }\n let output = '{';\n let first = true;\n for (const key of Object.getOwnPropertyNames(object)) {\n if (!first) {\n output += ', ';\n }\n output += `${key}: ${convertValue(object[key], depth + 1)}`;\n first = false;\n }\n return output + '}';\n}\n\nfunction convertValue(value, depth = 0): ?string {\n if (!value) {\n return null;\n }\n\n switch (typeof value) {\n case 'string':\n return JSON.stringify(possiblyEllipsis(value).replace('\\n', '\\\\n'));\n case 'boolean':\n case 'number':\n return JSON.stringify(value);\n case 'function':\n return '[function]';\n case 'object':\n return convertObject(value, depth);\n default:\n return null;\n }\n}\n\nfunction possiblyEllipsis(value: string) {\n if (value.length > MAX_STRING_LENGTH) {\n return value.slice(0, MAX_STRING_LENGTH) + '...';\n } else {\n return value;\n }\n}\n\nfunction indent(size: number) {\n return ' '.repeat(size * INDENTATION_SIZE);\n}\n*/\n\nmodule.exports = dumpReactTree;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype Scene = {name: string};\n\nlet _listeners: Array<(scene: Scene) => void> = [];\n\nlet _activeScene = {name: 'default'};\n\nconst SceneTracker = {\n setActiveScene(scene: Scene) {\n _activeScene = scene;\n _listeners.forEach(listener => listener(_activeScene));\n },\n\n getActiveScene(): Scene {\n return _activeScene;\n },\n\n addActiveSceneChangedListener(\n callback: (scene: Scene) => void,\n ): {remove: () => void} {\n _listeners.push(callback);\n return {\n remove: () => {\n _listeners = _listeners.filter(listener => callback !== listener);\n },\n };\n },\n};\n\nmodule.exports = SceneTracker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst AppContainer = require('./AppContainer');\nimport GlobalPerformanceLogger from '../Utilities/GlobalPerformanceLogger';\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\nimport PerformanceLoggerContext from '../Utilities/PerformanceLoggerContext';\nconst React = require('react');\nconst ReactFabricIndicator = require('./ReactFabricIndicator');\n\nconst invariant = require('invariant');\n\n// require BackHandler so it sets the default handler that exits the app if no listeners respond\nrequire('../Utilities/BackHandler');\n\nfunction renderApplication(\n RootComponent: React.ComponentType,\n initialProps: Props,\n rootTag: any,\n WrapperComponent?: ?React.ComponentType<*>,\n fabric?: boolean,\n showFabricIndicator?: boolean,\n scopedPerformanceLogger?: IPerformanceLogger,\n) {\n invariant(rootTag, 'Expect to have a valid rootTag, instead got ', rootTag);\n\n const renderable = (\n \n \n \n {fabric === true && showFabricIndicator === true ? (\n \n ) : null}\n \n \n );\n\n GlobalPerformanceLogger.startTimespan('renderApplication_React_render');\n if (fabric) {\n require('../Renderer/shims/ReactFabric').render(renderable, rootTag);\n } else {\n require('../Renderer/shims/ReactNative').render(renderable, rootTag);\n }\n GlobalPerformanceLogger.stopTimespan('renderApplication_React_render');\n}\n\nmodule.exports = renderApplication;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport * as React from 'react';\nimport GlobalPerformanceLogger from './GlobalPerformanceLogger';\nimport type {IPerformanceLogger} from './createPerformanceLogger';\n\n/**\n * This is a React Context that provides a scoped instance of IPerformanceLogger.\n * We wrap every with a Provider for this context so the logger\n * should be available in every component.\n * See React docs about using Context: https://reactjs.org/docs/context.html\n */\nconst PerformanceLoggerContext: React.Context = React.createContext(\n GlobalPerformanceLogger,\n);\nmodule.exports = PerformanceLoggerContext;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst React = require('react');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst Text = require('../Text/Text');\nconst View = require('../Components/View/View');\n\nfunction ReactFabricIndicator(): React.Node {\n return (\n \n FABRIC\n \n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'rgba(0,0,0, 0.25)',\n position: 'absolute',\n top: 0,\n right: 0,\n padding: 2,\n },\n text: {\n fontSize: 6,\n color: '#ffffff',\n },\n});\n\nmodule.exports = ReactFabricIndicator;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * On Apple TV, this implements back navigation using the TV remote's menu button.\n * On iOS, this just implements a stub.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst Platform = require('./Platform');\nconst TVEventHandler = require('../Components/AppleTV/TVEventHandler');\n\ntype BackPressEventName = 'backPress' | 'hardwareBackPress';\n\nfunction emptyFunction(): void {}\n\n/**\n * Detect hardware button presses for back navigation.\n *\n * Android: Detect hardware back button presses, and programmatically invoke the default back button\n * functionality to exit the app if there are no listeners or if none of the listeners return true.\n *\n * tvOS: Detect presses of the menu button on the TV remote. (Still to be implemented:\n * programmatically disable menu button handling\n * functionality to exit the app if there are no listeners or if none of the listeners return true.)\n *\n * iOS: Not applicable.\n *\n * The event subscriptions are called in reverse order (i.e. last registered subscription first),\n * and if one subscription returns true then subscriptions registered earlier will not be called.\n *\n * Example:\n *\n * ```javascript\n * BackHandler.addEventListener('hardwareBackPress', function() {\n * // this.onMainScreen and this.goBack are just examples, you need to use your own implementation here\n * // Typically you would use the navigator here to go to the last state.\n *\n * if (!this.onMainScreen()) {\n * this.goBack();\n * return true;\n * }\n * return false;\n * });\n * ```\n */\ntype TBackHandler = {|\n +exitApp: () => void,\n +addEventListener: (\n eventName: BackPressEventName,\n handler: Function,\n ) => {remove: () => void},\n +removeEventListener: (\n eventName: BackPressEventName,\n handler: Function,\n ) => void,\n|};\n\nlet BackHandler: TBackHandler;\n\nif (Platform.isTV) {\n const _tvEventHandler = new TVEventHandler();\n const _backPressSubscriptions = new Set();\n\n _tvEventHandler.enable(this, function(cmp, evt) {\n if (evt && evt.eventType === 'menu') {\n let invokeDefault = true;\n const subscriptions = Array.from(\n _backPressSubscriptions.values(),\n ).reverse();\n\n for (let i = 0; i < subscriptions.length; ++i) {\n if (subscriptions[i]()) {\n invokeDefault = false;\n break;\n }\n }\n\n if (invokeDefault) {\n BackHandler.exitApp();\n }\n }\n });\n\n BackHandler = {\n exitApp: emptyFunction,\n\n addEventListener: function(\n eventName: BackPressEventName,\n handler: Function,\n ): {remove: () => void} {\n _backPressSubscriptions.add(handler);\n return {\n remove: () => BackHandler.removeEventListener(eventName, handler),\n };\n },\n\n removeEventListener: function(\n eventName: BackPressEventName,\n handler: Function,\n ): void {\n _backPressSubscriptions.delete(handler);\n },\n };\n} else {\n BackHandler = {\n exitApp: emptyFunction,\n addEventListener(_eventName: BackPressEventName, _handler: Function) {\n return {\n remove: emptyFunction,\n };\n },\n removeEventListener(_eventName: BackPressEventName, _handler: Function) {},\n };\n}\n\nmodule.exports = BackHandler;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport {BatchedBridge} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';\n\n// TODO @sema: Adjust types\nimport type {ReactNativeType} from './ReactNativeTypes';\n\nlet ReactFabric;\n\nif (__DEV__) {\n ReactFabric = require('../implementations/ReactFabric-dev');\n} else {\n ReactFabric = require('../implementations/ReactFabric-prod');\n}\n\nBatchedBridge.registerCallableModule('ReactFabric', ReactFabric);\n\nmodule.exports = (ReactFabric: ReactNativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noflow\n * @providesModule ReactFabric-prod\n * @preventMunge\n * @generated\n */\n\n\"use strict\";\nrequire(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore\");\nvar ReactNativePrivateInterface = require(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInterface\"),\n React = require(\"react\"),\n Scheduler = require(\"scheduler\");\nfunction ReactError(error) {\n error.name = \"Invariant Violation\";\n return error;\n}\nvar eventPluginOrder = null,\n namesToPlugins = {};\nfunction recomputePluginOrdering() {\n if (eventPluginOrder)\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName],\n pluginIndex = eventPluginOrder.indexOf(pluginName);\n if (!(-1 < pluginIndex))\n throw ReactError(\n Error(\n \"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `\" +\n pluginName +\n \"`.\"\n )\n );\n if (!plugins[pluginIndex]) {\n if (!pluginModule.extractEvents)\n throw ReactError(\n Error(\n \"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `\" +\n pluginName +\n \"` does not.\"\n )\n );\n plugins[pluginIndex] = pluginModule;\n pluginIndex = pluginModule.eventTypes;\n for (var eventName in pluginIndex) {\n var JSCompiler_inline_result = void 0;\n var dispatchConfig = pluginIndex[eventName],\n pluginModule$jscomp$0 = pluginModule,\n eventName$jscomp$0 = eventName;\n if (eventNameDispatchConfigs.hasOwnProperty(eventName$jscomp$0))\n throw ReactError(\n Error(\n \"EventPluginHub: More than one plugin attempted to publish the same event name, `\" +\n eventName$jscomp$0 +\n \"`.\"\n )\n );\n eventNameDispatchConfigs[eventName$jscomp$0] = dispatchConfig;\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (JSCompiler_inline_result in phasedRegistrationNames)\n phasedRegistrationNames.hasOwnProperty(\n JSCompiler_inline_result\n ) &&\n publishRegistrationName(\n phasedRegistrationNames[JSCompiler_inline_result],\n pluginModule$jscomp$0,\n eventName$jscomp$0\n );\n JSCompiler_inline_result = !0;\n } else\n dispatchConfig.registrationName\n ? (publishRegistrationName(\n dispatchConfig.registrationName,\n pluginModule$jscomp$0,\n eventName$jscomp$0\n ),\n (JSCompiler_inline_result = !0))\n : (JSCompiler_inline_result = !1);\n if (!JSCompiler_inline_result)\n throw ReactError(\n Error(\n \"EventPluginRegistry: Failed to publish event `\" +\n eventName +\n \"` for plugin `\" +\n pluginName +\n \"`.\"\n )\n );\n }\n }\n }\n}\nfunction publishRegistrationName(registrationName, pluginModule) {\n if (registrationNameModules[registrationName])\n throw ReactError(\n Error(\n \"EventPluginHub: More than one plugin attempted to publish the same registration name, `\" +\n registrationName +\n \"`.\"\n )\n );\n registrationNameModules[registrationName] = pluginModule;\n}\nvar plugins = [],\n eventNameDispatchConfigs = {},\n registrationNameModules = {};\nfunction invokeGuardedCallbackImpl(name, func, context, a, b, c, d, e, f) {\n var funcArgs = Array.prototype.slice.call(arguments, 3);\n try {\n func.apply(context, funcArgs);\n } catch (error) {\n this.onError(error);\n }\n}\nvar hasError = !1,\n caughtError = null,\n hasRethrowError = !1,\n rethrowError = null,\n reporter = {\n onError: function(error) {\n hasError = !0;\n caughtError = error;\n }\n };\nfunction invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {\n hasError = !1;\n caughtError = null;\n invokeGuardedCallbackImpl.apply(reporter, arguments);\n}\nfunction invokeGuardedCallbackAndCatchFirstError(\n name,\n func,\n context,\n a,\n b,\n c,\n d,\n e,\n f\n) {\n invokeGuardedCallback.apply(this, arguments);\n if (hasError) {\n if (hasError) {\n var error = caughtError;\n hasError = !1;\n caughtError = null;\n } else\n throw ReactError(\n Error(\n \"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n hasRethrowError || ((hasRethrowError = !0), (rethrowError = error));\n }\n}\nvar getFiberCurrentPropsFromNode = null,\n getInstanceFromNode = null,\n getNodeFromInstance = null;\nfunction executeDispatch(event, listener, inst) {\n var type = event.type || \"unknown-event\";\n event.currentTarget = getNodeFromInstance(inst);\n invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event);\n event.currentTarget = null;\n}\nfunction executeDirectDispatch(event) {\n var dispatchListener = event._dispatchListeners,\n dispatchInstance = event._dispatchInstances;\n if (Array.isArray(dispatchListener))\n throw ReactError(Error(\"executeDirectDispatch(...): Invalid `event`.\"));\n event.currentTarget = dispatchListener\n ? getNodeFromInstance(dispatchInstance)\n : null;\n dispatchListener = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return dispatchListener;\n}\nfunction accumulateInto(current, next) {\n if (null == next)\n throw ReactError(\n Error(\n \"accumulateInto(...): Accumulated items must not be null or undefined.\"\n )\n );\n if (null == current) return next;\n if (Array.isArray(current)) {\n if (Array.isArray(next)) return current.push.apply(current, next), current;\n current.push(next);\n return current;\n }\n return Array.isArray(next) ? [current].concat(next) : [current, next];\n}\nfunction forEachAccumulated(arr, cb, scope) {\n Array.isArray(arr) ? arr.forEach(cb, scope) : arr && cb.call(scope, arr);\n}\nvar eventQueue = null;\nfunction executeDispatchesAndReleaseTopLevel(e) {\n if (e) {\n var dispatchListeners = e._dispatchListeners,\n dispatchInstances = e._dispatchInstances;\n if (Array.isArray(dispatchListeners))\n for (\n var i = 0;\n i < dispatchListeners.length && !e.isPropagationStopped();\n i++\n )\n executeDispatch(e, dispatchListeners[i], dispatchInstances[i]);\n else\n dispatchListeners &&\n executeDispatch(e, dispatchListeners, dispatchInstances);\n e._dispatchListeners = null;\n e._dispatchInstances = null;\n e.isPersistent() || e.constructor.release(e);\n }\n}\nvar injection = {\n injectEventPluginOrder: function(injectedEventPluginOrder) {\n if (eventPluginOrder)\n throw ReactError(\n Error(\n \"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.\"\n )\n );\n eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);\n recomputePluginOrdering();\n },\n injectEventPluginsByName: function(injectedNamesToPlugins) {\n var isOrderingDirty = !1,\n pluginName;\n for (pluginName in injectedNamesToPlugins)\n if (injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n var pluginModule = injectedNamesToPlugins[pluginName];\n if (\n !namesToPlugins.hasOwnProperty(pluginName) ||\n namesToPlugins[pluginName] !== pluginModule\n ) {\n if (namesToPlugins[pluginName])\n throw ReactError(\n Error(\n \"EventPluginRegistry: Cannot inject two different event plugins using the same name, `\" +\n pluginName +\n \"`.\"\n )\n );\n namesToPlugins[pluginName] = pluginModule;\n isOrderingDirty = !0;\n }\n }\n isOrderingDirty && recomputePluginOrdering();\n }\n};\nfunction getListener(inst, registrationName) {\n var listener = inst.stateNode;\n if (!listener) return null;\n var props = getFiberCurrentPropsFromNode(listener);\n if (!props) return null;\n listener = props[registrationName];\n a: switch (registrationName) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n (props = !props.disabled) ||\n ((inst = inst.type),\n (props = !(\n \"button\" === inst ||\n \"input\" === inst ||\n \"select\" === inst ||\n \"textarea\" === inst\n )));\n inst = !props;\n break a;\n default:\n inst = !1;\n }\n if (inst) return null;\n if (listener && \"function\" !== typeof listener)\n throw ReactError(\n Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof listener +\n \"` type.\"\n )\n );\n return listener;\n}\nfunction getParent(inst) {\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n return inst ? inst : null;\n}\nfunction traverseTwoPhase(inst, fn, arg) {\n for (var path = []; inst; ) path.push(inst), (inst = getParent(inst));\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (\n (phase = getListener(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n}\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n targetInst = targetInst ? getParent(targetInst) : null;\n traverseTwoPhase(targetInst, accumulateDirectionalDispatches, event);\n }\n}\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction SyntheticEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n) {\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n dispatchConfig = this.constructor.Interface;\n for (var propName in dispatchConfig)\n dispatchConfig.hasOwnProperty(propName) &&\n ((targetInst = dispatchConfig[propName])\n ? (this[propName] = targetInst(nativeEvent))\n : \"target\" === propName\n ? (this.target = nativeEventTarget)\n : (this[propName] = nativeEvent[propName]));\n this.isDefaultPrevented = (null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue)\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n}\nObject.assign(SyntheticEvent.prototype, {\n preventDefault: function() {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function() {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble && (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function() {\n this.isPersistent = functionThatReturnsTrue;\n },\n isPersistent: functionThatReturnsFalse,\n destructor: function() {\n var Interface = this.constructor.Interface,\n propName;\n for (propName in Interface) this[propName] = null;\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = functionThatReturnsFalse;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\nSyntheticEvent.Interface = {\n type: null,\n target: null,\n currentTarget: function() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function(event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\nSyntheticEvent.extend = function(Interface) {\n function E() {}\n function Class() {\n return Super.apply(this, arguments);\n }\n var Super = this;\n E.prototype = Super.prototype;\n var prototype = new E();\n Object.assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n Class.Interface = Object.assign({}, Super.Interface, Interface);\n Class.extend = Super.extend;\n addEventPoolingTo(Class);\n return Class;\n};\naddEventPoolingTo(SyntheticEvent);\nfunction getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) {\n if (this.eventPool.length) {\n var instance = this.eventPool.pop();\n this.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);\n return instance;\n }\n return new this(dispatchConfig, targetInst, nativeEvent, nativeInst);\n}\nfunction releasePooledEvent(event) {\n if (!(event instanceof this))\n throw ReactError(\n Error(\n \"Trying to release an event instance into a pool of a different type.\"\n )\n );\n event.destructor();\n 10 > this.eventPool.length && this.eventPool.push(event);\n}\nfunction addEventPoolingTo(EventConstructor) {\n EventConstructor.eventPool = [];\n EventConstructor.getPooled = getPooledEvent;\n EventConstructor.release = releasePooledEvent;\n}\nvar ResponderSyntheticEvent = SyntheticEvent.extend({\n touchHistory: function() {\n return null;\n }\n});\nfunction isStartish(topLevelType) {\n return \"topTouchStart\" === topLevelType;\n}\nfunction isMoveish(topLevelType) {\n return \"topTouchMove\" === topLevelType;\n}\nvar startDependencies = [\"topTouchStart\"],\n moveDependencies = [\"topTouchMove\"],\n endDependencies = [\"topTouchCancel\", \"topTouchEnd\"],\n touchBank = [],\n touchHistory = {\n touchBank: touchBank,\n numberActiveTouches: 0,\n indexOfSingleActiveTouch: -1,\n mostRecentTimeStamp: 0\n };\nfunction timestampForTouch(touch) {\n return touch.timeStamp || touch.timestamp;\n}\nfunction getTouchIdentifier(_ref) {\n _ref = _ref.identifier;\n if (null == _ref)\n throw ReactError(Error(\"Touch object is missing identifier.\"));\n return _ref;\n}\nfunction recordTouchStart(touch) {\n var identifier = getTouchIdentifier(touch),\n touchRecord = touchBank[identifier];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.startPageX = touch.pageX),\n (touchRecord.startPageY = touch.pageY),\n (touchRecord.startTimeStamp = timestampForTouch(touch)),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchRecord.previousPageX = touch.pageX),\n (touchRecord.previousPageY = touch.pageY),\n (touchRecord.previousTimeStamp = timestampForTouch(touch)))\n : ((touchRecord = {\n touchActive: !0,\n startPageX: touch.pageX,\n startPageY: touch.pageY,\n startTimeStamp: timestampForTouch(touch),\n currentPageX: touch.pageX,\n currentPageY: touch.pageY,\n currentTimeStamp: timestampForTouch(touch),\n previousPageX: touch.pageX,\n previousPageY: touch.pageY,\n previousTimeStamp: timestampForTouch(touch)\n }),\n (touchBank[identifier] = touchRecord));\n touchHistory.mostRecentTimeStamp = timestampForTouch(touch);\n}\nfunction recordTouchMove(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)))\n : console.warn(\n \"Cannot record touch move without a touch start.\\nTouch Move: %s\\n\",\n \"Touch Bank: %s\",\n printTouch(touch),\n printTouchBank()\n );\n}\nfunction recordTouchEnd(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord\n ? ((touchRecord.touchActive = !1),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)))\n : console.warn(\n \"Cannot record touch end without a touch start.\\nTouch End: %s\\n\",\n \"Touch Bank: %s\",\n printTouch(touch),\n printTouchBank()\n );\n}\nfunction printTouch(touch) {\n return JSON.stringify({\n identifier: touch.identifier,\n pageX: touch.pageX,\n pageY: touch.pageY,\n timestamp: timestampForTouch(touch)\n });\n}\nfunction printTouchBank() {\n var printed = JSON.stringify(touchBank.slice(0, 20));\n 20 < touchBank.length &&\n (printed += \" (original size: \" + touchBank.length + \")\");\n return printed;\n}\nvar ResponderTouchHistoryStore = {\n recordTouchTrack: function(topLevelType, nativeEvent) {\n if (isMoveish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchMove);\n else if (isStartish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchStart),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches &&\n (touchHistory.indexOfSingleActiveTouch =\n nativeEvent.touches[0].identifier);\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (\n (nativeEvent.changedTouches.forEach(recordTouchEnd),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches)\n )\n for (topLevelType = 0; topLevelType < touchBank.length; topLevelType++)\n if (\n ((nativeEvent = touchBank[topLevelType]),\n null != nativeEvent && nativeEvent.touchActive)\n ) {\n touchHistory.indexOfSingleActiveTouch = topLevelType;\n break;\n }\n },\n touchHistory: touchHistory\n};\nfunction accumulate(current, next) {\n if (null == next)\n throw ReactError(\n Error(\"accumulate(...): Accumulated items must not be null or undefined.\")\n );\n return null == current\n ? next\n : Array.isArray(current)\n ? current.concat(next)\n : Array.isArray(next)\n ? [current].concat(next)\n : [current, next];\n}\nvar responderInst = null,\n trackedTouchCount = 0;\nfunction changeResponder(nextResponderInst, blockHostResponder) {\n var oldResponderInst = responderInst;\n responderInst = nextResponderInst;\n if (null !== ResponderEventPlugin.GlobalResponderHandler)\n ResponderEventPlugin.GlobalResponderHandler.onChange(\n oldResponderInst,\n nextResponderInst,\n blockHostResponder\n );\n}\nvar eventTypes = {\n startShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onStartShouldSetResponder\",\n captured: \"onStartShouldSetResponderCapture\"\n },\n dependencies: startDependencies\n },\n scrollShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onScrollShouldSetResponder\",\n captured: \"onScrollShouldSetResponderCapture\"\n },\n dependencies: [\"topScroll\"]\n },\n selectionChangeShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onSelectionChangeShouldSetResponder\",\n captured: \"onSelectionChangeShouldSetResponderCapture\"\n },\n dependencies: [\"topSelectionChange\"]\n },\n moveShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onMoveShouldSetResponder\",\n captured: \"onMoveShouldSetResponderCapture\"\n },\n dependencies: moveDependencies\n },\n responderStart: {\n registrationName: \"onResponderStart\",\n dependencies: startDependencies\n },\n responderMove: {\n registrationName: \"onResponderMove\",\n dependencies: moveDependencies\n },\n responderEnd: {\n registrationName: \"onResponderEnd\",\n dependencies: endDependencies\n },\n responderRelease: {\n registrationName: \"onResponderRelease\",\n dependencies: endDependencies\n },\n responderTerminationRequest: {\n registrationName: \"onResponderTerminationRequest\",\n dependencies: []\n },\n responderGrant: { registrationName: \"onResponderGrant\", dependencies: [] },\n responderReject: {\n registrationName: \"onResponderReject\",\n dependencies: []\n },\n responderTerminate: {\n registrationName: \"onResponderTerminate\",\n dependencies: []\n }\n },\n ResponderEventPlugin = {\n _getResponder: function() {\n return responderInst;\n },\n eventTypes: eventTypes,\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (isStartish(topLevelType)) trackedTouchCount += 1;\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (0 <= trackedTouchCount) --trackedTouchCount;\n else\n return (\n console.error(\n \"Ended a touch event which was not counted in `trackedTouchCount`.\"\n ),\n null\n );\n ResponderTouchHistoryStore.recordTouchTrack(topLevelType, nativeEvent);\n if (\n targetInst &&\n ((\"topScroll\" === topLevelType && !nativeEvent.responderIgnoreScroll) ||\n (0 < trackedTouchCount && \"topSelectionChange\" === topLevelType) ||\n isStartish(topLevelType) ||\n isMoveish(topLevelType))\n ) {\n var JSCompiler_temp = isStartish(topLevelType)\n ? eventTypes.startShouldSetResponder\n : isMoveish(topLevelType)\n ? eventTypes.moveShouldSetResponder\n : \"topSelectionChange\" === topLevelType\n ? eventTypes.selectionChangeShouldSetResponder\n : eventTypes.scrollShouldSetResponder;\n if (responderInst)\n b: {\n var JSCompiler_temp$jscomp$0 = responderInst;\n for (\n var depthA = 0, tempA = JSCompiler_temp$jscomp$0;\n tempA;\n tempA = getParent(tempA)\n )\n depthA++;\n tempA = 0;\n for (var tempB = targetInst; tempB; tempB = getParent(tempB))\n tempA++;\n for (; 0 < depthA - tempA; )\n (JSCompiler_temp$jscomp$0 = getParent(JSCompiler_temp$jscomp$0)),\n depthA--;\n for (; 0 < tempA - depthA; )\n (targetInst = getParent(targetInst)), tempA--;\n for (; depthA--; ) {\n if (\n JSCompiler_temp$jscomp$0 === targetInst ||\n JSCompiler_temp$jscomp$0 === targetInst.alternate\n )\n break b;\n JSCompiler_temp$jscomp$0 = getParent(JSCompiler_temp$jscomp$0);\n targetInst = getParent(targetInst);\n }\n JSCompiler_temp$jscomp$0 = null;\n }\n else JSCompiler_temp$jscomp$0 = targetInst;\n targetInst = JSCompiler_temp$jscomp$0 === responderInst;\n JSCompiler_temp$jscomp$0 = ResponderSyntheticEvent.getPooled(\n JSCompiler_temp,\n JSCompiler_temp$jscomp$0,\n nativeEvent,\n nativeEventTarget\n );\n JSCompiler_temp$jscomp$0.touchHistory =\n ResponderTouchHistoryStore.touchHistory;\n targetInst\n ? forEachAccumulated(\n JSCompiler_temp$jscomp$0,\n accumulateTwoPhaseDispatchesSingleSkipTarget\n )\n : forEachAccumulated(\n JSCompiler_temp$jscomp$0,\n accumulateTwoPhaseDispatchesSingle\n );\n b: {\n JSCompiler_temp = JSCompiler_temp$jscomp$0._dispatchListeners;\n targetInst = JSCompiler_temp$jscomp$0._dispatchInstances;\n if (Array.isArray(JSCompiler_temp))\n for (\n depthA = 0;\n depthA < JSCompiler_temp.length &&\n !JSCompiler_temp$jscomp$0.isPropagationStopped();\n depthA++\n ) {\n if (\n JSCompiler_temp[depthA](\n JSCompiler_temp$jscomp$0,\n targetInst[depthA]\n )\n ) {\n JSCompiler_temp = targetInst[depthA];\n break b;\n }\n }\n else if (\n JSCompiler_temp &&\n JSCompiler_temp(JSCompiler_temp$jscomp$0, targetInst)\n ) {\n JSCompiler_temp = targetInst;\n break b;\n }\n JSCompiler_temp = null;\n }\n JSCompiler_temp$jscomp$0._dispatchInstances = null;\n JSCompiler_temp$jscomp$0._dispatchListeners = null;\n JSCompiler_temp$jscomp$0.isPersistent() ||\n JSCompiler_temp$jscomp$0.constructor.release(\n JSCompiler_temp$jscomp$0\n );\n JSCompiler_temp && JSCompiler_temp !== responderInst\n ? ((JSCompiler_temp$jscomp$0 = void 0),\n (targetInst = ResponderSyntheticEvent.getPooled(\n eventTypes.responderGrant,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (targetInst.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(targetInst, accumulateDirectDispatchesSingle),\n (depthA = !0 === executeDirectDispatch(targetInst)),\n responderInst\n ? ((tempA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminationRequest,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (tempA.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(tempA, accumulateDirectDispatchesSingle),\n (tempB =\n !tempA._dispatchListeners || executeDirectDispatch(tempA)),\n tempA.isPersistent() || tempA.constructor.release(tempA),\n tempB\n ? ((tempA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminate,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (tempA.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(tempA, accumulateDirectDispatchesSingle),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n [targetInst, tempA]\n )),\n changeResponder(JSCompiler_temp, depthA))\n : ((JSCompiler_temp = ResponderSyntheticEvent.getPooled(\n eventTypes.responderReject,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (JSCompiler_temp.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n JSCompiler_temp,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n JSCompiler_temp\n ))))\n : ((JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n targetInst\n )),\n changeResponder(JSCompiler_temp, depthA)),\n (JSCompiler_temp = JSCompiler_temp$jscomp$0))\n : (JSCompiler_temp = null);\n } else JSCompiler_temp = null;\n JSCompiler_temp$jscomp$0 = responderInst && isStartish(topLevelType);\n targetInst = responderInst && isMoveish(topLevelType);\n depthA =\n responderInst &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType);\n if (\n (JSCompiler_temp$jscomp$0 = JSCompiler_temp$jscomp$0\n ? eventTypes.responderStart\n : targetInst\n ? eventTypes.responderMove\n : depthA\n ? eventTypes.responderEnd\n : null)\n )\n (JSCompiler_temp$jscomp$0 = ResponderSyntheticEvent.getPooled(\n JSCompiler_temp$jscomp$0,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (JSCompiler_temp$jscomp$0.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n JSCompiler_temp$jscomp$0,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp = accumulate(\n JSCompiler_temp,\n JSCompiler_temp$jscomp$0\n ));\n JSCompiler_temp$jscomp$0 =\n responderInst && \"topTouchCancel\" === topLevelType;\n if (\n (topLevelType =\n responderInst &&\n !JSCompiler_temp$jscomp$0 &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType))\n )\n a: {\n if ((topLevelType = nativeEvent.touches) && 0 !== topLevelType.length)\n for (targetInst = 0; targetInst < topLevelType.length; targetInst++)\n if (\n ((depthA = topLevelType[targetInst].target),\n null !== depthA && void 0 !== depthA && 0 !== depthA)\n ) {\n tempA = getInstanceFromNode(depthA);\n b: {\n for (depthA = responderInst; tempA; ) {\n if (depthA === tempA || depthA === tempA.alternate) {\n depthA = !0;\n break b;\n }\n tempA = getParent(tempA);\n }\n depthA = !1;\n }\n if (depthA) {\n topLevelType = !1;\n break a;\n }\n }\n topLevelType = !0;\n }\n if (\n (topLevelType = JSCompiler_temp$jscomp$0\n ? eventTypes.responderTerminate\n : topLevelType\n ? eventTypes.responderRelease\n : null)\n )\n (nativeEvent = ResponderSyntheticEvent.getPooled(\n topLevelType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (nativeEvent.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(nativeEvent, accumulateDirectDispatchesSingle),\n (JSCompiler_temp = accumulate(JSCompiler_temp, nativeEvent)),\n changeResponder(null);\n return JSCompiler_temp;\n },\n GlobalResponderHandler: null,\n injection: {\n injectGlobalResponderHandler: function(GlobalResponderHandler) {\n ResponderEventPlugin.GlobalResponderHandler = GlobalResponderHandler;\n }\n }\n },\n customBubblingEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customBubblingEventTypes,\n customDirectEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customDirectEventTypes;\ninjection.injectEventPluginOrder([\n \"ResponderEventPlugin\",\n \"ReactNativeBridgeEventPlugin\"\n]);\ninjection.injectEventPluginsByName({\n ResponderEventPlugin: ResponderEventPlugin,\n ReactNativeBridgeEventPlugin: {\n eventTypes: {},\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (null == targetInst) return null;\n var bubbleDispatchConfig = customBubblingEventTypes[topLevelType],\n directDispatchConfig = customDirectEventTypes[topLevelType];\n if (!bubbleDispatchConfig && !directDispatchConfig)\n throw ReactError(\n Error(\n 'Unsupported top level event type \"' + topLevelType + '\" dispatched'\n )\n );\n topLevelType = SyntheticEvent.getPooled(\n bubbleDispatchConfig || directDispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n if (bubbleDispatchConfig)\n forEachAccumulated(topLevelType, accumulateTwoPhaseDispatchesSingle);\n else if (directDispatchConfig)\n forEachAccumulated(topLevelType, accumulateDirectDispatchesSingle);\n else return null;\n return topLevelType;\n }\n }\n});\nfunction getInstanceFromInstance(instanceHandle) {\n return instanceHandle;\n}\ngetFiberCurrentPropsFromNode = function(inst) {\n return inst.canonical.currentProps;\n};\ngetInstanceFromNode = getInstanceFromInstance;\ngetNodeFromInstance = function(inst) {\n inst = inst.stateNode.canonical._nativeTag;\n if (!inst) throw ReactError(Error(\"All native instances should have a tag.\"));\n return inst;\n};\nResponderEventPlugin.injection.injectGlobalResponderHandler({\n onChange: function(from, to, blockNativeResponder) {\n null !== to\n ? ReactNativePrivateInterface.UIManager.setJSResponder(\n to.stateNode.canonical._nativeTag,\n blockNativeResponder\n )\n : ReactNativePrivateInterface.UIManager.clearJSResponder();\n }\n});\nvar ReactSharedInternals =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\nReactSharedInternals.hasOwnProperty(\"ReactCurrentDispatcher\") ||\n (ReactSharedInternals.ReactCurrentDispatcher = { current: null });\nReactSharedInternals.hasOwnProperty(\"ReactCurrentBatchConfig\") ||\n (ReactSharedInternals.ReactCurrentBatchConfig = { suspense: null });\nvar hasSymbol = \"function\" === typeof Symbol && Symbol.for,\n REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for(\"react.element\") : 60103,\n REACT_PORTAL_TYPE = hasSymbol ? Symbol.for(\"react.portal\") : 60106,\n REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for(\"react.fragment\") : 60107,\n REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for(\"react.strict_mode\") : 60108,\n REACT_PROFILER_TYPE = hasSymbol ? Symbol.for(\"react.profiler\") : 60114,\n REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for(\"react.provider\") : 60109,\n REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for(\"react.context\") : 60110,\n REACT_CONCURRENT_MODE_TYPE = hasSymbol\n ? Symbol.for(\"react.concurrent_mode\")\n : 60111,\n REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for(\"react.forward_ref\") : 60112,\n REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for(\"react.suspense\") : 60113,\n REACT_SUSPENSE_LIST_TYPE = hasSymbol\n ? Symbol.for(\"react.suspense_list\")\n : 60120,\n REACT_MEMO_TYPE = hasSymbol ? Symbol.for(\"react.memo\") : 60115,\n REACT_LAZY_TYPE = hasSymbol ? Symbol.for(\"react.lazy\") : 60116;\nhasSymbol && Symbol.for(\"react.fundamental\");\nhasSymbol && Symbol.for(\"react.responder\");\nvar MAYBE_ITERATOR_SYMBOL = \"function\" === typeof Symbol && Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nfunction getComponentName(type) {\n if (null == type) return null;\n if (\"function\" === typeof type) return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return \"Context.Consumer\";\n case REACT_PROVIDER_TYPE:\n return \"Context.Provider\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n innerType = innerType.displayName || innerType.name || \"\";\n return (\n type.displayName ||\n (\"\" !== innerType ? \"ForwardRef(\" + innerType + \")\" : \"ForwardRef\")\n );\n case REACT_MEMO_TYPE:\n return getComponentName(type.type);\n case REACT_LAZY_TYPE:\n if ((type = 1 === type._status ? type._result : null))\n return getComponentName(type);\n }\n return null;\n}\nfunction isFiberMountedImpl(fiber) {\n var node = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n if (0 !== (node.effectTag & 2)) return 1;\n for (; node.return; )\n if (((node = node.return), 0 !== (node.effectTag & 2))) return 1;\n }\n return 3 === node.tag ? 2 : 3;\n}\nfunction assertIsMounted(fiber) {\n if (2 !== isFiberMountedImpl(fiber))\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = isFiberMountedImpl(fiber);\n if (3 === alternate)\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n return 1 === alternate ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, _child = parentA.child; _child; ) {\n if (_child === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (_child === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n _child = _child.sibling;\n }\n if (!didFindChild) {\n for (_child = parentB.child; _child; ) {\n if (_child === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (_child === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n _child = _child.sibling;\n }\n if (!didFindChild)\n throw ReactError(\n Error(\n \"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\"\n )\n );\n }\n }\n if (a.alternate !== b)\n throw ReactError(\n Error(\n \"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n if (3 !== a.tag)\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiber(parent) {\n parent = findCurrentFiberUsingSlowPath(parent);\n if (!parent) return null;\n for (var node = parent; ; ) {\n if (5 === node.tag || 6 === node.tag) return node;\n if (node.child) (node.child.return = node), (node = node.child);\n else {\n if (node === parent) break;\n for (; !node.sibling; ) {\n if (!node.return || node.return === parent) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n }\n return null;\n}\nfunction mountSafeCallback_NOT_REALLY_SAFE(context, callback) {\n return function() {\n if (\n callback &&\n (\"boolean\" !== typeof context.__isMounted || context.__isMounted)\n )\n return callback.apply(context, arguments);\n };\n}\nvar emptyObject = {},\n removedKeys = null,\n removedKeyCount = 0;\nfunction restoreDeletedValuesInNestedArray(\n updatePayload,\n node,\n validAttributes\n) {\n if (Array.isArray(node))\n for (var i = node.length; i-- && 0 < removedKeyCount; )\n restoreDeletedValuesInNestedArray(\n updatePayload,\n node[i],\n validAttributes\n );\n else if (node && 0 < removedKeyCount)\n for (i in removedKeys)\n if (removedKeys[i]) {\n var nextProp = node[i];\n if (void 0 !== nextProp) {\n var attributeConfig = validAttributes[i];\n if (attributeConfig) {\n \"function\" === typeof nextProp && (nextProp = !0);\n \"undefined\" === typeof nextProp && (nextProp = null);\n if (\"object\" !== typeof attributeConfig)\n updatePayload[i] = nextProp;\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (nextProp =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[i] = nextProp);\n removedKeys[i] = !1;\n removedKeyCount--;\n }\n }\n }\n}\nfunction diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n validAttributes\n) {\n if (!updatePayload && prevProp === nextProp) return updatePayload;\n if (!prevProp || !nextProp)\n return nextProp\n ? addNestedProperty(updatePayload, nextProp, validAttributes)\n : prevProp\n ? clearNestedProperty(updatePayload, prevProp, validAttributes)\n : updatePayload;\n if (!Array.isArray(prevProp) && !Array.isArray(nextProp))\n return diffProperties(updatePayload, prevProp, nextProp, validAttributes);\n if (Array.isArray(prevProp) && Array.isArray(nextProp)) {\n var minLength =\n prevProp.length < nextProp.length ? prevProp.length : nextProp.length,\n i;\n for (i = 0; i < minLength; i++)\n updatePayload = diffNestedProperty(\n updatePayload,\n prevProp[i],\n nextProp[i],\n validAttributes\n );\n for (; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n for (; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n }\n return Array.isArray(prevProp)\n ? diffProperties(\n updatePayload,\n ReactNativePrivateInterface.flattenStyle(prevProp),\n nextProp,\n validAttributes\n )\n : diffProperties(\n updatePayload,\n prevProp,\n ReactNativePrivateInterface.flattenStyle(nextProp),\n validAttributes\n );\n}\nfunction addNestedProperty(updatePayload, nextProp, validAttributes) {\n if (!nextProp) return updatePayload;\n if (!Array.isArray(nextProp))\n return diffProperties(\n updatePayload,\n emptyObject,\n nextProp,\n validAttributes\n );\n for (var i = 0; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction clearNestedProperty(updatePayload, prevProp, validAttributes) {\n if (!prevProp) return updatePayload;\n if (!Array.isArray(prevProp))\n return diffProperties(\n updatePayload,\n prevProp,\n emptyObject,\n validAttributes\n );\n for (var i = 0; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction diffProperties(updatePayload, prevProps, nextProps, validAttributes) {\n var attributeConfig, propKey;\n for (propKey in nextProps)\n if ((attributeConfig = validAttributes[propKey])) {\n var prevProp = prevProps[propKey];\n var nextProp = nextProps[propKey];\n \"function\" === typeof nextProp &&\n ((nextProp = !0), \"function\" === typeof prevProp && (prevProp = !0));\n \"undefined\" === typeof nextProp &&\n ((nextProp = null),\n \"undefined\" === typeof prevProp && (prevProp = null));\n removedKeys && (removedKeys[propKey] = !1);\n if (updatePayload && void 0 !== updatePayload[propKey])\n if (\"object\" !== typeof attributeConfig)\n updatePayload[propKey] = nextProp;\n else {\n if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[propKey] = attributeConfig);\n }\n else if (prevProp !== nextProp)\n if (\"object\" !== typeof attributeConfig)\n (\"object\" !== typeof nextProp ||\n null === nextProp ||\n ReactNativePrivateInterface.deepDiffer(prevProp, nextProp)) &&\n ((updatePayload || (updatePayload = {}))[propKey] = nextProp);\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ) {\n if (\n void 0 === prevProp ||\n (\"function\" === typeof attributeConfig.diff\n ? attributeConfig.diff(prevProp, nextProp)\n : \"object\" !== typeof nextProp ||\n null === nextProp ||\n ReactNativePrivateInterface.deepDiffer(prevProp, nextProp))\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n ((updatePayload || (updatePayload = {}))[\n propKey\n ] = attributeConfig);\n } else\n (removedKeys = null),\n (removedKeyCount = 0),\n (updatePayload = diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n attributeConfig\n )),\n 0 < removedKeyCount &&\n updatePayload &&\n (restoreDeletedValuesInNestedArray(\n updatePayload,\n nextProp,\n attributeConfig\n ),\n (removedKeys = null));\n }\n for (var _propKey in prevProps)\n void 0 === nextProps[_propKey] &&\n (!(attributeConfig = validAttributes[_propKey]) ||\n (updatePayload && void 0 !== updatePayload[_propKey]) ||\n ((prevProp = prevProps[_propKey]),\n void 0 !== prevProp &&\n (\"object\" !== typeof attributeConfig ||\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ? (((updatePayload || (updatePayload = {}))[_propKey] = null),\n removedKeys || (removedKeys = {}),\n removedKeys[_propKey] ||\n ((removedKeys[_propKey] = !0), removedKeyCount++))\n : (updatePayload = clearNestedProperty(\n updatePayload,\n prevProp,\n attributeConfig\n )))));\n return updatePayload;\n}\nvar restoreTarget = null,\n restoreQueue = null;\nfunction restoreStateOfTarget(target) {\n if (getInstanceFromNode(target))\n throw ReactError(\n Error(\n \"setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n}\nfunction batchedUpdatesImpl(fn, bookkeeping) {\n return fn(bookkeeping);\n}\nfunction flushDiscreteUpdatesImpl() {}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates(fn, bookkeeping) {\n if (isInsideEventHandler) return fn(bookkeeping);\n isInsideEventHandler = !0;\n try {\n return batchedUpdatesImpl(fn, bookkeeping);\n } finally {\n if (\n ((isInsideEventHandler = !1),\n null !== restoreTarget || null !== restoreQueue)\n )\n if (\n (flushDiscreteUpdatesImpl(),\n restoreTarget &&\n ((bookkeeping = restoreTarget),\n (fn = restoreQueue),\n (restoreQueue = restoreTarget = null),\n restoreStateOfTarget(bookkeeping),\n fn))\n )\n for (bookkeeping = 0; bookkeeping < fn.length; bookkeeping++)\n restoreStateOfTarget(fn[bookkeeping]);\n }\n}\nfunction _inherits(subClass, superClass) {\n if (\"function\" !== typeof superClass && null !== superClass)\n throw new TypeError(\n \"Super expression must either be null or a function, not \" +\n typeof superClass\n );\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n });\n superClass &&\n (Object.setPrototypeOf\n ? Object.setPrototypeOf(subClass, superClass)\n : (subClass.__proto__ = superClass));\n}\n(function(_React$Component) {\n function ReactNativeComponent() {\n if (!(this instanceof ReactNativeComponent))\n throw new TypeError(\"Cannot call a class as a function\");\n var call = _React$Component.apply(this, arguments);\n if (!this)\n throw new ReferenceError(\n \"this hasn't been initialised - super() hasn't been called\"\n );\n return !call || (\"object\" !== typeof call && \"function\" !== typeof call)\n ? this\n : call;\n }\n _inherits(ReactNativeComponent, _React$Component);\n ReactNativeComponent.prototype.blur = function() {};\n ReactNativeComponent.prototype.focus = function() {};\n ReactNativeComponent.prototype.measure = function() {};\n ReactNativeComponent.prototype.measureInWindow = function() {};\n ReactNativeComponent.prototype.measureLayout = function() {};\n ReactNativeComponent.prototype.setNativeProps = function() {};\n return ReactNativeComponent;\n})(React.Component);\nnew Map();\nnew Map();\nnew Set();\nnew Map();\nfunction dispatchEvent(target, topLevelType, nativeEvent) {\n batchedUpdates(function() {\n var events = nativeEvent.target;\n for (var events$jscomp$0 = null, i = 0; i < plugins.length; i++) {\n var possiblePlugin = plugins[i];\n possiblePlugin &&\n (possiblePlugin = possiblePlugin.extractEvents(\n topLevelType,\n target,\n nativeEvent,\n events\n )) &&\n (events$jscomp$0 = accumulateInto(events$jscomp$0, possiblePlugin));\n }\n events = events$jscomp$0;\n null !== events && (eventQueue = accumulateInto(eventQueue, events));\n events = eventQueue;\n eventQueue = null;\n if (events) {\n forEachAccumulated(events, executeDispatchesAndReleaseTopLevel);\n if (eventQueue)\n throw ReactError(\n Error(\n \"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.\"\n )\n );\n if (hasRethrowError)\n throw ((events = rethrowError),\n (hasRethrowError = !1),\n (rethrowError = null),\n events);\n }\n });\n}\nfunction shim$1() {\n throw ReactError(\n Error(\n \"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n}\nvar _nativeFabricUIManage$1 = nativeFabricUIManager,\n createNode = _nativeFabricUIManage$1.createNode,\n cloneNode = _nativeFabricUIManage$1.cloneNode,\n cloneNodeWithNewChildren = _nativeFabricUIManage$1.cloneNodeWithNewChildren,\n cloneNodeWithNewChildrenAndProps =\n _nativeFabricUIManage$1.cloneNodeWithNewChildrenAndProps,\n cloneNodeWithNewProps = _nativeFabricUIManage$1.cloneNodeWithNewProps,\n createChildNodeSet = _nativeFabricUIManage$1.createChildSet,\n appendChildNode = _nativeFabricUIManage$1.appendChild,\n appendChildNodeToSet = _nativeFabricUIManage$1.appendChildToSet,\n completeRoot = _nativeFabricUIManage$1.completeRoot,\n registerEventHandler = _nativeFabricUIManage$1.registerEventHandler,\n fabricMeasure = _nativeFabricUIManage$1.measure,\n fabricMeasureInWindow = _nativeFabricUIManage$1.measureInWindow,\n fabricMeasureLayout = _nativeFabricUIManage$1.measureLayout,\n getViewConfigForType =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry.get,\n nextReactTag = 2;\nregisterEventHandler && registerEventHandler(dispatchEvent);\nvar ReactFabricHostComponent = (function() {\n function ReactFabricHostComponent(\n tag,\n viewConfig,\n props,\n internalInstanceHandle\n ) {\n if (!(this instanceof ReactFabricHostComponent))\n throw new TypeError(\"Cannot call a class as a function\");\n this._nativeTag = tag;\n this.viewConfig = viewConfig;\n this.currentProps = props;\n this._internalInstanceHandle = internalInstanceHandle;\n }\n ReactFabricHostComponent.prototype.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(this._nativeTag);\n };\n ReactFabricHostComponent.prototype.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(this._nativeTag);\n };\n ReactFabricHostComponent.prototype.measure = function(callback) {\n fabricMeasure(\n this._internalInstanceHandle.stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n ReactFabricHostComponent.prototype.measureInWindow = function(callback) {\n fabricMeasureInWindow(\n this._internalInstanceHandle.stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n ReactFabricHostComponent.prototype.measureLayout = function(\n relativeToNativeNode,\n onSuccess,\n onFail\n ) {\n \"number\" !== typeof relativeToNativeNode &&\n relativeToNativeNode instanceof ReactFabricHostComponent &&\n fabricMeasureLayout(\n this._internalInstanceHandle.stateNode.node,\n relativeToNativeNode._internalInstanceHandle.stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n );\n };\n ReactFabricHostComponent.prototype.setNativeProps = function() {};\n return ReactFabricHostComponent;\n})();\nfunction createTextInstance(\n text,\n rootContainerInstance,\n hostContext,\n internalInstanceHandle\n) {\n if (!hostContext.isInAParentText)\n throw ReactError(\n Error(\"Text strings must be rendered within a component.\")\n );\n hostContext = nextReactTag;\n nextReactTag += 2;\n return {\n node: createNode(\n hostContext,\n \"RCTRawText\",\n rootContainerInstance,\n { text: text },\n internalInstanceHandle\n )\n };\n}\nvar scheduleTimeout = setTimeout,\n cancelTimeout = clearTimeout;\nfunction cloneHiddenInstance(instance) {\n var node = instance.node;\n var updatePayload = diffProperties(\n null,\n emptyObject,\n { style: { display: \"none\" } },\n instance.canonical.viewConfig.validAttributes\n );\n return {\n node: cloneNodeWithNewProps(node, updatePayload),\n canonical: instance.canonical\n };\n}\nvar BEFORE_SLASH_RE = /^(.*)[\\\\\\/]/;\nfunction getStackByFiberInDevAndProd(workInProgress) {\n var info = \"\";\n do {\n a: switch (workInProgress.tag) {\n case 3:\n case 4:\n case 6:\n case 7:\n case 10:\n case 9:\n var JSCompiler_inline_result = \"\";\n break a;\n default:\n var owner = workInProgress._debugOwner,\n source = workInProgress._debugSource,\n name = getComponentName(workInProgress.type);\n JSCompiler_inline_result = null;\n owner && (JSCompiler_inline_result = getComponentName(owner.type));\n owner = name;\n name = \"\";\n source\n ? (name =\n \" (at \" +\n source.fileName.replace(BEFORE_SLASH_RE, \"\") +\n \":\" +\n source.lineNumber +\n \")\")\n : JSCompiler_inline_result &&\n (name = \" (created by \" + JSCompiler_inline_result + \")\");\n JSCompiler_inline_result = \"\\n in \" + (owner || \"Unknown\") + name;\n }\n info += JSCompiler_inline_result;\n workInProgress = workInProgress.return;\n } while (workInProgress);\n return info;\n}\nnew Set();\nvar valueStack = [],\n index = -1;\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar emptyContextObject = {},\n contextStackCursor = { current: emptyContextObject },\n didPerformWorkStackCursor = { current: !1 },\n previousContext = emptyContextObject;\nfunction getMaskedContext(workInProgress, unmaskedContext) {\n var contextTypes = workInProgress.type.contextTypes;\n if (!contextTypes) return emptyContextObject;\n var instance = workInProgress.stateNode;\n if (\n instance &&\n instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext\n )\n return instance.__reactInternalMemoizedMaskedChildContext;\n var context = {},\n key;\n for (key in contextTypes) context[key] = unmaskedContext[key];\n instance &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return context;\n}\nfunction isContextProvider(type) {\n type = type.childContextTypes;\n return null !== type && void 0 !== type;\n}\nfunction popContext(fiber) {\n pop(didPerformWorkStackCursor, fiber);\n pop(contextStackCursor, fiber);\n}\nfunction popTopLevelContextObject(fiber) {\n pop(didPerformWorkStackCursor, fiber);\n pop(contextStackCursor, fiber);\n}\nfunction pushTopLevelContextObject(fiber, context, didChange) {\n if (contextStackCursor.current !== emptyContextObject)\n throw ReactError(\n Error(\n \"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n push(contextStackCursor, context, fiber);\n push(didPerformWorkStackCursor, didChange, fiber);\n}\nfunction processChildContext(fiber, type, parentContext) {\n var instance = fiber.stateNode;\n fiber = type.childContextTypes;\n if (\"function\" !== typeof instance.getChildContext) return parentContext;\n instance = instance.getChildContext();\n for (var contextKey in instance)\n if (!(contextKey in fiber))\n throw ReactError(\n Error(\n (getComponentName(type) || \"Unknown\") +\n '.getChildContext(): key \"' +\n contextKey +\n '\" is not defined in childContextTypes.'\n )\n );\n return Object.assign({}, parentContext, instance);\n}\nfunction pushContextProvider(workInProgress) {\n var instance = workInProgress.stateNode;\n instance =\n (instance && instance.__reactInternalMemoizedMergedChildContext) ||\n emptyContextObject;\n previousContext = contextStackCursor.current;\n push(contextStackCursor, instance, workInProgress);\n push(\n didPerformWorkStackCursor,\n didPerformWorkStackCursor.current,\n workInProgress\n );\n return !0;\n}\nfunction invalidateContextProvider(workInProgress, type, didChange) {\n var instance = workInProgress.stateNode;\n if (!instance)\n throw ReactError(\n Error(\n \"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n didChange\n ? ((type = processChildContext(workInProgress, type, previousContext)),\n (instance.__reactInternalMemoizedMergedChildContext = type),\n pop(didPerformWorkStackCursor, workInProgress),\n pop(contextStackCursor, workInProgress),\n push(contextStackCursor, type, workInProgress))\n : pop(didPerformWorkStackCursor, workInProgress);\n push(didPerformWorkStackCursor, didChange, workInProgress);\n}\nvar Scheduler_runWithPriority = Scheduler.unstable_runWithPriority,\n Scheduler_scheduleCallback = Scheduler.unstable_scheduleCallback,\n Scheduler_cancelCallback = Scheduler.unstable_cancelCallback,\n Scheduler_shouldYield = Scheduler.unstable_shouldYield,\n Scheduler_requestPaint = Scheduler.unstable_requestPaint,\n Scheduler_now = Scheduler.unstable_now,\n Scheduler_getCurrentPriorityLevel =\n Scheduler.unstable_getCurrentPriorityLevel,\n Scheduler_ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n Scheduler_UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n Scheduler_NormalPriority = Scheduler.unstable_NormalPriority,\n Scheduler_LowPriority = Scheduler.unstable_LowPriority,\n Scheduler_IdlePriority = Scheduler.unstable_IdlePriority,\n fakeCallbackNode = {},\n requestPaint =\n void 0 !== Scheduler_requestPaint ? Scheduler_requestPaint : function() {},\n syncQueue = null,\n immediateQueueCallbackNode = null,\n isFlushingSyncQueue = !1,\n initialTimeMs = Scheduler_now(),\n now =\n 1e4 > initialTimeMs\n ? Scheduler_now\n : function() {\n return Scheduler_now() - initialTimeMs;\n };\nfunction getCurrentPriorityLevel() {\n switch (Scheduler_getCurrentPriorityLevel()) {\n case Scheduler_ImmediatePriority:\n return 99;\n case Scheduler_UserBlockingPriority:\n return 98;\n case Scheduler_NormalPriority:\n return 97;\n case Scheduler_LowPriority:\n return 96;\n case Scheduler_IdlePriority:\n return 95;\n default:\n throw ReactError(Error(\"Unknown priority level.\"));\n }\n}\nfunction reactPriorityToSchedulerPriority(reactPriorityLevel) {\n switch (reactPriorityLevel) {\n case 99:\n return Scheduler_ImmediatePriority;\n case 98:\n return Scheduler_UserBlockingPriority;\n case 97:\n return Scheduler_NormalPriority;\n case 96:\n return Scheduler_LowPriority;\n case 95:\n return Scheduler_IdlePriority;\n default:\n throw ReactError(Error(\"Unknown priority level.\"));\n }\n}\nfunction runWithPriority$1(reactPriorityLevel, fn) {\n reactPriorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);\n return Scheduler_runWithPriority(reactPriorityLevel, fn);\n}\nfunction scheduleCallback(reactPriorityLevel, callback, options) {\n reactPriorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);\n return Scheduler_scheduleCallback(reactPriorityLevel, callback, options);\n}\nfunction scheduleSyncCallback(callback) {\n null === syncQueue\n ? ((syncQueue = [callback]),\n (immediateQueueCallbackNode = Scheduler_scheduleCallback(\n Scheduler_ImmediatePriority,\n flushSyncCallbackQueueImpl\n )))\n : syncQueue.push(callback);\n return fakeCallbackNode;\n}\nfunction flushSyncCallbackQueue() {\n null !== immediateQueueCallbackNode &&\n Scheduler_cancelCallback(immediateQueueCallbackNode);\n flushSyncCallbackQueueImpl();\n}\nfunction flushSyncCallbackQueueImpl() {\n if (!isFlushingSyncQueue && null !== syncQueue) {\n isFlushingSyncQueue = !0;\n var i = 0;\n try {\n var queue = syncQueue;\n runWithPriority$1(99, function() {\n for (; i < queue.length; i++) {\n var callback = queue[i];\n do callback = callback(!0);\n while (null !== callback);\n }\n });\n syncQueue = null;\n } catch (error) {\n throw (null !== syncQueue && (syncQueue = syncQueue.slice(i + 1)),\n Scheduler_scheduleCallback(\n Scheduler_ImmediatePriority,\n flushSyncCallbackQueue\n ),\n error);\n } finally {\n isFlushingSyncQueue = !1;\n }\n }\n}\nfunction inferPriorityFromExpirationTime(currentTime, expirationTime) {\n if (1073741823 === expirationTime) return 99;\n if (1 === expirationTime) return 95;\n currentTime =\n 10 * (1073741821 - expirationTime) - 10 * (1073741821 - currentTime);\n return 0 >= currentTime\n ? 99\n : 250 >= currentTime\n ? 98\n : 5250 >= currentTime\n ? 97\n : 95;\n}\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction shallowEqual(objA, objB) {\n if (is(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++)\n if (\n !hasOwnProperty.call(objB, keysA[keysB]) ||\n !is(objA[keysA[keysB]], objB[keysA[keysB]])\n )\n return !1;\n return !0;\n}\nfunction resolveDefaultProps(Component, baseProps) {\n if (Component && Component.defaultProps) {\n baseProps = Object.assign({}, baseProps);\n Component = Component.defaultProps;\n for (var propName in Component)\n void 0 === baseProps[propName] &&\n (baseProps[propName] = Component[propName]);\n }\n return baseProps;\n}\nfunction readLazyComponentType(lazyComponent) {\n var result = lazyComponent._result;\n switch (lazyComponent._status) {\n case 1:\n return result;\n case 2:\n throw result;\n case 0:\n throw result;\n default:\n lazyComponent._status = 0;\n result = lazyComponent._ctor;\n result = result();\n result.then(\n function(moduleObject) {\n 0 === lazyComponent._status &&\n ((moduleObject = moduleObject.default),\n (lazyComponent._status = 1),\n (lazyComponent._result = moduleObject));\n },\n function(error) {\n 0 === lazyComponent._status &&\n ((lazyComponent._status = 2), (lazyComponent._result = error));\n }\n );\n switch (lazyComponent._status) {\n case 1:\n return lazyComponent._result;\n case 2:\n throw lazyComponent._result;\n }\n lazyComponent._result = result;\n throw result;\n }\n}\nvar valueCursor = { current: null },\n currentlyRenderingFiber = null,\n lastContextDependency = null,\n lastContextWithAllBitsObserved = null;\nfunction resetContextDependencies() {\n lastContextWithAllBitsObserved = lastContextDependency = currentlyRenderingFiber = null;\n}\nfunction pushProvider(providerFiber, nextValue) {\n var context = providerFiber.type._context;\n push(valueCursor, context._currentValue2, providerFiber);\n context._currentValue2 = nextValue;\n}\nfunction popProvider(providerFiber) {\n var currentValue = valueCursor.current;\n pop(valueCursor, providerFiber);\n providerFiber.type._context._currentValue2 = currentValue;\n}\nfunction scheduleWorkOnParentPath(parent, renderExpirationTime) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n if (parent.childExpirationTime < renderExpirationTime)\n (parent.childExpirationTime = renderExpirationTime),\n null !== alternate &&\n alternate.childExpirationTime < renderExpirationTime &&\n (alternate.childExpirationTime = renderExpirationTime);\n else if (\n null !== alternate &&\n alternate.childExpirationTime < renderExpirationTime\n )\n alternate.childExpirationTime = renderExpirationTime;\n else break;\n parent = parent.return;\n }\n}\nfunction prepareToReadContext(workInProgress, renderExpirationTime) {\n currentlyRenderingFiber = workInProgress;\n lastContextWithAllBitsObserved = lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress &&\n null !== workInProgress.firstContext &&\n (workInProgress.expirationTime >= renderExpirationTime &&\n (didReceiveUpdate = !0),\n (workInProgress.firstContext = null));\n}\nfunction readContext(context, observedBits) {\n if (\n lastContextWithAllBitsObserved !== context &&\n !1 !== observedBits &&\n 0 !== observedBits\n ) {\n if (\"number\" !== typeof observedBits || 1073741823 === observedBits)\n (lastContextWithAllBitsObserved = context), (observedBits = 1073741823);\n observedBits = { context: context, observedBits: observedBits, next: null };\n if (null === lastContextDependency) {\n if (null === currentlyRenderingFiber)\n throw ReactError(\n Error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n )\n );\n lastContextDependency = observedBits;\n currentlyRenderingFiber.dependencies = {\n expirationTime: 0,\n firstContext: observedBits,\n responders: null\n };\n } else lastContextDependency = lastContextDependency.next = observedBits;\n }\n return context._currentValue2;\n}\nvar hasForceUpdate = !1;\nfunction createUpdateQueue(baseState) {\n return {\n baseState: baseState,\n firstUpdate: null,\n lastUpdate: null,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\nfunction cloneUpdateQueue(currentQueue) {\n return {\n baseState: currentQueue.baseState,\n firstUpdate: currentQueue.firstUpdate,\n lastUpdate: currentQueue.lastUpdate,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\nfunction createUpdate(expirationTime, suspenseConfig) {\n return {\n expirationTime: expirationTime,\n suspenseConfig: suspenseConfig,\n tag: 0,\n payload: null,\n callback: null,\n next: null,\n nextEffect: null\n };\n}\nfunction appendUpdateToQueue(queue, update) {\n null === queue.lastUpdate\n ? (queue.firstUpdate = queue.lastUpdate = update)\n : ((queue.lastUpdate.next = update), (queue.lastUpdate = update));\n}\nfunction enqueueUpdate(fiber, update) {\n var alternate = fiber.alternate;\n if (null === alternate) {\n var queue1 = fiber.updateQueue;\n var queue2 = null;\n null === queue1 &&\n (queue1 = fiber.updateQueue = createUpdateQueue(fiber.memoizedState));\n } else\n (queue1 = fiber.updateQueue),\n (queue2 = alternate.updateQueue),\n null === queue1\n ? null === queue2\n ? ((queue1 = fiber.updateQueue = createUpdateQueue(\n fiber.memoizedState\n )),\n (queue2 = alternate.updateQueue = createUpdateQueue(\n alternate.memoizedState\n )))\n : (queue1 = fiber.updateQueue = cloneUpdateQueue(queue2))\n : null === queue2 &&\n (queue2 = alternate.updateQueue = cloneUpdateQueue(queue1));\n null === queue2 || queue1 === queue2\n ? appendUpdateToQueue(queue1, update)\n : null === queue1.lastUpdate || null === queue2.lastUpdate\n ? (appendUpdateToQueue(queue1, update),\n appendUpdateToQueue(queue2, update))\n : (appendUpdateToQueue(queue1, update), (queue2.lastUpdate = update));\n}\nfunction enqueueCapturedUpdate(workInProgress, update) {\n var workInProgressQueue = workInProgress.updateQueue;\n workInProgressQueue =\n null === workInProgressQueue\n ? (workInProgress.updateQueue = createUpdateQueue(\n workInProgress.memoizedState\n ))\n : ensureWorkInProgressQueueIsAClone(workInProgress, workInProgressQueue);\n null === workInProgressQueue.lastCapturedUpdate\n ? (workInProgressQueue.firstCapturedUpdate = workInProgressQueue.lastCapturedUpdate = update)\n : ((workInProgressQueue.lastCapturedUpdate.next = update),\n (workInProgressQueue.lastCapturedUpdate = update));\n}\nfunction ensureWorkInProgressQueueIsAClone(workInProgress, queue) {\n var current = workInProgress.alternate;\n null !== current &&\n queue === current.updateQueue &&\n (queue = workInProgress.updateQueue = cloneUpdateQueue(queue));\n return queue;\n}\nfunction getStateFromUpdate(\n workInProgress,\n queue,\n update,\n prevState,\n nextProps,\n instance\n) {\n switch (update.tag) {\n case 1:\n return (\n (workInProgress = update.payload),\n \"function\" === typeof workInProgress\n ? workInProgress.call(instance, prevState, nextProps)\n : workInProgress\n );\n case 3:\n workInProgress.effectTag = (workInProgress.effectTag & -2049) | 64;\n case 0:\n workInProgress = update.payload;\n nextProps =\n \"function\" === typeof workInProgress\n ? workInProgress.call(instance, prevState, nextProps)\n : workInProgress;\n if (null === nextProps || void 0 === nextProps) break;\n return Object.assign({}, prevState, nextProps);\n case 2:\n hasForceUpdate = !0;\n }\n return prevState;\n}\nfunction processUpdateQueue(\n workInProgress,\n queue,\n props,\n instance,\n renderExpirationTime\n) {\n hasForceUpdate = !1;\n queue = ensureWorkInProgressQueueIsAClone(workInProgress, queue);\n for (\n var newBaseState = queue.baseState,\n newFirstUpdate = null,\n newExpirationTime = 0,\n update = queue.firstUpdate,\n resultState = newBaseState;\n null !== update;\n\n ) {\n var updateExpirationTime = update.expirationTime;\n updateExpirationTime < renderExpirationTime\n ? (null === newFirstUpdate &&\n ((newFirstUpdate = update), (newBaseState = resultState)),\n newExpirationTime < updateExpirationTime &&\n (newExpirationTime = updateExpirationTime))\n : (markRenderEventTimeAndConfig(\n updateExpirationTime,\n update.suspenseConfig\n ),\n (resultState = getStateFromUpdate(\n workInProgress,\n queue,\n update,\n resultState,\n props,\n instance\n )),\n null !== update.callback &&\n ((workInProgress.effectTag |= 32),\n (update.nextEffect = null),\n null === queue.lastEffect\n ? (queue.firstEffect = queue.lastEffect = update)\n : ((queue.lastEffect.nextEffect = update),\n (queue.lastEffect = update))));\n update = update.next;\n }\n updateExpirationTime = null;\n for (update = queue.firstCapturedUpdate; null !== update; ) {\n var _updateExpirationTime = update.expirationTime;\n _updateExpirationTime < renderExpirationTime\n ? (null === updateExpirationTime &&\n ((updateExpirationTime = update),\n null === newFirstUpdate && (newBaseState = resultState)),\n newExpirationTime < _updateExpirationTime &&\n (newExpirationTime = _updateExpirationTime))\n : ((resultState = getStateFromUpdate(\n workInProgress,\n queue,\n update,\n resultState,\n props,\n instance\n )),\n null !== update.callback &&\n ((workInProgress.effectTag |= 32),\n (update.nextEffect = null),\n null === queue.lastCapturedEffect\n ? (queue.firstCapturedEffect = queue.lastCapturedEffect = update)\n : ((queue.lastCapturedEffect.nextEffect = update),\n (queue.lastCapturedEffect = update))));\n update = update.next;\n }\n null === newFirstUpdate && (queue.lastUpdate = null);\n null === updateExpirationTime\n ? (queue.lastCapturedUpdate = null)\n : (workInProgress.effectTag |= 32);\n null === newFirstUpdate &&\n null === updateExpirationTime &&\n (newBaseState = resultState);\n queue.baseState = newBaseState;\n queue.firstUpdate = newFirstUpdate;\n queue.firstCapturedUpdate = updateExpirationTime;\n workInProgress.expirationTime = newExpirationTime;\n workInProgress.memoizedState = resultState;\n}\nfunction commitUpdateQueue(finishedWork, finishedQueue, instance) {\n null !== finishedQueue.firstCapturedUpdate &&\n (null !== finishedQueue.lastUpdate &&\n ((finishedQueue.lastUpdate.next = finishedQueue.firstCapturedUpdate),\n (finishedQueue.lastUpdate = finishedQueue.lastCapturedUpdate)),\n (finishedQueue.firstCapturedUpdate = finishedQueue.lastCapturedUpdate = null));\n commitUpdateEffects(finishedQueue.firstEffect, instance);\n finishedQueue.firstEffect = finishedQueue.lastEffect = null;\n commitUpdateEffects(finishedQueue.firstCapturedEffect, instance);\n finishedQueue.firstCapturedEffect = finishedQueue.lastCapturedEffect = null;\n}\nfunction commitUpdateEffects(effect, instance) {\n for (; null !== effect; ) {\n var _callback3 = effect.callback;\n if (null !== _callback3) {\n effect.callback = null;\n var context = instance;\n if (\"function\" !== typeof _callback3)\n throw ReactError(\n Error(\n \"Invalid argument passed as callback. Expected a function. Instead received: \" +\n _callback3\n )\n );\n _callback3.call(context);\n }\n effect = effect.nextEffect;\n }\n}\nvar ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig,\n emptyRefsObject = new React.Component().refs;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : Object.assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n nextProps = workInProgress.updateQueue;\n null !== nextProps &&\n 0 === workInProgress.expirationTime &&\n (nextProps.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n isMounted: function(component) {\n return (component = component._reactInternalFiber)\n ? 2 === isFiberMountedImpl(component)\n : !1;\n },\n enqueueSetState: function(inst, payload, callback) {\n inst = inst._reactInternalFiber;\n var currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(currentTime, inst, suspenseConfig);\n suspenseConfig = createUpdate(currentTime, suspenseConfig);\n suspenseConfig.payload = payload;\n void 0 !== callback &&\n null !== callback &&\n (suspenseConfig.callback = callback);\n enqueueUpdate(inst, suspenseConfig);\n scheduleUpdateOnFiber(inst, currentTime);\n },\n enqueueReplaceState: function(inst, payload, callback) {\n inst = inst._reactInternalFiber;\n var currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(currentTime, inst, suspenseConfig);\n suspenseConfig = createUpdate(currentTime, suspenseConfig);\n suspenseConfig.tag = 1;\n suspenseConfig.payload = payload;\n void 0 !== callback &&\n null !== callback &&\n (suspenseConfig.callback = callback);\n enqueueUpdate(inst, suspenseConfig);\n scheduleUpdateOnFiber(inst, currentTime);\n },\n enqueueForceUpdate: function(inst, callback) {\n inst = inst._reactInternalFiber;\n var currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(currentTime, inst, suspenseConfig);\n suspenseConfig = createUpdate(currentTime, suspenseConfig);\n suspenseConfig.tag = 2;\n void 0 !== callback &&\n null !== callback &&\n (suspenseConfig.callback = callback);\n enqueueUpdate(inst, suspenseConfig);\n scheduleUpdateOnFiber(inst, currentTime);\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction constructClassInstance(workInProgress, ctor, props) {\n var isLegacyContextConsumer = !1,\n unmaskedContext = emptyContextObject;\n var context = ctor.contextType;\n \"object\" === typeof context && null !== context\n ? (context = readContext(context))\n : ((unmaskedContext = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (isLegacyContextConsumer = ctor.contextTypes),\n (context = (isLegacyContextConsumer =\n null !== isLegacyContextConsumer && void 0 !== isLegacyContextConsumer)\n ? getMaskedContext(workInProgress, unmaskedContext)\n : emptyContextObject));\n ctor = new ctor(props, context);\n workInProgress.memoizedState =\n null !== ctor.state && void 0 !== ctor.state ? ctor.state : null;\n ctor.updater = classComponentUpdater;\n workInProgress.stateNode = ctor;\n ctor._reactInternalFiber = workInProgress;\n isLegacyContextConsumer &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return ctor;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction mountClassInstance(\n workInProgress,\n ctor,\n newProps,\n renderExpirationTime\n) {\n var instance = workInProgress.stateNode;\n instance.props = newProps;\n instance.state = workInProgress.memoizedState;\n instance.refs = emptyRefsObject;\n var contextType = ctor.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (instance.context = readContext(contextType))\n : ((contextType = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (instance.context = getMaskedContext(workInProgress, contextType)));\n contextType = workInProgress.updateQueue;\n null !== contextType &&\n (processUpdateQueue(\n workInProgress,\n contextType,\n newProps,\n instance,\n renderExpirationTime\n ),\n (instance.state = workInProgress.memoizedState));\n contextType = ctor.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(workInProgress, ctor, contextType, newProps),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof ctor.getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n ((ctor = instance.state),\n \"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount(),\n ctor !== instance.state &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null),\n (contextType = workInProgress.updateQueue),\n null !== contextType &&\n (processUpdateQueue(\n workInProgress,\n contextType,\n newProps,\n instance,\n renderExpirationTime\n ),\n (instance.state = workInProgress.memoizedState)));\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4);\n}\nvar isArray = Array.isArray;\nfunction coerceRef(returnFiber, current$$1, element) {\n returnFiber = element.ref;\n if (\n null !== returnFiber &&\n \"function\" !== typeof returnFiber &&\n \"object\" !== typeof returnFiber\n ) {\n if (element._owner) {\n element = element._owner;\n var inst = void 0;\n if (element) {\n if (1 !== element.tag)\n throw ReactError(\n Error(\n \"Function components cannot have refs. Did you mean to use React.forwardRef()?\"\n )\n );\n inst = element.stateNode;\n }\n if (!inst)\n throw ReactError(\n Error(\n \"Missing owner for string ref \" +\n returnFiber +\n \". This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n var stringRef = \"\" + returnFiber;\n if (\n null !== current$$1 &&\n null !== current$$1.ref &&\n \"function\" === typeof current$$1.ref &&\n current$$1.ref._stringRef === stringRef\n )\n return current$$1.ref;\n current$$1 = function(value) {\n var refs = inst.refs;\n refs === emptyRefsObject && (refs = inst.refs = {});\n null === value ? delete refs[stringRef] : (refs[stringRef] = value);\n };\n current$$1._stringRef = stringRef;\n return current$$1;\n }\n if (\"string\" !== typeof returnFiber)\n throw ReactError(\n Error(\n \"Expected ref to be a function, a string, an object returned by React.createRef(), or null.\"\n )\n );\n if (!element._owner)\n throw ReactError(\n Error(\n \"Element ref was specified as a string (\" +\n returnFiber +\n \") but no owner was set. This could happen for one of the following reasons:\\n1. You may be adding a ref to a function component\\n2. You may be adding a ref to a component that was not created inside a component's render method\\n3. You have multiple copies of React loaded\\nSee https://fb.me/react-refs-must-have-owner for more information.\"\n )\n );\n }\n return returnFiber;\n}\nfunction throwOnInvalidObjectType(returnFiber, newChild) {\n if (\"textarea\" !== returnFiber.type)\n throw ReactError(\n Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === Object.prototype.toString.call(newChild)\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : newChild) +\n \").\"\n )\n );\n}\nfunction ChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var last = returnFiber.lastEffect;\n null !== last\n ? ((last.nextEffect = childToDelete),\n (returnFiber.lastEffect = childToDelete))\n : (returnFiber.firstEffect = returnFiber.lastEffect = childToDelete);\n childToDelete.nextEffect = null;\n childToDelete.effectTag = 8;\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(returnFiber, currentFirstChild) {\n for (returnFiber = new Map(); null !== currentFirstChild; )\n null !== currentFirstChild.key\n ? returnFiber.set(currentFirstChild.key, currentFirstChild)\n : returnFiber.set(currentFirstChild.index, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return returnFiber;\n }\n function useFiber(fiber, pendingProps, expirationTime) {\n fiber = createWorkInProgress(fiber, pendingProps, expirationTime);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects) return lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.effectTag = 2), lastPlacedIndex)\n : newIndex\n );\n newFiber.effectTag = 2;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.effectTag = 2);\n return newFiber;\n }\n function updateTextNode(\n returnFiber,\n current$$1,\n textContent,\n expirationTime\n ) {\n if (null === current$$1 || 6 !== current$$1.tag)\n return (\n (current$$1 = createFiberFromText(\n textContent,\n returnFiber.mode,\n expirationTime\n )),\n (current$$1.return = returnFiber),\n current$$1\n );\n current$$1 = useFiber(current$$1, textContent, expirationTime);\n current$$1.return = returnFiber;\n return current$$1;\n }\n function updateElement(returnFiber, current$$1, element, expirationTime) {\n if (null !== current$$1 && current$$1.elementType === element.type)\n return (\n (expirationTime = useFiber(current$$1, element.props, expirationTime)),\n (expirationTime.ref = coerceRef(returnFiber, current$$1, element)),\n (expirationTime.return = returnFiber),\n expirationTime\n );\n expirationTime = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n expirationTime\n );\n expirationTime.ref = coerceRef(returnFiber, current$$1, element);\n expirationTime.return = returnFiber;\n return expirationTime;\n }\n function updatePortal(returnFiber, current$$1, portal, expirationTime) {\n if (\n null === current$$1 ||\n 4 !== current$$1.tag ||\n current$$1.stateNode.containerInfo !== portal.containerInfo ||\n current$$1.stateNode.implementation !== portal.implementation\n )\n return (\n (current$$1 = createFiberFromPortal(\n portal,\n returnFiber.mode,\n expirationTime\n )),\n (current$$1.return = returnFiber),\n current$$1\n );\n current$$1 = useFiber(current$$1, portal.children || [], expirationTime);\n current$$1.return = returnFiber;\n return current$$1;\n }\n function updateFragment(\n returnFiber,\n current$$1,\n fragment,\n expirationTime,\n key\n ) {\n if (null === current$$1 || 7 !== current$$1.tag)\n return (\n (current$$1 = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n expirationTime,\n key\n )),\n (current$$1.return = returnFiber),\n current$$1\n );\n current$$1 = useFiber(current$$1, fragment, expirationTime);\n current$$1.return = returnFiber;\n return current$$1;\n }\n function createChild(returnFiber, newChild, expirationTime) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n expirationTime\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (expirationTime = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n expirationTime\n )),\n (expirationTime.ref = coerceRef(returnFiber, null, newChild)),\n (expirationTime.return = returnFiber),\n expirationTime\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n expirationTime\n )),\n (newChild.return = returnFiber),\n newChild\n );\n }\n if (isArray(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n expirationTime,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, expirationTime) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, expirationTime);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? newChild.type === REACT_FRAGMENT_TYPE\n ? updateFragment(\n returnFiber,\n oldFiber,\n newChild.props.children,\n expirationTime,\n key\n )\n : updateElement(returnFiber, oldFiber, newChild, expirationTime)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, expirationTime)\n : null;\n }\n if (isArray(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(\n returnFiber,\n oldFiber,\n newChild,\n expirationTime,\n null\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n expirationTime\n ) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(\n returnFiber,\n existingChildren,\n \"\" + newChild,\n expirationTime\n )\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n newChild.type === REACT_FRAGMENT_TYPE\n ? updateFragment(\n returnFiber,\n existingChildren,\n newChild.props.children,\n expirationTime,\n newChild.key\n )\n : updateElement(\n returnFiber,\n existingChildren,\n newChild,\n expirationTime\n )\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(\n returnFiber,\n existingChildren,\n newChild,\n expirationTime\n )\n );\n }\n if (isArray(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(\n returnFiber,\n existingChildren,\n newChild,\n expirationTime,\n null\n )\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n expirationTime\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n expirationTime\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber), resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(\n returnFiber,\n newChildren[newIdx],\n expirationTime\n )),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n expirationTime\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n null !== nextOldFiber.alternate &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n ),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildrenIterable,\n expirationTime\n ) {\n var iteratorFn = getIteratorFn(newChildrenIterable);\n if (\"function\" !== typeof iteratorFn)\n throw ReactError(\n Error(\n \"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n newChildrenIterable = iteratorFn.call(newChildrenIterable);\n if (null == newChildrenIterable)\n throw ReactError(Error(\"An iterable object provided no iterator.\"));\n for (\n var previousNewFiber = (iteratorFn = null),\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildrenIterable.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildrenIterable.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n step.value,\n expirationTime\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (iteratorFn = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return deleteRemainingChildren(returnFiber, oldFiber), iteratorFn;\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildrenIterable.next())\n (step = createChild(returnFiber, step.value, expirationTime)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n return iteratorFn;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n !step.done;\n newIdx++, step = newChildrenIterable.next()\n )\n (step = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n step.value,\n expirationTime\n )),\n null !== step &&\n (shouldTrackSideEffects &&\n null !== step.alternate &&\n oldFiber.delete(null === step.key ? newIdx : step.key),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return iteratorFn;\n }\n return function(returnFiber, currentFirstChild, newChild, expirationTime) {\n var isUnkeyedTopLevelFragment =\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key;\n isUnkeyedTopLevelFragment && (newChild = newChild.props.children);\n var isObject = \"object\" === typeof newChild && null !== newChild;\n if (isObject)\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n isObject = newChild.key;\n for (\n isUnkeyedTopLevelFragment = currentFirstChild;\n null !== isUnkeyedTopLevelFragment;\n\n ) {\n if (isUnkeyedTopLevelFragment.key === isObject) {\n if (\n 7 === isUnkeyedTopLevelFragment.tag\n ? newChild.type === REACT_FRAGMENT_TYPE\n : isUnkeyedTopLevelFragment.elementType === newChild.type\n ) {\n deleteRemainingChildren(\n returnFiber,\n isUnkeyedTopLevelFragment.sibling\n );\n currentFirstChild = useFiber(\n isUnkeyedTopLevelFragment,\n newChild.type === REACT_FRAGMENT_TYPE\n ? newChild.props.children\n : newChild.props,\n expirationTime\n );\n currentFirstChild.ref = coerceRef(\n returnFiber,\n isUnkeyedTopLevelFragment,\n newChild\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, isUnkeyedTopLevelFragment);\n break;\n } else deleteChild(returnFiber, isUnkeyedTopLevelFragment);\n isUnkeyedTopLevelFragment = isUnkeyedTopLevelFragment.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((currentFirstChild = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n expirationTime,\n newChild.key\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : ((expirationTime = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n expirationTime\n )),\n (expirationTime.ref = coerceRef(\n returnFiber,\n currentFirstChild,\n newChild\n )),\n (expirationTime.return = returnFiber),\n (returnFiber = expirationTime));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (\n isUnkeyedTopLevelFragment = newChild.key;\n null !== currentFirstChild;\n\n ) {\n if (currentFirstChild.key === isUnkeyedTopLevelFragment) {\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n currentFirstChild = useFiber(\n currentFirstChild,\n newChild.children || [],\n expirationTime\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n } else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n currentFirstChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n expirationTime\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n }\n return placeSingleChild(returnFiber);\n }\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (currentFirstChild = useFiber(\n currentFirstChild,\n newChild,\n expirationTime\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (currentFirstChild = createFiberFromText(\n newChild,\n returnFiber.mode,\n expirationTime\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild)),\n placeSingleChild(returnFiber)\n );\n if (isArray(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n expirationTime\n );\n if (getIteratorFn(newChild))\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n expirationTime\n );\n isObject && throwOnInvalidObjectType(returnFiber, newChild);\n if (\"undefined\" === typeof newChild && !isUnkeyedTopLevelFragment)\n switch (returnFiber.tag) {\n case 1:\n case 0:\n throw ((returnFiber = returnFiber.type),\n ReactError(\n Error(\n (returnFiber.displayName || returnFiber.name || \"Component\") +\n \"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.\"\n )\n ));\n }\n return deleteRemainingChildren(returnFiber, currentFirstChild);\n };\n}\nvar reconcileChildFibers = ChildReconciler(!0),\n mountChildFibers = ChildReconciler(!1),\n NO_CONTEXT = {},\n contextStackCursor$1 = { current: NO_CONTEXT },\n contextFiberStackCursor = { current: NO_CONTEXT },\n rootInstanceStackCursor = { current: NO_CONTEXT };\nfunction requiredContext(c) {\n if (c === NO_CONTEXT)\n throw ReactError(\n Error(\n \"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n return c;\n}\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance, fiber);\n push(contextFiberStackCursor, fiber, fiber);\n push(contextStackCursor$1, NO_CONTEXT, fiber);\n pop(contextStackCursor$1, fiber);\n push(contextStackCursor$1, { isInAParentText: !1 }, fiber);\n}\nfunction popHostContainer(fiber) {\n pop(contextStackCursor$1, fiber);\n pop(contextFiberStackCursor, fiber);\n pop(rootInstanceStackCursor, fiber);\n}\nfunction pushHostContext(fiber) {\n requiredContext(rootInstanceStackCursor.current);\n var context = requiredContext(contextStackCursor$1.current);\n var nextContext = fiber.type;\n nextContext =\n \"AndroidTextInput\" === nextContext ||\n \"RCTMultilineTextInputView\" === nextContext ||\n \"RCTSinglelineTextInputView\" === nextContext ||\n \"RCTText\" === nextContext ||\n \"RCTVirtualText\" === nextContext;\n nextContext =\n context.isInAParentText !== nextContext\n ? { isInAParentText: nextContext }\n : context;\n context !== nextContext &&\n (push(contextFiberStackCursor, fiber, fiber),\n push(contextStackCursor$1, nextContext, fiber));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor$1, fiber), pop(contextFiberStackCursor, fiber));\n}\nvar SubtreeSuspenseContextMask = 1,\n InvisibleParentSuspenseContext = 1,\n ForceSuspenseFallback = 2,\n suspenseStackCursor = { current: 0 };\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n if (null !== node.memoizedState) return node;\n } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {\n if (0 !== (node.effectTag & 64)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nfunction createResponderListener(responder, props) {\n return { responder: responder, props: props };\n}\nvar NoEffect$1 = 0,\n UnmountSnapshot = 2,\n UnmountMutation = 4,\n MountMutation = 8,\n UnmountLayout = 16,\n MountLayout = 32,\n MountPassive = 64,\n UnmountPassive = 128,\n ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,\n renderExpirationTime$1 = 0,\n currentlyRenderingFiber$1 = null,\n currentHook = null,\n nextCurrentHook = null,\n firstWorkInProgressHook = null,\n workInProgressHook = null,\n nextWorkInProgressHook = null,\n remainingExpirationTime = 0,\n componentUpdateQueue = null,\n sideEffectTag = 0,\n didScheduleRenderPhaseUpdate = !1,\n renderPhaseUpdates = null,\n numberOfReRenders = 0;\nfunction throwInvalidHookError() {\n throw ReactError(\n Error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.\"\n )\n );\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!is(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n refOrContext,\n nextRenderExpirationTime\n) {\n renderExpirationTime$1 = nextRenderExpirationTime;\n currentlyRenderingFiber$1 = workInProgress;\n nextCurrentHook = null !== current ? current.memoizedState : null;\n ReactCurrentDispatcher$1.current =\n null === nextCurrentHook ? HooksDispatcherOnMount : HooksDispatcherOnUpdate;\n workInProgress = Component(props, refOrContext);\n if (didScheduleRenderPhaseUpdate) {\n do\n (didScheduleRenderPhaseUpdate = !1),\n (numberOfReRenders += 1),\n (nextCurrentHook = null !== current ? current.memoizedState : null),\n (nextWorkInProgressHook = firstWorkInProgressHook),\n (componentUpdateQueue = workInProgressHook = currentHook = null),\n (ReactCurrentDispatcher$1.current = HooksDispatcherOnUpdate),\n (workInProgress = Component(props, refOrContext));\n while (didScheduleRenderPhaseUpdate);\n renderPhaseUpdates = null;\n numberOfReRenders = 0;\n }\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n current = currentlyRenderingFiber$1;\n current.memoizedState = firstWorkInProgressHook;\n current.expirationTime = remainingExpirationTime;\n current.updateQueue = componentUpdateQueue;\n current.effectTag |= sideEffectTag;\n current = null !== currentHook && null !== currentHook.next;\n renderExpirationTime$1 = 0;\n nextWorkInProgressHook = workInProgressHook = firstWorkInProgressHook = nextCurrentHook = currentHook = currentlyRenderingFiber$1 = null;\n remainingExpirationTime = 0;\n componentUpdateQueue = null;\n sideEffectTag = 0;\n if (current)\n throw ReactError(\n Error(\n \"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\"\n )\n );\n return workInProgress;\n}\nfunction resetHooks() {\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n renderExpirationTime$1 = 0;\n nextWorkInProgressHook = workInProgressHook = firstWorkInProgressHook = nextCurrentHook = currentHook = currentlyRenderingFiber$1 = null;\n remainingExpirationTime = 0;\n componentUpdateQueue = null;\n sideEffectTag = 0;\n didScheduleRenderPhaseUpdate = !1;\n renderPhaseUpdates = null;\n numberOfReRenders = 0;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n queue: null,\n baseUpdate: null,\n next: null\n };\n null === workInProgressHook\n ? (firstWorkInProgressHook = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (nextWorkInProgressHook = workInProgressHook.next),\n (currentHook = nextCurrentHook),\n (nextCurrentHook = null !== currentHook ? currentHook.next : null);\n else {\n if (null === nextCurrentHook)\n throw ReactError(\n Error(\"Rendered more hooks than during the previous render.\")\n );\n currentHook = nextCurrentHook;\n var newHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n queue: currentHook.queue,\n baseUpdate: currentHook.baseUpdate,\n next: null\n };\n workInProgressHook =\n null === workInProgressHook\n ? (firstWorkInProgressHook = newHook)\n : (workInProgressHook.next = newHook);\n nextCurrentHook = currentHook.next;\n }\n return workInProgressHook;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw ReactError(\n Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n )\n );\n queue.lastRenderedReducer = reducer;\n if (0 < numberOfReRenders) {\n var _dispatch = queue.dispatch;\n if (null !== renderPhaseUpdates) {\n var firstRenderPhaseUpdate = renderPhaseUpdates.get(queue);\n if (void 0 !== firstRenderPhaseUpdate) {\n renderPhaseUpdates.delete(queue);\n var newState = hook.memoizedState;\n do\n (newState = reducer(newState, firstRenderPhaseUpdate.action)),\n (firstRenderPhaseUpdate = firstRenderPhaseUpdate.next);\n while (null !== firstRenderPhaseUpdate);\n is(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n hook.baseUpdate === queue.last && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n return [newState, _dispatch];\n }\n }\n return [hook.memoizedState, _dispatch];\n }\n _dispatch = queue.last;\n var baseUpdate = hook.baseUpdate;\n newState = hook.baseState;\n null !== baseUpdate\n ? (null !== _dispatch && (_dispatch.next = null),\n (_dispatch = baseUpdate.next))\n : (_dispatch = null !== _dispatch ? _dispatch.next : null);\n if (null !== _dispatch) {\n var newBaseUpdate = (firstRenderPhaseUpdate = null),\n _update = _dispatch,\n didSkip = !1;\n do {\n var updateExpirationTime = _update.expirationTime;\n updateExpirationTime < renderExpirationTime$1\n ? (didSkip ||\n ((didSkip = !0),\n (newBaseUpdate = baseUpdate),\n (firstRenderPhaseUpdate = newState)),\n updateExpirationTime > remainingExpirationTime &&\n (remainingExpirationTime = updateExpirationTime))\n : (markRenderEventTimeAndConfig(\n updateExpirationTime,\n _update.suspenseConfig\n ),\n (newState =\n _update.eagerReducer === reducer\n ? _update.eagerState\n : reducer(newState, _update.action)));\n baseUpdate = _update;\n _update = _update.next;\n } while (null !== _update && _update !== _dispatch);\n didSkip ||\n ((newBaseUpdate = baseUpdate), (firstRenderPhaseUpdate = newState));\n is(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n hook.baseUpdate = newBaseUpdate;\n hook.baseState = firstRenderPhaseUpdate;\n queue.lastRenderedState = newState;\n }\n return [hook.memoizedState, queue.dispatch];\n}\nfunction pushEffect(tag, create, destroy, deps) {\n tag = { tag: tag, create: create, destroy: destroy, deps: deps, next: null };\n null === componentUpdateQueue\n ? ((componentUpdateQueue = { lastEffect: null }),\n (componentUpdateQueue.lastEffect = tag.next = tag))\n : ((create = componentUpdateQueue.lastEffect),\n null === create\n ? (componentUpdateQueue.lastEffect = tag.next = tag)\n : ((destroy = create.next),\n (create.next = tag),\n (tag.next = destroy),\n (componentUpdateQueue.lastEffect = tag)));\n return tag;\n}\nfunction mountEffectImpl(fiberEffectTag, hookEffectTag, create, deps) {\n var hook = mountWorkInProgressHook();\n sideEffectTag |= fiberEffectTag;\n hook.memoizedState = pushEffect(\n hookEffectTag,\n create,\n void 0,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberEffectTag, hookEffectTag, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var destroy = void 0;\n if (null !== currentHook) {\n var prevEffect = currentHook.memoizedState;\n destroy = prevEffect.destroy;\n if (null !== deps && areHookInputsEqual(deps, prevEffect.deps)) {\n pushEffect(NoEffect$1, create, destroy, deps);\n return;\n }\n }\n sideEffectTag |= fiberEffectTag;\n hook.memoizedState = pushEffect(hookEffectTag, create, destroy, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref)\n return (\n (create = create()),\n ref(create),\n function() {\n ref(null);\n }\n );\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function() {\n ref.current = null;\n }\n );\n}\nfunction mountDebugValue() {}\nfunction dispatchAction(fiber, queue, action) {\n if (!(25 > numberOfReRenders))\n throw ReactError(\n Error(\n \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n )\n );\n var alternate = fiber.alternate;\n if (\n fiber === currentlyRenderingFiber$1 ||\n (null !== alternate && alternate === currentlyRenderingFiber$1)\n )\n if (\n ((didScheduleRenderPhaseUpdate = !0),\n (fiber = {\n expirationTime: renderExpirationTime$1,\n suspenseConfig: null,\n action: action,\n eagerReducer: null,\n eagerState: null,\n next: null\n }),\n null === renderPhaseUpdates && (renderPhaseUpdates = new Map()),\n (action = renderPhaseUpdates.get(queue)),\n void 0 === action)\n )\n renderPhaseUpdates.set(queue, fiber);\n else {\n for (queue = action; null !== queue.next; ) queue = queue.next;\n queue.next = fiber;\n }\n else {\n var currentTime = requestCurrentTime(),\n _suspenseConfig = ReactCurrentBatchConfig.suspense;\n currentTime = computeExpirationForFiber(\n currentTime,\n fiber,\n _suspenseConfig\n );\n _suspenseConfig = {\n expirationTime: currentTime,\n suspenseConfig: _suspenseConfig,\n action: action,\n eagerReducer: null,\n eagerState: null,\n next: null\n };\n var _last = queue.last;\n if (null === _last) _suspenseConfig.next = _suspenseConfig;\n else {\n var first = _last.next;\n null !== first && (_suspenseConfig.next = first);\n _last.next = _suspenseConfig;\n }\n queue.last = _suspenseConfig;\n if (\n 0 === fiber.expirationTime &&\n (null === alternate || 0 === alternate.expirationTime) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n _eagerState = alternate(currentState, action);\n _suspenseConfig.eagerReducer = alternate;\n _suspenseConfig.eagerState = _eagerState;\n if (is(_eagerState, currentState)) return;\n } catch (error) {\n } finally {\n }\n scheduleUpdateOnFiber(fiber, currentTime);\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useResponder: throwInvalidHookError\n },\n HooksDispatcherOnMount = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: function(create, deps) {\n return mountEffectImpl(516, UnmountPassive | MountPassive, create, deps);\n },\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return mountEffectImpl(\n 4,\n UnmountMutation | MountLayout,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return mountEffectImpl(4, UnmountMutation | MountLayout, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: function(reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n initialArg = void 0 !== init ? init(initialArg) : initialArg;\n hook.memoizedState = hook.baseState = initialArg;\n reducer = hook.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialArg\n };\n reducer = reducer.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function(initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: function(initialState) {\n var hook = mountWorkInProgressHook();\n \"function\" === typeof initialState && (initialState = initialState());\n hook.memoizedState = hook.baseState = initialState;\n initialState = hook.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n initialState = initialState.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n initialState\n );\n return [hook.memoizedState, initialState];\n },\n useDebugValue: mountDebugValue,\n useResponder: createResponderListener\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n },\n useContext: readContext,\n useEffect: function(create, deps) {\n return updateEffectImpl(516, UnmountPassive | MountPassive, create, deps);\n },\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return updateEffectImpl(\n 4,\n UnmountMutation | MountLayout,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return updateEffectImpl(4, UnmountMutation | MountLayout, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: updateReducer,\n useRef: function() {\n return updateWorkInProgressHook().memoizedState;\n },\n useState: function(initialState) {\n return updateReducer(basicStateReducer, initialState);\n },\n useDebugValue: mountDebugValue,\n useResponder: createResponderListener\n },\n hydrationParentFiber = null,\n nextHydratableInstance = null,\n isHydrating = !1;\nfunction tryHydrate(fiber, nextInstance) {\n switch (fiber.tag) {\n case 5:\n return (\n (nextInstance = shim$1(nextInstance, fiber.type, fiber.pendingProps)),\n null !== nextInstance ? ((fiber.stateNode = nextInstance), !0) : !1\n );\n case 6:\n return (\n (nextInstance = shim$1(nextInstance, fiber.pendingProps)),\n null !== nextInstance ? ((fiber.stateNode = nextInstance), !0) : !1\n );\n case 13:\n return !1;\n default:\n return !1;\n }\n}\nfunction tryToClaimNextHydratableInstance(fiber$jscomp$0) {\n if (isHydrating) {\n var nextInstance = nextHydratableInstance;\n if (nextInstance) {\n var firstAttemptedInstance = nextInstance;\n if (!tryHydrate(fiber$jscomp$0, nextInstance)) {\n nextInstance = shim$1(firstAttemptedInstance);\n if (!nextInstance || !tryHydrate(fiber$jscomp$0, nextInstance)) {\n fiber$jscomp$0.effectTag |= 2;\n isHydrating = !1;\n hydrationParentFiber = fiber$jscomp$0;\n return;\n }\n var returnFiber = hydrationParentFiber,\n fiber = createFiber(5, null, null, 0);\n fiber.elementType = \"DELETED\";\n fiber.type = \"DELETED\";\n fiber.stateNode = firstAttemptedInstance;\n fiber.return = returnFiber;\n fiber.effectTag = 8;\n null !== returnFiber.lastEffect\n ? ((returnFiber.lastEffect.nextEffect = fiber),\n (returnFiber.lastEffect = fiber))\n : (returnFiber.firstEffect = returnFiber.lastEffect = fiber);\n }\n hydrationParentFiber = fiber$jscomp$0;\n nextHydratableInstance = shim$1(nextInstance);\n } else\n (fiber$jscomp$0.effectTag |= 2),\n (isHydrating = !1),\n (hydrationParentFiber = fiber$jscomp$0);\n }\n}\nvar ReactCurrentOwner$3 = ReactSharedInternals.ReactCurrentOwner,\n didReceiveUpdate = !1;\nfunction reconcileChildren(\n current$$1,\n workInProgress,\n nextChildren,\n renderExpirationTime\n) {\n workInProgress.child =\n null === current$$1\n ? mountChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderExpirationTime\n )\n : reconcileChildFibers(\n workInProgress,\n current$$1.child,\n nextChildren,\n renderExpirationTime\n );\n}\nfunction updateForwardRef(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n prepareToReadContext(workInProgress, renderExpirationTime);\n nextProps = renderWithHooks(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n ref,\n renderExpirationTime\n );\n if (null !== current$$1 && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current$$1.updateQueue),\n (workInProgress.effectTag &= -517),\n current$$1.expirationTime <= renderExpirationTime &&\n (current$$1.expirationTime = 0),\n bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n );\n workInProgress.effectTag |= 1;\n reconcileChildren(\n current$$1,\n workInProgress,\n nextProps,\n renderExpirationTime\n );\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n updateExpirationTime,\n renderExpirationTime\n) {\n if (null === current$$1) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare &&\n void 0 === Component.defaultProps\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current$$1,\n workInProgress,\n type,\n nextProps,\n updateExpirationTime,\n renderExpirationTime\n )\n );\n current$$1 = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n null,\n workInProgress.mode,\n renderExpirationTime\n );\n current$$1.ref = workInProgress.ref;\n current$$1.return = workInProgress;\n return (workInProgress.child = current$$1);\n }\n type = current$$1.child;\n if (\n updateExpirationTime < renderExpirationTime &&\n ((updateExpirationTime = type.memoizedProps),\n (Component = Component.compare),\n (Component = null !== Component ? Component : shallowEqual),\n Component(updateExpirationTime, nextProps) &&\n current$$1.ref === workInProgress.ref)\n )\n return bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n workInProgress.effectTag |= 1;\n current$$1 = createWorkInProgress(type, nextProps, renderExpirationTime);\n current$$1.ref = workInProgress.ref;\n current$$1.return = workInProgress;\n return (workInProgress.child = current$$1);\n}\nfunction updateSimpleMemoComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n updateExpirationTime,\n renderExpirationTime\n) {\n return null !== current$$1 &&\n shallowEqual(current$$1.memoizedProps, nextProps) &&\n current$$1.ref === workInProgress.ref &&\n ((didReceiveUpdate = !1), updateExpirationTime < renderExpirationTime)\n ? bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n : updateFunctionComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n );\n}\nfunction markRef(current$$1, workInProgress) {\n var ref = workInProgress.ref;\n if (\n (null === current$$1 && null !== ref) ||\n (null !== current$$1 && current$$1.ref !== ref)\n )\n workInProgress.effectTag |= 128;\n}\nfunction updateFunctionComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n) {\n var context = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current;\n context = getMaskedContext(workInProgress, context);\n prepareToReadContext(workInProgress, renderExpirationTime);\n Component = renderWithHooks(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n context,\n renderExpirationTime\n );\n if (null !== current$$1 && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current$$1.updateQueue),\n (workInProgress.effectTag &= -517),\n current$$1.expirationTime <= renderExpirationTime &&\n (current$$1.expirationTime = 0),\n bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n );\n workInProgress.effectTag |= 1;\n reconcileChildren(\n current$$1,\n workInProgress,\n Component,\n renderExpirationTime\n );\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n) {\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n prepareToReadContext(workInProgress, renderExpirationTime);\n if (null === workInProgress.stateNode)\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2)),\n constructClassInstance(\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n ),\n mountClassInstance(\n workInProgress,\n Component,\n nextProps,\n renderExpirationTime\n ),\n (nextProps = !0);\n else if (null === current$$1) {\n var instance = workInProgress.stateNode,\n oldProps = workInProgress.memoizedProps;\n instance.props = oldProps;\n var oldContext = instance.context,\n contextType = Component.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType)));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps,\n hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate;\n hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n oldContext = instance.state = oldState;\n var updateQueue = workInProgress.updateQueue;\n null !== updateQueue &&\n (processUpdateQueue(\n workInProgress,\n updateQueue,\n nextProps,\n instance,\n renderExpirationTime\n ),\n (oldContext = workInProgress.memoizedState));\n oldProps !== nextProps ||\n oldState !== oldContext ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n (\"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount()),\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (instance.props = nextProps),\n (instance.state = oldContext),\n (instance.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.effectTag |= 4),\n (nextProps = !1));\n } else\n (instance = workInProgress.stateNode),\n (oldProps = workInProgress.memoizedProps),\n (instance.props =\n workInProgress.type === workInProgress.elementType\n ? oldProps\n : resolveDefaultProps(workInProgress.type, oldProps)),\n (oldContext = instance.context),\n (contextType = Component.contextType),\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType))),\n (getDerivedStateFromProps = Component.getDerivedStateFromProps),\n (hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n )),\n (hasForceUpdate = !1),\n (oldContext = workInProgress.memoizedState),\n (oldState = instance.state = oldContext),\n (updateQueue = workInProgress.updateQueue),\n null !== updateQueue &&\n (processUpdateQueue(\n workInProgress,\n updateQueue,\n nextProps,\n instance,\n renderExpirationTime\n ),\n (oldState = workInProgress.memoizedState)),\n oldProps !== nextProps ||\n oldContext !== oldState ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldState = workInProgress.memoizedState)),\n (getDerivedStateFromProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldContext,\n oldState,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof instance.componentWillUpdate) ||\n (\"function\" === typeof instance.componentWillUpdate &&\n instance.componentWillUpdate(\n nextProps,\n oldState,\n contextType\n ),\n \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n instance.UNSAFE_componentWillUpdate(\n nextProps,\n oldState,\n contextType\n )),\n \"function\" === typeof instance.componentDidUpdate &&\n (workInProgress.effectTag |= 4),\n \"function\" === typeof instance.getSnapshotBeforeUpdate &&\n (workInProgress.effectTag |= 256))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 256),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldState)),\n (instance.props = nextProps),\n (instance.state = oldState),\n (instance.context = contextType),\n (nextProps = getDerivedStateFromProps))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current$$1.memoizedProps &&\n oldContext === current$$1.memoizedState) ||\n (workInProgress.effectTag |= 256),\n (nextProps = !1));\n return finishClassComponent(\n current$$1,\n workInProgress,\n Component,\n nextProps,\n hasContext,\n renderExpirationTime\n );\n}\nfunction finishClassComponent(\n current$$1,\n workInProgress,\n Component,\n shouldUpdate,\n hasContext,\n renderExpirationTime\n) {\n markRef(current$$1, workInProgress);\n var didCaptureError = 0 !== (workInProgress.effectTag & 64);\n if (!shouldUpdate && !didCaptureError)\n return (\n hasContext && invalidateContextProvider(workInProgress, Component, !1),\n bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n )\n );\n shouldUpdate = workInProgress.stateNode;\n ReactCurrentOwner$3.current = workInProgress;\n var nextChildren =\n didCaptureError && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : shouldUpdate.render();\n workInProgress.effectTag |= 1;\n null !== current$$1 && didCaptureError\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current$$1.child,\n null,\n renderExpirationTime\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderExpirationTime\n )))\n : reconcileChildren(\n current$$1,\n workInProgress,\n nextChildren,\n renderExpirationTime\n );\n workInProgress.memoizedState = shouldUpdate.state;\n hasContext && invalidateContextProvider(workInProgress, Component, !0);\n return workInProgress.child;\n}\nfunction pushHostRootContext(workInProgress) {\n var root = workInProgress.stateNode;\n root.pendingContext\n ? pushTopLevelContextObject(\n workInProgress,\n root.pendingContext,\n root.pendingContext !== root.context\n )\n : root.context &&\n pushTopLevelContextObject(workInProgress, root.context, !1);\n pushHostContainer(workInProgress, root.containerInfo);\n}\nvar SUSPENDED_MARKER = {};\nfunction updateSuspenseComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n) {\n var mode = workInProgress.mode,\n nextProps = workInProgress.pendingProps,\n suspenseContext = suspenseStackCursor.current,\n nextState = null,\n nextDidTimeout = !1,\n JSCompiler_temp;\n (JSCompiler_temp = 0 !== (workInProgress.effectTag & 64)) ||\n (JSCompiler_temp =\n 0 !== (suspenseContext & ForceSuspenseFallback) &&\n (null === current$$1 || null !== current$$1.memoizedState));\n JSCompiler_temp\n ? ((nextState = SUSPENDED_MARKER),\n (nextDidTimeout = !0),\n (workInProgress.effectTag &= -65))\n : (null !== current$$1 && null === current$$1.memoizedState) ||\n void 0 === nextProps.fallback ||\n !0 === nextProps.unstable_avoidThisFallback ||\n (suspenseContext |= InvisibleParentSuspenseContext);\n suspenseContext &= SubtreeSuspenseContextMask;\n push(suspenseStackCursor, suspenseContext, workInProgress);\n if (null === current$$1)\n if (nextDidTimeout) {\n nextProps = nextProps.fallback;\n current$$1 = createFiberFromFragment(null, mode, 0, null);\n current$$1.return = workInProgress;\n if (0 === (workInProgress.mode & 2))\n for (\n nextDidTimeout =\n null !== workInProgress.memoizedState\n ? workInProgress.child.child\n : workInProgress.child,\n current$$1.child = nextDidTimeout;\n null !== nextDidTimeout;\n\n )\n (nextDidTimeout.return = current$$1),\n (nextDidTimeout = nextDidTimeout.sibling);\n renderExpirationTime = createFiberFromFragment(\n nextProps,\n mode,\n renderExpirationTime,\n null\n );\n renderExpirationTime.return = workInProgress;\n current$$1.sibling = renderExpirationTime;\n mode = current$$1;\n } else\n mode = renderExpirationTime = mountChildFibers(\n workInProgress,\n null,\n nextProps.children,\n renderExpirationTime\n );\n else {\n if (null !== current$$1.memoizedState)\n if (\n ((suspenseContext = current$$1.child),\n (mode = suspenseContext.sibling),\n nextDidTimeout)\n ) {\n nextProps = nextProps.fallback;\n renderExpirationTime = createWorkInProgress(\n suspenseContext,\n suspenseContext.pendingProps,\n 0\n );\n renderExpirationTime.return = workInProgress;\n if (\n 0 === (workInProgress.mode & 2) &&\n ((nextDidTimeout =\n null !== workInProgress.memoizedState\n ? workInProgress.child.child\n : workInProgress.child),\n nextDidTimeout !== suspenseContext.child)\n )\n for (\n renderExpirationTime.child = nextDidTimeout;\n null !== nextDidTimeout;\n\n )\n (nextDidTimeout.return = renderExpirationTime),\n (nextDidTimeout = nextDidTimeout.sibling);\n nextProps = createWorkInProgress(mode, nextProps, mode.expirationTime);\n nextProps.return = workInProgress;\n renderExpirationTime.sibling = nextProps;\n mode = renderExpirationTime;\n renderExpirationTime.childExpirationTime = 0;\n renderExpirationTime = nextProps;\n } else\n mode = renderExpirationTime = reconcileChildFibers(\n workInProgress,\n suspenseContext.child,\n nextProps.children,\n renderExpirationTime\n );\n else if (((suspenseContext = current$$1.child), nextDidTimeout)) {\n nextDidTimeout = nextProps.fallback;\n nextProps = createFiberFromFragment(null, mode, 0, null);\n nextProps.return = workInProgress;\n nextProps.child = suspenseContext;\n null !== suspenseContext && (suspenseContext.return = nextProps);\n if (0 === (workInProgress.mode & 2))\n for (\n suspenseContext =\n null !== workInProgress.memoizedState\n ? workInProgress.child.child\n : workInProgress.child,\n nextProps.child = suspenseContext;\n null !== suspenseContext;\n\n )\n (suspenseContext.return = nextProps),\n (suspenseContext = suspenseContext.sibling);\n renderExpirationTime = createFiberFromFragment(\n nextDidTimeout,\n mode,\n renderExpirationTime,\n null\n );\n renderExpirationTime.return = workInProgress;\n nextProps.sibling = renderExpirationTime;\n renderExpirationTime.effectTag |= 2;\n mode = nextProps;\n nextProps.childExpirationTime = 0;\n } else\n renderExpirationTime = mode = reconcileChildFibers(\n workInProgress,\n suspenseContext,\n nextProps.children,\n renderExpirationTime\n );\n workInProgress.stateNode = current$$1.stateNode;\n }\n workInProgress.memoizedState = nextState;\n workInProgress.child = mode;\n return renderExpirationTime;\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n last: lastContentRow,\n tail: tail,\n tailExpiration: 0,\n tailMode: tailMode\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailExpiration = 0),\n (renderState.tailMode = tailMode));\n}\nfunction updateSuspenseListComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n reconcileChildren(\n current$$1,\n workInProgress,\n nextProps.children,\n renderExpirationTime\n );\n nextProps = suspenseStackCursor.current;\n if (0 !== (nextProps & ForceSuspenseFallback))\n (nextProps =\n (nextProps & SubtreeSuspenseContextMask) | ForceSuspenseFallback),\n (workInProgress.effectTag |= 64);\n else {\n if (null !== current$$1 && 0 !== (current$$1.effectTag & 64))\n a: for (current$$1 = workInProgress.child; null !== current$$1; ) {\n if (13 === current$$1.tag) {\n if (null !== current$$1.memoizedState) {\n current$$1.expirationTime < renderExpirationTime &&\n (current$$1.expirationTime = renderExpirationTime);\n var alternate = current$$1.alternate;\n null !== alternate &&\n alternate.expirationTime < renderExpirationTime &&\n (alternate.expirationTime = renderExpirationTime);\n scheduleWorkOnParentPath(current$$1.return, renderExpirationTime);\n }\n } else if (null !== current$$1.child) {\n current$$1.child.return = current$$1;\n current$$1 = current$$1.child;\n continue;\n }\n if (current$$1 === workInProgress) break a;\n for (; null === current$$1.sibling; ) {\n if (\n null === current$$1.return ||\n current$$1.return === workInProgress\n )\n break a;\n current$$1 = current$$1.return;\n }\n current$$1.sibling.return = current$$1.return;\n current$$1 = current$$1.sibling;\n }\n nextProps &= SubtreeSuspenseContextMask;\n }\n push(suspenseStackCursor, nextProps, workInProgress);\n if (0 === (workInProgress.mode & 2)) workInProgress.memoizedState = null;\n else\n switch (revealOrder) {\n case \"forwards\":\n renderExpirationTime = workInProgress.child;\n for (revealOrder = null; null !== renderExpirationTime; )\n (nextProps = renderExpirationTime.alternate),\n null !== nextProps &&\n null === findFirstSuspended(nextProps) &&\n (revealOrder = renderExpirationTime),\n (renderExpirationTime = renderExpirationTime.sibling);\n renderExpirationTime = revealOrder;\n null === renderExpirationTime\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderExpirationTime.sibling),\n (renderExpirationTime.sibling = null));\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderExpirationTime,\n tailMode\n );\n break;\n case \"backwards\":\n renderExpirationTime = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n nextProps = revealOrder.alternate;\n if (null !== nextProps && null === findFirstSuspended(nextProps)) {\n workInProgress.child = revealOrder;\n break;\n }\n nextProps = revealOrder.sibling;\n revealOrder.sibling = renderExpirationTime;\n renderExpirationTime = revealOrder;\n revealOrder = nextProps;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderExpirationTime,\n null,\n tailMode\n );\n break;\n case \"together\":\n initSuspenseListRenderState(workInProgress, !1, null, null, void 0);\n break;\n default:\n workInProgress.memoizedState = null;\n }\n return workInProgress.child;\n}\nfunction bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n) {\n null !== current$$1 &&\n (workInProgress.dependencies = current$$1.dependencies);\n if (workInProgress.childExpirationTime < renderExpirationTime) return null;\n if (null !== current$$1 && workInProgress.child !== current$$1.child)\n throw ReactError(Error(\"Resuming work not yet implemented.\"));\n if (null !== workInProgress.child) {\n current$$1 = workInProgress.child;\n renderExpirationTime = createWorkInProgress(\n current$$1,\n current$$1.pendingProps,\n current$$1.expirationTime\n );\n workInProgress.child = renderExpirationTime;\n for (\n renderExpirationTime.return = workInProgress;\n null !== current$$1.sibling;\n\n )\n (current$$1 = current$$1.sibling),\n (renderExpirationTime = renderExpirationTime.sibling = createWorkInProgress(\n current$$1,\n current$$1.pendingProps,\n current$$1.expirationTime\n )),\n (renderExpirationTime.return = workInProgress);\n renderExpirationTime.sibling = null;\n }\n return workInProgress.child;\n}\nvar appendAllChildren = void 0,\n updateHostContainer = void 0,\n updateHostComponent$1 = void 0,\n updateHostText$1 = void 0;\nappendAllChildren = function(\n parent,\n workInProgress,\n needsVisibilityToggle,\n isHidden\n) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag) {\n var instance = node.stateNode;\n needsVisibilityToggle &&\n isHidden &&\n (instance = cloneHiddenInstance(\n instance,\n node.type,\n node.memoizedProps,\n node\n ));\n appendChildNode(parent.node, instance.node);\n } else if (6 === node.tag) {\n instance = node.stateNode;\n if (needsVisibilityToggle && isHidden)\n throw Error(\"Not yet implemented.\");\n appendChildNode(parent.node, instance.node);\n } else if (4 !== node.tag) {\n if (\n 13 === node.tag &&\n 0 !== (node.effectTag & 4) &&\n (instance = null !== node.memoizedState)\n ) {\n var primaryChildParent = node.child;\n if (\n null !== primaryChildParent &&\n (null !== primaryChildParent.child &&\n ((primaryChildParent.child.return = primaryChildParent),\n appendAllChildren(parent, primaryChildParent, !0, instance)),\n (instance = primaryChildParent.sibling),\n null !== instance)\n ) {\n instance.return = node;\n node = instance;\n continue;\n }\n }\n if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n};\nfunction appendAllChildrenToContainer(\n containerChildSet,\n workInProgress,\n needsVisibilityToggle,\n isHidden\n) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag) {\n var instance = node.stateNode;\n needsVisibilityToggle &&\n isHidden &&\n (instance = cloneHiddenInstance(\n instance,\n node.type,\n node.memoizedProps,\n node\n ));\n appendChildNodeToSet(containerChildSet, instance.node);\n } else if (6 === node.tag) {\n instance = node.stateNode;\n if (needsVisibilityToggle && isHidden)\n throw Error(\"Not yet implemented.\");\n appendChildNodeToSet(containerChildSet, instance.node);\n } else if (4 !== node.tag) {\n if (\n 13 === node.tag &&\n 0 !== (node.effectTag & 4) &&\n (instance = null !== node.memoizedState)\n ) {\n var primaryChildParent = node.child;\n if (\n null !== primaryChildParent &&\n (null !== primaryChildParent.child &&\n ((primaryChildParent.child.return = primaryChildParent),\n appendAllChildrenToContainer(\n containerChildSet,\n primaryChildParent,\n !0,\n instance\n )),\n (instance = primaryChildParent.sibling),\n null !== instance)\n ) {\n instance.return = node;\n node = instance;\n continue;\n }\n }\n if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n}\nupdateHostContainer = function(workInProgress) {\n var portalOrRoot = workInProgress.stateNode;\n if (null !== workInProgress.firstEffect) {\n var container = portalOrRoot.containerInfo,\n newChildSet = createChildNodeSet(container);\n appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);\n portalOrRoot.pendingChildren = newChildSet;\n workInProgress.effectTag |= 4;\n completeRoot(container, newChildSet);\n }\n};\nupdateHostComponent$1 = function(current, workInProgress, type, newProps) {\n type = current.stateNode;\n var oldProps = current.memoizedProps;\n if ((current = null === workInProgress.firstEffect) && oldProps === newProps)\n workInProgress.stateNode = type;\n else {\n var recyclableInstance = workInProgress.stateNode;\n requiredContext(contextStackCursor$1.current);\n var updatePayload = null;\n oldProps !== newProps &&\n ((oldProps = diffProperties(\n null,\n oldProps,\n newProps,\n recyclableInstance.canonical.viewConfig.validAttributes\n )),\n (recyclableInstance.canonical.currentProps = newProps),\n (updatePayload = oldProps));\n current && null === updatePayload\n ? (workInProgress.stateNode = type)\n : ((newProps = updatePayload),\n (recyclableInstance = type.node),\n (type = {\n node: current\n ? null !== newProps\n ? cloneNodeWithNewProps(recyclableInstance, newProps)\n : cloneNode(recyclableInstance)\n : null !== newProps\n ? cloneNodeWithNewChildrenAndProps(recyclableInstance, newProps)\n : cloneNodeWithNewChildren(recyclableInstance),\n canonical: type.canonical\n }),\n (workInProgress.stateNode = type),\n current\n ? (workInProgress.effectTag |= 4)\n : appendAllChildren(type, workInProgress, !1, !1));\n }\n};\nupdateHostText$1 = function(current, workInProgress, oldText, newText) {\n oldText !== newText &&\n ((current = requiredContext(rootInstanceStackCursor.current)),\n (oldText = requiredContext(contextStackCursor$1.current)),\n (workInProgress.stateNode = createTextInstance(\n newText,\n current,\n oldText,\n workInProgress\n )),\n (workInProgress.effectTag |= 4));\n};\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n switch (renderState.tailMode) {\n case \"hidden\":\n hasRenderedATailFallback = renderState.tail;\n for (var lastTailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (lastTailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === lastTailNode\n ? (renderState.tail = null)\n : (lastTailNode.sibling = null);\n break;\n case \"collapsed\":\n lastTailNode = renderState.tail;\n for (var _lastTailNode = null; null !== lastTailNode; )\n null !== lastTailNode.alternate && (_lastTailNode = lastTailNode),\n (lastTailNode = lastTailNode.sibling);\n null === _lastTailNode\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (_lastTailNode.sibling = null);\n }\n}\nfunction unwindWork(workInProgress) {\n switch (workInProgress.tag) {\n case 1:\n isContextProvider(workInProgress.type) && popContext(workInProgress);\n var effectTag = workInProgress.effectTag;\n return effectTag & 2048\n ? ((workInProgress.effectTag = (effectTag & -2049) | 64),\n workInProgress)\n : null;\n case 3:\n popHostContainer(workInProgress);\n popTopLevelContextObject(workInProgress);\n effectTag = workInProgress.effectTag;\n if (0 !== (effectTag & 64))\n throw ReactError(\n Error(\n \"The root failed to unmount after an error. This is likely a bug in React. Please file an issue.\"\n )\n );\n workInProgress.effectTag = (effectTag & -2049) | 64;\n return workInProgress;\n case 5:\n return popHostContext(workInProgress), null;\n case 13:\n return (\n pop(suspenseStackCursor, workInProgress),\n (effectTag = workInProgress.effectTag),\n effectTag & 2048\n ? ((workInProgress.effectTag = (effectTag & -2049) | 64),\n workInProgress)\n : null\n );\n case 18:\n return null;\n case 19:\n return pop(suspenseStackCursor, workInProgress), null;\n case 4:\n return popHostContainer(workInProgress), null;\n case 10:\n return popProvider(workInProgress), null;\n default:\n return null;\n }\n}\nfunction createCapturedValue(value, source) {\n return {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n}\nif (\n \"function\" !==\n typeof ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog\n)\n throw ReactError(\n Error(\"Expected ReactFiberErrorDialog.showErrorDialog to be a function.\")\n );\nfunction logCapturedError(capturedError) {\n !1 !==\n ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog(\n capturedError\n ) && console.error(capturedError.error);\n}\nvar PossiblyWeakSet$1 = \"function\" === typeof WeakSet ? WeakSet : Set;\nfunction logError(boundary, errorInfo) {\n var source = errorInfo.source,\n stack = errorInfo.stack;\n null === stack &&\n null !== source &&\n (stack = getStackByFiberInDevAndProd(source));\n errorInfo = {\n componentName: null !== source ? getComponentName(source.type) : null,\n componentStack: null !== stack ? stack : \"\",\n error: errorInfo.value,\n errorBoundary: null,\n errorBoundaryName: null,\n errorBoundaryFound: !1,\n willRetry: !1\n };\n null !== boundary &&\n 1 === boundary.tag &&\n ((errorInfo.errorBoundary = boundary.stateNode),\n (errorInfo.errorBoundaryName = getComponentName(boundary.type)),\n (errorInfo.errorBoundaryFound = !0),\n (errorInfo.willRetry = !0));\n try {\n logCapturedError(errorInfo);\n } catch (e) {\n setTimeout(function() {\n throw e;\n });\n }\n}\nfunction safelyCallComponentWillUnmount(current$$1, instance) {\n try {\n (instance.props = current$$1.memoizedProps),\n (instance.state = current$$1.memoizedState),\n instance.componentWillUnmount();\n } catch (unmountError) {\n captureCommitPhaseError(current$$1, unmountError);\n }\n}\nfunction safelyDetachRef(current$$1) {\n var ref = current$$1.ref;\n if (null !== ref)\n if (\"function\" === typeof ref)\n try {\n ref(null);\n } catch (refError) {\n captureCommitPhaseError(current$$1, refError);\n }\n else ref.current = null;\n}\nfunction commitHookEffectList(unmountTag, mountTag, finishedWork) {\n finishedWork = finishedWork.updateQueue;\n finishedWork = null !== finishedWork ? finishedWork.lastEffect : null;\n if (null !== finishedWork) {\n var effect = (finishedWork = finishedWork.next);\n do {\n if ((effect.tag & unmountTag) !== NoEffect$1) {\n var destroy = effect.destroy;\n effect.destroy = void 0;\n void 0 !== destroy && destroy();\n }\n (effect.tag & mountTag) !== NoEffect$1 &&\n ((destroy = effect.create), (effect.destroy = destroy()));\n effect = effect.next;\n } while (effect !== finishedWork);\n }\n}\nfunction commitUnmount(current$$1$jscomp$0, renderPriorityLevel) {\n \"function\" === typeof onCommitFiberUnmount &&\n onCommitFiberUnmount(current$$1$jscomp$0);\n switch (current$$1$jscomp$0.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n var updateQueue = current$$1$jscomp$0.updateQueue;\n if (\n null !== updateQueue &&\n ((updateQueue = updateQueue.lastEffect), null !== updateQueue)\n ) {\n var firstEffect = updateQueue.next;\n runWithPriority$1(\n 97 < renderPriorityLevel ? 97 : renderPriorityLevel,\n function() {\n var effect = firstEffect;\n do {\n var destroy = effect.destroy;\n if (void 0 !== destroy) {\n var current$$1 = current$$1$jscomp$0;\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current$$1, error);\n }\n }\n effect = effect.next;\n } while (effect !== firstEffect);\n }\n );\n }\n break;\n case 1:\n safelyDetachRef(current$$1$jscomp$0);\n renderPriorityLevel = current$$1$jscomp$0.stateNode;\n \"function\" === typeof renderPriorityLevel.componentWillUnmount &&\n safelyCallComponentWillUnmount(\n current$$1$jscomp$0,\n renderPriorityLevel\n );\n break;\n case 5:\n safelyDetachRef(current$$1$jscomp$0);\n break;\n case 4:\n createChildNodeSet(current$$1$jscomp$0.stateNode.containerInfo);\n }\n}\nfunction detachFiber(current$$1) {\n var alternate = current$$1.alternate;\n current$$1.return = null;\n current$$1.child = null;\n current$$1.memoizedState = null;\n current$$1.updateQueue = null;\n current$$1.dependencies = null;\n current$$1.alternate = null;\n current$$1.firstEffect = null;\n current$$1.lastEffect = null;\n current$$1.pendingProps = null;\n current$$1.memoizedProps = null;\n null !== alternate && detachFiber(alternate);\n}\nfunction commitWork(current$$1, finishedWork) {\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookEffectList(UnmountMutation, MountMutation, finishedWork);\n return;\n case 12:\n return;\n case 13:\n null !== finishedWork.memoizedState &&\n (globalMostRecentFallbackTime = now());\n attachSuspenseRetryListeners(finishedWork);\n return;\n case 19:\n attachSuspenseRetryListeners(finishedWork);\n return;\n }\n switch (finishedWork.tag) {\n case 1:\n case 5:\n case 6:\n case 20:\n break;\n case 3:\n case 4:\n break;\n default:\n throw ReactError(\n Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n}\nfunction attachSuspenseRetryListeners(finishedWork) {\n var thenables = finishedWork.updateQueue;\n if (null !== thenables) {\n finishedWork.updateQueue = null;\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet$1());\n thenables.forEach(function(thenable) {\n var retry = resolveRetryThenable.bind(null, finishedWork, thenable);\n retryCache.has(thenable) ||\n (retryCache.add(thenable), thenable.then(retry, retry));\n });\n }\n}\nvar PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map;\nfunction createRootErrorUpdate(fiber, errorInfo, expirationTime) {\n expirationTime = createUpdate(expirationTime, null);\n expirationTime.tag = 3;\n expirationTime.payload = { element: null };\n var error = errorInfo.value;\n expirationTime.callback = function() {\n hasUncaughtError || ((hasUncaughtError = !0), (firstUncaughtError = error));\n logError(fiber, errorInfo);\n };\n return expirationTime;\n}\nfunction createClassErrorUpdate(fiber, errorInfo, expirationTime) {\n expirationTime = createUpdate(expirationTime, null);\n expirationTime.tag = 3;\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n expirationTime.payload = function() {\n logError(fiber, errorInfo);\n return getDerivedStateFromError(error);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (expirationTime.callback = function() {\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this),\n logError(fiber, errorInfo));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n return expirationTime;\n}\nvar ceil = Math.ceil,\n ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner,\n NoContext = 0,\n LegacyUnbatchedContext = 8,\n RenderContext = 16,\n CommitContext = 32,\n RootIncomplete = 0,\n RootErrored = 1,\n RootSuspended = 2,\n RootSuspendedWithDelay = 3,\n RootCompleted = 4,\n executionContext = NoContext,\n workInProgressRoot = null,\n workInProgress = null,\n renderExpirationTime = 0,\n workInProgressRootExitStatus = RootIncomplete,\n workInProgressRootLatestProcessedExpirationTime = 1073741823,\n workInProgressRootLatestSuspenseTimeout = 1073741823,\n workInProgressRootCanSuspendUsingConfig = null,\n workInProgressRootHasPendingPing = !1,\n globalMostRecentFallbackTime = 0,\n FALLBACK_THROTTLE_MS = 500,\n nextEffect = null,\n hasUncaughtError = !1,\n firstUncaughtError = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n rootDoesHavePassiveEffects = !1,\n rootWithPendingPassiveEffects = null,\n pendingPassiveEffectsRenderPriority = 90,\n pendingPassiveEffectsExpirationTime = 0,\n rootsWithPendingDiscreteUpdates = null,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null,\n currentEventTime = 0;\nfunction requestCurrentTime() {\n return (executionContext & (RenderContext | CommitContext)) !== NoContext\n ? 1073741821 - ((now() / 10) | 0)\n : 0 !== currentEventTime\n ? currentEventTime\n : (currentEventTime = 1073741821 - ((now() / 10) | 0));\n}\nfunction computeExpirationForFiber(currentTime, fiber, suspenseConfig) {\n fiber = fiber.mode;\n if (0 === (fiber & 2)) return 1073741823;\n var priorityLevel = getCurrentPriorityLevel();\n if (0 === (fiber & 4)) return 99 === priorityLevel ? 1073741823 : 1073741822;\n if ((executionContext & RenderContext) !== NoContext)\n return renderExpirationTime;\n if (null !== suspenseConfig)\n currentTime =\n 1073741821 -\n 25 *\n ((((1073741821 -\n currentTime +\n (suspenseConfig.timeoutMs | 0 || 5e3) / 10) /\n 25) |\n 0) +\n 1);\n else\n switch (priorityLevel) {\n case 99:\n currentTime = 1073741823;\n break;\n case 98:\n currentTime =\n 1073741821 - 10 * ((((1073741821 - currentTime + 15) / 10) | 0) + 1);\n break;\n case 97:\n case 96:\n currentTime =\n 1073741821 - 25 * ((((1073741821 - currentTime + 500) / 25) | 0) + 1);\n break;\n case 95:\n currentTime = 1;\n break;\n default:\n throw ReactError(Error(\"Expected a valid priority level\"));\n }\n null !== workInProgressRoot &&\n currentTime === renderExpirationTime &&\n --currentTime;\n return currentTime;\n}\nfunction scheduleUpdateOnFiber(fiber, expirationTime) {\n if (50 < nestedUpdateCount)\n throw ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n ReactError(\n Error(\n \"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\"\n )\n ));\n fiber = markUpdateTimeFromFiberToRoot(fiber, expirationTime);\n if (null !== fiber) {\n fiber.pingTime = 0;\n var priorityLevel = getCurrentPriorityLevel();\n if (1073741823 === expirationTime)\n if (\n (executionContext & LegacyUnbatchedContext) !== NoContext &&\n (executionContext & (RenderContext | CommitContext)) === NoContext\n )\n for (\n var callback = renderRoot(fiber, 1073741823, !0);\n null !== callback;\n\n )\n callback = callback(!0);\n else\n scheduleCallbackForRoot(fiber, 99, 1073741823),\n executionContext === NoContext && flushSyncCallbackQueue();\n else scheduleCallbackForRoot(fiber, priorityLevel, expirationTime);\n (executionContext & 4) === NoContext ||\n (98 !== priorityLevel && 99 !== priorityLevel) ||\n (null === rootsWithPendingDiscreteUpdates\n ? (rootsWithPendingDiscreteUpdates = new Map([[fiber, expirationTime]]))\n : ((priorityLevel = rootsWithPendingDiscreteUpdates.get(fiber)),\n (void 0 === priorityLevel || priorityLevel > expirationTime) &&\n rootsWithPendingDiscreteUpdates.set(fiber, expirationTime)));\n }\n}\nfunction markUpdateTimeFromFiberToRoot(fiber, expirationTime) {\n fiber.expirationTime < expirationTime &&\n (fiber.expirationTime = expirationTime);\n var alternate = fiber.alternate;\n null !== alternate &&\n alternate.expirationTime < expirationTime &&\n (alternate.expirationTime = expirationTime);\n var node = fiber.return,\n root = null;\n if (null === node && 3 === fiber.tag) root = fiber.stateNode;\n else\n for (; null !== node; ) {\n alternate = node.alternate;\n node.childExpirationTime < expirationTime &&\n (node.childExpirationTime = expirationTime);\n null !== alternate &&\n alternate.childExpirationTime < expirationTime &&\n (alternate.childExpirationTime = expirationTime);\n if (null === node.return && 3 === node.tag) {\n root = node.stateNode;\n break;\n }\n node = node.return;\n }\n null !== root &&\n (expirationTime > root.firstPendingTime &&\n (root.firstPendingTime = expirationTime),\n (fiber = root.lastPendingTime),\n 0 === fiber || expirationTime < fiber) &&\n (root.lastPendingTime = expirationTime);\n return root;\n}\nfunction scheduleCallbackForRoot(root, priorityLevel, expirationTime) {\n if (root.callbackExpirationTime < expirationTime) {\n var existingCallbackNode = root.callbackNode;\n null !== existingCallbackNode &&\n existingCallbackNode !== fakeCallbackNode &&\n Scheduler_cancelCallback(existingCallbackNode);\n root.callbackExpirationTime = expirationTime;\n 1073741823 === expirationTime\n ? (root.callbackNode = scheduleSyncCallback(\n runRootCallback.bind(\n null,\n root,\n renderRoot.bind(null, root, expirationTime)\n )\n ))\n : ((existingCallbackNode = null),\n 1 !== expirationTime &&\n (existingCallbackNode = {\n timeout: 10 * (1073741821 - expirationTime) - now()\n }),\n (root.callbackNode = scheduleCallback(\n priorityLevel,\n runRootCallback.bind(\n null,\n root,\n renderRoot.bind(null, root, expirationTime)\n ),\n existingCallbackNode\n )));\n }\n}\nfunction runRootCallback(root, callback, isSync) {\n var prevCallbackNode = root.callbackNode,\n continuation = null;\n try {\n return (\n (continuation = callback(isSync)),\n null !== continuation\n ? runRootCallback.bind(null, root, continuation)\n : null\n );\n } finally {\n null === continuation &&\n prevCallbackNode === root.callbackNode &&\n ((root.callbackNode = null), (root.callbackExpirationTime = 0));\n }\n}\nfunction resolveLocksOnRoot(root, expirationTime) {\n var firstBatch = root.firstBatch;\n return null !== firstBatch &&\n firstBatch._defer &&\n firstBatch._expirationTime >= expirationTime\n ? (scheduleCallback(97, function() {\n firstBatch._onComplete();\n return null;\n }),\n !0)\n : !1;\n}\nfunction flushPendingDiscreteUpdates() {\n if (null !== rootsWithPendingDiscreteUpdates) {\n var roots = rootsWithPendingDiscreteUpdates;\n rootsWithPendingDiscreteUpdates = null;\n roots.forEach(function(expirationTime, root) {\n scheduleSyncCallback(renderRoot.bind(null, root, expirationTime));\n });\n flushSyncCallbackQueue();\n }\n}\nfunction prepareFreshStack(root, expirationTime) {\n root.finishedWork = null;\n root.finishedExpirationTime = 0;\n var timeoutHandle = root.timeoutHandle;\n -1 !== timeoutHandle &&\n ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n if (null !== workInProgress)\n for (timeoutHandle = workInProgress.return; null !== timeoutHandle; ) {\n var interruptedWork = timeoutHandle;\n switch (interruptedWork.tag) {\n case 1:\n var childContextTypes = interruptedWork.type.childContextTypes;\n null !== childContextTypes &&\n void 0 !== childContextTypes &&\n popContext(interruptedWork);\n break;\n case 3:\n popHostContainer(interruptedWork);\n popTopLevelContextObject(interruptedWork);\n break;\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer(interruptedWork);\n break;\n case 13:\n pop(suspenseStackCursor, interruptedWork);\n break;\n case 19:\n pop(suspenseStackCursor, interruptedWork);\n break;\n case 10:\n popProvider(interruptedWork);\n }\n timeoutHandle = timeoutHandle.return;\n }\n workInProgressRoot = root;\n workInProgress = createWorkInProgress(root.current, null, expirationTime);\n renderExpirationTime = expirationTime;\n workInProgressRootExitStatus = RootIncomplete;\n workInProgressRootLatestSuspenseTimeout = workInProgressRootLatestProcessedExpirationTime = 1073741823;\n workInProgressRootCanSuspendUsingConfig = null;\n workInProgressRootHasPendingPing = !1;\n}\nfunction renderRoot(root$jscomp$0, expirationTime, isSync) {\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw ReactError(Error(\"Should not already be working.\"));\n if (root$jscomp$0.firstPendingTime < expirationTime) return null;\n if (isSync && root$jscomp$0.finishedExpirationTime === expirationTime)\n return commitRoot.bind(null, root$jscomp$0);\n flushPassiveEffects();\n if (\n root$jscomp$0 !== workInProgressRoot ||\n expirationTime !== renderExpirationTime\n )\n prepareFreshStack(root$jscomp$0, expirationTime);\n else if (workInProgressRootExitStatus === RootSuspendedWithDelay)\n if (workInProgressRootHasPendingPing)\n prepareFreshStack(root$jscomp$0, expirationTime);\n else {\n var lastPendingTime = root$jscomp$0.lastPendingTime;\n if (lastPendingTime < expirationTime)\n return renderRoot.bind(null, root$jscomp$0, lastPendingTime);\n }\n if (null !== workInProgress) {\n lastPendingTime = executionContext;\n executionContext |= RenderContext;\n var prevDispatcher = ReactCurrentDispatcher.current;\n null === prevDispatcher && (prevDispatcher = ContextOnlyDispatcher);\n ReactCurrentDispatcher.current = ContextOnlyDispatcher;\n if (isSync) {\n if (1073741823 !== expirationTime) {\n var currentTime = requestCurrentTime();\n if (currentTime < expirationTime)\n return (\n (executionContext = lastPendingTime),\n resetContextDependencies(),\n (ReactCurrentDispatcher.current = prevDispatcher),\n renderRoot.bind(null, root$jscomp$0, currentTime)\n );\n }\n } else currentEventTime = 0;\n do\n try {\n if (isSync)\n for (; null !== workInProgress; )\n workInProgress = performUnitOfWork(workInProgress);\n else\n for (; null !== workInProgress && !Scheduler_shouldYield(); )\n workInProgress = performUnitOfWork(workInProgress);\n break;\n } catch (thrownValue) {\n resetContextDependencies();\n resetHooks();\n currentTime = workInProgress;\n if (null === currentTime || null === currentTime.return)\n throw (prepareFreshStack(root$jscomp$0, expirationTime),\n (executionContext = lastPendingTime),\n thrownValue);\n a: {\n var root = root$jscomp$0,\n returnFiber = currentTime.return,\n sourceFiber = currentTime,\n value = thrownValue,\n renderExpirationTime$jscomp$0 = renderExpirationTime;\n sourceFiber.effectTag |= 1024;\n sourceFiber.firstEffect = sourceFiber.lastEffect = null;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n var thenable = value,\n hasInvisibleParentBoundary =\n 0 !==\n (suspenseStackCursor.current & InvisibleParentSuspenseContext);\n value = returnFiber;\n do {\n var JSCompiler_temp;\n if ((JSCompiler_temp = 13 === value.tag))\n null !== value.memoizedState\n ? (JSCompiler_temp = !1)\n : ((JSCompiler_temp = value.memoizedProps),\n (JSCompiler_temp =\n void 0 === JSCompiler_temp.fallback\n ? !1\n : !0 !== JSCompiler_temp.unstable_avoidThisFallback\n ? !0\n : hasInvisibleParentBoundary\n ? !1\n : !0));\n if (JSCompiler_temp) {\n returnFiber = value.updateQueue;\n null === returnFiber\n ? ((returnFiber = new Set()),\n returnFiber.add(thenable),\n (value.updateQueue = returnFiber))\n : returnFiber.add(thenable);\n if (0 === (value.mode & 2)) {\n value.effectTag |= 64;\n sourceFiber.effectTag &= -1957;\n 1 === sourceFiber.tag &&\n (null === sourceFiber.alternate\n ? (sourceFiber.tag = 17)\n : ((renderExpirationTime$jscomp$0 = createUpdate(\n 1073741823,\n null\n )),\n (renderExpirationTime$jscomp$0.tag = 2),\n enqueueUpdate(\n sourceFiber,\n renderExpirationTime$jscomp$0\n )));\n sourceFiber.expirationTime = 1073741823;\n break a;\n }\n sourceFiber = root;\n root = renderExpirationTime$jscomp$0;\n hasInvisibleParentBoundary = sourceFiber.pingCache;\n null === hasInvisibleParentBoundary\n ? ((hasInvisibleParentBoundary = sourceFiber.pingCache = new PossiblyWeakMap()),\n (returnFiber = new Set()),\n hasInvisibleParentBoundary.set(thenable, returnFiber))\n : ((returnFiber = hasInvisibleParentBoundary.get(thenable)),\n void 0 === returnFiber &&\n ((returnFiber = new Set()),\n hasInvisibleParentBoundary.set(thenable, returnFiber)));\n returnFiber.has(root) ||\n (returnFiber.add(root),\n (sourceFiber = pingSuspendedRoot.bind(\n null,\n sourceFiber,\n thenable,\n root\n )),\n thenable.then(sourceFiber, sourceFiber));\n value.effectTag |= 2048;\n value.expirationTime = renderExpirationTime$jscomp$0;\n break a;\n }\n value = value.return;\n } while (null !== value);\n value = Error(\n (getComponentName(sourceFiber.type) || \"A React component\") +\n \" 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.\" +\n getStackByFiberInDevAndProd(sourceFiber)\n );\n }\n workInProgressRootExitStatus !== RootCompleted &&\n (workInProgressRootExitStatus = RootErrored);\n value = createCapturedValue(value, sourceFiber);\n sourceFiber = returnFiber;\n do {\n switch (sourceFiber.tag) {\n case 3:\n sourceFiber.effectTag |= 2048;\n sourceFiber.expirationTime = renderExpirationTime$jscomp$0;\n renderExpirationTime$jscomp$0 = createRootErrorUpdate(\n sourceFiber,\n value,\n renderExpirationTime$jscomp$0\n );\n enqueueCapturedUpdate(\n sourceFiber,\n renderExpirationTime$jscomp$0\n );\n break a;\n case 1:\n if (\n ((thenable = value),\n (root = sourceFiber.type),\n (returnFiber = sourceFiber.stateNode),\n 0 === (sourceFiber.effectTag & 64) &&\n (\"function\" === typeof root.getDerivedStateFromError ||\n (null !== returnFiber &&\n \"function\" === typeof returnFiber.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(\n returnFiber\n )))))\n ) {\n sourceFiber.effectTag |= 2048;\n sourceFiber.expirationTime = renderExpirationTime$jscomp$0;\n renderExpirationTime$jscomp$0 = createClassErrorUpdate(\n sourceFiber,\n thenable,\n renderExpirationTime$jscomp$0\n );\n enqueueCapturedUpdate(\n sourceFiber,\n renderExpirationTime$jscomp$0\n );\n break a;\n }\n }\n sourceFiber = sourceFiber.return;\n } while (null !== sourceFiber);\n }\n workInProgress = completeUnitOfWork(currentTime);\n }\n while (1);\n executionContext = lastPendingTime;\n resetContextDependencies();\n ReactCurrentDispatcher.current = prevDispatcher;\n if (null !== workInProgress)\n return renderRoot.bind(null, root$jscomp$0, expirationTime);\n }\n root$jscomp$0.finishedWork = root$jscomp$0.current.alternate;\n root$jscomp$0.finishedExpirationTime = expirationTime;\n if (resolveLocksOnRoot(root$jscomp$0, expirationTime)) return null;\n workInProgressRoot = null;\n switch (workInProgressRootExitStatus) {\n case RootIncomplete:\n throw ReactError(Error(\"Should have a work-in-progress.\"));\n case RootErrored:\n return (\n (lastPendingTime = root$jscomp$0.lastPendingTime),\n lastPendingTime < expirationTime\n ? renderRoot.bind(null, root$jscomp$0, lastPendingTime)\n : isSync\n ? commitRoot.bind(null, root$jscomp$0)\n : (prepareFreshStack(root$jscomp$0, expirationTime),\n scheduleSyncCallback(\n renderRoot.bind(null, root$jscomp$0, expirationTime)\n ),\n null)\n );\n case RootSuspended:\n if (\n 1073741823 === workInProgressRootLatestProcessedExpirationTime &&\n !isSync &&\n ((isSync = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now()),\n 10 < isSync)\n ) {\n if (workInProgressRootHasPendingPing)\n return (\n prepareFreshStack(root$jscomp$0, expirationTime),\n renderRoot.bind(null, root$jscomp$0, expirationTime)\n );\n lastPendingTime = root$jscomp$0.lastPendingTime;\n if (lastPendingTime < expirationTime)\n return renderRoot.bind(null, root$jscomp$0, lastPendingTime);\n root$jscomp$0.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root$jscomp$0),\n isSync\n );\n return null;\n }\n return commitRoot.bind(null, root$jscomp$0);\n case RootSuspendedWithDelay:\n if (!isSync) {\n if (workInProgressRootHasPendingPing)\n return (\n prepareFreshStack(root$jscomp$0, expirationTime),\n renderRoot.bind(null, root$jscomp$0, expirationTime)\n );\n isSync = root$jscomp$0.lastPendingTime;\n if (isSync < expirationTime)\n return renderRoot.bind(null, root$jscomp$0, isSync);\n 1073741823 !== workInProgressRootLatestSuspenseTimeout\n ? (isSync =\n 10 * (1073741821 - workInProgressRootLatestSuspenseTimeout) -\n now())\n : 1073741823 === workInProgressRootLatestProcessedExpirationTime\n ? (isSync = 0)\n : ((isSync =\n 10 *\n (1073741821 -\n workInProgressRootLatestProcessedExpirationTime) -\n 5e3),\n (lastPendingTime = now()),\n (expirationTime =\n 10 * (1073741821 - expirationTime) - lastPendingTime),\n (isSync = lastPendingTime - isSync),\n 0 > isSync && (isSync = 0),\n (isSync =\n (120 > isSync\n ? 120\n : 480 > isSync\n ? 480\n : 1080 > isSync\n ? 1080\n : 1920 > isSync\n ? 1920\n : 3e3 > isSync\n ? 3e3\n : 4320 > isSync\n ? 4320\n : 1960 * ceil(isSync / 1960)) - isSync),\n expirationTime < isSync && (isSync = expirationTime));\n if (10 < isSync)\n return (\n (root$jscomp$0.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root$jscomp$0),\n isSync\n )),\n null\n );\n }\n return commitRoot.bind(null, root$jscomp$0);\n case RootCompleted:\n return !isSync &&\n 1073741823 !== workInProgressRootLatestProcessedExpirationTime &&\n null !== workInProgressRootCanSuspendUsingConfig &&\n ((lastPendingTime = workInProgressRootLatestProcessedExpirationTime),\n (prevDispatcher = workInProgressRootCanSuspendUsingConfig),\n (expirationTime = prevDispatcher.busyMinDurationMs | 0),\n 0 >= expirationTime\n ? (expirationTime = 0)\n : ((isSync = prevDispatcher.busyDelayMs | 0),\n (lastPendingTime =\n now() -\n (10 * (1073741821 - lastPendingTime) -\n (prevDispatcher.timeoutMs | 0 || 5e3))),\n (expirationTime =\n lastPendingTime <= isSync\n ? 0\n : isSync + expirationTime - lastPendingTime)),\n 10 < expirationTime)\n ? ((root$jscomp$0.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root$jscomp$0),\n expirationTime\n )),\n null)\n : commitRoot.bind(null, root$jscomp$0);\n default:\n throw ReactError(Error(\"Unknown root exit status.\"));\n }\n}\nfunction markRenderEventTimeAndConfig(expirationTime, suspenseConfig) {\n expirationTime < workInProgressRootLatestProcessedExpirationTime &&\n 1 < expirationTime &&\n (workInProgressRootLatestProcessedExpirationTime = expirationTime);\n null !== suspenseConfig &&\n expirationTime < workInProgressRootLatestSuspenseTimeout &&\n 1 < expirationTime &&\n ((workInProgressRootLatestSuspenseTimeout = expirationTime),\n (workInProgressRootCanSuspendUsingConfig = suspenseConfig));\n}\nfunction performUnitOfWork(unitOfWork) {\n var next = beginWork$$1(\n unitOfWork.alternate,\n unitOfWork,\n renderExpirationTime\n );\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next && (next = completeUnitOfWork(unitOfWork));\n ReactCurrentOwner$2.current = null;\n return next;\n}\nfunction completeUnitOfWork(unitOfWork) {\n workInProgress = unitOfWork;\n do {\n var current$$1 = workInProgress.alternate;\n unitOfWork = workInProgress.return;\n if (0 === (workInProgress.effectTag & 1024)) {\n a: {\n var current = current$$1;\n current$$1 = workInProgress;\n var renderExpirationTime$jscomp$0 = renderExpirationTime,\n newProps = current$$1.pendingProps;\n switch (current$$1.tag) {\n case 2:\n break;\n case 16:\n break;\n case 15:\n case 0:\n break;\n case 1:\n isContextProvider(current$$1.type) && popContext(current$$1);\n break;\n case 3:\n popHostContainer(current$$1);\n popTopLevelContextObject(current$$1);\n renderExpirationTime$jscomp$0 = current$$1.stateNode;\n renderExpirationTime$jscomp$0.pendingContext &&\n ((renderExpirationTime$jscomp$0.context =\n renderExpirationTime$jscomp$0.pendingContext),\n (renderExpirationTime$jscomp$0.pendingContext = null));\n if (null === current || null === current.child)\n current$$1.effectTag &= -3;\n updateHostContainer(current$$1);\n break;\n case 5:\n popHostContext(current$$1);\n renderExpirationTime$jscomp$0 = requiredContext(\n rootInstanceStackCursor.current\n );\n var type = current$$1.type;\n if (null !== current && null != current$$1.stateNode)\n updateHostComponent$1(\n current,\n current$$1,\n type,\n newProps,\n renderExpirationTime$jscomp$0\n ),\n current.ref !== current$$1.ref && (current$$1.effectTag |= 128);\n else if (newProps) {\n requiredContext(contextStackCursor$1.current);\n current = newProps;\n var rootContainerInstance = renderExpirationTime$jscomp$0;\n renderExpirationTime$jscomp$0 = current$$1;\n newProps = nextReactTag;\n nextReactTag += 2;\n type = getViewConfigForType(type);\n var updatePayload = diffProperties(\n null,\n emptyObject,\n current,\n type.validAttributes\n );\n rootContainerInstance = createNode(\n newProps,\n type.uiViewClassName,\n rootContainerInstance,\n updatePayload,\n renderExpirationTime$jscomp$0\n );\n current = new ReactFabricHostComponent(\n newProps,\n type,\n current,\n renderExpirationTime$jscomp$0\n );\n current = { node: rootContainerInstance, canonical: current };\n appendAllChildren(current, current$$1, !1, !1);\n current$$1.stateNode = current;\n null !== current$$1.ref && (current$$1.effectTag |= 128);\n } else if (null === current$$1.stateNode)\n throw ReactError(\n Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n break;\n case 6:\n if (current && null != current$$1.stateNode)\n updateHostText$1(\n current,\n current$$1,\n current.memoizedProps,\n newProps\n );\n else {\n if (\"string\" !== typeof newProps && null === current$$1.stateNode)\n throw ReactError(\n Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n current = requiredContext(rootInstanceStackCursor.current);\n renderExpirationTime$jscomp$0 = requiredContext(\n contextStackCursor$1.current\n );\n current$$1.stateNode = createTextInstance(\n newProps,\n current,\n renderExpirationTime$jscomp$0,\n current$$1\n );\n }\n break;\n case 11:\n break;\n case 13:\n pop(suspenseStackCursor, current$$1);\n newProps = current$$1.memoizedState;\n if (0 !== (current$$1.effectTag & 64)) {\n current$$1.expirationTime = renderExpirationTime$jscomp$0;\n break a;\n }\n renderExpirationTime$jscomp$0 = null !== newProps;\n newProps = !1;\n null !== current &&\n ((type = current.memoizedState),\n (newProps = null !== type),\n renderExpirationTime$jscomp$0 ||\n null === type ||\n ((type = current.child.sibling),\n null !== type &&\n ((rootContainerInstance = current$$1.firstEffect),\n null !== rootContainerInstance\n ? ((current$$1.firstEffect = type),\n (type.nextEffect = rootContainerInstance))\n : ((current$$1.firstEffect = current$$1.lastEffect = type),\n (type.nextEffect = null)),\n (type.effectTag = 8))));\n if (\n renderExpirationTime$jscomp$0 &&\n !newProps &&\n 0 !== (current$$1.mode & 2)\n )\n if (\n (null === current &&\n !0 !== current$$1.memoizedProps.unstable_avoidThisFallback) ||\n 0 !==\n (suspenseStackCursor.current & InvisibleParentSuspenseContext)\n )\n workInProgressRootExitStatus === RootIncomplete &&\n (workInProgressRootExitStatus = RootSuspended);\n else if (\n workInProgressRootExitStatus === RootIncomplete ||\n workInProgressRootExitStatus === RootSuspended\n )\n workInProgressRootExitStatus = RootSuspendedWithDelay;\n renderExpirationTime$jscomp$0 && (current$$1.effectTag |= 4);\n break;\n case 7:\n break;\n case 8:\n break;\n case 12:\n break;\n case 4:\n popHostContainer(current$$1);\n updateHostContainer(current$$1);\n break;\n case 10:\n popProvider(current$$1);\n break;\n case 9:\n break;\n case 14:\n break;\n case 17:\n isContextProvider(current$$1.type) && popContext(current$$1);\n break;\n case 18:\n break;\n case 19:\n pop(suspenseStackCursor, current$$1);\n newProps = current$$1.memoizedState;\n if (null === newProps) break;\n type = 0 !== (current$$1.effectTag & 64);\n rootContainerInstance = newProps.rendering;\n if (null === rootContainerInstance)\n if (type) cutOffTailIfNeeded(newProps, !1);\n else {\n if (\n workInProgressRootExitStatus !== RootIncomplete ||\n (null !== current && 0 !== (current.effectTag & 64))\n )\n for (current = current$$1.child; null !== current; ) {\n rootContainerInstance = findFirstSuspended(current);\n if (null !== rootContainerInstance) {\n current$$1.effectTag |= 64;\n cutOffTailIfNeeded(newProps, !1);\n current = rootContainerInstance.updateQueue;\n null !== current &&\n ((current$$1.updateQueue = current),\n (current$$1.effectTag |= 4));\n current$$1.firstEffect = current$$1.lastEffect = null;\n current = renderExpirationTime$jscomp$0;\n for (\n renderExpirationTime$jscomp$0 = current$$1.child;\n null !== renderExpirationTime$jscomp$0;\n\n )\n (newProps = renderExpirationTime$jscomp$0),\n (type = current),\n (newProps.effectTag &= 2),\n (newProps.nextEffect = null),\n (newProps.firstEffect = null),\n (newProps.lastEffect = null),\n (rootContainerInstance = newProps.alternate),\n null === rootContainerInstance\n ? ((newProps.childExpirationTime = 0),\n (newProps.expirationTime = type),\n (newProps.child = null),\n (newProps.memoizedProps = null),\n (newProps.memoizedState = null),\n (newProps.updateQueue = null),\n (newProps.dependencies = null))\n : ((newProps.childExpirationTime =\n rootContainerInstance.childExpirationTime),\n (newProps.expirationTime =\n rootContainerInstance.expirationTime),\n (newProps.child = rootContainerInstance.child),\n (newProps.memoizedProps =\n rootContainerInstance.memoizedProps),\n (newProps.memoizedState =\n rootContainerInstance.memoizedState),\n (newProps.updateQueue =\n rootContainerInstance.updateQueue),\n (type = rootContainerInstance.dependencies),\n (newProps.dependencies =\n null === type\n ? null\n : {\n expirationTime: type.expirationTime,\n firstContext: type.firstContext,\n responders: type.responders\n })),\n (renderExpirationTime$jscomp$0 =\n renderExpirationTime$jscomp$0.sibling);\n push(\n suspenseStackCursor,\n (suspenseStackCursor.current &\n SubtreeSuspenseContextMask) |\n ForceSuspenseFallback,\n current$$1\n );\n current$$1 = current$$1.child;\n break a;\n }\n current = current.sibling;\n }\n }\n else {\n if (!type)\n if (\n ((current = findFirstSuspended(rootContainerInstance)),\n null !== current)\n ) {\n if (\n ((current$$1.effectTag |= 64),\n (type = !0),\n cutOffTailIfNeeded(newProps, !0),\n null === newProps.tail && \"hidden\" === newProps.tailMode)\n ) {\n current = current.updateQueue;\n null !== current &&\n ((current$$1.updateQueue = current),\n (current$$1.effectTag |= 4));\n current$$1 = current$$1.lastEffect = newProps.lastEffect;\n null !== current$$1 && (current$$1.nextEffect = null);\n break;\n }\n } else\n now() > newProps.tailExpiration &&\n 1 < renderExpirationTime$jscomp$0 &&\n ((current$$1.effectTag |= 64),\n (type = !0),\n cutOffTailIfNeeded(newProps, !1),\n (current$$1.expirationTime = current$$1.childExpirationTime =\n renderExpirationTime$jscomp$0 - 1));\n newProps.isBackwards\n ? ((rootContainerInstance.sibling = current$$1.child),\n (current$$1.child = rootContainerInstance))\n : ((current = newProps.last),\n null !== current\n ? (current.sibling = rootContainerInstance)\n : (current$$1.child = rootContainerInstance),\n (newProps.last = rootContainerInstance));\n }\n if (null !== newProps.tail) {\n 0 === newProps.tailExpiration &&\n (newProps.tailExpiration = now() + 500);\n current = newProps.tail;\n newProps.rendering = current;\n newProps.tail = current.sibling;\n newProps.lastEffect = current$$1.lastEffect;\n current.sibling = null;\n renderExpirationTime$jscomp$0 = suspenseStackCursor.current;\n renderExpirationTime$jscomp$0 = type\n ? (renderExpirationTime$jscomp$0 & SubtreeSuspenseContextMask) |\n ForceSuspenseFallback\n : renderExpirationTime$jscomp$0 & SubtreeSuspenseContextMask;\n push(\n suspenseStackCursor,\n renderExpirationTime$jscomp$0,\n current$$1\n );\n current$$1 = current;\n break a;\n }\n break;\n case 20:\n break;\n default:\n throw ReactError(\n Error(\n \"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n current$$1 = null;\n }\n current = workInProgress;\n if (1 === renderExpirationTime || 1 !== current.childExpirationTime) {\n renderExpirationTime$jscomp$0 = 0;\n for (newProps = current.child; null !== newProps; )\n (type = newProps.expirationTime),\n (rootContainerInstance = newProps.childExpirationTime),\n type > renderExpirationTime$jscomp$0 &&\n (renderExpirationTime$jscomp$0 = type),\n rootContainerInstance > renderExpirationTime$jscomp$0 &&\n (renderExpirationTime$jscomp$0 = rootContainerInstance),\n (newProps = newProps.sibling);\n current.childExpirationTime = renderExpirationTime$jscomp$0;\n }\n if (null !== current$$1) return current$$1;\n null !== unitOfWork &&\n 0 === (unitOfWork.effectTag & 1024) &&\n (null === unitOfWork.firstEffect &&\n (unitOfWork.firstEffect = workInProgress.firstEffect),\n null !== workInProgress.lastEffect &&\n (null !== unitOfWork.lastEffect &&\n (unitOfWork.lastEffect.nextEffect = workInProgress.firstEffect),\n (unitOfWork.lastEffect = workInProgress.lastEffect)),\n 1 < workInProgress.effectTag &&\n (null !== unitOfWork.lastEffect\n ? (unitOfWork.lastEffect.nextEffect = workInProgress)\n : (unitOfWork.firstEffect = workInProgress),\n (unitOfWork.lastEffect = workInProgress)));\n } else {\n current$$1 = unwindWork(workInProgress, renderExpirationTime);\n if (null !== current$$1)\n return (current$$1.effectTag &= 1023), current$$1;\n null !== unitOfWork &&\n ((unitOfWork.firstEffect = unitOfWork.lastEffect = null),\n (unitOfWork.effectTag |= 1024));\n }\n current$$1 = workInProgress.sibling;\n if (null !== current$$1) return current$$1;\n workInProgress = unitOfWork;\n } while (null !== workInProgress);\n workInProgressRootExitStatus === RootIncomplete &&\n (workInProgressRootExitStatus = RootCompleted);\n return null;\n}\nfunction commitRoot(root) {\n var renderPriorityLevel = getCurrentPriorityLevel();\n runWithPriority$1(99, commitRootImpl.bind(null, root, renderPriorityLevel));\n null !== rootWithPendingPassiveEffects &&\n scheduleCallback(97, function() {\n flushPassiveEffects();\n return null;\n });\n return null;\n}\nfunction commitRootImpl(root, renderPriorityLevel) {\n flushPassiveEffects();\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw ReactError(Error(\"Should not already be working.\"));\n var finishedWork = root.finishedWork,\n expirationTime = root.finishedExpirationTime;\n if (null === finishedWork) return null;\n root.finishedWork = null;\n root.finishedExpirationTime = 0;\n if (finishedWork === root.current)\n throw ReactError(\n Error(\n \"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n root.callbackNode = null;\n root.callbackExpirationTime = 0;\n var updateExpirationTimeBeforeCommit = finishedWork.expirationTime,\n childExpirationTimeBeforeCommit = finishedWork.childExpirationTime;\n updateExpirationTimeBeforeCommit =\n childExpirationTimeBeforeCommit > updateExpirationTimeBeforeCommit\n ? childExpirationTimeBeforeCommit\n : updateExpirationTimeBeforeCommit;\n root.firstPendingTime = updateExpirationTimeBeforeCommit;\n updateExpirationTimeBeforeCommit < root.lastPendingTime &&\n (root.lastPendingTime = updateExpirationTimeBeforeCommit);\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null), (renderExpirationTime = 0));\n 1 < finishedWork.effectTag\n ? null !== finishedWork.lastEffect\n ? ((finishedWork.lastEffect.nextEffect = finishedWork),\n (updateExpirationTimeBeforeCommit = finishedWork.firstEffect))\n : (updateExpirationTimeBeforeCommit = finishedWork)\n : (updateExpirationTimeBeforeCommit = finishedWork.firstEffect);\n if (null !== updateExpirationTimeBeforeCommit) {\n childExpirationTimeBeforeCommit = executionContext;\n executionContext |= CommitContext;\n ReactCurrentOwner$2.current = null;\n nextEffect = updateExpirationTimeBeforeCommit;\n do\n try {\n for (; null !== nextEffect; ) {\n if (0 !== (nextEffect.effectTag & 256)) {\n var current$$1 = nextEffect.alternate,\n finishedWork$jscomp$0 = nextEffect;\n switch (finishedWork$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectList(\n UnmountSnapshot,\n NoEffect$1,\n finishedWork$jscomp$0\n );\n break;\n case 1:\n if (\n finishedWork$jscomp$0.effectTag & 256 &&\n null !== current$$1\n ) {\n var prevProps = current$$1.memoizedProps,\n prevState = current$$1.memoizedState,\n instance = finishedWork$jscomp$0.stateNode,\n snapshot = instance.getSnapshotBeforeUpdate(\n finishedWork$jscomp$0.elementType ===\n finishedWork$jscomp$0.type\n ? prevProps\n : resolveDefaultProps(\n finishedWork$jscomp$0.type,\n prevProps\n ),\n prevState\n );\n instance.__reactInternalSnapshotBeforeUpdate = snapshot;\n }\n break;\n case 3:\n case 5:\n case 6:\n case 4:\n case 17:\n break;\n default:\n throw ReactError(\n Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n }\n nextEffect = nextEffect.nextEffect;\n }\n } catch (error) {\n if (null === nextEffect)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(nextEffect, error);\n nextEffect = nextEffect.nextEffect;\n }\n while (null !== nextEffect);\n nextEffect = updateExpirationTimeBeforeCommit;\n do\n try {\n for (current$$1 = renderPriorityLevel; null !== nextEffect; ) {\n var effectTag = nextEffect.effectTag;\n if (effectTag & 128) {\n var current$$1$jscomp$0 = nextEffect.alternate;\n if (null !== current$$1$jscomp$0) {\n var currentRef = current$$1$jscomp$0.ref;\n null !== currentRef &&\n (\"function\" === typeof currentRef\n ? currentRef(null)\n : (currentRef.current = null));\n }\n }\n switch (effectTag & 14) {\n case 2:\n nextEffect.effectTag &= -3;\n break;\n case 6:\n nextEffect.effectTag &= -3;\n commitWork(nextEffect.alternate, nextEffect);\n break;\n case 4:\n commitWork(nextEffect.alternate, nextEffect);\n break;\n case 8:\n prevProps = nextEffect;\n a: for (\n prevState = prevProps,\n instance = current$$1,\n snapshot = prevState;\n ;\n\n )\n if (\n (commitUnmount(snapshot, instance), null !== snapshot.child)\n )\n (snapshot.child.return = snapshot),\n (snapshot = snapshot.child);\n else {\n if (snapshot === prevState) break;\n for (; null === snapshot.sibling; ) {\n if (\n null === snapshot.return ||\n snapshot.return === prevState\n )\n break a;\n snapshot = snapshot.return;\n }\n snapshot.sibling.return = snapshot.return;\n snapshot = snapshot.sibling;\n }\n detachFiber(prevProps);\n }\n nextEffect = nextEffect.nextEffect;\n }\n } catch (error) {\n if (null === nextEffect)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(nextEffect, error);\n nextEffect = nextEffect.nextEffect;\n }\n while (null !== nextEffect);\n root.current = finishedWork;\n nextEffect = updateExpirationTimeBeforeCommit;\n do\n try {\n for (effectTag = expirationTime; null !== nextEffect; ) {\n var effectTag$jscomp$0 = nextEffect.effectTag;\n if (effectTag$jscomp$0 & 36) {\n var current$$1$jscomp$1 = nextEffect.alternate;\n current$$1$jscomp$0 = nextEffect;\n currentRef = effectTag;\n switch (current$$1$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectList(\n UnmountLayout,\n MountLayout,\n current$$1$jscomp$0\n );\n break;\n case 1:\n var instance$jscomp$0 = current$$1$jscomp$0.stateNode;\n if (current$$1$jscomp$0.effectTag & 4)\n if (null === current$$1$jscomp$1)\n instance$jscomp$0.componentDidMount();\n else {\n var prevProps$jscomp$0 =\n current$$1$jscomp$0.elementType ===\n current$$1$jscomp$0.type\n ? current$$1$jscomp$1.memoizedProps\n : resolveDefaultProps(\n current$$1$jscomp$0.type,\n current$$1$jscomp$1.memoizedProps\n );\n instance$jscomp$0.componentDidUpdate(\n prevProps$jscomp$0,\n current$$1$jscomp$1.memoizedState,\n instance$jscomp$0.__reactInternalSnapshotBeforeUpdate\n );\n }\n var updateQueue = current$$1$jscomp$0.updateQueue;\n null !== updateQueue &&\n commitUpdateQueue(\n current$$1$jscomp$0,\n updateQueue,\n instance$jscomp$0,\n currentRef\n );\n break;\n case 3:\n var _updateQueue = current$$1$jscomp$0.updateQueue;\n if (null !== _updateQueue) {\n current$$1 = null;\n if (null !== current$$1$jscomp$0.child)\n switch (current$$1$jscomp$0.child.tag) {\n case 5:\n current$$1 =\n current$$1$jscomp$0.child.stateNode.canonical;\n break;\n case 1:\n current$$1 = current$$1$jscomp$0.child.stateNode;\n }\n commitUpdateQueue(\n current$$1$jscomp$0,\n _updateQueue,\n current$$1,\n currentRef\n );\n }\n break;\n case 5:\n if (\n null === current$$1$jscomp$1 &&\n current$$1$jscomp$0.effectTag & 4\n )\n throw ReactError(\n Error(\n \"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n break;\n case 6:\n break;\n case 4:\n break;\n case 12:\n break;\n case 13:\n case 19:\n case 17:\n case 20:\n break;\n default:\n throw ReactError(\n Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n }\n if (effectTag$jscomp$0 & 128) {\n var ref = nextEffect.ref;\n if (null !== ref) {\n var instance$jscomp$1 = nextEffect.stateNode;\n switch (nextEffect.tag) {\n case 5:\n var instanceToUse = instance$jscomp$1.canonical;\n break;\n default:\n instanceToUse = instance$jscomp$1;\n }\n \"function\" === typeof ref\n ? ref(instanceToUse)\n : (ref.current = instanceToUse);\n }\n }\n effectTag$jscomp$0 & 512 && (rootDoesHavePassiveEffects = !0);\n nextEffect = nextEffect.nextEffect;\n }\n } catch (error) {\n if (null === nextEffect)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(nextEffect, error);\n nextEffect = nextEffect.nextEffect;\n }\n while (null !== nextEffect);\n nextEffect = null;\n requestPaint();\n executionContext = childExpirationTimeBeforeCommit;\n } else root.current = finishedWork;\n if (rootDoesHavePassiveEffects)\n (rootDoesHavePassiveEffects = !1),\n (rootWithPendingPassiveEffects = root),\n (pendingPassiveEffectsExpirationTime = expirationTime),\n (pendingPassiveEffectsRenderPriority = renderPriorityLevel);\n else\n for (nextEffect = updateExpirationTimeBeforeCommit; null !== nextEffect; )\n (renderPriorityLevel = nextEffect.nextEffect),\n (nextEffect.nextEffect = null),\n (nextEffect = renderPriorityLevel);\n renderPriorityLevel = root.firstPendingTime;\n 0 !== renderPriorityLevel\n ? ((effectTag$jscomp$0 = requestCurrentTime()),\n (effectTag$jscomp$0 = inferPriorityFromExpirationTime(\n effectTag$jscomp$0,\n renderPriorityLevel\n )),\n scheduleCallbackForRoot(root, effectTag$jscomp$0, renderPriorityLevel))\n : (legacyErrorBoundariesThatAlreadyFailed = null);\n \"function\" === typeof onCommitFiberRoot &&\n onCommitFiberRoot(finishedWork.stateNode, expirationTime);\n 1073741823 === renderPriorityLevel\n ? root === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n : (nestedUpdateCount = 0);\n if (hasUncaughtError)\n throw ((hasUncaughtError = !1),\n (root = firstUncaughtError),\n (firstUncaughtError = null),\n root);\n if ((executionContext & LegacyUnbatchedContext) !== NoContext) return null;\n flushSyncCallbackQueue();\n return null;\n}\nfunction flushPassiveEffects() {\n if (null === rootWithPendingPassiveEffects) return !1;\n var root = rootWithPendingPassiveEffects,\n expirationTime = pendingPassiveEffectsExpirationTime,\n renderPriorityLevel = pendingPassiveEffectsRenderPriority;\n rootWithPendingPassiveEffects = null;\n pendingPassiveEffectsExpirationTime = 0;\n pendingPassiveEffectsRenderPriority = 90;\n return runWithPriority$1(\n 97 < renderPriorityLevel ? 97 : renderPriorityLevel,\n flushPassiveEffectsImpl.bind(null, root, expirationTime)\n );\n}\nfunction flushPassiveEffectsImpl(root) {\n if ((executionContext & (RenderContext | CommitContext)) !== NoContext)\n throw ReactError(\n Error(\"Cannot flush passive effects while already rendering.\")\n );\n var prevExecutionContext = executionContext;\n executionContext |= CommitContext;\n for (root = root.current.firstEffect; null !== root; ) {\n try {\n var finishedWork = root;\n if (0 !== (finishedWork.effectTag & 512))\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectList(UnmountPassive, NoEffect$1, finishedWork),\n commitHookEffectList(NoEffect$1, MountPassive, finishedWork);\n }\n } catch (error) {\n if (null === root)\n throw ReactError(Error(\"Should be working on an effect.\"));\n captureCommitPhaseError(root, error);\n }\n finishedWork = root.nextEffect;\n root.nextEffect = null;\n root = finishedWork;\n }\n executionContext = prevExecutionContext;\n flushSyncCallbackQueue();\n return !0;\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber, sourceFiber, 1073741823);\n enqueueUpdate(rootFiber, sourceFiber);\n rootFiber = markUpdateTimeFromFiberToRoot(rootFiber, 1073741823);\n null !== rootFiber && scheduleCallbackForRoot(rootFiber, 99, 1073741823);\n}\nfunction captureCommitPhaseError(sourceFiber, error) {\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else\n for (var fiber = sourceFiber.return; null !== fiber; ) {\n if (3 === fiber.tag) {\n captureCommitPhaseErrorOnRoot(fiber, sourceFiber, error);\n break;\n } else if (1 === fiber.tag) {\n var instance = fiber.stateNode;\n if (\n \"function\" === typeof fiber.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createClassErrorUpdate(fiber, sourceFiber, 1073741823);\n enqueueUpdate(fiber, sourceFiber);\n fiber = markUpdateTimeFromFiberToRoot(fiber, 1073741823);\n null !== fiber && scheduleCallbackForRoot(fiber, 99, 1073741823);\n break;\n }\n }\n fiber = fiber.return;\n }\n}\nfunction pingSuspendedRoot(root, thenable, suspendedTime) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(thenable);\n workInProgressRoot === root && renderExpirationTime === suspendedTime\n ? workInProgressRootExitStatus === RootSuspendedWithDelay ||\n (workInProgressRootExitStatus === RootSuspended &&\n 1073741823 === workInProgressRootLatestProcessedExpirationTime &&\n now() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS)\n ? prepareFreshStack(root, renderExpirationTime)\n : (workInProgressRootHasPendingPing = !0)\n : root.lastPendingTime < suspendedTime ||\n ((thenable = root.pingTime),\n (0 !== thenable && thenable < suspendedTime) ||\n ((root.pingTime = suspendedTime),\n root.finishedExpirationTime === suspendedTime &&\n ((root.finishedExpirationTime = 0), (root.finishedWork = null)),\n (thenable = requestCurrentTime()),\n (thenable = inferPriorityFromExpirationTime(thenable, suspendedTime)),\n scheduleCallbackForRoot(root, thenable, suspendedTime)));\n}\nfunction resolveRetryThenable(boundaryFiber, thenable) {\n var retryCache = boundaryFiber.stateNode;\n null !== retryCache && retryCache.delete(thenable);\n retryCache = requestCurrentTime();\n thenable = computeExpirationForFiber(retryCache, boundaryFiber, null);\n retryCache = inferPriorityFromExpirationTime(retryCache, thenable);\n boundaryFiber = markUpdateTimeFromFiberToRoot(boundaryFiber, thenable);\n null !== boundaryFiber &&\n scheduleCallbackForRoot(boundaryFiber, retryCache, thenable);\n}\nvar beginWork$$1 = void 0;\nbeginWork$$1 = function(current$$1, workInProgress, renderExpirationTime) {\n var updateExpirationTime = workInProgress.expirationTime;\n if (null !== current$$1)\n if (\n current$$1.memoizedProps !== workInProgress.pendingProps ||\n didPerformWorkStackCursor.current\n )\n didReceiveUpdate = !0;\n else {\n if (updateExpirationTime < renderExpirationTime) {\n didReceiveUpdate = !1;\n switch (workInProgress.tag) {\n case 3:\n pushHostRootContext(workInProgress);\n break;\n case 5:\n pushHostContext(workInProgress);\n break;\n case 1:\n isContextProvider(workInProgress.type) &&\n pushContextProvider(workInProgress);\n break;\n case 4:\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n break;\n case 10:\n pushProvider(workInProgress, workInProgress.memoizedProps.value);\n break;\n case 13:\n if (null !== workInProgress.memoizedState) {\n updateExpirationTime = workInProgress.child.childExpirationTime;\n if (\n 0 !== updateExpirationTime &&\n updateExpirationTime >= renderExpirationTime\n )\n return updateSuspenseComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n push(\n suspenseStackCursor,\n suspenseStackCursor.current & SubtreeSuspenseContextMask,\n workInProgress\n );\n workInProgress = bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n return null !== workInProgress ? workInProgress.sibling : null;\n }\n push(\n suspenseStackCursor,\n suspenseStackCursor.current & SubtreeSuspenseContextMask,\n workInProgress\n );\n break;\n case 19:\n updateExpirationTime =\n workInProgress.childExpirationTime >= renderExpirationTime;\n if (0 !== (current$$1.effectTag & 64)) {\n if (updateExpirationTime)\n return updateSuspenseListComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n workInProgress.effectTag |= 64;\n }\n var renderState = workInProgress.memoizedState;\n null !== renderState &&\n ((renderState.rendering = null), (renderState.tail = null));\n push(\n suspenseStackCursor,\n suspenseStackCursor.current,\n workInProgress\n );\n if (!updateExpirationTime) return null;\n }\n return bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n }\n }\n else didReceiveUpdate = !1;\n workInProgress.expirationTime = 0;\n switch (workInProgress.tag) {\n case 2:\n updateExpirationTime = workInProgress.type;\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2));\n current$$1 = workInProgress.pendingProps;\n renderState = getMaskedContext(\n workInProgress,\n contextStackCursor.current\n );\n prepareToReadContext(workInProgress, renderExpirationTime);\n renderState = renderWithHooks(\n null,\n workInProgress,\n updateExpirationTime,\n current$$1,\n renderState,\n renderExpirationTime\n );\n workInProgress.effectTag |= 1;\n if (\n \"object\" === typeof renderState &&\n null !== renderState &&\n \"function\" === typeof renderState.render &&\n void 0 === renderState.$$typeof\n ) {\n workInProgress.tag = 1;\n resetHooks();\n if (isContextProvider(updateExpirationTime)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n workInProgress.memoizedState =\n null !== renderState.state && void 0 !== renderState.state\n ? renderState.state\n : null;\n var getDerivedStateFromProps =\n updateExpirationTime.getDerivedStateFromProps;\n \"function\" === typeof getDerivedStateFromProps &&\n applyDerivedStateFromProps(\n workInProgress,\n updateExpirationTime,\n getDerivedStateFromProps,\n current$$1\n );\n renderState.updater = classComponentUpdater;\n workInProgress.stateNode = renderState;\n renderState._reactInternalFiber = workInProgress;\n mountClassInstance(\n workInProgress,\n updateExpirationTime,\n current$$1,\n renderExpirationTime\n );\n workInProgress = finishClassComponent(\n null,\n workInProgress,\n updateExpirationTime,\n !0,\n hasContext,\n renderExpirationTime\n );\n } else\n (workInProgress.tag = 0),\n reconcileChildren(\n null,\n workInProgress,\n renderState,\n renderExpirationTime\n ),\n (workInProgress = workInProgress.child);\n return workInProgress;\n case 16:\n renderState = workInProgress.elementType;\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2));\n current$$1 = workInProgress.pendingProps;\n renderState = readLazyComponentType(renderState);\n workInProgress.type = renderState;\n hasContext = workInProgress.tag = resolveLazyComponentTag(renderState);\n current$$1 = resolveDefaultProps(renderState, current$$1);\n switch (hasContext) {\n case 0:\n workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n renderState,\n current$$1,\n renderExpirationTime\n );\n break;\n case 1:\n workInProgress = updateClassComponent(\n null,\n workInProgress,\n renderState,\n current$$1,\n renderExpirationTime\n );\n break;\n case 11:\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n renderState,\n current$$1,\n renderExpirationTime\n );\n break;\n case 14:\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n renderState,\n resolveDefaultProps(renderState.type, current$$1),\n updateExpirationTime,\n renderExpirationTime\n );\n break;\n default:\n throw ReactError(\n Error(\n \"Element type is invalid. Received a promise that resolves to: \" +\n renderState +\n \". Lazy element type must resolve to a class or function.\"\n )\n );\n }\n return workInProgress;\n case 0:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n updateFunctionComponent(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n )\n );\n case 1:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n updateClassComponent(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n )\n );\n case 3:\n pushHostRootContext(workInProgress);\n updateExpirationTime = workInProgress.updateQueue;\n if (null === updateExpirationTime)\n throw ReactError(\n Error(\n \"If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n renderState = workInProgress.memoizedState;\n renderState = null !== renderState ? renderState.element : null;\n processUpdateQueue(\n workInProgress,\n updateExpirationTime,\n workInProgress.pendingProps,\n null,\n renderExpirationTime\n );\n updateExpirationTime = workInProgress.memoizedState.element;\n updateExpirationTime === renderState\n ? (workInProgress = bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n ))\n : (reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n (workInProgress = workInProgress.child));\n return workInProgress;\n case 5:\n return (\n pushHostContext(workInProgress),\n null === current$$1 && tryToClaimNextHydratableInstance(workInProgress),\n (updateExpirationTime = workInProgress.pendingProps.children),\n markRef(current$$1, workInProgress),\n reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 6:\n return (\n null === current$$1 && tryToClaimNextHydratableInstance(workInProgress),\n null\n );\n case 13:\n return updateSuspenseComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (updateExpirationTime = workInProgress.pendingProps),\n null === current$$1\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n updateExpirationTime,\n renderExpirationTime\n ))\n : reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 11:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n updateForwardRef(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n )\n );\n case 7:\n return (\n reconcileChildren(\n current$$1,\n workInProgress,\n workInProgress.pendingProps,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current$$1,\n workInProgress,\n workInProgress.pendingProps.children,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current$$1,\n workInProgress,\n workInProgress.pendingProps.children,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 10:\n a: {\n updateExpirationTime = workInProgress.type._context;\n renderState = workInProgress.pendingProps;\n getDerivedStateFromProps = workInProgress.memoizedProps;\n hasContext = renderState.value;\n pushProvider(workInProgress, hasContext);\n if (null !== getDerivedStateFromProps) {\n var oldValue = getDerivedStateFromProps.value;\n hasContext = is(oldValue, hasContext)\n ? 0\n : (\"function\" === typeof updateExpirationTime._calculateChangedBits\n ? updateExpirationTime._calculateChangedBits(\n oldValue,\n hasContext\n )\n : 1073741823) | 0;\n if (0 === hasContext) {\n if (\n getDerivedStateFromProps.children === renderState.children &&\n !didPerformWorkStackCursor.current\n ) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n break a;\n }\n } else\n for (\n oldValue = workInProgress.child,\n null !== oldValue && (oldValue.return = workInProgress);\n null !== oldValue;\n\n ) {\n var list = oldValue.dependencies;\n if (null !== list) {\n getDerivedStateFromProps = oldValue.child;\n for (\n var dependency = list.firstContext;\n null !== dependency;\n\n ) {\n if (\n dependency.context === updateExpirationTime &&\n 0 !== (dependency.observedBits & hasContext)\n ) {\n 1 === oldValue.tag &&\n ((dependency = createUpdate(renderExpirationTime, null)),\n (dependency.tag = 2),\n enqueueUpdate(oldValue, dependency));\n oldValue.expirationTime < renderExpirationTime &&\n (oldValue.expirationTime = renderExpirationTime);\n dependency = oldValue.alternate;\n null !== dependency &&\n dependency.expirationTime < renderExpirationTime &&\n (dependency.expirationTime = renderExpirationTime);\n scheduleWorkOnParentPath(\n oldValue.return,\n renderExpirationTime\n );\n list.expirationTime < renderExpirationTime &&\n (list.expirationTime = renderExpirationTime);\n break;\n }\n dependency = dependency.next;\n }\n } else\n getDerivedStateFromProps =\n 10 === oldValue.tag\n ? oldValue.type === workInProgress.type\n ? null\n : oldValue.child\n : oldValue.child;\n if (null !== getDerivedStateFromProps)\n getDerivedStateFromProps.return = oldValue;\n else\n for (\n getDerivedStateFromProps = oldValue;\n null !== getDerivedStateFromProps;\n\n ) {\n if (getDerivedStateFromProps === workInProgress) {\n getDerivedStateFromProps = null;\n break;\n }\n oldValue = getDerivedStateFromProps.sibling;\n if (null !== oldValue) {\n oldValue.return = getDerivedStateFromProps.return;\n getDerivedStateFromProps = oldValue;\n break;\n }\n getDerivedStateFromProps = getDerivedStateFromProps.return;\n }\n oldValue = getDerivedStateFromProps;\n }\n }\n reconcileChildren(\n current$$1,\n workInProgress,\n renderState.children,\n renderExpirationTime\n );\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 9:\n return (\n (renderState = workInProgress.type),\n (hasContext = workInProgress.pendingProps),\n (updateExpirationTime = hasContext.children),\n prepareToReadContext(workInProgress, renderExpirationTime),\n (renderState = readContext(\n renderState,\n hasContext.unstable_observedBits\n )),\n (updateExpirationTime = updateExpirationTime(renderState)),\n (workInProgress.effectTag |= 1),\n reconcileChildren(\n current$$1,\n workInProgress,\n updateExpirationTime,\n renderExpirationTime\n ),\n workInProgress.child\n );\n case 14:\n return (\n (renderState = workInProgress.type),\n (hasContext = resolveDefaultProps(\n renderState,\n workInProgress.pendingProps\n )),\n (hasContext = resolveDefaultProps(renderState.type, hasContext)),\n updateMemoComponent(\n current$$1,\n workInProgress,\n renderState,\n hasContext,\n updateExpirationTime,\n renderExpirationTime\n )\n );\n case 15:\n return updateSimpleMemoComponent(\n current$$1,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n updateExpirationTime,\n renderExpirationTime\n );\n case 17:\n return (\n (updateExpirationTime = workInProgress.type),\n (renderState = workInProgress.pendingProps),\n (renderState =\n workInProgress.elementType === updateExpirationTime\n ? renderState\n : resolveDefaultProps(updateExpirationTime, renderState)),\n null !== current$$1 &&\n ((current$$1.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.effectTag |= 2)),\n (workInProgress.tag = 1),\n isContextProvider(updateExpirationTime)\n ? ((current$$1 = !0), pushContextProvider(workInProgress))\n : (current$$1 = !1),\n prepareToReadContext(workInProgress, renderExpirationTime),\n constructClassInstance(\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n ),\n mountClassInstance(\n workInProgress,\n updateExpirationTime,\n renderState,\n renderExpirationTime\n ),\n finishClassComponent(\n null,\n workInProgress,\n updateExpirationTime,\n !0,\n current$$1,\n renderExpirationTime\n )\n );\n case 19:\n return updateSuspenseListComponent(\n current$$1,\n workInProgress,\n renderExpirationTime\n );\n }\n throw ReactError(\n Error(\n \"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n};\nvar onCommitFiberRoot = null,\n onCommitFiberUnmount = null;\nfunction injectInternals(internals) {\n if (\"undefined\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;\n var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (hook.isDisabled || !hook.supportsFiber) return !0;\n try {\n var rendererID = hook.inject(internals);\n onCommitFiberRoot = function(root) {\n try {\n hook.onCommitFiberRoot(\n rendererID,\n root,\n void 0,\n 64 === (root.current.effectTag & 64)\n );\n } catch (err) {}\n };\n onCommitFiberUnmount = function(fiber) {\n try {\n hook.onCommitFiberUnmount(rendererID, fiber);\n } catch (err) {}\n };\n } catch (err) {}\n return !0;\n}\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = mode;\n this.effectTag = 0;\n this.lastEffect = this.firstEffect = this.nextEffect = null;\n this.childExpirationTime = this.expirationTime = 0;\n this.alternate = null;\n}\nfunction createFiber(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction resolveLazyComponentTag(Component) {\n if (\"function\" === typeof Component)\n return shouldConstruct(Component) ? 1 : 0;\n if (void 0 !== Component && null !== Component) {\n Component = Component.$$typeof;\n if (Component === REACT_FORWARD_REF_TYPE) return 11;\n if (Component === REACT_MEMO_TYPE) return 14;\n }\n return 2;\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiber(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.effectTag = 0),\n (workInProgress.nextEffect = null),\n (workInProgress.firstEffect = null),\n (workInProgress.lastEffect = null));\n workInProgress.childExpirationTime = current.childExpirationTime;\n workInProgress.expirationTime = current.expirationTime;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : {\n expirationTime: pendingProps.expirationTime,\n firstContext: pendingProps.firstContext,\n responders: pendingProps.responders\n };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n expirationTime\n) {\n var fiberTag = 2;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type) fiberTag = 5;\n else\n a: switch (type) {\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(\n pendingProps.children,\n mode,\n expirationTime,\n key\n );\n case REACT_CONCURRENT_MODE_TYPE:\n fiberTag = 8;\n mode |= 7;\n break;\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 1;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiber(12, pendingProps, key, mode | 8)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.type = REACT_PROFILER_TYPE),\n (type.expirationTime = expirationTime),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiber(13, pendingProps, key, mode)),\n (type.type = REACT_SUSPENSE_TYPE),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.expirationTime = expirationTime),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiber(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.expirationTime = expirationTime),\n type\n );\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_PROVIDER_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONTEXT_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n throw ReactError(\n Error(\n \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n (null == type ? type : typeof type) +\n \".\"\n )\n );\n }\n key = createFiber(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.expirationTime = expirationTime;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, expirationTime, key) {\n elements = createFiber(7, elements, key, mode);\n elements.expirationTime = expirationTime;\n return elements;\n}\nfunction createFiberFromText(content, mode, expirationTime) {\n content = createFiber(6, content, null, mode);\n content.expirationTime = expirationTime;\n return content;\n}\nfunction createFiberFromPortal(portal, mode, expirationTime) {\n mode = createFiber(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.expirationTime = expirationTime;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nfunction FiberRootNode(containerInfo, tag, hydrate) {\n this.tag = tag;\n this.current = null;\n this.containerInfo = containerInfo;\n this.pingCache = this.pendingChildren = null;\n this.finishedExpirationTime = 0;\n this.finishedWork = null;\n this.timeoutHandle = -1;\n this.pendingContext = this.context = null;\n this.hydrate = hydrate;\n this.callbackNode = this.firstBatch = null;\n this.pingTime = this.lastPendingTime = this.firstPendingTime = this.callbackExpirationTime = 0;\n}\nfunction findHostInstance(component) {\n var fiber = component._reactInternalFiber;\n if (void 0 === fiber) {\n if (\"function\" === typeof component.render)\n throw ReactError(Error(\"Unable to find node on an unmounted component.\"));\n throw ReactError(\n Error(\n \"Argument appears to not be a ReactComponent. Keys: \" +\n Object.keys(component)\n )\n );\n }\n component = findCurrentHostFiber(fiber);\n return null === component ? null : component.stateNode;\n}\nfunction updateContainer(element, container, parentComponent, callback) {\n var current$$1 = container.current,\n currentTime = requestCurrentTime(),\n suspenseConfig = ReactCurrentBatchConfig.suspense;\n current$$1 = computeExpirationForFiber(\n currentTime,\n current$$1,\n suspenseConfig\n );\n currentTime = container.current;\n a: if (parentComponent) {\n parentComponent = parentComponent._reactInternalFiber;\n b: {\n if (\n 2 !== isFiberMountedImpl(parentComponent) ||\n 1 !== parentComponent.tag\n )\n throw ReactError(\n Error(\n \"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n var parentContext = parentComponent;\n do {\n switch (parentContext.tag) {\n case 3:\n parentContext = parentContext.stateNode.context;\n break b;\n case 1:\n if (isContextProvider(parentContext.type)) {\n parentContext =\n parentContext.stateNode\n .__reactInternalMemoizedMergedChildContext;\n break b;\n }\n }\n parentContext = parentContext.return;\n } while (null !== parentContext);\n throw ReactError(\n Error(\n \"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.\"\n )\n );\n }\n if (1 === parentComponent.tag) {\n var Component = parentComponent.type;\n if (isContextProvider(Component)) {\n parentComponent = processChildContext(\n parentComponent,\n Component,\n parentContext\n );\n break a;\n }\n }\n parentComponent = parentContext;\n } else parentComponent = emptyContextObject;\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n container = callback;\n suspenseConfig = createUpdate(current$$1, suspenseConfig);\n suspenseConfig.payload = { element: element };\n container = void 0 === container ? null : container;\n null !== container && (suspenseConfig.callback = container);\n enqueueUpdate(currentTime, suspenseConfig);\n scheduleUpdateOnFiber(currentTime, current$$1);\n return current$$1;\n}\nfunction createPortal(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nfunction _inherits$1(subClass, superClass) {\n if (\"function\" !== typeof superClass && null !== superClass)\n throw new TypeError(\n \"Super expression must either be null or a function, not \" +\n typeof superClass\n );\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n });\n superClass &&\n (Object.setPrototypeOf\n ? Object.setPrototypeOf(subClass, superClass)\n : (subClass.__proto__ = superClass));\n}\nvar getInspectorDataForViewTag = void 0;\ngetInspectorDataForViewTag = function() {\n throw ReactError(\n Error(\"getInspectorDataForViewTag() is not available in production\")\n );\n};\nvar fabricDispatchCommand = nativeFabricUIManager.dispatchCommand;\nfunction findNodeHandle(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (\"number\" === typeof componentOrHandle) return componentOrHandle;\n if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical._nativeTag;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical._nativeTag\n : componentOrHandle._nativeTag;\n}\nbatchedUpdatesImpl = function(fn, a) {\n var prevExecutionContext = executionContext;\n executionContext |= 1;\n try {\n return fn(a);\n } finally {\n (executionContext = prevExecutionContext),\n executionContext === NoContext && flushSyncCallbackQueue();\n }\n};\nflushDiscreteUpdatesImpl = function() {\n (executionContext & (1 | RenderContext | CommitContext)) === NoContext &&\n (flushPendingDiscreteUpdates(), flushPassiveEffects());\n};\nvar roots = new Map(),\n ReactFabric = {\n NativeComponent: (function(findNodeHandle, findHostInstance) {\n return (function(_React$Component) {\n function ReactNativeComponent() {\n if (!(this instanceof ReactNativeComponent))\n throw new TypeError(\"Cannot call a class as a function\");\n var call = _React$Component.apply(this, arguments);\n if (!this)\n throw new ReferenceError(\n \"this hasn't been initialised - super() hasn't been called\"\n );\n return !call ||\n (\"object\" !== typeof call && \"function\" !== typeof call)\n ? this\n : call;\n }\n _inherits$1(ReactNativeComponent, _React$Component);\n ReactNativeComponent.prototype.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(\n findNodeHandle(this)\n );\n };\n ReactNativeComponent.prototype.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(\n findNodeHandle(this)\n );\n };\n ReactNativeComponent.prototype.measure = function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measure(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measure(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n };\n ReactNativeComponent.prototype.measureInWindow = function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measureInWindow(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measureInWindow(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n };\n ReactNativeComponent.prototype.measureLayout = function(\n relativeToNativeNode,\n onSuccess,\n onFail\n ) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null == maybeInstance ||\n maybeInstance.canonical ||\n ((maybeInstance = void 0),\n \"number\" === typeof relativeToNativeNode\n ? (maybeInstance = relativeToNativeNode)\n : relativeToNativeNode._nativeTag &&\n (maybeInstance = relativeToNativeNode._nativeTag),\n null != maybeInstance &&\n ReactNativePrivateInterface.UIManager.measureLayout(\n findNodeHandle(this),\n maybeInstance,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n ));\n };\n ReactNativeComponent.prototype.setNativeProps = function(nativeProps) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n if (null != maybeInstance && !maybeInstance.canonical) {\n var nativeTag =\n maybeInstance._nativeTag || maybeInstance.canonical._nativeTag;\n maybeInstance =\n maybeInstance.viewConfig || maybeInstance.canonical.viewConfig;\n nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n maybeInstance.validAttributes\n );\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n nativeTag,\n maybeInstance.uiViewClassName,\n nativeProps\n );\n }\n };\n return ReactNativeComponent;\n })(React.Component);\n })(findNodeHandle, findHostInstance),\n findNodeHandle: findNodeHandle,\n setNativeProps: function() {},\n dispatchCommand: function(handle, command, args) {\n null != handle._nativeTag &&\n null != handle._internalInstanceHandle &&\n fabricDispatchCommand(\n handle._internalInstanceHandle.stateNode.node,\n command,\n args\n );\n },\n render: function(element, containerTag, callback) {\n var root = roots.get(containerTag);\n if (!root) {\n root = new FiberRootNode(containerTag, 0, !1);\n var uninitializedFiber = createFiber(3, null, null, 0);\n root.current = uninitializedFiber;\n uninitializedFiber.stateNode = root;\n roots.set(containerTag, root);\n }\n updateContainer(element, root, null, callback);\n a: if (((element = root.current), element.child))\n switch (element.child.tag) {\n case 5:\n element = element.child.stateNode.canonical;\n break a;\n default:\n element = element.child.stateNode;\n }\n else element = null;\n return element;\n },\n unmountComponentAtNode: function(containerTag) {\n var root = roots.get(containerTag);\n root &&\n updateContainer(null, root, null, function() {\n roots.delete(containerTag);\n });\n },\n createPortal: function(children, containerTag) {\n return createPortal(\n children,\n containerTag,\n null,\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null\n );\n },\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {\n NativeMethodsMixin: (function(findNodeHandle, findHostInstance) {\n return {\n measure: function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measure(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measure(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n },\n measureInWindow: function(callback) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null != maybeInstance &&\n (maybeInstance.canonical\n ? nativeFabricUIManager.measureInWindow(\n maybeInstance.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n )\n : ReactNativePrivateInterface.UIManager.measureInWindow(\n findNodeHandle(this),\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n ));\n },\n measureLayout: function(relativeToNativeNode, onSuccess, onFail) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n null == maybeInstance ||\n maybeInstance.canonical ||\n ((maybeInstance = void 0),\n \"number\" === typeof relativeToNativeNode\n ? (maybeInstance = relativeToNativeNode)\n : relativeToNativeNode._nativeTag &&\n (maybeInstance = relativeToNativeNode._nativeTag),\n null != maybeInstance &&\n ReactNativePrivateInterface.UIManager.measureLayout(\n findNodeHandle(this),\n maybeInstance,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n ));\n },\n setNativeProps: function(nativeProps) {\n var maybeInstance = void 0;\n try {\n maybeInstance = findHostInstance(this);\n } catch (error) {}\n if (null != maybeInstance && !maybeInstance.canonical) {\n var nativeTag =\n maybeInstance._nativeTag || maybeInstance.canonical._nativeTag;\n maybeInstance =\n maybeInstance.viewConfig || maybeInstance.canonical.viewConfig;\n nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n maybeInstance.validAttributes\n );\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n nativeTag,\n maybeInstance.uiViewClassName,\n nativeProps\n );\n }\n },\n focus: function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(\n findNodeHandle(this)\n );\n },\n blur: function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(\n findNodeHandle(this)\n );\n }\n };\n })(findNodeHandle, findHostInstance)\n }\n };\n(function(devToolsConfig) {\n var findFiberByHostInstance = devToolsConfig.findFiberByHostInstance;\n return injectInternals(\n Object.assign({}, devToolsConfig, {\n overrideHookState: null,\n overrideProps: null,\n setSuspenseHandler: null,\n scheduleUpdate: null,\n currentDispatcherRef: ReactSharedInternals.ReactCurrentDispatcher,\n findHostInstanceByFiber: function(fiber) {\n fiber = findCurrentHostFiber(fiber);\n return null === fiber ? null : fiber.stateNode;\n },\n findFiberByHostInstance: function(instance) {\n return findFiberByHostInstance\n ? findFiberByHostInstance(instance)\n : null;\n },\n findHostInstancesForRefresh: null,\n scheduleRefresh: null,\n scheduleRoot: null,\n setRefreshHandler: null,\n getCurrentFiber: null\n })\n );\n})({\n findFiberByHostInstance: getInstanceFromInstance,\n getInspectorDataForViewTag: getInspectorDataForViewTag,\n bundleType: 0,\n version: \"16.8.6\",\n rendererPackageName: \"react-native-renderer\"\n});\nvar ReactFabric$2 = { default: ReactFabric },\n ReactFabric$3 = (ReactFabric$2 && ReactFabric) || ReactFabric$2;\nmodule.exports = ReactFabric$3.default || ReactFabric$3;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EventEmitter = require('../vendor/emitter/EventEmitter');\nconst NativeEventEmitter = require('../EventEmitter/NativeEventEmitter');\nimport NativeAppState from './NativeAppState';\n\nconst logError = require('../Utilities/logError');\nconst invariant = require('invariant');\n\n/**\n * `AppState` can tell you if the app is in the foreground or background,\n * and notify you when the state changes.\n *\n * See http://facebook.github.io/react-native/docs/appstate.html\n */\nclass AppState extends NativeEventEmitter {\n _eventHandlers: Object;\n _supportedEvents = ['change', 'memoryWarning', 'blur', 'focus'];\n currentState: ?string;\n isAvailable: boolean;\n\n constructor() {\n super(NativeAppState);\n\n this.isAvailable = true;\n this._eventHandlers = this._supportedEvents.reduce((handlers, key) => {\n handlers[key] = new Map();\n return handlers;\n }, {});\n\n this.currentState = NativeAppState.getConstants().initialAppState;\n\n let eventUpdated = false;\n\n // TODO: this is a terrible solution - in order to ensure `currentState`\n // prop is up to date, we have to register an observer that updates it\n // whenever the state changes, even if nobody cares. We should just\n // deprecate the `currentState` property and get rid of this.\n this.addListener('appStateDidChange', appStateData => {\n eventUpdated = true;\n this.currentState = appStateData.app_state;\n });\n\n // TODO: see above - this request just populates the value of `currentState`\n // when the module is first initialized. Would be better to get rid of the\n // prop and expose `getCurrentAppState` method directly.\n NativeAppState.getCurrentAppState(appStateData => {\n // It's possible that the state will have changed here & listeners need to be notified\n if (!eventUpdated && this.currentState !== appStateData.app_state) {\n this.currentState = appStateData.app_state;\n this.emit('appStateDidChange', appStateData);\n }\n }, logError);\n }\n\n // TODO: now that AppState is a subclass of NativeEventEmitter, we could\n // deprecate `addEventListener` and `removeEventListener` and just use\n // addListener` and `listener.remove()` directly. That will be a breaking\n // change though, as both the method and event names are different\n // (addListener events are currently required to be globally unique).\n /**\n * Add a handler to AppState changes by listening to the `change` event type\n * and providing the handler.\n *\n * See http://facebook.github.io/react-native/docs/appstate.html#addeventlistener\n */\n addEventListener(type: string, handler: Function) {\n invariant(\n this._supportedEvents.indexOf(type) !== -1,\n 'Trying to subscribe to unknown event: \"%s\"',\n type,\n );\n\n switch (type) {\n case 'change': {\n this._eventHandlers[type].set(\n handler,\n this.addListener('appStateDidChange', appStateData => {\n handler(appStateData.app_state);\n }),\n );\n break;\n }\n case 'memoryWarning': {\n this._eventHandlers[type].set(\n handler,\n this.addListener('memoryWarning', handler),\n );\n break;\n }\n\n case 'blur':\n case 'focus': {\n this._eventHandlers[type].set(\n handler,\n this.addListener('appStateFocusChange', hasFocus => {\n if (type === 'blur' && !hasFocus) {\n handler();\n }\n if (type === 'focus' && hasFocus) {\n handler();\n }\n }),\n );\n }\n }\n }\n\n /**\n * Remove a handler by passing the `change` event type and the handler.\n *\n * See http://facebook.github.io/react-native/docs/appstate.html#removeeventlistener\n */\n removeEventListener(type: string, handler: Function) {\n invariant(\n this._supportedEvents.indexOf(type) !== -1,\n 'Trying to remove listener for unknown event: \"%s\"',\n type,\n );\n if (!this._eventHandlers[type].has(handler)) {\n return;\n }\n this._eventHandlers[type].get(handler).remove();\n this._eventHandlers[type].delete(handler);\n }\n}\n\nfunction throwMissingNativeModule() {\n invariant(\n false,\n 'Cannot use AppState module when native RCTAppState is not included in the build.\\n' +\n 'Either include it, or check AppState.isAvailable before calling any methods.',\n );\n}\n\nclass MissingNativeAppStateShim extends EventEmitter {\n // AppState\n isAvailable: boolean = false;\n currentState: ?string = null;\n\n addEventListener() {\n throwMissingNativeModule();\n }\n\n removeEventListener() {\n throwMissingNativeModule();\n }\n\n // EventEmitter\n addListener() {\n throwMissingNativeModule();\n }\n\n removeAllListeners() {\n throwMissingNativeModule();\n }\n\n removeSubscription() {\n throwMissingNativeModule();\n }\n}\n\n// This module depends on the native `RCTAppState` module. If you don't include it,\n// `AppState.isAvailable` will return `false`, and any method calls will throw.\n// We reassign the class variable to keep the autodoc generator happy.\nif (NativeAppState) {\n AppState = new AppState();\n} else {\n AppState = new MissingNativeAppStateShim();\n}\n\nmodule.exports = AppState;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n initialAppState: string,\n |};\n +getCurrentAppState: (\n success: (appState: {|app_state: string|}) => void,\n failure: (error: Object) => void,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('AppState'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Small utility that can be used as an error handler. You cannot just pass\n * `console.error` as a failure callback - it's not properly bound. If passes an\n * `Error` object, it will print the message and stack.\n */\nconst logError = function(...args: $ReadOnlyArray) {\n if (args.length === 1 && args[0] instanceof Error) {\n const err = args[0];\n console.error('Error: \"' + err.message + '\". Stack:\\n' + err.stack);\n } else {\n console.error.apply(console, args);\n }\n};\n\nmodule.exports = logError;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n * @flow-weak\n * @jsdoc\n */\n\n'use strict';\n\nimport NativeAsyncStorage from './NativeAsyncStorage';\nimport invariant from 'invariant';\n\n// Use SQLite if available, otherwise file storage.\nconst RCTAsyncStorage = NativeAsyncStorage;\n\n/**\n * `AsyncStorage` is a simple, unencrypted, asynchronous, persistent, key-value\n * storage system that is global to the app. It should be used instead of\n * LocalStorage.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html\n */\nconst AsyncStorage = {\n _getRequests: ([]: Array),\n _getKeys: ([]: Array),\n _immediate: (null: ?number),\n\n /**\n * Fetches an item for a `key` and invokes a callback upon completion.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#getitem\n */\n getItem: function(\n key: string,\n callback?: ?(error: ?Error, result: ?string) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiGet([key], function(errors, result) {\n // Unpack result to get value from [[key,value]]\n const value = result && result[0] && result[0][1] ? result[0][1] : null;\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0], value);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve(value);\n }\n });\n });\n },\n\n /**\n * Sets the value for a `key` and invokes a callback upon completion.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#setitem\n */\n setItem: function(\n key: string,\n value: string,\n callback?: ?(error: ?Error) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiSet([[key, value]], function(errors) {\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0]);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve(null);\n }\n });\n });\n },\n\n /**\n * Removes an item for a `key` and invokes a callback upon completion.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#removeitem\n */\n removeItem: function(\n key: string,\n callback?: ?(error: ?Error) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiRemove([key], function(errors) {\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0]);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve(null);\n }\n });\n });\n },\n\n /**\n * Merges an existing `key` value with an input value, assuming both values\n * are stringified JSON.\n *\n * **NOTE:** This is not supported by all native implementations.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#mergeitem\n */\n mergeItem: function(\n key: string,\n value: string,\n callback?: ?(error: ?Error) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiMerge([[key, value]], function(errors) {\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0]);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve(null);\n }\n });\n });\n },\n\n /**\n * Erases *all* `AsyncStorage` for all clients, libraries, etc. You probably\n * don't want to call this; use `removeItem` or `multiRemove` to clear only\n * your app's keys.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#clear\n */\n clear: function(callback?: ?(error: ?Error) => void): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.clear(function(error) {\n callback && callback(convertError(error));\n if (error && convertError(error)) {\n reject(convertError(error));\n } else {\n resolve(null);\n }\n });\n });\n },\n\n /**\n * Gets *all* keys known to your app; for all callers, libraries, etc.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#getallkeys\n */\n getAllKeys: function(\n callback?: ?(error: ?Error, keys: ?Array) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.getAllKeys(function(error, keys) {\n callback && callback(convertError(error), keys);\n if (error) {\n reject(convertError(error));\n } else {\n resolve(keys);\n }\n });\n });\n },\n\n /**\n * The following batched functions are useful for executing a lot of\n * operations at once, allowing for native optimizations and provide the\n * convenience of a single callback after all operations are complete.\n *\n * These functions return arrays of errors, potentially one for every key.\n * For key-specific errors, the Error object will have a key property to\n * indicate which key caused the error.\n */\n\n /**\n * Flushes any pending requests using a single batch call to get the data.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#flushgetrequests\n * */\n flushGetRequests: function(): void {\n const getRequests = this._getRequests;\n const getKeys = this._getKeys;\n\n this._getRequests = [];\n this._getKeys = [];\n\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n RCTAsyncStorage.multiGet(getKeys, function(errors, result) {\n // Even though the runtime complexity of this is theoretically worse vs if we used a map,\n // it's much, much faster in practice for the data sets we deal with (we avoid\n // allocating result pair arrays). This was heavily benchmarked.\n //\n // Is there a way to avoid using the map but fix the bug in this breaking test?\n // https://github.com/facebook/react-native/commit/8dd8ad76579d7feef34c014d387bf02065692264\n const map = {};\n result &&\n result.forEach(([key, value]) => {\n map[key] = value;\n return value;\n });\n const reqLength = getRequests.length;\n for (let i = 0; i < reqLength; i++) {\n const request = getRequests[i];\n const requestKeys = request.keys;\n const requestResult = requestKeys.map(key => [key, map[key]]);\n request.callback && request.callback(null, requestResult);\n request.resolve && request.resolve(requestResult);\n }\n });\n },\n\n /**\n * This allows you to batch the fetching of items given an array of `key`\n * inputs. Your callback will be invoked with an array of corresponding\n * key-value pairs found.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#multiget\n */\n multiGet: function(\n keys: Array,\n callback?: ?(errors: ?Array, result: ?Array>) => void,\n ): Promise {\n if (!this._immediate) {\n this._immediate = setImmediate(() => {\n this._immediate = null;\n this.flushGetRequests();\n });\n }\n\n const getRequest = {\n keys: keys,\n callback: callback,\n // do we need this?\n keyIndex: this._getKeys.length,\n resolve: null,\n reject: null,\n };\n\n const promiseResult = new Promise((resolve, reject) => {\n getRequest.resolve = resolve;\n getRequest.reject = reject;\n });\n\n this._getRequests.push(getRequest);\n // avoid fetching duplicates\n keys.forEach(key => {\n if (this._getKeys.indexOf(key) === -1) {\n this._getKeys.push(key);\n }\n });\n\n return promiseResult;\n },\n\n /**\n * Use this as a batch operation for storing multiple key-value pairs. When\n * the operation completes you'll get a single callback with any errors.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#multiset\n */\n multiSet: function(\n keyValuePairs: Array>,\n callback?: ?(errors: ?Array) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiSet(keyValuePairs, function(errors) {\n const error = convertErrors(errors);\n callback && callback(error);\n if (error) {\n reject(error);\n } else {\n resolve(null);\n }\n });\n });\n },\n\n /**\n * Call this to batch the deletion of all keys in the `keys` array.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#multiremove\n */\n multiRemove: function(\n keys: Array,\n callback?: ?(errors: ?Array) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiRemove(keys, function(errors) {\n const error = convertErrors(errors);\n callback && callback(error);\n if (error) {\n reject(error);\n } else {\n resolve(null);\n }\n });\n });\n },\n\n /**\n * Batch operation to merge in existing and new values for a given set of\n * keys. This assumes that the values are stringified JSON.\n *\n * **NOTE**: This is not supported by all native implementations.\n *\n * See http://facebook.github.io/react-native/docs/asyncstorage.html#multimerge\n */\n multiMerge: function(\n keyValuePairs: Array>,\n callback?: ?(errors: ?Array) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiMerge(keyValuePairs, function(errors) {\n const error = convertErrors(errors);\n callback && callback(error);\n if (error) {\n reject(error);\n } else {\n resolve(null);\n }\n });\n });\n },\n};\n\n// Not all native implementations support merge.\nif (!RCTAsyncStorage.multiMerge) {\n delete AsyncStorage.mergeItem;\n delete AsyncStorage.multiMerge;\n}\n\nfunction convertErrors(errs) {\n if (!errs) {\n return null;\n }\n return (Array.isArray(errs) ? errs : [errs]).map(e => convertError(e));\n}\n\nfunction convertError(error) {\n if (!error) {\n return null;\n }\n const out = new Error(error.message);\n out.key = error.key; // flow doesn't like this :(\n return out;\n}\n\nmodule.exports = AsyncStorage;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +multiGet: (\n keys: Array,\n callback: (\n errors: ?Array<{|message: string|}>,\n kvPairs: ?Array>,\n ) => void,\n ) => void;\n +multiSet: (\n kvPairs: Array>,\n callback: (errors: ?Array<{|message: string|}>) => void,\n ) => void;\n +multiMerge: (\n kvPairs: Array>,\n callback: (errors: ?Array<{|message: string|}>) => void,\n ) => void;\n +multiRemove: (\n keys: Array,\n callback: (errors: ?Array<{|message: string|}>) => void,\n ) => void;\n +clear: (callback: (error: {|message: string|}) => void) => void;\n +getAllKeys: (\n callback: (error: ?{|message: string|}, allKeys: ?Array) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AsyncSQLiteDBStorage') ||\n TurboModuleRegistry.get('AsyncLocalStorage'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport NativeClipboard from './NativeClipboard';\n\n/**\n * `Clipboard` gives you an interface for setting and getting content from Clipboard on both iOS and Android\n */\nmodule.exports = {\n /**\n * Get content of string type, this method returns a `Promise`, so you can use following code to get clipboard content\n * ```javascript\n * async _getContent() {\n * var content = await Clipboard.getString();\n * }\n * ```\n */\n getString(): Promise {\n return NativeClipboard.getString();\n },\n /**\n * Set content of string type. You can use following code to set clipboard content\n * ```javascript\n * _setContent() {\n * Clipboard.setString('hello world');\n * }\n * ```\n * @param the content to be stored in the clipboard.\n */\n setString(content: string) {\n NativeClipboard.setString(content);\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +getString: () => Promise;\n +setString: (content: string) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Clipboard'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {Options, DatePickerOpenAction} from './DatePickerAndroidTypes';\n\nclass DatePickerAndroid {\n static async open(options: ?Options): Promise {\n throw new Error('DatePickerAndroid is not supported on this platform.');\n }\n\n /**\n * A date has been selected.\n */\n static +dateSetAction: 'dateSetAction' = 'dateSetAction';\n /**\n * The dialog has been dismissed.\n */\n static +dismissedAction: 'dismissedAction' = 'dismissedAction';\n}\n\nmodule.exports = DatePickerAndroid;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport NativeDeviceInfo from './NativeDeviceInfo';\n\nmodule.exports = NativeDeviceInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport NativeImagePickerIOS from './NativeImagePickerIOS';\nimport invariant from 'invariant';\n\nconst ImagePickerIOS = {\n canRecordVideos: function(callback: (result: boolean) => void): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n return NativeImagePickerIOS.canRecordVideos(callback);\n },\n canUseCamera: function(callback: (result: boolean) => void): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n return NativeImagePickerIOS.canUseCamera(callback);\n },\n openCameraDialog: function(\n config: $ReadOnly<{|\n unmirrorFrontFacingCamera?: boolean,\n videoMode?: boolean,\n |}>,\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n\n var newConfig = {\n videoMode: true,\n unmirrorFrontFacingCamera: false,\n };\n\n if (config.videoMode != null) {\n newConfig.videoMode = config.videoMode;\n }\n\n if (config.unmirrorFrontFacingCamera != null) {\n newConfig.unmirrorFrontFacingCamera = config.unmirrorFrontFacingCamera;\n }\n\n return NativeImagePickerIOS.openCameraDialog(\n newConfig,\n successCallback,\n cancelCallback,\n );\n },\n openSelectDialog: function(\n config: $ReadOnly<{|\n showImages?: boolean,\n showVideos?: boolean,\n |}>,\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n\n var newConfig = {\n showImages: true,\n showVideos: false,\n };\n\n if (config.showImages != null) {\n newConfig.showImages = config.showImages;\n }\n\n if (config.showVideos != null) {\n newConfig.showVideos = config.showVideos;\n }\n\n return NativeImagePickerIOS.openSelectDialog(\n newConfig,\n successCallback,\n cancelCallback,\n );\n },\n /**\n * In iOS 13, the video URLs returned by the Image Picker are invalidated when\n * the picker is dismissed, unless reference to it is held. This API allows\n * the application to signal when it's finished with the video so that the\n * reference can be cleaned up.\n * It is safe to call this method for urlsthat aren't video URLs;\n * it will be a no-op.\n */\n removePendingVideo: function(url: string): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n NativeImagePickerIOS.removePendingVideo(url);\n },\n /**\n * WARNING: In most cases, removePendingVideo should be used instead because\n * clearAllPendingVideos could clear out pending videos made by other callers.\n */\n clearAllPendingVideos: function(): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n NativeImagePickerIOS.clearAllPendingVideos();\n },\n};\n\nmodule.exports = ImagePickerIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +canRecordVideos: (callback: (result: boolean) => void) => void;\n +canUseCamera: (callback: (result: boolean) => void) => void;\n +openCameraDialog: (\n config: {|\n unmirrorFrontFacingCamera: boolean,\n videoMode: boolean,\n |},\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ) => void;\n +openSelectDialog: (\n config: {|\n showImages: boolean,\n showVideos: boolean,\n |},\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ) => void;\n +clearAllPendingVideos: () => void;\n +removePendingVideo: (url: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('ImagePickerIOS'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst InteractionManager = require('../Interaction/InteractionManager');\nconst NativeEventEmitter = require('../EventEmitter/NativeEventEmitter');\nconst Platform = require('../Utilities/Platform');\n\nconst invariant = require('invariant');\n\nimport NativeLinking from './NativeLinking';\n\n/**\n * `Linking` gives you a general interface to interact with both incoming\n * and outgoing app links.\n *\n * See https://facebook.github.io/react-native/docs/linking.html\n */\nclass Linking extends NativeEventEmitter {\n constructor() {\n super(NativeLinking);\n }\n\n /**\n * Add a handler to Linking changes by listening to the `url` event type\n * and providing the handler\n *\n * See https://facebook.github.io/react-native/docs/linking.html#addeventlistener\n */\n addEventListener(type: string, handler: Function) {\n this.addListener(type, handler);\n }\n\n /**\n * Remove a handler by passing the `url` event type and the handler.\n *\n * See https://facebook.github.io/react-native/docs/linking.html#removeeventlistener\n */\n removeEventListener(type: string, handler: Function) {\n this.removeListener(type, handler);\n }\n\n /**\n * Try to open the given `url` with any of the installed apps.\n *\n * See https://facebook.github.io/react-native/docs/linking.html#openurl\n */\n openURL(url: string): Promise {\n this._validateURL(url);\n return NativeLinking.openURL(url);\n }\n\n /**\n * Determine whether or not an installed app can handle a given URL.\n *\n * See https://facebook.github.io/react-native/docs/linking.html#canopenurl\n */\n canOpenURL(url: string): Promise {\n this._validateURL(url);\n return NativeLinking.canOpenURL(url);\n }\n\n /**\n * Open app settings.\n *\n * See https://facebook.github.io/react-native/docs/linking.html#opensettings\n */\n openSettings(): Promise {\n return NativeLinking.openSettings();\n }\n\n /**\n * If the app launch was triggered by an app link,\n * it will give the link url, otherwise it will give `null`\n *\n * See https://facebook.github.io/react-native/docs/linking.html#getinitialurl\n */\n getInitialURL(): Promise {\n return Platform.OS === 'android'\n ? InteractionManager.runAfterInteractions().then(() =>\n NativeLinking.getInitialURL(),\n )\n : NativeLinking.getInitialURL();\n }\n\n /*\n * Launch an Android intent with extras (optional)\n *\n * @platform android\n *\n * See https://facebook.github.io/react-native/docs/linking.html#sendintent\n */\n sendIntent(\n action: string,\n extras?: Array<{key: string, value: string | number | boolean}>,\n ): Promise {\n if (Platform.OS === 'android') {\n return NativeLinking.sendIntent(action, extras);\n }\n return new Promise((resolve, reject) => reject(new Error('Unsupported')));\n }\n\n _validateURL(url: string) {\n invariant(\n typeof url === 'string',\n 'Invalid URL: should be a string. Was: ' + url,\n );\n invariant(url, 'Invalid URL: cannot be empty');\n }\n}\n\nmodule.exports = (new Linking(): Linking);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\nimport Platform from '../Utilities/Platform';\n\nexport interface Spec extends TurboModule {\n // Common interface\n +getInitialURL: () => Promise;\n +canOpenURL: (url: string) => Promise;\n +openURL: (url: string) => Promise;\n +openSettings: () => Promise;\n\n // Android only\n +sendIntent: (\n action: string,\n extras: ?Array<{key: string, value: string | number | boolean}>,\n ) => Promise;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default ((Platform.OS === 'android'\n ? TurboModuleRegistry.getEnforcing('IntentAndroid')\n : TurboModuleRegistry.getEnforcing('LinkingManager')): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst InteractionManager = require('./InteractionManager');\nconst TouchHistoryMath = require('./TouchHistoryMath');\n\nimport type {PressEvent} from '../Types/CoreEventTypes';\n\nconst currentCentroidXOfTouchesChangedAfter =\n TouchHistoryMath.currentCentroidXOfTouchesChangedAfter;\nconst currentCentroidYOfTouchesChangedAfter =\n TouchHistoryMath.currentCentroidYOfTouchesChangedAfter;\nconst previousCentroidXOfTouchesChangedAfter =\n TouchHistoryMath.previousCentroidXOfTouchesChangedAfter;\nconst previousCentroidYOfTouchesChangedAfter =\n TouchHistoryMath.previousCentroidYOfTouchesChangedAfter;\nconst currentCentroidX = TouchHistoryMath.currentCentroidX;\nconst currentCentroidY = TouchHistoryMath.currentCentroidY;\n\n/**\n * `PanResponder` reconciles several touches into a single gesture. It makes\n * single-touch gestures resilient to extra touches, and can be used to\n * recognize simple multi-touch gestures.\n *\n * By default, `PanResponder` holds an `InteractionManager` handle to block\n * long-running JS events from interrupting active gestures.\n *\n * It provides a predictable wrapper of the responder handlers provided by the\n * [gesture responder system](docs/gesture-responder-system.html).\n * For each handler, it provides a new `gestureState` object alongside the\n * native event object:\n *\n * ```\n * onPanResponderMove: (event, gestureState) => {}\n * ```\n *\n * A native event is a synthetic touch event with the following form:\n *\n * - `nativeEvent`\n * + `changedTouches` - Array of all touch events that have changed since the last event\n * + `identifier` - The ID of the touch\n * + `locationX` - The X position of the touch, relative to the element\n * + `locationY` - The Y position of the touch, relative to the element\n * + `pageX` - The X position of the touch, relative to the root element\n * + `pageY` - The Y position of the touch, relative to the root element\n * + `target` - The node id of the element receiving the touch event\n * + `timestamp` - A time identifier for the touch, useful for velocity calculation\n * + `touches` - Array of all current touches on the screen\n *\n * A `gestureState` object has the following:\n *\n * - `stateID` - ID of the gestureState- persisted as long as there at least\n * one touch on screen\n * - `moveX` - the latest screen coordinates of the recently-moved touch\n * - `moveY` - the latest screen coordinates of the recently-moved touch\n * - `x0` - the screen coordinates of the responder grant\n * - `y0` - the screen coordinates of the responder grant\n * - `dx` - accumulated distance of the gesture since the touch started\n * - `dy` - accumulated distance of the gesture since the touch started\n * - `vx` - current velocity of the gesture\n * - `vy` - current velocity of the gesture\n * - `numberActiveTouches` - Number of touches currently on screen\n *\n * ### Basic Usage\n *\n * ```\n * componentWillMount: function() {\n * this._panResponder = PanResponder.create({\n * // Ask to be the responder:\n * onStartShouldSetPanResponder: (evt, gestureState) => true,\n * onStartShouldSetPanResponderCapture: (evt, gestureState) => true,\n * onMoveShouldSetPanResponder: (evt, gestureState) => true,\n * onMoveShouldSetPanResponderCapture: (evt, gestureState) => true,\n *\n * onPanResponderGrant: (evt, gestureState) => {\n * // The gesture has started. Show visual feedback so the user knows\n * // what is happening!\n *\n * // gestureState.d{x,y} will be set to zero now\n * },\n * onPanResponderMove: (evt, gestureState) => {\n * // The most recent move distance is gestureState.move{X,Y}\n *\n * // The accumulated gesture distance since becoming responder is\n * // gestureState.d{x,y}\n * },\n * onPanResponderTerminationRequest: (evt, gestureState) => true,\n * onPanResponderRelease: (evt, gestureState) => {\n * // The user has released all touches while this view is the\n * // responder. This typically means a gesture has succeeded\n * },\n * onPanResponderTerminate: (evt, gestureState) => {\n * // Another component has become the responder, so this gesture\n * // should be cancelled\n * },\n * onShouldBlockNativeResponder: (evt, gestureState) => {\n * // Returns whether this component should block native components from becoming the JS\n * // responder. Returns true by default. Is currently only supported on android.\n * return true;\n * },\n * });\n * },\n *\n * render: function() {\n * return (\n * \n * );\n * },\n *\n * ```\n *\n * ### Working Example\n *\n * To see it in action, try the\n * [PanResponder example in RNTester](https://github.com/facebook/react-native/blob/master/RNTester/js/PanResponderExample.js)\n */\n\nexport type GestureState = {|\n /**\n * ID of the gestureState - persisted as long as there at least one touch on screen\n */\n stateID: number,\n\n /**\n * The latest screen coordinates of the recently-moved touch\n */\n moveX: number,\n\n /**\n * The latest screen coordinates of the recently-moved touch\n */\n moveY: number,\n\n /**\n * The screen coordinates of the responder grant\n */\n x0: number,\n\n /**\n * The screen coordinates of the responder grant\n */\n y0: number,\n\n /**\n * Accumulated distance of the gesture since the touch started\n */\n dx: number,\n\n /**\n * Accumulated distance of the gesture since the touch started\n */\n dy: number,\n\n /**\n * Current velocity of the gesture\n */\n vx: number,\n\n /**\n * Current velocity of the gesture\n */\n vy: number,\n\n /**\n * Number of touches currently on screen\n */\n numberActiveTouches: number,\n\n /**\n * All `gestureState` accounts for timeStamps up until this value\n *\n * @private\n */\n _accountsForMovesUpTo: number,\n|};\n\ntype ActiveCallback = (\n event: PressEvent,\n gestureState: GestureState,\n) => boolean;\n\ntype PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed;\n\ntype PanResponderConfig = $ReadOnly<{|\n onMoveShouldSetPanResponder?: ?ActiveCallback,\n onMoveShouldSetPanResponderCapture?: ?ActiveCallback,\n onStartShouldSetPanResponder?: ?ActiveCallback,\n onStartShouldSetPanResponderCapture?: ?ActiveCallback,\n /**\n * The body of `onResponderGrant` returns a bool, but the vast majority of\n * callsites return void and this TODO notice is found in it:\n * TODO: t7467124 investigate if this can be removed\n */\n onPanResponderGrant?: ?(PassiveCallback | ActiveCallback),\n onPanResponderReject?: ?PassiveCallback,\n onPanResponderStart?: ?PassiveCallback,\n onPanResponderEnd?: ?PassiveCallback,\n onPanResponderRelease?: ?PassiveCallback,\n onPanResponderMove?: ?PassiveCallback,\n onPanResponderTerminate?: ?PassiveCallback,\n onPanResponderTerminationRequest?: ?ActiveCallback,\n onShouldBlockNativeResponder?: ?ActiveCallback,\n|}>;\n\nconst PanResponder = {\n /**\n *\n * A graphical explanation of the touch data flow:\n *\n * +----------------------------+ +--------------------------------+\n * | ResponderTouchHistoryStore | |TouchHistoryMath |\n * +----------------------------+ +----------+---------------------+\n * |Global store of touchHistory| |Allocation-less math util |\n * |including activeness, start | |on touch history (centroids |\n * |position, prev/cur position.| |and multitouch movement etc) |\n * | | | |\n * +----^-----------------------+ +----^---------------------------+\n * | |\n * | (records relevant history |\n * | of touches relevant for |\n * | implementing higher level |\n * | gestures) |\n * | |\n * +----+-----------------------+ +----|---------------------------+\n * | ResponderEventPlugin | | | Your App/Component |\n * +----------------------------+ +----|---------------------------+\n * |Negotiates which view gets | Low level | | High level |\n * |onResponderMove events. | events w/ | +-+-------+ events w/ |\n * |Also records history into | touchHistory| | Pan | multitouch + |\n * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|\n * +----------------------------+ attached to | | | distance and |\n * each event | +---------+ velocity. |\n * | |\n * | |\n * +--------------------------------+\n *\n *\n *\n * Gesture that calculates cumulative movement over time in a way that just\n * \"does the right thing\" for multiple touches. The \"right thing\" is very\n * nuanced. When moving two touches in opposite directions, the cumulative\n * distance is zero in each dimension. When two touches move in parallel five\n * pixels in the same direction, the cumulative distance is five, not ten. If\n * two touches start, one moves five in a direction, then stops and the other\n * touch moves fives in the same direction, the cumulative distance is ten.\n *\n * This logic requires a kind of processing of time \"clusters\" of touch events\n * so that two touch moves that essentially occur in parallel but move every\n * other frame respectively, are considered part of the same movement.\n *\n * Explanation of some of the non-obvious fields:\n *\n * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is\n * invalid. If a move event has been observed, `(moveX, moveY)` is the\n * centroid of the most recently moved \"cluster\" of active touches.\n * (Currently all move have the same timeStamp, but later we should add some\n * threshold for what is considered to be \"moving\"). If a palm is\n * accidentally counted as a touch, but a finger is moving greatly, the palm\n * will move slightly, but we only want to count the single moving touch.\n * - x0/y0: Centroid location (non-cumulative) at the time of becoming\n * responder.\n * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch\n * distance. Accounts for touch moves that are clustered together in time,\n * moving the same direction. Only valid when currently responder (otherwise,\n * it only represents the drag distance below the threshold).\n * - vx/vy: Velocity.\n */\n\n _initializeGestureState(gestureState: GestureState) {\n gestureState.moveX = 0;\n gestureState.moveY = 0;\n gestureState.x0 = 0;\n gestureState.y0 = 0;\n gestureState.dx = 0;\n gestureState.dy = 0;\n gestureState.vx = 0;\n gestureState.vy = 0;\n gestureState.numberActiveTouches = 0;\n // All `gestureState` accounts for timeStamps up until:\n gestureState._accountsForMovesUpTo = 0;\n },\n\n /**\n * This is nuanced and is necessary. It is incorrect to continuously take all\n * active *and* recently moved touches, find the centroid, and track how that\n * result changes over time. Instead, we must take all recently moved\n * touches, and calculate how the centroid has changed just for those\n * recently moved touches, and append that change to an accumulator. This is\n * to (at least) handle the case where the user is moving three fingers, and\n * then one of the fingers stops but the other two continue.\n *\n * This is very different than taking all of the recently moved touches and\n * storing their centroid as `dx/dy`. For correctness, we must *accumulate\n * changes* in the centroid of recently moved touches.\n *\n * There is also some nuance with how we handle multiple moved touches in a\n * single event. With the way `ReactNativeEventEmitter` dispatches touches as\n * individual events, multiple touches generate two 'move' events, each of\n * them triggering `onResponderMove`. But with the way `PanResponder` works,\n * all of the gesture inference is performed on the first dispatch, since it\n * looks at all of the touches (even the ones for which there hasn't been a\n * native dispatch yet). Therefore, `PanResponder` does not call\n * `onResponderMove` passed the first dispatch. This diverges from the\n * typical responder callback pattern (without using `PanResponder`), but\n * avoids more dispatches than necessary.\n */\n _updateGestureStateOnMove(\n gestureState: GestureState,\n touchHistory: $PropertyType,\n ) {\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n gestureState.moveX = currentCentroidXOfTouchesChangedAfter(\n touchHistory,\n gestureState._accountsForMovesUpTo,\n );\n gestureState.moveY = currentCentroidYOfTouchesChangedAfter(\n touchHistory,\n gestureState._accountsForMovesUpTo,\n );\n const movedAfter = gestureState._accountsForMovesUpTo;\n const prevX = previousCentroidXOfTouchesChangedAfter(\n touchHistory,\n movedAfter,\n );\n const x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n const prevY = previousCentroidYOfTouchesChangedAfter(\n touchHistory,\n movedAfter,\n );\n const y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n const nextDX = gestureState.dx + (x - prevX);\n const nextDY = gestureState.dy + (y - prevY);\n\n // TODO: This must be filtered intelligently.\n const dt =\n touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;\n gestureState.vx = (nextDX - gestureState.dx) / dt;\n gestureState.vy = (nextDY - gestureState.dy) / dt;\n\n gestureState.dx = nextDX;\n gestureState.dy = nextDY;\n gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;\n },\n\n /**\n * @param {object} config Enhanced versions of all of the responder callbacks\n * that provide not only the typical `ResponderSyntheticEvent`, but also the\n * `PanResponder` gesture state. Simply replace the word `Responder` with\n * `PanResponder` in each of the typical `onResponder*` callbacks. For\n * example, the `config` object would look like:\n *\n * - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onPanResponderReject: (e, gestureState) => {...}`\n * - `onPanResponderGrant: (e, gestureState) => {...}`\n * - `onPanResponderStart: (e, gestureState) => {...}`\n * - `onPanResponderEnd: (e, gestureState) => {...}`\n * - `onPanResponderRelease: (e, gestureState) => {...}`\n * - `onPanResponderMove: (e, gestureState) => {...}`\n * - `onPanResponderTerminate: (e, gestureState) => {...}`\n * - `onPanResponderTerminationRequest: (e, gestureState) => {...}`\n * - `onShouldBlockNativeResponder: (e, gestureState) => {...}`\n *\n * In general, for events that have capture equivalents, we update the\n * gestureState once in the capture phase and can use it in the bubble phase\n * as well.\n *\n * Be careful with onStartShould* callbacks. They only reflect updated\n * `gestureState` for start/end events that bubble/capture to the Node.\n * Once the node is the responder, you can rely on every start/end event\n * being processed by the gesture and `gestureState` being updated\n * accordingly. (numberActiveTouches) may not be totally accurate unless you\n * are the responder.\n */\n create(\n config: PanResponderConfig,\n ): $TEMPORARY$object<{|\n getInteractionHandle: () => ?number,\n panHandlers: $TEMPORARY$object<{|\n onMoveShouldSetResponder: (event: PressEvent) => boolean,\n onMoveShouldSetResponderCapture: (event: PressEvent) => boolean,\n onResponderEnd: (event: PressEvent) => void,\n onResponderGrant: (event: PressEvent) => boolean,\n onResponderMove: (event: PressEvent) => void,\n onResponderReject: (event: PressEvent) => void,\n onResponderRelease: (event: PressEvent) => void,\n onResponderStart: (event: PressEvent) => void,\n onResponderTerminate: (event: PressEvent) => void,\n onResponderTerminationRequest: (event: PressEvent) => boolean,\n onStartShouldSetResponder: (event: PressEvent) => boolean,\n onStartShouldSetResponderCapture: (event: PressEvent) => boolean,\n |}>,\n |}> {\n const interactionState = {\n handle: (null: ?number),\n };\n const gestureState: GestureState = {\n // Useful for debugging\n stateID: Math.random(),\n moveX: 0,\n moveY: 0,\n x0: 0,\n y0: 0,\n dx: 0,\n dy: 0,\n vx: 0,\n vy: 0,\n numberActiveTouches: 0,\n _accountsForMovesUpTo: 0,\n };\n const panHandlers = {\n onStartShouldSetResponder(event: PressEvent): boolean {\n return config.onStartShouldSetPanResponder == null\n ? false\n : config.onStartShouldSetPanResponder(event, gestureState);\n },\n onMoveShouldSetResponder(event: PressEvent): boolean {\n return config.onMoveShouldSetPanResponder == null\n ? false\n : config.onMoveShouldSetPanResponder(event, gestureState);\n },\n onStartShouldSetResponderCapture(event: PressEvent): boolean {\n // TODO: Actually, we should reinitialize the state any time\n // touches.length increases from 0 active to > 0 active.\n if (event.nativeEvent.touches.length === 1) {\n PanResponder._initializeGestureState(gestureState);\n }\n gestureState.numberActiveTouches =\n event.touchHistory.numberActiveTouches;\n return config.onStartShouldSetPanResponderCapture != null\n ? config.onStartShouldSetPanResponderCapture(event, gestureState)\n : false;\n },\n\n onMoveShouldSetResponderCapture(event: PressEvent): boolean {\n const touchHistory = event.touchHistory;\n // Responder system incorrectly dispatches should* to current responder\n // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n if (\n gestureState._accountsForMovesUpTo ===\n touchHistory.mostRecentTimeStamp\n ) {\n return false;\n }\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n return config.onMoveShouldSetPanResponderCapture\n ? config.onMoveShouldSetPanResponderCapture(event, gestureState)\n : false;\n },\n\n onResponderGrant(event: PressEvent): boolean {\n if (!interactionState.handle) {\n interactionState.handle = InteractionManager.createInteractionHandle();\n }\n gestureState.x0 = currentCentroidX(event.touchHistory);\n gestureState.y0 = currentCentroidY(event.touchHistory);\n gestureState.dx = 0;\n gestureState.dy = 0;\n if (config.onPanResponderGrant) {\n config.onPanResponderGrant(event, gestureState);\n }\n // TODO: t7467124 investigate if this can be removed\n return config.onShouldBlockNativeResponder == null\n ? true\n : config.onShouldBlockNativeResponder(event, gestureState);\n },\n\n onResponderReject(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderReject,\n event,\n gestureState,\n );\n },\n\n onResponderRelease(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderRelease,\n event,\n gestureState,\n );\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderStart(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n if (config.onPanResponderStart) {\n config.onPanResponderStart(event, gestureState);\n }\n },\n\n onResponderMove(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n // Guard against the dispatch of two touch moves when there are two\n // simultaneously changed touches.\n if (\n gestureState._accountsForMovesUpTo ===\n touchHistory.mostRecentTimeStamp\n ) {\n return;\n }\n // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n if (config.onPanResponderMove) {\n config.onPanResponderMove(event, gestureState);\n }\n },\n\n onResponderEnd(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n clearInteractionHandle(\n interactionState,\n config.onPanResponderEnd,\n event,\n gestureState,\n );\n },\n\n onResponderTerminate(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderTerminate,\n event,\n gestureState,\n );\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderTerminationRequest(event: PressEvent): boolean {\n return config.onPanResponderTerminationRequest == null\n ? true\n : config.onPanResponderTerminationRequest(event, gestureState);\n },\n };\n return {\n panHandlers,\n getInteractionHandle(): ?number {\n return interactionState.handle;\n },\n };\n },\n};\n\nfunction clearInteractionHandle(\n interactionState: {handle: ?number},\n callback: ?(ActiveCallback | PassiveCallback),\n event: PressEvent,\n gestureState: GestureState,\n) {\n if (interactionState.handle) {\n InteractionManager.clearInteractionHandle(interactionState.handle);\n interactionState.handle = null;\n }\n if (callback) {\n callback(event, gestureState);\n }\n}\n\nexport type PanResponderInstance = $Call<\n $PropertyType,\n PanResponderConfig,\n>;\n\nmodule.exports = PanResponder;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\nconst TouchHistoryMath = {\n /**\n * This code is optimized and not intended to look beautiful. This allows\n * computing of touch centroids that have moved after `touchesChangedAfter`\n * timeStamp. You can compute the current centroid involving all touches\n * moves after `touchesChangedAfter`, or you can compute the previous\n * centroid of all touches that were moved after `touchesChangedAfter`.\n *\n * @param {TouchHistoryMath} touchHistory Standard Responder touch track\n * data.\n * @param {number} touchesChangedAfter timeStamp after which moved touches\n * are considered \"actively moving\" - not just \"active\".\n * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.\n * @param {boolean} ofCurrent Compute current centroid for actively moving\n * touches vs. previous centroid of now actively moving touches.\n * @return {number} value of centroid in specified dimension.\n */\n centroidDimension: function(\n touchHistory,\n touchesChangedAfter,\n isXAxis,\n ofCurrent,\n ) {\n const touchBank = touchHistory.touchBank;\n let total = 0;\n let count = 0;\n\n const oneTouchData =\n touchHistory.numberActiveTouches === 1\n ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch]\n : null;\n\n if (oneTouchData !== null) {\n if (\n oneTouchData.touchActive &&\n oneTouchData.currentTimeStamp > touchesChangedAfter\n ) {\n total +=\n ofCurrent && isXAxis\n ? oneTouchData.currentPageX\n : ofCurrent && !isXAxis\n ? oneTouchData.currentPageY\n : !ofCurrent && isXAxis\n ? oneTouchData.previousPageX\n : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (let i = 0; i < touchBank.length; i++) {\n const touchTrack = touchBank[i];\n if (\n touchTrack !== null &&\n touchTrack !== undefined &&\n touchTrack.touchActive &&\n touchTrack.currentTimeStamp >= touchesChangedAfter\n ) {\n let toAdd; // Yuck, program temporarily in invalid state.\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n total += toAdd;\n count++;\n }\n }\n }\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n\n currentCentroidXOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n true, // isXAxis\n true, // ofCurrent\n );\n },\n\n currentCentroidYOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n false, // isXAxis\n true, // ofCurrent\n );\n },\n\n previousCentroidXOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n true, // isXAxis\n false, // ofCurrent\n );\n },\n\n previousCentroidYOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n false, // isXAxis\n false, // ofCurrent\n );\n },\n\n currentCentroidX: function(touchHistory) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n 0, // touchesChangedAfter\n true, // isXAxis\n true, // ofCurrent\n );\n },\n\n currentCentroidY: function(touchHistory) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n 0, // touchesChangedAfter\n false, // isXAxis\n true, // ofCurrent\n );\n },\n\n noCentroid: -1,\n};\n\nmodule.exports = TouchHistoryMath;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../Utilities/Platform');\n\nimport NativeDialogManagerAndroid from '../NativeModules/specs/NativeDialogManagerAndroid';\nimport NativePermissionsAndroid from './NativePermissionsAndroid';\nimport type {\n PermissionStatus,\n PermissionType,\n} from './NativePermissionsAndroid';\nimport invariant from 'invariant';\n\nexport type Rationale = {\n title: string,\n message: string,\n buttonPositive?: string,\n buttonNegative?: string,\n buttonNeutral?: string,\n};\n\nconst PERMISSION_REQUEST_RESULT = Object.freeze({\n GRANTED: 'granted',\n DENIED: 'denied',\n NEVER_ASK_AGAIN: 'never_ask_again',\n});\n\nconst PERMISSIONS = Object.freeze({\n READ_CALENDAR: 'android.permission.READ_CALENDAR',\n WRITE_CALENDAR: 'android.permission.WRITE_CALENDAR',\n CAMERA: 'android.permission.CAMERA',\n READ_CONTACTS: 'android.permission.READ_CONTACTS',\n WRITE_CONTACTS: 'android.permission.WRITE_CONTACTS',\n GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS',\n ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION',\n ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION',\n RECORD_AUDIO: 'android.permission.RECORD_AUDIO',\n READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE',\n CALL_PHONE: 'android.permission.CALL_PHONE',\n READ_CALL_LOG: 'android.permission.READ_CALL_LOG',\n WRITE_CALL_LOG: 'android.permission.WRITE_CALL_LOG',\n ADD_VOICEMAIL: 'com.android.voicemail.permission.ADD_VOICEMAIL',\n USE_SIP: 'android.permission.USE_SIP',\n PROCESS_OUTGOING_CALLS: 'android.permission.PROCESS_OUTGOING_CALLS',\n BODY_SENSORS: 'android.permission.BODY_SENSORS',\n SEND_SMS: 'android.permission.SEND_SMS',\n RECEIVE_SMS: 'android.permission.RECEIVE_SMS',\n READ_SMS: 'android.permission.READ_SMS',\n RECEIVE_WAP_PUSH: 'android.permission.RECEIVE_WAP_PUSH',\n RECEIVE_MMS: 'android.permission.RECEIVE_MMS',\n READ_EXTERNAL_STORAGE: 'android.permission.READ_EXTERNAL_STORAGE',\n WRITE_EXTERNAL_STORAGE: 'android.permission.WRITE_EXTERNAL_STORAGE',\n});\n\n/**\n * `PermissionsAndroid` provides access to Android M's new permissions model.\n *\n * See https://facebook.github.io/react-native/docs/permissionsandroid.html\n */\n\nclass PermissionsAndroid {\n PERMISSIONS: {|\n ACCESS_COARSE_LOCATION: string,\n ACCESS_FINE_LOCATION: string,\n ADD_VOICEMAIL: string,\n BODY_SENSORS: string,\n CALL_PHONE: string,\n CAMERA: string,\n GET_ACCOUNTS: string,\n PROCESS_OUTGOING_CALLS: string,\n READ_CALENDAR: string,\n READ_CALL_LOG: string,\n READ_CONTACTS: string,\n READ_EXTERNAL_STORAGE: string,\n READ_PHONE_STATE: string,\n READ_SMS: string,\n RECEIVE_MMS: string,\n RECEIVE_SMS: string,\n RECEIVE_WAP_PUSH: string,\n RECORD_AUDIO: string,\n SEND_SMS: string,\n USE_SIP: string,\n WRITE_CALENDAR: string,\n WRITE_CALL_LOG: string,\n WRITE_CONTACTS: string,\n WRITE_EXTERNAL_STORAGE: string,\n |} = PERMISSIONS;\n RESULTS: {|\n DENIED: $TEMPORARY$string<'denied'>,\n GRANTED: $TEMPORARY$string<'granted'>,\n NEVER_ASK_AGAIN: $TEMPORARY$string<'never_ask_again'>,\n |} = PERMISSION_REQUEST_RESULT;\n\n /**\n * DEPRECATED - use check\n *\n * Returns a promise resolving to a boolean value as to whether the specified\n * permissions has been granted\n *\n * @deprecated\n */\n checkPermission(permission: PermissionType): Promise {\n console.warn(\n '\"PermissionsAndroid.checkPermission\" is deprecated. Use \"PermissionsAndroid.check\" instead',\n );\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.checkPermission(permission);\n }\n\n /**\n * Returns a promise resolving to a boolean value as to whether the specified\n * permissions has been granted\n *\n * See https://facebook.github.io/react-native/docs/permissionsandroid.html#check\n */\n check(permission: PermissionType): Promise {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.checkPermission(permission);\n }\n\n /**\n * DEPRECATED - use request\n *\n * Prompts the user to enable a permission and returns a promise resolving to a\n * boolean value indicating whether the user allowed or denied the request\n *\n * If the optional rationale argument is included (which is an object with a\n * `title` and `message`), this function checks with the OS whether it is\n * necessary to show a dialog explaining why the permission is needed\n * (https://developer.android.com/training/permissions/requesting.html#explain)\n * and then shows the system permission dialog\n *\n * @deprecated\n */\n async requestPermission(\n permission: PermissionType,\n rationale?: Rationale,\n ): Promise {\n console.warn(\n '\"PermissionsAndroid.requestPermission\" is deprecated. Use \"PermissionsAndroid.request\" instead',\n );\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n const response = await this.request(permission, rationale);\n return response === this.RESULTS.GRANTED;\n }\n\n /**\n * Prompts the user to enable a permission and returns a promise resolving to a\n * string value indicating whether the user allowed or denied the request\n *\n * See https://facebook.github.io/react-native/docs/permissionsandroid.html#request\n */\n async request(\n permission: PermissionType,\n rationale?: Rationale,\n ): Promise {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(this.RESULTS.DENIED);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n if (rationale) {\n const shouldShowRationale = await NativePermissionsAndroid.shouldShowRequestPermissionRationale(\n permission,\n );\n\n if (shouldShowRationale && !!NativeDialogManagerAndroid) {\n return new Promise((resolve, reject) => {\n const options = {\n ...rationale,\n };\n NativeDialogManagerAndroid.showAlert(\n options,\n () => reject(new Error('Error showing rationale')),\n () =>\n resolve(NativePermissionsAndroid.requestPermission(permission)),\n );\n });\n }\n }\n return NativePermissionsAndroid.requestPermission(permission);\n }\n\n /**\n * Prompts the user to enable multiple permissions in the same dialog and\n * returns an object with the permissions as keys and strings as values\n * indicating whether the user allowed or denied the request\n *\n * See https://facebook.github.io/react-native/docs/permissionsandroid.html#requestmultiple\n */\n requestMultiple(\n permissions: Array,\n ): Promise<{[permission: PermissionType]: PermissionStatus}> {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve({});\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.requestMultiplePermissions(permissions);\n }\n}\n\nPermissionsAndroid = new PermissionsAndroid();\n\nmodule.exports = PermissionsAndroid;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\n// TODO: Use proper enum types.\nexport type PermissionStatus = string;\nexport type PermissionType = string;\n/*\nexport type PermissionStatus = 'granted' | 'denied' | 'never_ask_again';\nexport type PermissionType =\n | 'android.permission.READ_CALENDAR'\n | 'android.permission.WRITE_CALENDAR'\n | 'android.permission.CAMERA'\n | 'android.permission.READ_CONTACTS'\n | 'android.permission.WRITE_CONTACTS'\n | 'android.permission.GET_ACCOUNTS'\n | 'android.permission.ACCESS_FINE_LOCATION'\n | 'android.permission.ACCESS_COARSE_LOCATION'\n | 'android.permission.RECORD_AUDIO'\n | 'android.permission.READ_PHONE_STATE'\n | 'android.permission.CALL_PHONE'\n | 'android.permission.READ_CALL_LOG'\n | 'android.permission.WRITE_CALL_LOG'\n | 'com.android.voicemail.permission.ADD_VOICEMAIL'\n | 'android.permission.USE_SIP'\n | 'android.permission.PROCESS_OUTGOING_CALLS'\n | 'android.permission.BODY_SENSORS'\n | 'android.permission.SEND_SMS'\n | 'android.permission.RECEIVE_SMS'\n | 'android.permission.READ_SMS'\n | 'android.permission.RECEIVE_WAP_PUSH'\n | 'android.permission.RECEIVE_MMS'\n | 'android.permission.READ_EXTERNAL_STORAGE'\n | 'android.permission.WRITE_EXTERNAL_STORAGE';\n*/\n\nexport interface Spec extends TurboModule {\n +checkPermission: (permission: PermissionType) => Promise;\n +requestPermission: (permission: PermissionType) => Promise;\n +shouldShowRequestPermissionRationale: (\n permission: string,\n ) => Promise;\n +requestMultiplePermissions: (\n permissions: Array,\n ) => Promise<{[permission: PermissionType]: PermissionStatus}>;\n}\n\nexport default (TurboModuleRegistry.get('PermissionsAndroid'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst NativeEventEmitter = require('../EventEmitter/NativeEventEmitter');\nimport NativePushNotificationManagerIOS from './NativePushNotificationManagerIOS';\nconst invariant = require('invariant');\n\nconst PushNotificationEmitter = new NativeEventEmitter(\n NativePushNotificationManagerIOS,\n);\n\nconst _notifHandlers = new Map();\n\nconst DEVICE_NOTIF_EVENT = 'remoteNotificationReceived';\nconst NOTIF_REGISTER_EVENT = 'remoteNotificationsRegistered';\nconst NOTIF_REGISTRATION_ERROR_EVENT = 'remoteNotificationRegistrationError';\nconst DEVICE_LOCAL_NOTIF_EVENT = 'localNotificationReceived';\n\nexport type ContentAvailable = 1 | null | void;\n\nexport type FetchResult = {\n NewData: string,\n NoData: string,\n ResultFailed: string,\n};\n\n/**\n * An event emitted by PushNotificationIOS.\n */\nexport type PushNotificationEventName = $Keys<{\n /**\n * Fired when a remote notification is received. The handler will be invoked\n * with an instance of `PushNotificationIOS`.\n */\n notification: string,\n /**\n * Fired when a local notification is received. The handler will be invoked\n * with an instance of `PushNotificationIOS`.\n */\n localNotification: string,\n /**\n * Fired when the user registers for remote notifications. The handler will be\n * invoked with a hex string representing the deviceToken.\n */\n register: string,\n /**\n * Fired when the user fails to register for remote notifications. Typically\n * occurs when APNS is having issues, or the device is a simulator. The\n * handler will be invoked with {message: string, code: number, details: any}.\n */\n registrationError: string,\n}>;\n\n/**\n *\n * Handle push notifications for your app, including permission handling and\n * icon badge number.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html\n */\nclass PushNotificationIOS {\n _data: Object;\n _alert: string | Object;\n _sound: string;\n _category: string;\n _contentAvailable: ContentAvailable;\n _badgeCount: number;\n _notificationId: string;\n _isRemote: boolean;\n _remoteNotificationCompleteCallbackCalled: boolean;\n _threadID: string;\n\n static FetchResult: FetchResult = {\n NewData: 'UIBackgroundFetchResultNewData',\n NoData: 'UIBackgroundFetchResultNoData',\n ResultFailed: 'UIBackgroundFetchResultFailed',\n };\n\n /**\n * Schedules the localNotification for immediate presentation.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#presentlocalnotification\n */\n static presentLocalNotification(details: Object) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.presentLocalNotification(details);\n }\n\n /**\n * Schedules the localNotification for future presentation.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#schedulelocalnotification\n */\n static scheduleLocalNotification(details: Object) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.scheduleLocalNotification(details);\n }\n\n /**\n * Cancels all scheduled localNotifications.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#cancelalllocalnotifications\n */\n static cancelAllLocalNotifications() {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.cancelAllLocalNotifications();\n }\n\n /**\n * Remove all delivered notifications from Notification Center.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#removealldeliverednotifications\n */\n static removeAllDeliveredNotifications(): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.removeAllDeliveredNotifications();\n }\n\n /**\n * Provides you with a list of the app’s notifications that are still displayed in Notification Center.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getdeliverednotifications\n */\n static getDeliveredNotifications(\n callback: (notifications: Array) => void,\n ): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getDeliveredNotifications(callback);\n }\n\n /**\n * Removes the specified notifications from Notification Center\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#removedeliverednotifications\n */\n static removeDeliveredNotifications(identifiers: Array): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.removeDeliveredNotifications(identifiers);\n }\n\n /**\n * Sets the badge number for the app icon on the home screen.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#setapplicationiconbadgenumber\n */\n static setApplicationIconBadgeNumber(number: number) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.setApplicationIconBadgeNumber(number);\n }\n\n /**\n * Gets the current badge number for the app icon on the home screen.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getapplicationiconbadgenumber\n */\n static getApplicationIconBadgeNumber(callback: Function) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getApplicationIconBadgeNumber(callback);\n }\n\n /**\n * Cancel local notifications.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#cancellocalnotification\n */\n static cancelLocalNotifications(userInfo: Object) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.cancelLocalNotifications(userInfo);\n }\n\n /**\n * Gets the local notifications that are currently scheduled.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getscheduledlocalnotifications\n */\n static getScheduledLocalNotifications(callback: Function) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getScheduledLocalNotifications(callback);\n }\n\n /**\n * Attaches a listener to remote or local notification events while the app\n * is running in the foreground or the background.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#addeventlistener\n */\n static addEventListener(type: PushNotificationEventName, handler: Function) {\n invariant(\n type === 'notification' ||\n type === 'register' ||\n type === 'registrationError' ||\n type === 'localNotification',\n 'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events',\n );\n let listener;\n if (type === 'notification') {\n listener = PushNotificationEmitter.addListener(\n DEVICE_NOTIF_EVENT,\n notifData => {\n handler(new PushNotificationIOS(notifData));\n },\n );\n } else if (type === 'localNotification') {\n listener = PushNotificationEmitter.addListener(\n DEVICE_LOCAL_NOTIF_EVENT,\n notifData => {\n handler(new PushNotificationIOS(notifData));\n },\n );\n } else if (type === 'register') {\n listener = PushNotificationEmitter.addListener(\n NOTIF_REGISTER_EVENT,\n registrationInfo => {\n handler(registrationInfo.deviceToken);\n },\n );\n } else if (type === 'registrationError') {\n listener = PushNotificationEmitter.addListener(\n NOTIF_REGISTRATION_ERROR_EVENT,\n errorInfo => {\n handler(errorInfo);\n },\n );\n }\n _notifHandlers.set(type, listener);\n }\n\n /**\n * Removes the event listener. Do this in `componentWillUnmount` to prevent\n * memory leaks.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#removeeventlistener\n */\n static removeEventListener(\n type: PushNotificationEventName,\n handler: Function,\n ) {\n invariant(\n type === 'notification' ||\n type === 'register' ||\n type === 'registrationError' ||\n type === 'localNotification',\n 'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events',\n );\n const listener = _notifHandlers.get(type);\n if (!listener) {\n return;\n }\n listener.remove();\n _notifHandlers.delete(type);\n }\n\n /**\n * Requests notification permissions from iOS, prompting the user's\n * dialog box. By default, it will request all notification permissions, but\n * a subset of these can be requested by passing a map of requested\n * permissions.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#requestpermissions\n */\n static requestPermissions(permissions?: {\n alert?: boolean,\n badge?: boolean,\n sound?: boolean,\n }): Promise<{\n alert: boolean,\n badge: boolean,\n sound: boolean,\n }> {\n let requestedPermissions = {};\n if (permissions) {\n requestedPermissions = {\n alert: !!permissions.alert,\n badge: !!permissions.badge,\n sound: !!permissions.sound,\n };\n } else {\n requestedPermissions = {\n alert: true,\n badge: true,\n sound: true,\n };\n }\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n return NativePushNotificationManagerIOS.requestPermissions(\n requestedPermissions,\n );\n }\n\n /**\n * Unregister for all remote notifications received via Apple Push Notification service.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#abandonpermissions\n */\n static abandonPermissions() {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.abandonPermissions();\n }\n\n /**\n * See what push permissions are currently enabled. `callback` will be\n * invoked with a `permissions` object.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#checkpermissions\n */\n static checkPermissions(callback: Function) {\n invariant(typeof callback === 'function', 'Must provide a valid callback');\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.checkPermissions(callback);\n }\n\n /**\n * This method returns a promise that resolves to either the notification\n * object if the app was launched by a push notification, or `null` otherwise.\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getinitialnotification\n */\n static getInitialNotification(): Promise {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n return NativePushNotificationManagerIOS.getInitialNotification().then(\n notification => {\n return notification && new PushNotificationIOS(notification);\n },\n );\n }\n\n /**\n * You will never need to instantiate `PushNotificationIOS` yourself.\n * Listening to the `notification` event and invoking\n * `getInitialNotification` is sufficient\n *\n */\n constructor(nativeNotif: Object) {\n this._data = {};\n this._remoteNotificationCompleteCallbackCalled = false;\n this._isRemote = nativeNotif.remote;\n if (this._isRemote) {\n this._notificationId = nativeNotif.notificationId;\n }\n\n if (nativeNotif.remote) {\n // Extract data from Apple's `aps` dict as defined:\n // https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html\n Object.keys(nativeNotif).forEach(notifKey => {\n const notifVal = nativeNotif[notifKey];\n if (notifKey === 'aps') {\n this._alert = notifVal.alert;\n this._sound = notifVal.sound;\n this._badgeCount = notifVal.badge;\n this._category = notifVal.category;\n this._contentAvailable = notifVal['content-available'];\n this._threadID = notifVal['thread-id'];\n } else {\n this._data[notifKey] = notifVal;\n }\n });\n } else {\n // Local notifications aren't being sent down with `aps` dict.\n this._badgeCount = nativeNotif.applicationIconBadgeNumber;\n this._sound = nativeNotif.soundName;\n this._alert = nativeNotif.alertBody;\n this._data = nativeNotif.userInfo;\n this._category = nativeNotif.category;\n }\n }\n\n /**\n * This method is available for remote notifications that have been received via:\n * `application:didReceiveRemoteNotification:fetchCompletionHandler:`\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#finish\n */\n finish(fetchResult: string) {\n if (\n !this._isRemote ||\n !this._notificationId ||\n this._remoteNotificationCompleteCallbackCalled\n ) {\n return;\n }\n this._remoteNotificationCompleteCallbackCalled = true;\n\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.onFinishRemoteNotification(\n this._notificationId,\n fetchResult,\n );\n }\n\n /**\n * An alias for `getAlert` to get the notification's main message string\n */\n getMessage(): ?string | ?Object {\n // alias because \"alert\" is an ambiguous name\n return this._alert;\n }\n\n /**\n * Gets the sound string from the `aps` object\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getsound\n */\n getSound(): ?string {\n return this._sound;\n }\n\n /**\n * Gets the category string from the `aps` object\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getcategory\n */\n getCategory(): ?string {\n return this._category;\n }\n\n /**\n * Gets the notification's main message from the `aps` object\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getalert\n */\n getAlert(): ?string | ?Object {\n return this._alert;\n }\n\n /**\n * Gets the content-available number from the `aps` object\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getcontentavailable\n */\n getContentAvailable(): ContentAvailable {\n return this._contentAvailable;\n }\n\n /**\n * Gets the badge count number from the `aps` object\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getbadgecount\n */\n getBadgeCount(): ?number {\n return this._badgeCount;\n }\n\n /**\n * Gets the data object on the notif\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getdata\n */\n getData(): ?Object {\n return this._data;\n }\n\n /**\n * Gets the thread ID on the notif\n *\n * See https://facebook.github.io/react-native/docs/pushnotificationios.html#getthreadid\n */\n getThreadID(): ?string {\n return this._threadID;\n }\n}\n\nmodule.exports = PushNotificationIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype Permissions = {|\n alert: boolean,\n badge: boolean,\n sound: boolean,\n|};\n\ntype Notification = {|\n +alertTitle?: ?string,\n // Actual type: string | number\n +fireDate?: ?number,\n +alertBody?: ?string,\n +alertAction?: ?string,\n +userInfo?: ?Object,\n +category?: ?string,\n // Actual type: 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute'\n +repeatInterval?: ?string,\n +applicationIconBadgeNumber?: ?number,\n +isSilent?: ?boolean,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {};\n +onFinishRemoteNotification: (\n notificationId: string,\n /**\n * Type:\n * 'UIBackgroundFetchResultNewData' |\n * 'UIBackgroundFetchResultNoData' |\n * 'UIBackgroundFetchResultFailed'\n */\n fetchResult: string,\n ) => void;\n +setApplicationIconBadgeNumber: (num: number) => void;\n +getApplicationIconBadgeNumber: (callback: (num: number) => void) => void;\n +requestPermissions: (permission: {|\n +alert?: ?boolean,\n +badge?: ?boolean,\n +sound?: ?boolean,\n |}) => Promise;\n +abandonPermissions: () => void;\n +checkPermissions: (callback: (permissions: Permissions) => void) => void;\n +presentLocalNotification: (notification: Notification) => void;\n +scheduleLocalNotification: (notification: Notification) => void;\n +cancelAllLocalNotifications: () => void;\n +cancelLocalNotifications: (userInfo: Object) => void;\n +getInitialNotification: () => Promise;\n +getScheduledLocalNotifications: (\n callback: (notification: Notification) => void,\n ) => void;\n +removeAllDeliveredNotifications: () => void;\n +removeDeliveredNotifications: (identifiers: Array) => void;\n +getDeliveredNotifications: (\n callback: (notification: Array) => void,\n ) => void;\n +addListener: (eventType: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get(\n 'PushNotificationManager',\n): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst RCTDeviceEventEmitter = require('../EventEmitter/RCTDeviceEventEmitter');\n\nconst invariant = require('invariant');\n\nimport NativeSettingsManager from './NativeSettingsManager';\n\nconst subscriptions: Array<{keys: Array, callback: ?Function}> = [];\n\nconst Settings = {\n _settings: (NativeSettingsManager &&\n NativeSettingsManager.getConstants().settings: any),\n\n get(key: string): mixed {\n return this._settings[key];\n },\n\n set(settings: Object) {\n this._settings = Object.assign(this._settings, settings);\n NativeSettingsManager.setValues(settings);\n },\n\n watchKeys(keys: string | Array, callback: Function): number {\n if (typeof keys === 'string') {\n keys = [keys];\n }\n\n invariant(\n Array.isArray(keys),\n 'keys should be a string or array of strings',\n );\n\n const sid = subscriptions.length;\n subscriptions.push({keys: keys, callback: callback});\n return sid;\n },\n\n clearWatch(watchId: number) {\n if (watchId < subscriptions.length) {\n subscriptions[watchId] = {keys: [], callback: null};\n }\n },\n\n _sendObservations(body: Object) {\n Object.keys(body).forEach(key => {\n const newValue = body[key];\n const didChange = this._settings[key] !== newValue;\n this._settings[key] = newValue;\n\n if (didChange) {\n subscriptions.forEach(sub => {\n if (sub.keys.indexOf(key) !== -1 && sub.callback) {\n sub.callback();\n }\n });\n }\n });\n },\n};\n\nRCTDeviceEventEmitter.addListener(\n 'settingsUpdated',\n Settings._sendObservations.bind(Settings),\n);\n\nmodule.exports = Settings;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n settings: Object,\n |};\n +setValues: (values: Object) => void;\n +deleteValues: (values: Array) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'SettingsManager',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../Utilities/Platform');\n\nconst invariant = require('invariant');\nconst processColor = require('../StyleSheet/processColor');\n\nimport NativeActionSheetManager from '../ActionSheetIOS/NativeActionSheetManager';\nimport NativeShareModule from './NativeShareModule';\n\ntype Content =\n | {title?: string, message: string}\n | {title?: string, url: string};\ntype Options = {\n dialogTitle?: string,\n excludedActivityTypes?: Array,\n tintColor?: string,\n subject?: string,\n};\n\nclass Share {\n /**\n * Open a dialog to share text content.\n *\n * In iOS, Returns a Promise which will be invoked an object containing `action`, `activityType`.\n * If the user dismissed the dialog, the Promise will still be resolved with action being `Share.dismissedAction`\n * and all the other keys being undefined.\n *\n * In Android, Returns a Promise which always be resolved with action being `Share.sharedAction`.\n *\n * ### Content\n *\n * - `message` - a message to share\n * - `title` - title of the message\n *\n * #### iOS\n *\n * - `url` - an URL to share\n *\n * At least one of URL and message is required.\n *\n * ### Options\n *\n * #### iOS\n *\n * - `subject` - a subject to share via email\n * - `excludedActivityTypes`\n * - `tintColor`\n *\n * #### Android\n *\n * - `dialogTitle`\n *\n */\n static share(content: Content, options: Options = {}): Promise {\n invariant(\n typeof content === 'object' && content !== null,\n 'Content to share must be a valid object',\n );\n invariant(\n typeof content.url === 'string' || typeof content.message === 'string',\n 'At least one of URL and message is required',\n );\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n\n if (Platform.OS === 'android') {\n invariant(\n NativeShareModule,\n 'ShareModule should be registered on Android.',\n );\n invariant(\n !content.title || typeof content.title === 'string',\n 'Invalid title: title should be a string.',\n );\n\n const newContent = {\n title: content.title,\n message:\n typeof content.message === 'string' ? content.message : undefined,\n };\n\n return NativeShareModule.share(newContent, options.dialogTitle);\n } else if (Platform.OS === 'ios') {\n return new Promise((resolve, reject) => {\n const tintColor = processColor(options.tintColor);\n\n invariant(\n NativeActionSheetManager,\n 'NativeActionSheetManager is not registered on iOS, but it should be.',\n );\n\n NativeActionSheetManager.showShareActionSheetWithOptions(\n {\n message:\n typeof content.message === 'string' ? content.message : undefined,\n url: typeof content.url === 'string' ? content.url : undefined,\n subject: options.subject,\n tintColor: tintColor != null ? tintColor : undefined,\n excludedActivityTypes: options.excludedActivityTypes,\n },\n error => reject(error),\n (success, activityType) => {\n if (success) {\n resolve({\n action: 'sharedAction',\n activityType: activityType,\n });\n } else {\n resolve({\n action: 'dismissedAction',\n });\n }\n },\n );\n });\n } else {\n return Promise.reject(new Error('Unsupported platform'));\n }\n }\n\n /**\n * The content was successfully shared.\n */\n static sharedAction: 'sharedAction' = 'sharedAction';\n\n /**\n * The dialog has been dismissed.\n * @platform ios\n */\n static dismissedAction: 'dismissedAction' = 'dismissedAction';\n}\n\nmodule.exports = Share;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +share: (\n content: {|title?: string, message?: string|},\n dialogTitle?: string,\n ) => Promise<{|action: string|}>;\n}\n\nexport default (TurboModuleRegistry.get('ShareModule'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst NativeEventEmitter = require('../../EventEmitter/NativeEventEmitter');\n\nimport NativeStatusBarManager from './NativeStatusBarManager';\n\n/**\n * Use `StatusBar` for mutating the status bar.\n */\nclass StatusBarIOS extends NativeEventEmitter {}\n\nmodule.exports = (new StatusBarIOS(NativeStatusBarManager): StatusBarIOS);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport NativeTimePickerAndroid, {\n type TimePickerOptions,\n type TimePickerResult,\n} from './NativeTimePickerAndroid';\n\n/**\n * Opens the standard Android time picker dialog.\n *\n * ### Example\n *\n * ```\n * try {\n * const {action, hour, minute} = await TimePickerAndroid.open({\n * hour: 14,\n * minute: 0,\n * is24Hour: false, // Will display '2 PM'\n * });\n * if (action !== TimePickerAndroid.dismissedAction) {\n * // Selected hour (0-23), minute (0-59)\n * }\n * } catch ({code, message}) {\n * console.warn('Cannot open time picker', message);\n * }\n * ```\n */\nclass TimePickerAndroid {\n /**\n * Opens the standard Android time picker dialog.\n *\n * The available keys for the `options` object are:\n * * `hour` (0-23) - the hour to show, defaults to the current time\n * * `minute` (0-59) - the minute to show, defaults to the current time\n * * `is24Hour` (boolean) - If `true`, the picker uses the 24-hour format. If `false`,\n * the picker shows an AM/PM chooser. If undefined, the default for the current locale\n * is used.\n * * `mode` (`enum('clock', 'spinner', 'default')`) - set the time picker mode\n * - 'clock': Show a time picker in clock mode.\n * - 'spinner': Show a time picker in spinner mode.\n * - 'default': Show a default time picker based on Android versions.\n *\n * Returns a Promise which will be invoked an object containing `action`, `hour` (0-23),\n * `minute` (0-59) if the user picked a time. If the user dismissed the dialog, the Promise will\n * still be resolved with action being `TimePickerAndroid.dismissedAction` and all the other keys\n * being undefined. **Always** check whether the `action` before reading the values.\n */\n static async open(\n options: TimePickerOptions,\n ): Promise<$ReadOnly> {\n if (NativeTimePickerAndroid) {\n return NativeTimePickerAndroid.open(options);\n } else {\n return Promise.reject({\n message: 'TimePickerAndroid is not supported on this platform.',\n });\n }\n }\n\n /**\n * A time has been selected.\n */\n static +timeSetAction: 'timeSetAction' = 'timeSetAction';\n /**\n * The dialog has been dismissed.\n */\n static +dismissedAction: 'dismissedAction' = 'dismissedAction';\n}\n\nmodule.exports = TimePickerAndroid;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport type TimePickerOptions = {|\n hour?: number,\n minute?: number,\n is24Hour?: boolean,\n mode?: string,\n|};\n\nexport type TimePickerResult = {|\n action: string,\n hour: number,\n minute: number,\n|};\n\nexport interface Spec extends TurboModule {\n +open: (options: TimePickerOptions) => Promise;\n}\n\nexport default (TurboModuleRegistry.get('TimePickerAndroid'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n */\n\n'use strict';\n\nconst warning = require('fbjs/lib/warning');\n\nconst ToastAndroid = {\n show: function(message: string, duration: number): void {\n warning(false, 'ToastAndroid is not supported on this platform.');\n },\n\n showWithGravity: function(\n message: string,\n duration: number,\n gravity: number,\n ): void {\n warning(false, 'ToastAndroid is not supported on this platform.');\n },\n\n showWithGravityAndOffset: function(\n message: string,\n duration: number,\n gravity: number,\n xOffset: number,\n yOffset: number,\n ): void {\n warning(false, 'ToastAndroid is not supported on this platform.');\n },\n};\n\nmodule.exports = ToastAndroid;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport Dimensions from './Dimensions';\nimport {type DisplayMetrics} from './NativeDeviceInfo';\nimport * as React from 'react';\n\nexport default function useWindowDimensions(): DisplayMetrics {\n const dims = Dimensions.get('window'); // always read the latest value\n const forceUpdate = React.useState(false)[1].bind(null, v => !v);\n const initialDims = React.useState(dims)[0];\n React.useEffect(() => {\n Dimensions.addEventListener('change', forceUpdate);\n\n const latestDims = Dimensions.get('window');\n if (latestDims !== initialDims) {\n // We missed an update between calling `get` in render and\n // `addEventListener` in this handler...\n forceUpdate();\n }\n return () => {\n Dimensions.removeEventListener('change', forceUpdate);\n };\n }, [forceUpdate, initialDims]);\n return dims;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst deepFreezeAndThrowOnMutationInDev = require('./Utilities/deepFreezeAndThrowOnMutationInDev');\n\n/**\n * A collection of Unicode sequences for various characters and emoji.\n *\n * - More explicit than using the sequences directly in code.\n * - Source code should be limitted to ASCII.\n * - Less chance of typos.\n */\nconst UTFSequence: $TEMPORARY$object<{|\n BOM: string,\n BULLET: string,\n BULLET_SP: string,\n MDASH: string,\n MDASH_SP: string,\n MIDDOT: string,\n MIDDOT_KATAKANA: string,\n MIDDOT_SP: string,\n NBSP: string,\n NDASH: string,\n NDASH_SP: string,\n PIZZA: string,\n TRIANGLE_LEFT: string,\n TRIANGLE_RIGHT: string,\n|}> = deepFreezeAndThrowOnMutationInDev({\n BOM: '\\ufeff', // byte order mark\n BULLET: '\\u2022', // bullet: •\n BULLET_SP: '\\u00A0\\u2022\\u00A0', //  • \n MIDDOT: '\\u00B7', // normal middle dot: ·\n MIDDOT_SP: '\\u00A0\\u00B7\\u00A0', //  · \n MIDDOT_KATAKANA: '\\u30FB', // katakana middle dot\n MDASH: '\\u2014', // em dash: —\n MDASH_SP: '\\u00A0\\u2014\\u00A0', //  — \n NDASH: '\\u2013', // en dash: –\n NDASH_SP: '\\u00A0\\u2013\\u00A0', //  – \n NBSP: '\\u00A0', // non-breaking space:  \n PIZZA: '\\uD83C\\uDF55',\n TRIANGLE_LEFT: '\\u25c0', // black left-pointing triangle\n TRIANGLE_RIGHT: '\\u25b6', // black right-pointing triangle\n});\n\nmodule.exports = UTFSequence;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n * @jsdoc\n */\n\n'use strict';\n\nimport NativeVibration from './NativeVibration';\nconst Platform = require('../Utilities/Platform');\n\n/**\n * Vibration API\n *\n * See https://facebook.github.io/react-native/docs/vibration.html\n */\n\nlet _vibrating: boolean = false;\nlet _id: number = 0; // _id is necessary to prevent race condition.\n\nfunction vibrateByPattern(pattern: Array, repeat: boolean = false) {\n if (_vibrating) {\n return;\n }\n _vibrating = true;\n if (pattern[0] === 0) {\n NativeVibration.vibrate();\n pattern = pattern.slice(1);\n }\n if (pattern.length === 0) {\n _vibrating = false;\n return;\n }\n setTimeout(() => vibrateScheduler(++_id, pattern, repeat, 1), pattern[0]);\n}\n\nfunction vibrateScheduler(\n id,\n pattern: Array,\n repeat: boolean,\n nextIndex: number,\n) {\n if (!_vibrating || id !== _id) {\n return;\n }\n NativeVibration.vibrate();\n if (nextIndex >= pattern.length) {\n if (repeat) {\n nextIndex = 0;\n } else {\n _vibrating = false;\n return;\n }\n }\n setTimeout(\n () => vibrateScheduler(id, pattern, repeat, nextIndex + 1),\n pattern[nextIndex],\n );\n}\n\nconst Vibration = {\n /**\n * Trigger a vibration with specified `pattern`.\n *\n * See https://facebook.github.io/react-native/docs/vibration.html#vibrate\n */\n vibrate: function(\n pattern: number | Array = 400,\n repeat: boolean = false,\n ) {\n if (Platform.OS === 'android') {\n if (typeof pattern === 'number') {\n NativeVibration.vibrate(pattern);\n } else if (Array.isArray(pattern)) {\n NativeVibration.vibrateByPattern(pattern, repeat ? 0 : -1);\n } else {\n throw new Error('Vibration pattern should be a number or array');\n }\n } else {\n if (_vibrating) {\n return;\n }\n if (typeof pattern === 'number') {\n NativeVibration.vibrate();\n } else if (Array.isArray(pattern)) {\n vibrateByPattern(pattern, repeat);\n } else {\n throw new Error('Vibration pattern should be a number or array');\n }\n }\n },\n /**\n * Stop vibration\n *\n * See https://facebook.github.io/react-native/docs/vibration.html#cancel\n */\n cancel: function() {\n if (Platform.OS === 'ios') {\n _vibrating = false;\n } else {\n NativeVibration.cancel();\n }\n },\n};\n\nmodule.exports = Vibration;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +vibrate: (pattern?: number) => void;\n\n // Android only\n +vibrateByPattern: (pattern: Array, repeat: number) => void;\n +cancel: () => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Vibration'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst React = require('react');\n\nimport type {Category} from './Data/YellowBoxCategory';\nimport type {\n Registry,\n Subscription,\n IgnorePattern,\n} from './Data/YellowBoxRegistry';\n\ntype Props = $ReadOnly<{||}>;\ntype State = {|\n registry: ?Registry,\n|};\n\nlet YellowBox;\n\n/**\n * YellowBox displays warnings at the bottom of the screen.\n *\n * Warnings help guard against subtle yet significant issues that can impact the\n * quality of the app. This \"in your face\" style of warning allows developers to\n * notice and correct these issues as quickly as possible.\n *\n * YellowBox is only enabled in `__DEV__`. Set the following flag to disable it:\n *\n * console.disableYellowBox = true;\n *\n * Ignore specific warnings by calling:\n *\n * YellowBox.ignoreWarnings(['Warning: ...']);\n *\n * Strings supplied to `YellowBox.ignoreWarnings` only need to be a substring of\n * the ignored warning messages.\n */\nif (__DEV__) {\n const Platform = require('../Utilities/Platform');\n const RCTLog = require('../Utilities/RCTLog');\n const YellowBoxList = require('./UI/YellowBoxList');\n const YellowBoxRegistry = require('./Data/YellowBoxRegistry');\n\n const {error, warn} = console;\n\n // eslint-disable-next-line no-shadow\n YellowBox = class YellowBox extends React.Component {\n static ignoreWarnings(patterns: $ReadOnlyArray): void {\n YellowBoxRegistry.addIgnorePatterns(patterns);\n }\n\n static install(): void {\n (console: any).error = function(...args) {\n error.call(console, ...args);\n // Show YellowBox for the `warning` module.\n if (typeof args[0] === 'string' && args[0].startsWith('Warning: ')) {\n registerWarning(...args);\n }\n };\n\n (console: any).warn = function(...args) {\n warn.call(console, ...args);\n registerWarning(...args);\n };\n\n if ((console: any).disableYellowBox === true) {\n YellowBoxRegistry.setDisabled(true);\n }\n (Object.defineProperty: any)(console, 'disableYellowBox', {\n configurable: true,\n get: () => YellowBoxRegistry.isDisabled(),\n set: value => YellowBoxRegistry.setDisabled(value),\n });\n\n if (Platform.isTesting) {\n (console: any).disableYellowBox = true;\n }\n\n RCTLog.setWarningHandler((...args) => {\n registerWarning(...args);\n });\n }\n\n static uninstall(): void {\n (console: any).error = error;\n (console: any).warn = error;\n delete (console: any).disableYellowBox;\n }\n\n _subscription: ?Subscription;\n\n state = {\n registry: null,\n };\n\n render(): React.Node {\n // TODO: Ignore warnings that fire when rendering `YellowBox` itself.\n return this.state.registry == null ? null : (\n \n );\n }\n\n componentDidMount(): void {\n this._subscription = YellowBoxRegistry.observe(registry => {\n this.setState({registry});\n });\n }\n\n componentWillUnmount(): void {\n if (this._subscription != null) {\n this._subscription.unsubscribe();\n }\n }\n\n _handleDismiss = (category: Category): void => {\n YellowBoxRegistry.delete(category);\n };\n\n _handleDismissAll(): void {\n YellowBoxRegistry.clear();\n }\n };\n\n const registerWarning = (...args): void => {\n YellowBoxRegistry.add({args, framesToPop: 2});\n };\n} else {\n YellowBox = class extends React.Component {\n static ignoreWarnings(patterns: $ReadOnlyArray): void {\n // Do nothing.\n }\n\n static install(): void {\n // Do nothing.\n }\n\n static uninstall(): void {\n // Do nothing.\n }\n\n render(): React.Node {\n return null;\n }\n };\n}\n\nmodule.exports = (YellowBox: Class> & {\n ignoreWarnings($ReadOnlyArray): void,\n install(): void,\n uninstall(): void,\n});\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst PointPropType: React$PropType$Primitive<{\n x?: number,\n y?: number,\n}> = PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number,\n});\n\nmodule.exports = PointPropType;\n","/**\n * External dependencies\n */\n// This library works as a polyfill for the global crypto.getRandomValues which is needed by `uuid` version 7.0.0\nimport 'react-native-get-random-values';\nimport jsdom from 'jsdom-jscore-rn';\nimport jsdomLevel1Core from 'jsdom-jscore-rn/lib/jsdom/level1/core';\nimport 'react-native-url-polyfill/auto';\n\n/**\n * Babel polyfills\n */\nimport 'core-js/features/array/flat-map';\n\n/**\n * WordPress dependencies\n */\nimport { nativeLoggingHook } from '@wordpress/react-native-bridge';\nimport { createElement } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\n\n/**\n * Import for side-effects: Patches for jsdom-jscore, mostly to implement\n * functions that are called from Gutenberg code paths, where a more full DOM\n * implementation is expected (in the browser environment).\n *\n * More details are available within the comments in the file.\n */\nimport './jsdom-patches';\n\nglobal.wp = {\n\telement: {\n\t\tcreateElement, // load the element creation function, needed by Gutenberg-web\n\t},\n};\n\nconst doc = jsdom.html( '', null, null );\n\n// inject a simple version of the missing createHTMLDocument method that `hpq` depends on\ndoc.implementation.createHTMLDocument = function ( html ) {\n\treturn jsdom.html( html, null, null );\n};\n\n// `hpq` depends on `document` be available globally\nglobal.document = doc;\n\nif ( ! global.window.Node ) {\n\tglobal.window.Node = jsdomLevel1Core.dom.level1.core.Node;\n}\n\nif ( ! global.window.matchMedia ) {\n\tglobal.window.matchMedia = () => ( {\n\t\tmatches: false,\n\t\taddListener: () => {},\n\t\tremoveListener: () => {},\n\t} );\n}\n\nglobal.window.navigator.userAgent = [];\n\n// Leverages existing console polyfill from react-native\nglobal.nativeLoggingHook = nativeLoggingHook;\n","const RNGetRandomValues = require('react-native').NativeModules.RNGetRandomValues\nconst base64Decode = require('fast-base64-decode')\n\nclass TypeMismatchError extends Error {}\nclass QuotaExceededError extends Error {}\n\nlet warned = false\nfunction insecureRandomValues (array) {\n if (!warned) {\n console.warn('Using an insecure random number generator, this should only happen when running in a debugger without support for crypto.getRandomValues')\n warned = true\n }\n\n for (let i = 0, r; i < array.length; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000\n array[i] = (r >>> ((i & 0x03) << 3)) & 0xff\n }\n\n return array\n}\n\n/**\n * @param {Int8Array|Uint8Array|Int16Array|Uint16Array|Int32Array|Uint32Array|Uint8ClampedArray} array\n */\nfunction getRandomValues (array) {\n if (!(array instanceof Int8Array || array instanceof Uint8Array || array instanceof Int16Array || array instanceof Uint16Array || array instanceof Int32Array || array instanceof Uint32Array || array instanceof Uint8ClampedArray)) {\n throw new TypeMismatchError('Expected an integer array')\n }\n\n if (array.byteLength > 65536) {\n throw new QuotaExceededError('Can only request a maximum of 65536 bytes')\n }\n\n // Calling RNGetRandomValues.getRandomBase64 in debug mode leads to the error\n // \"Calling synchronous methods on native modules is not supported in Chrome\".\n // So in that specific case we fall back to just using Math.random.\n if (__DEV__) {\n if (typeof global.nativeCallSyncHook === 'undefined') {\n return insecureRandomValues(array)\n }\n }\n\n base64Decode(RNGetRandomValues.getRandomBase64(array.byteLength), new Uint8Array(array.buffer, array.byteOffset, array.byteLength))\n\n return array\n}\n\nif (typeof global.crypto !== 'object') {\n global.crypto = {}\n}\n\nif (typeof global.crypto.getRandomValues !== 'function') {\n global.crypto.getRandomValues = getRandomValues\n}\n","'use strict'\n\nvar lookup = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 0, 62, 0, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 63, 0, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51]\n\nmodule.exports = function base64Decode (source, target) {\n var sourceLength = source.length\n var paddingLength = (source[sourceLength - 2] === '=' ? 2 : (source[sourceLength - 1] === '=' ? 1 : 0))\n\n var tmp\n var byteIndex = 0\n var baseLength = (sourceLength - paddingLength) & 0xfffffffc\n\n for (var i = 0; i < baseLength; i += 4) {\n tmp = (lookup[source.charCodeAt(i)] << 18) | (lookup[source.charCodeAt(i + 1)] << 12) | (lookup[source.charCodeAt(i + 2)] << 6) | (lookup[source.charCodeAt(i + 3)])\n\n target[byteIndex++] = (tmp >> 16) & 0xFF\n target[byteIndex++] = (tmp >> 8) & 0xFF\n target[byteIndex++] = (tmp) & 0xFF\n }\n\n if (paddingLength === 1) {\n tmp = (lookup[source.charCodeAt(i)] << 10) | (lookup[source.charCodeAt(i + 1)] << 4) | (lookup[source.charCodeAt(i + 2)] >> 2)\n\n target[byteIndex++] = (tmp >> 8) & 0xFF\n target[byteIndex++] = tmp & 0xFF\n }\n\n if (paddingLength === 2) {\n tmp = (lookup[source.charCodeAt(i)] << 2) | (lookup[source.charCodeAt(i + 1)] >> 4)\n\n target[byteIndex++] = tmp & 0xFF\n }\n}\n","var defineGetter = require('./jsdom/utils').defineGetter;\nvar dom = exports.dom = require('./jsdom/level3/index').dom;\n\nexports.defaultLevel = dom.level3.html;\nexports.browserAugmentation = require('./jsdom/browser/index').browserAugmentation;\n\nexports.debugMode = false;\n\ndefineGetter(exports, 'version', function() {\n return 1.0;\n});\n\nexports.level = function (level, feature) {\n if(!feature) {\n feature = 'core';\n }\n\n return require('./jsdom/level' + level + '/' + feature).dom['level' + level][feature];\n};\n\nexports.jsdom = function (html, level, options) {\n\n options = options || {};\n if(typeof level == 'string') {\n level = exports.level(level, 'html');\n } else {\n level = level || exports.defaultLevel;\n }\n\n var browser = exports.browserAugmentation(level, options),\n doc = browser.HTMLDocument ?\n new browser.HTMLDocument(options) :\n new browser.Document(options);\n\n require('./jsdom/selectors/index').applyQuerySelectorPrototype(level);\n\n if (typeof html === 'undefined' || html === null) {\n doc.write('');\n } else {\n doc.write(html + '');\n }\n\n if (doc.close && !options.deferClose) {\n doc.close();\n }\n\n return doc;\n};\n\nexports.html = function(html, level, options) {\n html += '';\n\n // TODO: cache a regex and use it here instead\n // or make the parser handle it\n var htmlLowered = html.toLowerCase();\n\n // body\n if (!~htmlLowered.indexOf('';\n }\n\n // html\n if (!~htmlLowered.indexOf('';\n }\n return exports.jsdom(html, level, options);\n};\n\nexports.env = function(html, level, callback) {\n if (arguments.length<3) {\n callback = level;\n level = null;\n }\n\n var doc = exports.html(html,level);\n callback(null, {document: doc});\n};\n","var path = require('../builtins').path;\n\n/**\n * Intercepts a method by replacing the prototype's implementation\n * with a wrapper that invokes the given interceptor instead.\n *\n * utils.intercept(core.Element, 'inserBefore',\n * function(_super, args, newChild, refChild) {\n * console.log('insertBefore', newChild, refChild);\n * return _super.apply(this, args);\n * }\n * );\n */\nexports.intercept = function(clazz, method, interceptor) {\n var proto = clazz.prototype,\n _super = proto[method],\n unwrapArgs = interceptor.length > 2;\n\n proto[method] = function() {\n if (unwrapArgs) {\n var args = Array.prototype.slice.call(arguments);\n args.unshift(_super, arguments);\n return interceptor.apply(this, args);\n }\n else {\n return interceptor.call(this, _super, arguments);\n }\n };\n};\n\nexports.toFileUrl = function (fileName) {\n // Beyond just the `path.resolve`, this is mostly for the benefit of Windows,\n // where we need to convert '\\' to '/' and add an extra '/' prefix before the\n // drive letter.\n var pathname = path.resolve(process.cwd(), fileName).replace(/\\\\/g, '/');\n if (pathname[0] !== '/') {\n pathname = '/' + pathname;\n }\n\n return 'file://' + pathname;\n};\n\n/**\n * Define a setter on an object\n *\n * This method replaces any existing setter but leaves getters in place.\n *\n * - `object` {Object} the object to define the setter on\n * - `property` {String} the name of the setter\n * - `setterFn` {Function} the setter\n */\nexports.defineSetter = function defineSetter(object, property, setterFn) {\n var descriptor = Object.getOwnPropertyDescriptor(object, property) || {\n configurable: true,\n enumerable: true\n };\n\n descriptor.set = setterFn;\n\n Object.defineProperty(object, property, descriptor);\n};\n\n/**\n * Define a getter on an object\n *\n * This method replaces any existing getter but leaves setters in place.\n *\n * - `object` {Object} the object to define the getter on\n * - `property` {String} the name of the getter\n * - `getterFn` {Function} the getter\n */\nexports.defineGetter = function defineGetter(object, property, getterFn) {\n var descriptor = Object.getOwnPropertyDescriptor(object, property) || {\n configurable: true,\n enumerable: true\n };\n\n descriptor.get = getterFn;\n\n Object.defineProperty(object, property, descriptor);\n};\n\n/**\n * Create an object with the given prototype\n *\n * Optionally augment the created object.\n *\n * - `prototyp` {Object} the created object's prototype\n * - `[properties]` {Object} properties to attach to the created object\n */\nexports.createFrom = function createFrom(prototype, properties) {\n properties = properties || {};\n\n var descriptors = {};\n Object.getOwnPropertyNames(properties).forEach(function (name) {\n descriptors[name] = Object.getOwnPropertyDescriptor(properties, name);\n });\n\n return Object.create(prototype, descriptors);\n};\n\n/**\n * Create an inheritance relationship between two classes\n *\n * Optionally augment the inherited prototype.\n *\n * - `Superclass` {Function} the inherited class\n * - `Subclass` {Function} the inheriting class\n * - `[properties]` {Object} properties to attach to the inherited prototype\n */\nexports.inheritFrom = function inheritFrom(Superclass, Subclass, properties) {\n properties = properties || {};\n\n Object.defineProperty(properties, 'constructor', {\n value: Subclass,\n writable: true,\n configurable: true\n });\n\n Subclass.prototype = exports.createFrom(Superclass.prototype, properties);\n};\n","module.exports = {\n url: require('./builtins/url/url'),\n path: require('./builtins/path-browserify/index'),\n htmlparser2: require('htmlparser2-without-node-native'),\n nwmatcher: require('./builtins/nwmatcher/src/nwmatcher-noqsa'),\n cssom: require('./builtins/cssom/lib/index'),\n cssstyle: require('./builtins/cssstyle/lib/CSSStyleDeclaration')\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar punycode = require('../punycode/punycode');\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = require('querystring');\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a puny coded representation of \"domain\".\n // It only converts the part of the domain name that\n // has non ASCII characters. I.e. it dosent matter if\n // you call it with a domain that already is in ASCII.\n var domainArray = this.hostname.split('.');\n var newOut = [];\n for (var i = 0; i < domainArray.length; ++i) {\n var s = domainArray[i];\n newOut.push(s.match(/[^A-Za-z0-9_-]/) ?\n 'xn--' + punycode.encode(s) : s);\n }\n this.hostname = newOut.join('.');\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n Object.keys(this).forEach(function(k) {\n result[k] = this[k];\n }, this);\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n Object.keys(relative).forEach(function(k) {\n if (k !== 'protocol')\n result[k] = relative[k];\n });\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n Object.keys(relative).forEach(function(k) {\n result[k] = relative[k];\n });\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host) && (last === '.' || last === '..') ||\n last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last == '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\nfunction isString(arg) {\n return typeof arg === \"string\";\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isNull(arg) {\n return arg === null;\n}\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\n","/*! https://mths.be/punycode v1.3.2 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = typeof exports == 'object' && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = typeof module == 'object' && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * http://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.3.2',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine('punycode', function() {\n\t\t\treturn punycode;\n\t\t});\n\t} else if (freeExports && freeModule) {\n\t\tif (module.exports == freeExports) { // in Node.js or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = punycode;\n\t\t} else { // in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (key in punycode) {\n\t\t\t\tpunycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n\t\t\t}\n\t\t}\n\t} else { // in Rhino or a web browser\n\t\troot.punycode = punycode;\n\t}\n\n}(this));\n","'use strict';\n\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (Array.isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return Object.keys(obj).map(function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (Array.isArray(obj[k])) {\n return obj[k].map(function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nvar splitPathRe =\n /^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/;\nvar splitPath = function(filename) {\n return splitPathRe.exec(filename).slice(1);\n};\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function(path) {\n var result = splitPath(path),\n root = result[0],\n dir = result[1];\n\n if (!root && !dir) {\n // No dirname whatsoever\n return '.';\n }\n\n if (dir) {\n // It has a dirname, strip trailing slash\n dir = dir.substr(0, dir.length - 1);\n }\n\n return root + dir;\n};\n\n\nexports.basename = function(path, ext) {\n var f = splitPath(path)[2];\n // TODO: make this comparison case-insensitive on windows?\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\n\nexports.extname = function(path) {\n return splitPath(path)[3];\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n","var Parser = require(\"./Parser.js\"),\n DomHandler = require(\"domhandler\");\n\nfunction defineProp(name, value){\n\tdelete module.exports[name];\n\tmodule.exports[name] = value;\n\treturn value;\n}\n\nmodule.exports = {\n\tParser: Parser,\n\tTokenizer: require(\"./Tokenizer.js\"),\n\tElementType: require(\"domelementtype\"),\n\tDomHandler: DomHandler,\n\tget FeedHandler(){\n\t\treturn defineProp(\"FeedHandler\", require(\"./FeedHandler.js\"));\n\t},\n\tget ProxyHandler(){\n\t\treturn defineProp(\"ProxyHandler\", require(\"./ProxyHandler.js\"));\n\t},\n\tget DomUtils(){\n\t\treturn defineProp(\"DomUtils\", require(\"domutils\"));\n\t},\n\tget CollectingHandler(){\n\t\treturn defineProp(\"CollectingHandler\", require(\"./CollectingHandler.js\"));\n\t},\n\t// For legacy support\n\tDefaultHandler: DomHandler,\n\tget RssHandler(){\n\t\treturn defineProp(\"RssHandler\", this.FeedHandler);\n\t},\n\t//helper methods\n\tparseDOM: function(data, options){\n\t\tvar handler = new DomHandler(options);\n\t\tnew Parser(handler, options).end(data);\n\t\treturn handler.dom;\n\t},\n\tparseFeed: function(feed, options){\n\t\tvar handler = new module.exports.FeedHandler(options);\n\t\tnew Parser(handler, options).end(feed);\n\t\treturn handler.dom;\n\t},\n\tcreateDomStream: function(cb, options, elementCb){\n\t\tvar handler = new DomHandler(cb, options, elementCb);\n\t\treturn new Parser(handler, options);\n\t},\n\t// List of all events that the parser emits\n\tEVENTS: { /* Format: eventname: number of arguments */\n\t\tattribute: 2,\n\t\tcdatastart: 0,\n\t\tcdataend: 0,\n\t\ttext: 1,\n\t\tprocessinginstruction: 2,\n\t\tcomment: 1,\n\t\tcommentend: 0,\n\t\tclosetag: 1,\n\t\topentag: 2,\n\t\topentagname: 1,\n\t\terror: 1,\n\t\tend: 0\n\t}\n};\n","var Tokenizer;\n\n/*\n\tOptions:\n\n\txmlMode: Disables the special behavior for script/style tags (false by default)\n\tlowerCaseAttributeNames: call .toLowerCase for each attribute name (true if xmlMode is `false`)\n\tlowerCaseTags: call .toLowerCase for each tag name (true if xmlMode is `false`)\n*/\n\n/*\n\tCallbacks:\n\n\toncdataend,\n\toncdatastart,\n\tonclosetag,\n\toncomment,\n\toncommentend,\n\tonerror,\n\tonopentag,\n\tonprocessinginstruction,\n\tonreset,\n\tontext\n*/\n\nvar formTags = {\n\tinput: true,\n\toption: true,\n\toptgroup: true,\n\tselect: true,\n\tbutton: true,\n\tdatalist: true,\n\ttextarea: true\n};\n\nvar openImpliesClose = {\n\ttr : { tr:true, th:true, td:true },\n\tth : { th:true },\n\ttd : { thead:true, th:true, td:true },\n\tbody : { head:true, link:true, script:true },\n\tli : { li:true },\n\tp : { p:true },\n\th1 : { p:true },\n\th2 : { p:true },\n\th3 : { p:true },\n\th4 : { p:true },\n\th5 : { p:true },\n\th6 : { p:true },\n\tselect : formTags,\n\tinput : formTags,\n\toutput : formTags,\n\tbutton : formTags,\n\tdatalist: formTags,\n\ttextarea: formTags,\n\toption : { option:true },\n\toptgroup: { optgroup:true }\n};\n\nvar voidElements = {\n\t__proto__: null,\n\tarea: true,\n\tbase: true,\n\tbasefont: true,\n\tbr: true,\n\tcol: true,\n\tcommand: true,\n\tembed: true,\n\tframe: true,\n\thr: true,\n\timg: true,\n\tinput: true,\n\tisindex: true,\n\tkeygen: true,\n\tlink: true,\n\tmeta: true,\n\tparam: true,\n\tsource: true,\n\ttrack: true,\n\twbr: true,\n\n\t//common self closing svg elements\n\tpath: true,\n\tcircle: true,\n\tellipse: true,\n\tline: true,\n\trect: true,\n\tuse: true,\n\tstop: true,\n\tpolyline: true,\n\tpolygon: true\n};\n\nvar re_nameEnd = /\\s|\\//;\n\nfunction Parser(cbs, options){\n\tthis._options = options || {};\n\tthis._cbs = cbs || {};\n\n\tthis._tagname = \"\";\n\tthis._attribname = \"\";\n\tthis._attribvalue = \"\";\n\tthis._attribs = null;\n\tthis._stack = [];\n\n\tthis.startIndex = 0;\n\tthis.endIndex = null;\n\n\tthis._lowerCaseTagNames = \"lowerCaseTags\" in this._options ?\n\t\t\t\t\t\t\t\t\t!!this._options.lowerCaseTags :\n\t\t\t\t\t\t\t\t\t!this._options.xmlMode;\n\tthis._lowerCaseAttributeNames = \"lowerCaseAttributeNames\" in this._options ?\n\t\t\t\t\t\t\t\t\t!!this._options.lowerCaseAttributeNames :\n\t\t\t\t\t\t\t\t\t!this._options.xmlMode;\n\n\tif(this._options.Tokenizer) {\n\t\tTokenizer = this._options.Tokenizer;\n\t} else {\n\t\tTokenizer = require(\"./Tokenizer.js\");\n\t}\n\tthis._tokenizer = new Tokenizer(this._options, this);\n\n\tif(this._cbs.onparserinit) this._cbs.onparserinit(this);\n}\n\nrequire(\"inherits\")(Parser, require(\"eventemitter2\"));\n\nParser.prototype._updatePosition = function(initialOffset){\n\tif(this.endIndex === null){\n\t\tif(this._tokenizer._sectionStart <= initialOffset){\n\t\t\tthis.startIndex = 0;\n\t\t} else {\n\t\t\tthis.startIndex = this._tokenizer._sectionStart - initialOffset;\n\t\t}\n\t}\n\telse this.startIndex = this.endIndex + 1;\n\tthis.endIndex = this._tokenizer.getAbsoluteIndex();\n};\n\n//Tokenizer event handlers\nParser.prototype.ontext = function(data){\n\tthis._updatePosition(1);\n\tthis.endIndex--;\n\n\tif(this._cbs.ontext) this._cbs.ontext(data);\n};\n\nParser.prototype.onopentagname = function(name){\n\tif(this._lowerCaseTagNames){\n\t\tname = name.toLowerCase();\n\t}\n\n\tthis._tagname = name;\n\n\tif(!this._options.xmlMode && name in openImpliesClose) {\n\t\tfor(\n\t\t\tvar el;\n\t\t\t(el = this._stack[this._stack.length - 1]) in openImpliesClose[name];\n\t\t\tthis.onclosetag(el)\n\t\t);\n\t}\n\n\tif(this._options.xmlMode || !(name in voidElements)){\n\t\tthis._stack.push(name);\n\t}\n\n\tif(this._cbs.onopentagname) this._cbs.onopentagname(name);\n\tif(this._cbs.onopentag) this._attribs = {};\n};\n\nParser.prototype.onopentagend = function(){\n\tthis._updatePosition(1);\n\n\tif(this._attribs){\n\t\tif(this._cbs.onopentag) this._cbs.onopentag(this._tagname, this._attribs);\n\t\tthis._attribs = null;\n\t}\n\n\tif(!this._options.xmlMode && this._cbs.onclosetag && this._tagname in voidElements){\n\t\tthis._cbs.onclosetag(this._tagname);\n\t}\n\n\tthis._tagname = \"\";\n};\n\nParser.prototype.onclosetag = function(name){\n\tthis._updatePosition(1);\n\n\tif(this._lowerCaseTagNames){\n\t\tname = name.toLowerCase();\n\t}\n\n\tif(this._stack.length && (!(name in voidElements) || this._options.xmlMode)){\n\t\tvar pos = this._stack.lastIndexOf(name);\n\t\tif(pos !== -1){\n\t\t\tif(this._cbs.onclosetag){\n\t\t\t\tpos = this._stack.length - pos;\n\t\t\t\twhile(pos--) this._cbs.onclosetag(this._stack.pop());\n\t\t\t}\n\t\t\telse this._stack.length = pos;\n\t\t} else if(name === \"p\" && !this._options.xmlMode){\n\t\t\tthis.onopentagname(name);\n\t\t\tthis._closeCurrentTag();\n\t\t}\n\t} else if(!this._options.xmlMode && (name === \"br\" || name === \"p\")){\n\t\tthis.onopentagname(name);\n\t\tthis._closeCurrentTag();\n\t}\n};\n\nParser.prototype.onselfclosingtag = function(){\n\tif(this._options.xmlMode || this._options.recognizeSelfClosing){\n\t\tthis._closeCurrentTag();\n\t} else {\n\t\tthis.onopentagend();\n\t}\n};\n\nParser.prototype._closeCurrentTag = function(){\n\tvar name = this._tagname;\n\n\tthis.onopentagend();\n\n\t//self-closing tags will be on the top of the stack\n\t//(cheaper check than in onclosetag)\n\tif(this._stack[this._stack.length - 1] === name){\n\t\tif(this._cbs.onclosetag){\n\t\t\tthis._cbs.onclosetag(name);\n\t\t}\n\t\tthis._stack.pop();\n\t}\n};\n\nParser.prototype.onattribname = function(name){\n\tif(this._lowerCaseAttributeNames){\n\t\tname = name.toLowerCase();\n\t}\n\tthis._attribname = name;\n};\n\nParser.prototype.onattribdata = function(value){\n\tthis._attribvalue += value;\n};\n\nParser.prototype.onattribend = function(){\n\tif(this._cbs.onattribute) this._cbs.onattribute(this._attribname, this._attribvalue);\n\tif(\n\t\tthis._attribs &&\n\t\t!Object.prototype.hasOwnProperty.call(this._attribs, this._attribname)\n\t){\n\t\tthis._attribs[this._attribname] = this._attribvalue;\n\t}\n\tthis._attribname = \"\";\n\tthis._attribvalue = \"\";\n};\n\nParser.prototype._getInstructionName = function(value){\n\tvar idx = value.search(re_nameEnd),\n\t name = idx < 0 ? value : value.substr(0, idx);\n\n\tif(this._lowerCaseTagNames){\n\t\tname = name.toLowerCase();\n\t}\n\n\treturn name;\n};\n\nParser.prototype.ondeclaration = function(value){\n\tif(this._cbs.onprocessinginstruction){\n\t\tvar name = this._getInstructionName(value);\n\t\tthis._cbs.onprocessinginstruction(\"!\" + name, \"!\" + value);\n\t}\n};\n\nParser.prototype.onprocessinginstruction = function(value){\n\tif(this._cbs.onprocessinginstruction){\n\t\tvar name = this._getInstructionName(value);\n\t\tthis._cbs.onprocessinginstruction(\"?\" + name, \"?\" + value);\n\t}\n};\n\nParser.prototype.oncomment = function(value){\n\tthis._updatePosition(4);\n\n\tif(this._cbs.oncomment) this._cbs.oncomment(value);\n\tif(this._cbs.oncommentend) this._cbs.oncommentend();\n};\n\nParser.prototype.oncdata = function(value){\n\tthis._updatePosition(1);\n\n\tif(this._options.xmlMode || this._options.recognizeCDATA){\n\t\tif(this._cbs.oncdatastart) this._cbs.oncdatastart();\n\t\tif(this._cbs.ontext) this._cbs.ontext(value);\n\t\tif(this._cbs.oncdataend) this._cbs.oncdataend();\n\t} else {\n\t\tthis.oncomment(\"[CDATA[\" + value + \"]]\");\n\t}\n};\n\nParser.prototype.onerror = function(err){\n\tif(this._cbs.onerror) this._cbs.onerror(err);\n};\n\nParser.prototype.onend = function(){\n\tif(this._cbs.onclosetag){\n\t\tfor(\n\t\t\tvar i = this._stack.length;\n\t\t\ti > 0;\n\t\t\tthis._cbs.onclosetag(this._stack[--i])\n\t\t);\n\t}\n\tif(this._cbs.onend) this._cbs.onend();\n};\n\n\n//Resets the parser to a blank state, ready to parse a new HTML document\nParser.prototype.reset = function(){\n\tif(this._cbs.onreset) this._cbs.onreset();\n\tthis._tokenizer.reset();\n\n\tthis._tagname = \"\";\n\tthis._attribname = \"\";\n\tthis._attribs = null;\n\tthis._stack = [];\n\n\tif(this._cbs.onparserinit) this._cbs.onparserinit(this);\n};\n\n//Parses a complete HTML document and pushes it to the handler\nParser.prototype.parseComplete = function(data){\n\tthis.reset();\n\tthis.end(data);\n};\n\nParser.prototype.write = function(chunk){\n\tthis._tokenizer.write(chunk);\n};\n\nParser.prototype.end = function(chunk){\n\tthis._tokenizer.end(chunk);\n};\n\nParser.prototype.pause = function(){\n\tthis._tokenizer.pause();\n};\n\nParser.prototype.resume = function(){\n\tthis._tokenizer.resume();\n};\n\n//alias for backwards compat\nParser.prototype.parseChunk = Parser.prototype.write;\nParser.prototype.done = Parser.prototype.end;\n\nmodule.exports = Parser;\n","module.exports = Tokenizer;\n\nvar decodeCodePoint = require(\"entities/lib/decode_codepoint.js\"),\n entityMap = require(\"entities/maps/entities.json\"),\n legacyMap = require(\"entities/maps/legacy.json\"),\n xmlMap = require(\"entities/maps/xml.json\"),\n\n i = 0,\n\n TEXT = i++,\n BEFORE_TAG_NAME = i++, //after <\n IN_TAG_NAME = i++,\n IN_SELF_CLOSING_TAG = i++,\n BEFORE_CLOSING_TAG_NAME = i++,\n IN_CLOSING_TAG_NAME = i++,\n AFTER_CLOSING_TAG_NAME = i++,\n\n //attributes\n BEFORE_ATTRIBUTE_NAME = i++,\n IN_ATTRIBUTE_NAME = i++,\n AFTER_ATTRIBUTE_NAME = i++,\n BEFORE_ATTRIBUTE_VALUE = i++,\n IN_ATTRIBUTE_VALUE_DQ = i++, // \"\n IN_ATTRIBUTE_VALUE_SQ = i++, // '\n IN_ATTRIBUTE_VALUE_NQ = i++,\n\n //declarations\n BEFORE_DECLARATION = i++, // !\n IN_DECLARATION = i++,\n\n //processing instructions\n IN_PROCESSING_INSTRUCTION = i++, // ?\n\n //comments\n BEFORE_COMMENT = i++,\n IN_COMMENT = i++,\n AFTER_COMMENT_1 = i++,\n AFTER_COMMENT_2 = i++,\n\n //cdata\n BEFORE_CDATA_1 = i++, // [\n BEFORE_CDATA_2 = i++, // C\n BEFORE_CDATA_3 = i++, // D\n BEFORE_CDATA_4 = i++, // A\n BEFORE_CDATA_5 = i++, // T\n BEFORE_CDATA_6 = i++, // A\n IN_CDATA = i++, // [\n AFTER_CDATA_1 = i++, // ]\n AFTER_CDATA_2 = i++, // ]\n\n //special tags\n BEFORE_SPECIAL = i++, //S\n BEFORE_SPECIAL_END = i++, //S\n\n BEFORE_SCRIPT_1 = i++, //C\n BEFORE_SCRIPT_2 = i++, //R\n BEFORE_SCRIPT_3 = i++, //I\n BEFORE_SCRIPT_4 = i++, //P\n BEFORE_SCRIPT_5 = i++, //T\n AFTER_SCRIPT_1 = i++, //C\n AFTER_SCRIPT_2 = i++, //R\n AFTER_SCRIPT_3 = i++, //I\n AFTER_SCRIPT_4 = i++, //P\n AFTER_SCRIPT_5 = i++, //T\n\n BEFORE_STYLE_1 = i++, //T\n BEFORE_STYLE_2 = i++, //Y\n BEFORE_STYLE_3 = i++, //L\n BEFORE_STYLE_4 = i++, //E\n AFTER_STYLE_1 = i++, //T\n AFTER_STYLE_2 = i++, //Y\n AFTER_STYLE_3 = i++, //L\n AFTER_STYLE_4 = i++, //E\n\n BEFORE_ENTITY = i++, //&\n BEFORE_NUMERIC_ENTITY = i++, //#\n IN_NAMED_ENTITY = i++,\n IN_NUMERIC_ENTITY = i++,\n IN_HEX_ENTITY = i++, //X\n\n j = 0,\n\n SPECIAL_NONE = j++,\n SPECIAL_SCRIPT = j++,\n SPECIAL_STYLE = j++;\n\nfunction whitespace(c){\n\treturn c === \" \" || c === \"\\n\" || c === \"\\t\" || c === \"\\f\" || c === \"\\r\";\n}\n\nfunction characterState(char, SUCCESS){\n\treturn function(c){\n\t\tif(c === char) this._state = SUCCESS;\n\t};\n}\n\nfunction ifElseState(upper, SUCCESS, FAILURE){\n\tvar lower = upper.toLowerCase();\n\n\tif(upper === lower){\n\t\treturn function(c){\n\t\t\tif(c === lower){\n\t\t\t\tthis._state = SUCCESS;\n\t\t\t} else {\n\t\t\t\tthis._state = FAILURE;\n\t\t\t\tthis._index--;\n\t\t\t}\n\t\t};\n\t} else {\n\t\treturn function(c){\n\t\t\tif(c === lower || c === upper){\n\t\t\t\tthis._state = SUCCESS;\n\t\t\t} else {\n\t\t\t\tthis._state = FAILURE;\n\t\t\t\tthis._index--;\n\t\t\t}\n\t\t};\n\t}\n}\n\nfunction consumeSpecialNameChar(upper, NEXT_STATE){\n\tvar lower = upper.toLowerCase();\n\n\treturn function(c){\n\t\tif(c === lower || c === upper){\n\t\t\tthis._state = NEXT_STATE;\n\t\t} else {\n\t\t\tthis._state = IN_TAG_NAME;\n\t\t\tthis._index--; //consume the token again\n\t\t}\n\t};\n}\n\nfunction Tokenizer(options, cbs){\n\tthis._state = TEXT;\n\tthis._buffer = \"\";\n\tthis._sectionStart = 0;\n\tthis._index = 0;\n\tthis._bufferOffset = 0; //chars removed from _buffer\n\tthis._baseState = TEXT;\n\tthis._special = SPECIAL_NONE;\n\tthis._cbs = cbs;\n\tthis._running = true;\n\tthis._ended = false;\n\tthis._xmlMode = !!(options && options.xmlMode);\n\tthis._decodeEntities = !!(options && options.decodeEntities);\n}\n\nTokenizer.prototype._stateText = function(c){\n\tif(c === \"<\"){\n\t\tif(this._index > this._sectionStart){\n\t\t\tthis._cbs.ontext(this._getSection());\n\t\t}\n\t\tthis._state = BEFORE_TAG_NAME;\n\t\tthis._sectionStart = this._index;\n\t} else if(this._decodeEntities && this._special === SPECIAL_NONE && c === \"&\"){\n\t\tif(this._index > this._sectionStart){\n\t\t\tthis._cbs.ontext(this._getSection());\n\t\t}\n\t\tthis._baseState = TEXT;\n\t\tthis._state = BEFORE_ENTITY;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateBeforeTagName = function(c){\n\tif(c === \"/\"){\n\t\tthis._state = BEFORE_CLOSING_TAG_NAME;\n\t} else if(c === \"<\"){\n\t\tthis._cbs.ontext(this._getSection());\n\t\tthis._sectionStart = this._index;\n\t} else if(c === \">\" || this._special !== SPECIAL_NONE || whitespace(c)) {\n\t\tthis._state = TEXT;\n\t} else if(c === \"!\"){\n\t\tthis._state = BEFORE_DECLARATION;\n\t\tthis._sectionStart = this._index + 1;\n\t} else if(c === \"?\"){\n\t\tthis._state = IN_PROCESSING_INSTRUCTION;\n\t\tthis._sectionStart = this._index + 1;\n\t} else {\n\t\tthis._state = (!this._xmlMode && (c === \"s\" || c === \"S\")) ?\n\t\t\t\t\t\tBEFORE_SPECIAL : IN_TAG_NAME;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateInTagName = function(c){\n\tif(c === \"/\" || c === \">\" || whitespace(c)){\n\t\tthis._emitToken(\"onopentagname\");\n\t\tthis._state = BEFORE_ATTRIBUTE_NAME;\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._stateBeforeCloseingTagName = function(c){\n\tif(whitespace(c));\n\telse if(c === \">\"){\n\t\tthis._state = TEXT;\n\t} else if(this._special !== SPECIAL_NONE){\n\t\tif(c === \"s\" || c === \"S\"){\n\t\t\tthis._state = BEFORE_SPECIAL_END;\n\t\t} else {\n\t\t\tthis._state = TEXT;\n\t\t\tthis._index--;\n\t\t}\n\t} else {\n\t\tthis._state = IN_CLOSING_TAG_NAME;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateInCloseingTagName = function(c){\n\tif(c === \">\" || whitespace(c)){\n\t\tthis._emitToken(\"onclosetag\");\n\t\tthis._state = AFTER_CLOSING_TAG_NAME;\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._stateAfterCloseingTagName = function(c){\n\t//skip everything until \">\"\n\tif(c === \">\"){\n\t\tthis._state = TEXT;\n\t\tthis._sectionStart = this._index + 1;\n\t}\n};\n\nTokenizer.prototype._stateBeforeAttributeName = function(c){\n\tif(c === \">\"){\n\t\tthis._cbs.onopentagend();\n\t\tthis._state = TEXT;\n\t\tthis._sectionStart = this._index + 1;\n\t} else if(c === \"/\"){\n\t\tthis._state = IN_SELF_CLOSING_TAG;\n\t} else if(!whitespace(c)){\n\t\tthis._state = IN_ATTRIBUTE_NAME;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateInSelfClosingTag = function(c){\n\tif(c === \">\"){\n\t\tthis._cbs.onselfclosingtag();\n\t\tthis._state = TEXT;\n\t\tthis._sectionStart = this._index + 1;\n\t} else if(!whitespace(c)){\n\t\tthis._state = BEFORE_ATTRIBUTE_NAME;\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._stateInAttributeName = function(c){\n\tif(c === \"=\" || c === \"/\" || c === \">\" || whitespace(c)){\n\t\tthis._cbs.onattribname(this._getSection());\n\t\tthis._sectionStart = -1;\n\t\tthis._state = AFTER_ATTRIBUTE_NAME;\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._stateAfterAttributeName = function(c){\n\tif(c === \"=\"){\n\t\tthis._state = BEFORE_ATTRIBUTE_VALUE;\n\t} else if(c === \"/\" || c === \">\"){\n\t\tthis._cbs.onattribend();\n\t\tthis._state = BEFORE_ATTRIBUTE_NAME;\n\t\tthis._index--;\n\t} else if(!whitespace(c)){\n\t\tthis._cbs.onattribend();\n\t\tthis._state = IN_ATTRIBUTE_NAME;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateBeforeAttributeValue = function(c){\n\tif(c === \"\\\"\"){\n\t\tthis._state = IN_ATTRIBUTE_VALUE_DQ;\n\t\tthis._sectionStart = this._index + 1;\n\t} else if(c === \"'\"){\n\t\tthis._state = IN_ATTRIBUTE_VALUE_SQ;\n\t\tthis._sectionStart = this._index + 1;\n\t} else if(!whitespace(c)){\n\t\tthis._state = IN_ATTRIBUTE_VALUE_NQ;\n\t\tthis._sectionStart = this._index;\n\t\tthis._index--; //reconsume token\n\t}\n};\n\nTokenizer.prototype._stateInAttributeValueDoubleQuotes = function(c){\n\tif(c === \"\\\"\"){\n\t\tthis._emitToken(\"onattribdata\");\n\t\tthis._cbs.onattribend();\n\t\tthis._state = BEFORE_ATTRIBUTE_NAME;\n\t} else if(this._decodeEntities && c === \"&\"){\n\t\tthis._emitToken(\"onattribdata\");\n\t\tthis._baseState = this._state;\n\t\tthis._state = BEFORE_ENTITY;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateInAttributeValueSingleQuotes = function(c){\n\tif(c === \"'\"){\n\t\tthis._emitToken(\"onattribdata\");\n\t\tthis._cbs.onattribend();\n\t\tthis._state = BEFORE_ATTRIBUTE_NAME;\n\t} else if(this._decodeEntities && c === \"&\"){\n\t\tthis._emitToken(\"onattribdata\");\n\t\tthis._baseState = this._state;\n\t\tthis._state = BEFORE_ENTITY;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateInAttributeValueNoQuotes = function(c){\n\tif(whitespace(c) || c === \">\"){\n\t\tthis._emitToken(\"onattribdata\");\n\t\tthis._cbs.onattribend();\n\t\tthis._state = BEFORE_ATTRIBUTE_NAME;\n\t\tthis._index--;\n\t} else if(this._decodeEntities && c === \"&\"){\n\t\tthis._emitToken(\"onattribdata\");\n\t\tthis._baseState = this._state;\n\t\tthis._state = BEFORE_ENTITY;\n\t\tthis._sectionStart = this._index;\n\t}\n};\n\nTokenizer.prototype._stateBeforeDeclaration = function(c){\n\tthis._state = c === \"[\" ? BEFORE_CDATA_1 :\n\t\t\t\t\tc === \"-\" ? BEFORE_COMMENT :\n\t\t\t\t\t\tIN_DECLARATION;\n};\n\nTokenizer.prototype._stateInDeclaration = function(c){\n\tif(c === \">\"){\n\t\tthis._cbs.ondeclaration(this._getSection());\n\t\tthis._state = TEXT;\n\t\tthis._sectionStart = this._index + 1;\n\t}\n};\n\nTokenizer.prototype._stateInProcessingInstruction = function(c){\n\tif(c === \">\"){\n\t\tthis._cbs.onprocessinginstruction(this._getSection());\n\t\tthis._state = TEXT;\n\t\tthis._sectionStart = this._index + 1;\n\t}\n};\n\nTokenizer.prototype._stateBeforeComment = function(c){\n\tif(c === \"-\"){\n\t\tthis._state = IN_COMMENT;\n\t\tthis._sectionStart = this._index + 1;\n\t} else {\n\t\tthis._state = IN_DECLARATION;\n\t}\n};\n\nTokenizer.prototype._stateInComment = function(c){\n\tif(c === \"-\") this._state = AFTER_COMMENT_1;\n};\n\nTokenizer.prototype._stateAfterComment1 = function(c){\n\tif(c === \"-\"){\n\t\tthis._state = AFTER_COMMENT_2;\n\t} else {\n\t\tthis._state = IN_COMMENT;\n\t}\n};\n\nTokenizer.prototype._stateAfterComment2 = function(c){\n\tif(c === \">\"){\n\t\t//remove 2 trailing chars\n\t\tthis._cbs.oncomment(this._buffer.substring(this._sectionStart, this._index - 2));\n\t\tthis._state = TEXT;\n\t\tthis._sectionStart = this._index + 1;\n\t} else if(c !== \"-\"){\n\t\tthis._state = IN_COMMENT;\n\t}\n\t// else: stay in AFTER_COMMENT_2 (`--->`)\n};\n\nTokenizer.prototype._stateBeforeCdata1 = ifElseState(\"C\", BEFORE_CDATA_2, IN_DECLARATION);\nTokenizer.prototype._stateBeforeCdata2 = ifElseState(\"D\", BEFORE_CDATA_3, IN_DECLARATION);\nTokenizer.prototype._stateBeforeCdata3 = ifElseState(\"A\", BEFORE_CDATA_4, IN_DECLARATION);\nTokenizer.prototype._stateBeforeCdata4 = ifElseState(\"T\", BEFORE_CDATA_5, IN_DECLARATION);\nTokenizer.prototype._stateBeforeCdata5 = ifElseState(\"A\", BEFORE_CDATA_6, IN_DECLARATION);\n\nTokenizer.prototype._stateBeforeCdata6 = function(c){\n\tif(c === \"[\"){\n\t\tthis._state = IN_CDATA;\n\t\tthis._sectionStart = this._index + 1;\n\t} else {\n\t\tthis._state = IN_DECLARATION;\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._stateInCdata = function(c){\n\tif(c === \"]\") this._state = AFTER_CDATA_1;\n};\n\nTokenizer.prototype._stateAfterCdata1 = characterState(\"]\", AFTER_CDATA_2);\n\nTokenizer.prototype._stateAfterCdata2 = function(c){\n\tif(c === \">\"){\n\t\t//remove 2 trailing chars\n\t\tthis._cbs.oncdata(this._buffer.substring(this._sectionStart, this._index - 2));\n\t\tthis._state = TEXT;\n\t\tthis._sectionStart = this._index + 1;\n\t} else if(c !== \"]\") {\n\t\tthis._state = IN_CDATA;\n\t}\n\t//else: stay in AFTER_CDATA_2 (`]]]>`)\n};\n\nTokenizer.prototype._stateBeforeSpecial = function(c){\n\tif(c === \"c\" || c === \"C\"){\n\t\tthis._state = BEFORE_SCRIPT_1;\n\t} else if(c === \"t\" || c === \"T\"){\n\t\tthis._state = BEFORE_STYLE_1;\n\t} else {\n\t\tthis._state = IN_TAG_NAME;\n\t\tthis._index--; //consume the token again\n\t}\n};\n\nTokenizer.prototype._stateBeforeSpecialEnd = function(c){\n\tif(this._special === SPECIAL_SCRIPT && (c === \"c\" || c === \"C\")){\n\t\tthis._state = AFTER_SCRIPT_1;\n\t} else if(this._special === SPECIAL_STYLE && (c === \"t\" || c === \"T\")){\n\t\tthis._state = AFTER_STYLE_1;\n\t}\n\telse this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeScript1 = consumeSpecialNameChar(\"R\", BEFORE_SCRIPT_2);\nTokenizer.prototype._stateBeforeScript2 = consumeSpecialNameChar(\"I\", BEFORE_SCRIPT_3);\nTokenizer.prototype._stateBeforeScript3 = consumeSpecialNameChar(\"P\", BEFORE_SCRIPT_4);\nTokenizer.prototype._stateBeforeScript4 = consumeSpecialNameChar(\"T\", BEFORE_SCRIPT_5);\n\nTokenizer.prototype._stateBeforeScript5 = function(c){\n\tif(c === \"/\" || c === \">\" || whitespace(c)){\n\t\tthis._special = SPECIAL_SCRIPT;\n\t}\n\tthis._state = IN_TAG_NAME;\n\tthis._index--; //consume the token again\n};\n\nTokenizer.prototype._stateAfterScript1 = ifElseState(\"R\", AFTER_SCRIPT_2, TEXT);\nTokenizer.prototype._stateAfterScript2 = ifElseState(\"I\", AFTER_SCRIPT_3, TEXT);\nTokenizer.prototype._stateAfterScript3 = ifElseState(\"P\", AFTER_SCRIPT_4, TEXT);\nTokenizer.prototype._stateAfterScript4 = ifElseState(\"T\", AFTER_SCRIPT_5, TEXT);\n\nTokenizer.prototype._stateAfterScript5 = function(c){\n\tif(c === \">\" || whitespace(c)){\n\t\tthis._special = SPECIAL_NONE;\n\t\tthis._state = IN_CLOSING_TAG_NAME;\n\t\tthis._sectionStart = this._index - 6;\n\t\tthis._index--; //reconsume the token\n\t}\n\telse this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeStyle1 = consumeSpecialNameChar(\"Y\", BEFORE_STYLE_2);\nTokenizer.prototype._stateBeforeStyle2 = consumeSpecialNameChar(\"L\", BEFORE_STYLE_3);\nTokenizer.prototype._stateBeforeStyle3 = consumeSpecialNameChar(\"E\", BEFORE_STYLE_4);\n\nTokenizer.prototype._stateBeforeStyle4 = function(c){\n\tif(c === \"/\" || c === \">\" || whitespace(c)){\n\t\tthis._special = SPECIAL_STYLE;\n\t}\n\tthis._state = IN_TAG_NAME;\n\tthis._index--; //consume the token again\n};\n\nTokenizer.prototype._stateAfterStyle1 = ifElseState(\"Y\", AFTER_STYLE_2, TEXT);\nTokenizer.prototype._stateAfterStyle2 = ifElseState(\"L\", AFTER_STYLE_3, TEXT);\nTokenizer.prototype._stateAfterStyle3 = ifElseState(\"E\", AFTER_STYLE_4, TEXT);\n\nTokenizer.prototype._stateAfterStyle4 = function(c){\n\tif(c === \">\" || whitespace(c)){\n\t\tthis._special = SPECIAL_NONE;\n\t\tthis._state = IN_CLOSING_TAG_NAME;\n\t\tthis._sectionStart = this._index - 5;\n\t\tthis._index--; //reconsume the token\n\t}\n\telse this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeEntity = ifElseState(\"#\", BEFORE_NUMERIC_ENTITY, IN_NAMED_ENTITY);\nTokenizer.prototype._stateBeforeNumericEntity = ifElseState(\"X\", IN_HEX_ENTITY, IN_NUMERIC_ENTITY);\n\n//for entities terminated with a semicolon\nTokenizer.prototype._parseNamedEntityStrict = function(){\n\t//offset = 1\n\tif(this._sectionStart + 1 < this._index){\n\t\tvar entity = this._buffer.substring(this._sectionStart + 1, this._index),\n\t\t map = this._xmlMode ? xmlMap : entityMap;\n\n\t\tif(map.hasOwnProperty(entity)){\n\t\t\tthis._emitPartial(map[entity]);\n\t\t\tthis._sectionStart = this._index + 1;\n\t\t}\n\t}\n};\n\n\n//parses legacy entities (without trailing semicolon)\nTokenizer.prototype._parseLegacyEntity = function(){\n\tvar start = this._sectionStart + 1,\n\t limit = this._index - start;\n\n\tif(limit > 6) limit = 6; //the max length of legacy entities is 6\n\n\twhile(limit >= 2){ //the min length of legacy entities is 2\n\t\tvar entity = this._buffer.substr(start, limit);\n\n\t\tif(legacyMap.hasOwnProperty(entity)){\n\t\t\tthis._emitPartial(legacyMap[entity]);\n\t\t\tthis._sectionStart += limit + 1;\n\t\t\treturn;\n\t\t} else {\n\t\t\tlimit--;\n\t\t}\n\t}\n};\n\nTokenizer.prototype._stateInNamedEntity = function(c){\n\tif(c === \";\"){\n\t\tthis._parseNamedEntityStrict();\n\t\tif(this._sectionStart + 1 < this._index && !this._xmlMode){\n\t\t\tthis._parseLegacyEntity();\n\t\t}\n\t\tthis._state = this._baseState;\n\t} else if((c < \"a\" || c > \"z\") && (c < \"A\" || c > \"Z\") && (c < \"0\" || c > \"9\")){\n\t\tif(this._xmlMode);\n\t\telse if(this._sectionStart + 1 === this._index);\n\t\telse if(this._baseState !== TEXT){\n\t\t\tif(c !== \"=\"){\n\t\t\t\tthis._parseNamedEntityStrict();\n\t\t\t}\n\t\t} else {\n\t\t\tthis._parseLegacyEntity();\n\t\t}\n\n\t\tthis._state = this._baseState;\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._decodeNumericEntity = function(offset, base){\n\tvar sectionStart = this._sectionStart + offset;\n\n\tif(sectionStart !== this._index){\n\t\t//parse entity\n\t\tvar entity = this._buffer.substring(sectionStart, this._index);\n\t\tvar parsed = parseInt(entity, base);\n\n\t\tthis._emitPartial(decodeCodePoint(parsed));\n\t\tthis._sectionStart = this._index;\n\t} else {\n\t\tthis._sectionStart--;\n\t}\n\n\tthis._state = this._baseState;\n};\n\nTokenizer.prototype._stateInNumericEntity = function(c){\n\tif(c === \";\"){\n\t\tthis._decodeNumericEntity(2, 10);\n\t\tthis._sectionStart++;\n\t} else if(c < \"0\" || c > \"9\"){\n\t\tif(!this._xmlMode){\n\t\t\tthis._decodeNumericEntity(2, 10);\n\t\t} else {\n\t\t\tthis._state = this._baseState;\n\t\t}\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._stateInHexEntity = function(c){\n\tif(c === \";\"){\n\t\tthis._decodeNumericEntity(3, 16);\n\t\tthis._sectionStart++;\n\t} else if((c < \"a\" || c > \"f\") && (c < \"A\" || c > \"F\") && (c < \"0\" || c > \"9\")){\n\t\tif(!this._xmlMode){\n\t\t\tthis._decodeNumericEntity(3, 16);\n\t\t} else {\n\t\t\tthis._state = this._baseState;\n\t\t}\n\t\tthis._index--;\n\t}\n};\n\nTokenizer.prototype._cleanup = function (){\n\tif(this._sectionStart < 0){\n\t\tthis._buffer = \"\";\n\t\tthis._bufferOffset += this._index;\n\t\tthis._index = 0;\n\t} else if(this._running){\n\t\tif(this._state === TEXT){\n\t\t\tif(this._sectionStart !== this._index){\n\t\t\t\tthis._cbs.ontext(this._buffer.substr(this._sectionStart));\n\t\t\t}\n\t\t\tthis._buffer = \"\";\n\t\t\tthis._bufferOffset += this._index;\n\t\t\tthis._index = 0;\n\t\t} else if(this._sectionStart === this._index){\n\t\t\t//the section just started\n\t\t\tthis._buffer = \"\";\n\t\t\tthis._bufferOffset += this._index;\n\t\t\tthis._index = 0;\n\t\t} else {\n\t\t\t//remove everything unnecessary\n\t\t\tthis._buffer = this._buffer.substr(this._sectionStart);\n\t\t\tthis._index -= this._sectionStart;\n\t\t\tthis._bufferOffset += this._sectionStart;\n\t\t}\n\n\t\tthis._sectionStart = 0;\n\t}\n};\n\n//TODO make events conditional\nTokenizer.prototype.write = function(chunk){\n\tif(this._ended) this._cbs.onerror(Error(\".write() after done!\"));\n\n\tthis._buffer += chunk;\n\tthis._parse();\n};\n\nTokenizer.prototype._parse = function(){\n\twhile(this._index < this._buffer.length && this._running){\n\t\tvar c = this._buffer.charAt(this._index);\n\t\tif(this._state === TEXT) {\n\t\t\tthis._stateText(c);\n\t\t} else if(this._state === BEFORE_TAG_NAME){\n\t\t\tthis._stateBeforeTagName(c);\n\t\t} else if(this._state === IN_TAG_NAME) {\n\t\t\tthis._stateInTagName(c);\n\t\t} else if(this._state === BEFORE_CLOSING_TAG_NAME){\n\t\t\tthis._stateBeforeCloseingTagName(c);\n\t\t} else if(this._state === IN_CLOSING_TAG_NAME){\n\t\t\tthis._stateInCloseingTagName(c);\n\t\t} else if(this._state === AFTER_CLOSING_TAG_NAME){\n\t\t\tthis._stateAfterCloseingTagName(c);\n\t\t} else if(this._state === IN_SELF_CLOSING_TAG){\n\t\t\tthis._stateInSelfClosingTag(c);\n\t\t}\n\n\t\t/*\n\t\t*\tattributes\n\t\t*/\n\t\telse if(this._state === BEFORE_ATTRIBUTE_NAME){\n\t\t\tthis._stateBeforeAttributeName(c);\n\t\t} else if(this._state === IN_ATTRIBUTE_NAME){\n\t\t\tthis._stateInAttributeName(c);\n\t\t} else if(this._state === AFTER_ATTRIBUTE_NAME){\n\t\t\tthis._stateAfterAttributeName(c);\n\t\t} else if(this._state === BEFORE_ATTRIBUTE_VALUE){\n\t\t\tthis._stateBeforeAttributeValue(c);\n\t\t} else if(this._state === IN_ATTRIBUTE_VALUE_DQ){\n\t\t\tthis._stateInAttributeValueDoubleQuotes(c);\n\t\t} else if(this._state === IN_ATTRIBUTE_VALUE_SQ){\n\t\t\tthis._stateInAttributeValueSingleQuotes(c);\n\t\t} else if(this._state === IN_ATTRIBUTE_VALUE_NQ){\n\t\t\tthis._stateInAttributeValueNoQuotes(c);\n\t\t}\n\n\t\t/*\n\t\t*\tdeclarations\n\t\t*/\n\t\telse if(this._state === BEFORE_DECLARATION){\n\t\t\tthis._stateBeforeDeclaration(c);\n\t\t} else if(this._state === IN_DECLARATION){\n\t\t\tthis._stateInDeclaration(c);\n\t\t}\n\n\t\t/*\n\t\t*\tprocessing instructions\n\t\t*/\n\t\telse if(this._state === IN_PROCESSING_INSTRUCTION){\n\t\t\tthis._stateInProcessingInstruction(c);\n\t\t}\n\n\t\t/*\n\t\t*\tcomments\n\t\t*/\n\t\telse if(this._state === BEFORE_COMMENT){\n\t\t\tthis._stateBeforeComment(c);\n\t\t} else if(this._state === IN_COMMENT){\n\t\t\tthis._stateInComment(c);\n\t\t} else if(this._state === AFTER_COMMENT_1){\n\t\t\tthis._stateAfterComment1(c);\n\t\t} else if(this._state === AFTER_COMMENT_2){\n\t\t\tthis._stateAfterComment2(c);\n\t\t}\n\n\t\t/*\n\t\t*\tcdata\n\t\t*/\n\t\telse if(this._state === BEFORE_CDATA_1){\n\t\t\tthis._stateBeforeCdata1(c);\n\t\t} else if(this._state === BEFORE_CDATA_2){\n\t\t\tthis._stateBeforeCdata2(c);\n\t\t} else if(this._state === BEFORE_CDATA_3){\n\t\t\tthis._stateBeforeCdata3(c);\n\t\t} else if(this._state === BEFORE_CDATA_4){\n\t\t\tthis._stateBeforeCdata4(c);\n\t\t} else if(this._state === BEFORE_CDATA_5){\n\t\t\tthis._stateBeforeCdata5(c);\n\t\t} else if(this._state === BEFORE_CDATA_6){\n\t\t\tthis._stateBeforeCdata6(c);\n\t\t} else if(this._state === IN_CDATA){\n\t\t\tthis._stateInCdata(c);\n\t\t} else if(this._state === AFTER_CDATA_1){\n\t\t\tthis._stateAfterCdata1(c);\n\t\t} else if(this._state === AFTER_CDATA_2){\n\t\t\tthis._stateAfterCdata2(c);\n\t\t}\n\n\t\t/*\n\t\t* special tags\n\t\t*/\n\t\telse if(this._state === BEFORE_SPECIAL){\n\t\t\tthis._stateBeforeSpecial(c);\n\t\t} else if(this._state === BEFORE_SPECIAL_END){\n\t\t\tthis._stateBeforeSpecialEnd(c);\n\t\t}\n\n\t\t/*\n\t\t* script\n\t\t*/\n\t\telse if(this._state === BEFORE_SCRIPT_1){\n\t\t\tthis._stateBeforeScript1(c);\n\t\t} else if(this._state === BEFORE_SCRIPT_2){\n\t\t\tthis._stateBeforeScript2(c);\n\t\t} else if(this._state === BEFORE_SCRIPT_3){\n\t\t\tthis._stateBeforeScript3(c);\n\t\t} else if(this._state === BEFORE_SCRIPT_4){\n\t\t\tthis._stateBeforeScript4(c);\n\t\t} else if(this._state === BEFORE_SCRIPT_5){\n\t\t\tthis._stateBeforeScript5(c);\n\t\t}\n\n\t\telse if(this._state === AFTER_SCRIPT_1){\n\t\t\tthis._stateAfterScript1(c);\n\t\t} else if(this._state === AFTER_SCRIPT_2){\n\t\t\tthis._stateAfterScript2(c);\n\t\t} else if(this._state === AFTER_SCRIPT_3){\n\t\t\tthis._stateAfterScript3(c);\n\t\t} else if(this._state === AFTER_SCRIPT_4){\n\t\t\tthis._stateAfterScript4(c);\n\t\t} else if(this._state === AFTER_SCRIPT_5){\n\t\t\tthis._stateAfterScript5(c);\n\t\t}\n\n\t\t/*\n\t\t* style\n\t\t*/\n\t\telse if(this._state === BEFORE_STYLE_1){\n\t\t\tthis._stateBeforeStyle1(c);\n\t\t} else if(this._state === BEFORE_STYLE_2){\n\t\t\tthis._stateBeforeStyle2(c);\n\t\t} else if(this._state === BEFORE_STYLE_3){\n\t\t\tthis._stateBeforeStyle3(c);\n\t\t} else if(this._state === BEFORE_STYLE_4){\n\t\t\tthis._stateBeforeStyle4(c);\n\t\t}\n\n\t\telse if(this._state === AFTER_STYLE_1){\n\t\t\tthis._stateAfterStyle1(c);\n\t\t} else if(this._state === AFTER_STYLE_2){\n\t\t\tthis._stateAfterStyle2(c);\n\t\t} else if(this._state === AFTER_STYLE_3){\n\t\t\tthis._stateAfterStyle3(c);\n\t\t} else if(this._state === AFTER_STYLE_4){\n\t\t\tthis._stateAfterStyle4(c);\n\t\t}\n\n\t\t/*\n\t\t* entities\n\t\t*/\n\t\telse if(this._state === BEFORE_ENTITY){\n\t\t\tthis._stateBeforeEntity(c);\n\t\t} else if(this._state === BEFORE_NUMERIC_ENTITY){\n\t\t\tthis._stateBeforeNumericEntity(c);\n\t\t} else if(this._state === IN_NAMED_ENTITY){\n\t\t\tthis._stateInNamedEntity(c);\n\t\t} else if(this._state === IN_NUMERIC_ENTITY){\n\t\t\tthis._stateInNumericEntity(c);\n\t\t} else if(this._state === IN_HEX_ENTITY){\n\t\t\tthis._stateInHexEntity(c);\n\t\t}\n\n\t\telse {\n\t\t\tthis._cbs.onerror(Error(\"unknown _state\"), this._state);\n\t\t}\n\n\t\tthis._index++;\n\t}\n\n\tthis._cleanup();\n};\n\nTokenizer.prototype.pause = function(){\n\tthis._running = false;\n};\nTokenizer.prototype.resume = function(){\n\tthis._running = true;\n\n\tif(this._index < this._buffer.length){\n\t\tthis._parse();\n\t}\n\tif(this._ended){\n\t\tthis._finish();\n\t}\n};\n\nTokenizer.prototype.end = function(chunk){\n\tif(this._ended) this._cbs.onerror(Error(\".end() after done!\"));\n\tif(chunk) this.write(chunk);\n\n\tthis._ended = true;\n\n\tif(this._running) this._finish();\n};\n\nTokenizer.prototype._finish = function(){\n\t//if there is remaining data, emit it in a reasonable way\n\tif(this._sectionStart < this._index){\n\t\tthis._handleTrailingData();\n\t}\n\n\tthis._cbs.onend();\n};\n\nTokenizer.prototype._handleTrailingData = function(){\n\tvar data = this._buffer.substr(this._sectionStart);\n\n\tif(this._state === IN_CDATA || this._state === AFTER_CDATA_1 || this._state === AFTER_CDATA_2){\n\t\tthis._cbs.oncdata(data);\n\t} else if(this._state === IN_COMMENT || this._state === AFTER_COMMENT_1 || this._state === AFTER_COMMENT_2){\n\t\tthis._cbs.oncomment(data);\n\t} else if(this._state === IN_NAMED_ENTITY && !this._xmlMode){\n\t\tthis._parseLegacyEntity();\n\t\tif(this._sectionStart < this._index){\n\t\t\tthis._state = this._baseState;\n\t\t\tthis._handleTrailingData();\n\t\t}\n\t} else if(this._state === IN_NUMERIC_ENTITY && !this._xmlMode){\n\t\tthis._decodeNumericEntity(2, 10);\n\t\tif(this._sectionStart < this._index){\n\t\t\tthis._state = this._baseState;\n\t\t\tthis._handleTrailingData();\n\t\t}\n\t} else if(this._state === IN_HEX_ENTITY && !this._xmlMode){\n\t\tthis._decodeNumericEntity(3, 16);\n\t\tif(this._sectionStart < this._index){\n\t\t\tthis._state = this._baseState;\n\t\t\tthis._handleTrailingData();\n\t\t}\n\t} else if(\n\t\tthis._state !== IN_TAG_NAME &&\n\t\tthis._state !== BEFORE_ATTRIBUTE_NAME &&\n\t\tthis._state !== BEFORE_ATTRIBUTE_VALUE &&\n\t\tthis._state !== AFTER_ATTRIBUTE_NAME &&\n\t\tthis._state !== IN_ATTRIBUTE_NAME &&\n\t\tthis._state !== IN_ATTRIBUTE_VALUE_SQ &&\n\t\tthis._state !== IN_ATTRIBUTE_VALUE_DQ &&\n\t\tthis._state !== IN_ATTRIBUTE_VALUE_NQ &&\n\t\tthis._state !== IN_CLOSING_TAG_NAME\n\t){\n\t\tthis._cbs.ontext(data);\n\t}\n\t//else, ignore remaining data\n\t//TODO add a way to remove current tag\n};\n\nTokenizer.prototype.reset = function(){\n\tTokenizer.call(this, {xmlMode: this._xmlMode, decodeEntities: this._decodeEntities}, this._cbs);\n};\n\nTokenizer.prototype.getAbsoluteIndex = function(){\n\treturn this._bufferOffset + this._index;\n};\n\nTokenizer.prototype._getSection = function(){\n\treturn this._buffer.substring(this._sectionStart, this._index);\n};\n\nTokenizer.prototype._emitToken = function(name){\n\tthis._cbs[name](this._getSection());\n\tthis._sectionStart = -1;\n};\n\nTokenizer.prototype._emitPartial = function(value){\n\tif(this._baseState !== TEXT){\n\t\tthis._cbs.onattribdata(value); //TODO implement the new event\n\t} else {\n\t\tthis._cbs.ontext(value);\n\t}\n};\n","var decodeMap = require(\"../maps/decode.json\");\n\nmodule.exports = decodeCodePoint;\n\n// modified version of https://github.com/mathiasbynens/he/blob/master/src/he.js#L94-L119\nfunction decodeCodePoint(codePoint){\n\n\tif((codePoint >= 0xD800 && codePoint <= 0xDFFF) || codePoint > 0x10FFFF){\n\t\treturn \"\\uFFFD\";\n\t}\n\n\tif(codePoint in decodeMap){\n\t\tcodePoint = decodeMap[codePoint];\n\t}\n\n\tvar output = \"\";\n\n\tif(codePoint > 0xFFFF){\n\t\tcodePoint -= 0x10000;\n\t\toutput += String.fromCharCode(codePoint >>> 10 & 0x3FF | 0xD800);\n\t\tcodePoint = 0xDC00 | codePoint & 0x3FF;\n\t}\n\n\toutput += String.fromCharCode(codePoint);\n\treturn output;\n}\n","","","","","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n}\n","/*!\r\n * EventEmitter2\r\n * https://github.com/hij1nx/EventEmitter2\r\n *\r\n * Copyright (c) 2013 hij1nx\r\n * Licensed under the MIT license.\r\n */\r\n;!function(undefined) {\r\n\r\n var isArray = Array.isArray ? Array.isArray : function _isArray(obj) {\r\n return Object.prototype.toString.call(obj) === \"[object Array]\";\r\n };\r\n var defaultMaxListeners = 10;\r\n\r\n function init() {\r\n this._events = {};\r\n if (this._conf) {\r\n configure.call(this, this._conf);\r\n }\r\n }\r\n\r\n function configure(conf) {\r\n if (conf) {\r\n\r\n this._conf = conf;\r\n\r\n conf.delimiter && (this.delimiter = conf.delimiter);\r\n conf.maxListeners && (this._events.maxListeners = conf.maxListeners);\r\n conf.wildcard && (this.wildcard = conf.wildcard);\r\n conf.newListener && (this.newListener = conf.newListener);\r\n\r\n if (this.wildcard) {\r\n this.listenerTree = {};\r\n }\r\n }\r\n }\r\n\r\n function EventEmitter(conf) {\r\n this._events = {};\r\n this.newListener = false;\r\n configure.call(this, conf);\r\n }\r\n EventEmitter.EventEmitter2 = EventEmitter; // backwards compatibility for exporting EventEmitter property\r\n\r\n //\r\n // Attention, function return type now is array, always !\r\n // It has zero elements if no any matches found and one or more\r\n // elements (leafs) if there are matches\r\n //\r\n function searchListenerTree(handlers, type, tree, i) {\r\n if (!tree) {\r\n return [];\r\n }\r\n var listeners=[], leaf, len, branch, xTree, xxTree, isolatedBranch, endReached,\r\n typeLength = type.length, currentType = type[i], nextType = type[i+1];\r\n if (i === typeLength && tree._listeners) {\r\n //\r\n // If at the end of the event(s) list and the tree has listeners\r\n // invoke those listeners.\r\n //\r\n if (typeof tree._listeners === 'function') {\r\n handlers && handlers.push(tree._listeners);\r\n return [tree];\r\n } else {\r\n for (leaf = 0, len = tree._listeners.length; leaf < len; leaf++) {\r\n handlers && handlers.push(tree._listeners[leaf]);\r\n }\r\n return [tree];\r\n }\r\n }\r\n\r\n if ((currentType === '*' || currentType === '**') || tree[currentType]) {\r\n //\r\n // If the event emitted is '*' at this part\r\n // or there is a concrete match at this patch\r\n //\r\n if (currentType === '*') {\r\n for (branch in tree) {\r\n if (branch !== '_listeners' && tree.hasOwnProperty(branch)) {\r\n listeners = listeners.concat(searchListenerTree(handlers, type, tree[branch], i+1));\r\n }\r\n }\r\n return listeners;\r\n } else if(currentType === '**') {\r\n endReached = (i+1 === typeLength || (i+2 === typeLength && nextType === '*'));\r\n if(endReached && tree._listeners) {\r\n // The next element has a _listeners, add it to the handlers.\r\n listeners = listeners.concat(searchListenerTree(handlers, type, tree, typeLength));\r\n }\r\n\r\n for (branch in tree) {\r\n if (branch !== '_listeners' && tree.hasOwnProperty(branch)) {\r\n if(branch === '*' || branch === '**') {\r\n if(tree[branch]._listeners && !endReached) {\r\n listeners = listeners.concat(searchListenerTree(handlers, type, tree[branch], typeLength));\r\n }\r\n listeners = listeners.concat(searchListenerTree(handlers, type, tree[branch], i));\r\n } else if(branch === nextType) {\r\n listeners = listeners.concat(searchListenerTree(handlers, type, tree[branch], i+2));\r\n } else {\r\n // No match on this one, shift into the tree but not in the type array.\r\n listeners = listeners.concat(searchListenerTree(handlers, type, tree[branch], i));\r\n }\r\n }\r\n }\r\n return listeners;\r\n }\r\n\r\n listeners = listeners.concat(searchListenerTree(handlers, type, tree[currentType], i+1));\r\n }\r\n\r\n xTree = tree['*'];\r\n if (xTree) {\r\n //\r\n // If the listener tree will allow any match for this part,\r\n // then recursively explore all branches of the tree\r\n //\r\n searchListenerTree(handlers, type, xTree, i+1);\r\n }\r\n\r\n xxTree = tree['**'];\r\n if(xxTree) {\r\n if(i < typeLength) {\r\n if(xxTree._listeners) {\r\n // If we have a listener on a '**', it will catch all, so add its handler.\r\n searchListenerTree(handlers, type, xxTree, typeLength);\r\n }\r\n\r\n // Build arrays of matching next branches and others.\r\n for(branch in xxTree) {\r\n if(branch !== '_listeners' && xxTree.hasOwnProperty(branch)) {\r\n if(branch === nextType) {\r\n // We know the next element will match, so jump twice.\r\n searchListenerTree(handlers, type, xxTree[branch], i+2);\r\n } else if(branch === currentType) {\r\n // Current node matches, move into the tree.\r\n searchListenerTree(handlers, type, xxTree[branch], i+1);\r\n } else {\r\n isolatedBranch = {};\r\n isolatedBranch[branch] = xxTree[branch];\r\n searchListenerTree(handlers, type, { '**': isolatedBranch }, i+1);\r\n }\r\n }\r\n }\r\n } else if(xxTree._listeners) {\r\n // We have reached the end and still on a '**'\r\n searchListenerTree(handlers, type, xxTree, typeLength);\r\n } else if(xxTree['*'] && xxTree['*']._listeners) {\r\n searchListenerTree(handlers, type, xxTree['*'], typeLength);\r\n }\r\n }\r\n\r\n return listeners;\r\n }\r\n\r\n function growListenerTree(type, listener) {\r\n\r\n type = typeof type === 'string' ? type.split(this.delimiter) : type.slice();\r\n\r\n //\r\n // Looks for two consecutive '**', if so, don't add the event at all.\r\n //\r\n for(var i = 0, len = type.length; i+1 < len; i++) {\r\n if(type[i] === '**' && type[i+1] === '**') {\r\n return;\r\n }\r\n }\r\n\r\n var tree = this.listenerTree;\r\n var name = type.shift();\r\n\r\n while (name) {\r\n\r\n if (!tree[name]) {\r\n tree[name] = {};\r\n }\r\n\r\n tree = tree[name];\r\n\r\n if (type.length === 0) {\r\n\r\n if (!tree._listeners) {\r\n tree._listeners = listener;\r\n }\r\n else if(typeof tree._listeners === 'function') {\r\n tree._listeners = [tree._listeners, listener];\r\n }\r\n else if (isArray(tree._listeners)) {\r\n\r\n tree._listeners.push(listener);\r\n\r\n if (!tree._listeners.warned) {\r\n\r\n var m = defaultMaxListeners;\r\n\r\n if (typeof this._events.maxListeners !== 'undefined') {\r\n m = this._events.maxListeners;\r\n }\r\n\r\n if (m > 0 && tree._listeners.length > m) {\r\n\r\n tree._listeners.warned = true;\r\n console.error('(node) warning: possible EventEmitter memory ' +\r\n 'leak detected. %d listeners added. ' +\r\n 'Use emitter.setMaxListeners() to increase limit.',\r\n tree._listeners.length);\r\n if(console.trace){\r\n console.trace();\r\n }\r\n }\r\n }\r\n }\r\n return true;\r\n }\r\n name = type.shift();\r\n }\r\n return true;\r\n }\r\n\r\n // By default EventEmitters will print a warning if more than\r\n // 10 listeners are added to it. This is a useful default which\r\n // helps finding memory leaks.\r\n //\r\n // Obviously not all Emitters should be limited to 10. This function allows\r\n // that to be increased. Set to zero for unlimited.\r\n\r\n EventEmitter.prototype.delimiter = '.';\r\n\r\n EventEmitter.prototype.setMaxListeners = function(n) {\r\n this._events || init.call(this);\r\n this._events.maxListeners = n;\r\n if (!this._conf) this._conf = {};\r\n this._conf.maxListeners = n;\r\n };\r\n\r\n EventEmitter.prototype.event = '';\r\n\r\n EventEmitter.prototype.once = function(event, fn) {\r\n this.many(event, 1, fn);\r\n return this;\r\n };\r\n\r\n EventEmitter.prototype.many = function(event, ttl, fn) {\r\n var self = this;\r\n\r\n if (typeof fn !== 'function') {\r\n throw new Error('many only accepts instances of Function');\r\n }\r\n\r\n function listener() {\r\n if (--ttl === 0) {\r\n self.off(event, listener);\r\n }\r\n fn.apply(this, arguments);\r\n }\r\n\r\n listener._origin = fn;\r\n\r\n this.on(event, listener);\r\n\r\n return self;\r\n };\r\n\r\n EventEmitter.prototype.emit = function() {\r\n\r\n this._events || init.call(this);\r\n\r\n var type = arguments[0];\r\n\r\n if (type === 'newListener' && !this.newListener) {\r\n if (!this._events.newListener) {\r\n return false;\r\n }\r\n }\r\n\r\n var al = arguments.length;\r\n var args,l,i,j;\r\n var handler;\r\n\r\n if (this._all && this._all.length) {\r\n handler = this._all.slice();\r\n if (al > 3) {\r\n args = new Array(al);\r\n for (j = 1; j < al; j++) args[j] = arguments[j];\r\n }\r\n\r\n for (i = 0, l = handler.length; i < l; i++) {\r\n this.event = type;\r\n switch (al) {\r\n case 1:\r\n handler[i].call(this, type);\r\n break;\r\n case 2:\r\n handler[i].call(this, type, arguments[1]);\r\n break;\r\n case 3:\r\n handler[i].call(this, type, arguments[1], arguments[2]);\r\n break;\r\n default:\r\n handler[i].apply(this, args);\r\n }\r\n }\r\n }\r\n\r\n if (this.wildcard) {\r\n handler = [];\r\n var ns = typeof type === 'string' ? type.split(this.delimiter) : type.slice();\r\n searchListenerTree.call(this, handler, ns, this.listenerTree, 0);\r\n } else {\r\n handler = this._events[type];\r\n if (typeof handler === 'function') {\r\n this.event = type;\r\n switch (al) {\r\n case 1:\r\n handler.call(this);\r\n break;\r\n case 2:\r\n handler.call(this, arguments[1]);\r\n break;\r\n case 3:\r\n handler.call(this, arguments[1], arguments[2]);\r\n break;\r\n default:\r\n args = new Array(al - 1);\r\n for (j = 1; j < al; j++) args[j - 1] = arguments[j];\r\n handler.apply(this, args);\r\n }\r\n return true;\r\n } else if (handler) {\r\n // need to make copy of handlers because list can change in the middle\r\n // of emit call\r\n handler = handler.slice();\r\n }\r\n }\r\n\r\n if (handler && handler.length) {\r\n if (al > 3) {\r\n args = new Array(al - 1);\r\n for (j = 1; j < al; j++) args[j - 1] = arguments[j];\r\n }\r\n for (i = 0, l = handler.length; i < l; i++) {\r\n this.event = type;\r\n switch (al) {\r\n case 1:\r\n handler[i].call(this);\r\n break;\r\n case 2:\r\n handler[i].call(this, arguments[1]);\r\n break;\r\n case 3:\r\n handler[i].call(this, arguments[1], arguments[2]);\r\n break;\r\n default:\r\n handler[i].apply(this, args);\r\n }\r\n }\r\n return true;\r\n } else if (!this._all && type === 'error') {\r\n if (arguments[1] instanceof Error) {\r\n throw arguments[1]; // Unhandled 'error' event\r\n } else {\r\n throw new Error(\"Uncaught, unspecified 'error' event.\");\r\n }\r\n return false;\r\n }\r\n\r\n return !!this._all;\r\n };\r\n\r\n EventEmitter.prototype.emitAsync = function() {\r\n\r\n this._events || init.call(this);\r\n\r\n var type = arguments[0];\r\n\r\n if (type === 'newListener' && !this.newListener) {\r\n if (!this._events.newListener) { return Promise.resolve([false]); }\r\n }\r\n\r\n var promises= [];\r\n\r\n var al = arguments.length;\r\n var args,l,i,j;\r\n var handler;\r\n\r\n if (this._all) {\r\n if (al > 3) {\r\n args = new Array(al);\r\n for (j = 1; j < al; j++) args[j] = arguments[j];\r\n }\r\n for (i = 0, l = this._all.length; i < l; i++) {\r\n this.event = type;\r\n switch (al) {\r\n case 1:\r\n promises.push(this._all[i].call(this, type));\r\n break;\r\n case 2:\r\n promises.push(this._all[i].call(this, type, arguments[1]));\r\n break;\r\n case 3:\r\n promises.push(this._all[i].call(this, type, arguments[1], arguments[2]));\r\n break;\r\n default:\r\n promises.push(this._all[i].apply(this, args));\r\n }\r\n }\r\n }\r\n\r\n if (this.wildcard) {\r\n handler = [];\r\n var ns = typeof type === 'string' ? type.split(this.delimiter) : type.slice();\r\n searchListenerTree.call(this, handler, ns, this.listenerTree, 0);\r\n } else {\r\n handler = this._events[type];\r\n }\r\n\r\n if (typeof handler === 'function') {\r\n this.event = type;\r\n switch (al) {\r\n case 1:\r\n promises.push(handler.call(this));\r\n break;\r\n case 2:\r\n promises.push(handler.call(this, arguments[1]));\r\n break;\r\n case 3:\r\n promises.push(handler.call(this, arguments[1], arguments[2]));\r\n break;\r\n default:\r\n args = new Array(al - 1);\r\n for (j = 1; j < al; j++) args[j - 1] = arguments[j];\r\n promises.push(handler.apply(this, args));\r\n }\r\n } else if (handler && handler.length) {\r\n if (al > 3) {\r\n args = new Array(al - 1);\r\n for (j = 1; j < al; j++) args[j - 1] = arguments[j];\r\n }\r\n for (i = 0, l = handler.length; i < l; i++) {\r\n this.event = type;\r\n switch (al) {\r\n case 1:\r\n promises.push(handler[i].call(this));\r\n break;\r\n case 2:\r\n promises.push(handler[i].call(this, arguments[1]));\r\n break;\r\n case 3:\r\n promises.push(handler[i].call(this, arguments[1], arguments[2]));\r\n break;\r\n default:\r\n promises.push(handler[i].apply(this, args));\r\n }\r\n }\r\n } else if (!this._all && type === 'error') {\r\n if (arguments[1] instanceof Error) {\r\n return Promise.reject(arguments[1]); // Unhandled 'error' event\r\n } else {\r\n return Promise.reject(\"Uncaught, unspecified 'error' event.\");\r\n }\r\n }\r\n\r\n return Promise.all(promises);\r\n };\r\n\r\n EventEmitter.prototype.on = function(type, listener) {\r\n\r\n if (typeof type === 'function') {\r\n this.onAny(type);\r\n return this;\r\n }\r\n\r\n if (typeof listener !== 'function') {\r\n throw new Error('on only accepts instances of Function');\r\n }\r\n this._events || init.call(this);\r\n\r\n // To avoid recursion in the case that type == \"newListeners\"! Before\r\n // adding it to the listeners, first emit \"newListeners\".\r\n this.emit('newListener', type, listener);\r\n\r\n if(this.wildcard) {\r\n growListenerTree.call(this, type, listener);\r\n return this;\r\n }\r\n\r\n if (!this._events[type]) {\r\n // Optimize the case of one listener. Don't need the extra array object.\r\n this._events[type] = listener;\r\n }\r\n else if(typeof this._events[type] === 'function') {\r\n // Adding the second element, need to change to array.\r\n this._events[type] = [this._events[type], listener];\r\n }\r\n else if (isArray(this._events[type])) {\r\n // If we've already got an array, just append.\r\n this._events[type].push(listener);\r\n\r\n // Check for listener leak\r\n if (!this._events[type].warned) {\r\n\r\n var m = defaultMaxListeners;\r\n\r\n if (typeof this._events.maxListeners !== 'undefined') {\r\n m = this._events.maxListeners;\r\n }\r\n\r\n if (m > 0 && this._events[type].length > m) {\r\n\r\n this._events[type].warned = true;\r\n console.error('(node) warning: possible EventEmitter memory ' +\r\n 'leak detected. %d listeners added. ' +\r\n 'Use emitter.setMaxListeners() to increase limit.',\r\n this._events[type].length);\r\n if(console.trace){\r\n console.trace();\r\n }\r\n }\r\n }\r\n }\r\n return this;\r\n };\r\n\r\n EventEmitter.prototype.onAny = function(fn) {\r\n\r\n if (typeof fn !== 'function') {\r\n throw new Error('onAny only accepts instances of Function');\r\n }\r\n\r\n if(!this._all) {\r\n this._all = [];\r\n }\r\n\r\n // Add the function to the event listener collection.\r\n this._all.push(fn);\r\n return this;\r\n };\r\n\r\n EventEmitter.prototype.addListener = EventEmitter.prototype.on;\r\n\r\n EventEmitter.prototype.off = function(type, listener) {\r\n if (typeof listener !== 'function') {\r\n throw new Error('removeListener only takes instances of Function');\r\n }\r\n\r\n var handlers,leafs=[];\r\n\r\n if(this.wildcard) {\r\n var ns = typeof type === 'string' ? type.split(this.delimiter) : type.slice();\r\n leafs = searchListenerTree.call(this, null, ns, this.listenerTree, 0);\r\n }\r\n else {\r\n // does not use listeners(), so no side effect of creating _events[type]\r\n if (!this._events[type]) return this;\r\n handlers = this._events[type];\r\n leafs.push({_listeners:handlers});\r\n }\r\n\r\n for (var iLeaf=0; iLeaf 0) {\r\n recursivelyGarbageCollect(root[key]);\r\n }\r\n if (Object.keys(obj).length === 0) {\r\n delete root[key];\r\n }\r\n }\r\n }\r\n recursivelyGarbageCollect(this.listenerTree);\r\n\r\n return this;\r\n };\r\n\r\n EventEmitter.prototype.offAny = function(fn) {\r\n var i = 0, l = 0, fns;\r\n if (fn && this._all && this._all.length > 0) {\r\n fns = this._all;\r\n for(i = 0, l = fns.length; i < l; i++) {\r\n if(fn === fns[i]) {\r\n fns.splice(i, 1);\r\n this.emit(\"removeListenerAny\", fn);\r\n return this;\r\n }\r\n }\r\n } else {\r\n fns = this._all;\r\n for(i = 0, l = fns.length; i < l; i++)\r\n this.emit(\"removeListenerAny\", fns[i]);\r\n this._all = [];\r\n }\r\n return this;\r\n };\r\n\r\n EventEmitter.prototype.removeListener = EventEmitter.prototype.off;\r\n\r\n EventEmitter.prototype.removeAllListeners = function(type) {\r\n if (arguments.length === 0) {\r\n !this._events || init.call(this);\r\n return this;\r\n }\r\n\r\n if(this.wildcard) {\r\n var ns = typeof type === 'string' ? type.split(this.delimiter) : type.slice();\r\n var leafs = searchListenerTree.call(this, null, ns, this.listenerTree, 0);\r\n\r\n for (var iLeaf=0; iLeaf\n\tComment: \"comment\", //\n\tScript: \"script\", //