diff --git a/asset-manifest.json b/asset-manifest.json index 3c031b2a..994931b8 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,14 +1,14 @@ { "files": { - "main.css": "/upgrade-helper/static/css/main.1dafb2f8.css", - "main.js": "/upgrade-helper/static/js/main.a205b162.js", + "main.css": "/upgrade-helper/static/css/main.473f3693.css", + "main.js": "/upgrade-helper/static/js/main.fee9e63a.js", "static/media/logo.svg": "/upgrade-helper/static/media/logo.f77432ee46748fb5ada15762c0b86fb6.svg", "index.html": "/upgrade-helper/index.html", - "main.1dafb2f8.css.map": "/upgrade-helper/static/css/main.1dafb2f8.css.map", - "main.a205b162.js.map": "/upgrade-helper/static/js/main.a205b162.js.map" + "main.473f3693.css.map": "/upgrade-helper/static/css/main.473f3693.css.map", + "main.fee9e63a.js.map": "/upgrade-helper/static/js/main.fee9e63a.js.map" }, "entrypoints": [ - "static/css/main.1dafb2f8.css", - "static/js/main.a205b162.js" + "static/css/main.473f3693.css", + "static/js/main.fee9e63a.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 0354116f..40ece26a 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Upgrade React Native applications
\ No newline at end of file +Upgrade React Native applications
\ No newline at end of file diff --git a/static/css/main.1dafb2f8.css b/static/css/main.1dafb2f8.css deleted file mode 100644 index bd5dfb40..00000000 --- a/static/css/main.1dafb2f8.css +++ /dev/null @@ -1,2 +0,0 @@ -body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:0}:root{--diff-background-color:initial;--diff-text-color:initial;--diff-font-family:Consolas,Courier,monospace;--diff-selection-background-color:#b3d7ff;--diff-gutter-insert-background-color:#d6fedb;--diff-gutter-delete-background-color:#fadde0;--diff-gutter-selected-background-color:#fffce0;--diff-code-insert-background-color:#eaffee;--diff-code-delete-background-color:#fdeff0;--diff-code-insert-edit-background-color:#c0dc91;--diff-code-delete-edit-background-color:#f39ea2;--diff-code-selected-background-color:#fffce0;--diff-omit-gutter-line-color:#cb2a1d}.diff{background-color:initial;background-color:var(--diff-background-color);border-collapse:collapse;color:initial;color:var(--diff-text-color);table-layout:fixed;width:100%}.diff::selection{background-color:#b3d7ff;background-color:var(--diff-selection-background-color)}.diff td{padding-bottom:0;padding-top:0;vertical-align:top}.diff-line{font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);line-height:1.5}.diff-gutter>a{color:inherit;display:block}.diff-gutter,.diff-gutter>a{cursor:pointer;padding:0 1ch;text-align:right;-webkit-user-select:none;user-select:none}.diff-gutter-insert{background-color:#d6fedb;background-color:var(--diff-gutter-insert-background-color)}.diff-gutter-delete{background-color:#fadde0;background-color:var(--diff-gutter-delete-background-color)}.diff-gutter-omit{cursor:default}.diff-gutter-selected{background-color:#fffce0;background-color:var(--diff-gutter-selected-background-color)}.diff-code{word-wrap:break-word;padding:0 0 0 .5em;white-space:pre-wrap;word-break:break-all}.diff-code-edit{color:inherit;display:inline-block}.diff-code-insert{background-color:#eaffee;background-color:var(--diff-code-insert-background-color)}.diff-code-insert .diff-code-edit{background-color:#c0dc91;background-color:var(--diff-code-insert-edit-background-color)}.diff-code-delete{background-color:#fdeff0;background-color:var(--diff-code-delete-background-color)}.diff-code-delete .diff-code-edit{background-color:#f39ea2;background-color:var(--diff-code-delete-edit-background-color)}.diff-code-selected{background-color:#fffce0;background-color:var(--diff-code-selected-background-color)}.diff-widget-content{vertical-align:top}.diff-gutter-col{width:7ch}.diff-gutter-omit{height:0}.diff-gutter-omit:before{background-color:#cb2a1d;background-color:var(--diff-omit-gutter-line-color);content:" ";display:block;height:100%;margin-left:4.6ch;overflow:hidden;white-space:pre;width:2px}.diff-decoration{line-height:1.5;-webkit-user-select:none;user-select:none}.diff-decoration-content{font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);padding:0} -/*# sourceMappingURL=main.1dafb2f8.css.map*/ \ No newline at end of file diff --git a/static/css/main.1dafb2f8.css.map b/static/css/main.1dafb2f8.css.map deleted file mode 100644 index 0067afe9..00000000 --- a/static/css/main.1dafb2f8.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.1dafb2f8.css","mappings":"AAEA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CAEA,4CACE,aACF,CClBA,MAAM,+BAA+B,CAAC,yBAAyB,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,6CAA6C,CAAC,6CAA6C,CAAC,+CAA+C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,gDAAgD,CAAC,gDAAgD,CAAC,6CAA6C,CAAC,qCAAsC,CAAC,MAAM,wBAAwB,CAAC,6CAA6C,CAA+D,wBAAwB,CAAtF,aAAa,CAAC,4BAA4B,CAAC,kBAAkB,CAA0B,UAAW,CAAyG,iBAAiB,wBAAwB,CAAC,uDAAwD,CAAC,SAA0C,gBAAgB,CAA9B,aAAa,CAAhC,kBAAkD,CAAC,WAA2B,sCAAsC,CAAC,mCAAmC,CAA1F,eAA2F,CAAC,eAAe,aAAa,CAAC,aAAc,CAAC,4BAA2D,cAAc,CAA7C,aAAa,CAAC,gBAAgB,CAAgB,wBAAwB,CAA4C,gBAAiB,CAAC,oBAAoB,wBAAwB,CAAC,2DAA4D,CAAC,oBAAoB,wBAAwB,CAAC,2DAA4D,CAAC,kBAAkB,cAAe,CAAC,sBAAsB,wBAAwB,CAAC,6DAA8D,CAAC,WAAgC,oBAAoB,CAAsB,kBAAkB,CAAjF,oBAAoB,CAAsB,oBAAwC,CAAC,gBAAqC,aAAa,CAAlC,oBAAmC,CAAC,kBAAkB,wBAAwB,CAAC,yDAA0D,CAAC,kCAAkC,wBAAwB,CAAC,8DAA+D,CAAC,kBAAkB,wBAAwB,CAAC,yDAA0D,CAAC,kCAAkC,wBAAwB,CAAC,8DAA+D,CAAC,oBAAoB,wBAAwB,CAAC,2DAA4D,CAAC,qBAAqB,kBAAmB,CAAC,iBAAiB,SAAU,CAAC,kBAAkB,QAAS,CAAC,yBAA2H,wBAAwB,CAAC,mDAAmD,CAA9K,WAAW,CAAC,aAAa,CAA2B,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAvE,eAAe,CAAC,SAAqI,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,CAA4C,gBAAiB,CAAC,yBAAyB,sCAAsC,CAAC,mCAAmC,CAAC,SAAU","sources":["index.css","../node_modules/react-diff-view/style/index.css"],"sourcesContent":["/* @import '~antd/dist/antd.css'; */\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n.ant-checkbox-wrapper+.ant-checkbox-wrapper {\n margin-left: 0px;\n}",":root{--diff-background-color:initial;--diff-text-color:initial;--diff-font-family:Consolas,Courier,monospace;--diff-selection-background-color:#b3d7ff;--diff-gutter-insert-background-color:#d6fedb;--diff-gutter-delete-background-color:#fadde0;--diff-gutter-selected-background-color:#fffce0;--diff-code-insert-background-color:#eaffee;--diff-code-delete-background-color:#fdeff0;--diff-code-insert-edit-background-color:#c0dc91;--diff-code-delete-edit-background-color:#f39ea2;--diff-code-selected-background-color:#fffce0;--diff-omit-gutter-line-color:#cb2a1d;}.diff{background-color:initial;background-color:var(--diff-background-color);color:initial;color:var(--diff-text-color);table-layout:fixed;border-collapse:collapse;width:100%;}.diff::-moz-selection{background-color:#b3d7ff;background-color:var(--diff-selection-background-color);}.diff::selection{background-color:#b3d7ff;background-color:var(--diff-selection-background-color);}.diff td{vertical-align:top;padding-top:0;padding-bottom:0;}.diff-line{line-height:1.5;font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);}.diff-gutter>a{color:inherit;display:block;}.diff-gutter,.diff-gutter>a{padding:0 1ch;text-align:right;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.diff-gutter-insert{background-color:#d6fedb;background-color:var(--diff-gutter-insert-background-color);}.diff-gutter-delete{background-color:#fadde0;background-color:var(--diff-gutter-delete-background-color);}.diff-gutter-omit{cursor:default;}.diff-gutter-selected{background-color:#fffce0;background-color:var(--diff-gutter-selected-background-color);}.diff-code{white-space:pre-wrap;word-wrap:break-word;word-break:break-all;padding:0 0 0 .5em;}.diff-code-edit{display:inline-block;color:inherit;}.diff-code-insert{background-color:#eaffee;background-color:var(--diff-code-insert-background-color);}.diff-code-insert .diff-code-edit{background-color:#c0dc91;background-color:var(--diff-code-insert-edit-background-color);}.diff-code-delete{background-color:#fdeff0;background-color:var(--diff-code-delete-background-color);}.diff-code-delete .diff-code-edit{background-color:#f39ea2;background-color:var(--diff-code-delete-edit-background-color);}.diff-code-selected{background-color:#fffce0;background-color:var(--diff-code-selected-background-color);}.diff-widget-content{vertical-align:top;}.diff-gutter-col{width:7ch;}.diff-gutter-omit{height:0;}.diff-gutter-omit:before{content:\" \";display:block;white-space:pre;width:2px;height:100%;margin-left:4.6ch;overflow:hidden;background-color:#cb2a1d;background-color:var(--diff-omit-gutter-line-color);}.diff-decoration{line-height:1.5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.diff-decoration-content{font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);padding:0;}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/main.473f3693.css b/static/css/main.473f3693.css new file mode 100644 index 00000000..d4615af9 --- /dev/null +++ b/static/css/main.473f3693.css @@ -0,0 +1,2 @@ +body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:0}:root{--diff-background-color:initial;--diff-text-color:initial;--diff-font-family:Consolas,Courier,monospace;--diff-selection-background-color:#b3d7ff;--diff-selection-text-color:var(--diff-text-color);--diff-gutter-insert-background-color:#d6fedb;--diff-gutter-insert-text-color:var(--diff-text-color);--diff-gutter-delete-background-color:#fadde0;--diff-gutter-delete-text-color:var(--diff-text-color);--diff-gutter-selected-background-color:#fffce0;--diff-gutter-selected-text-color:var(--diff-text-color);--diff-code-insert-background-color:#eaffee;--diff-code-insert-text-color:var(--diff-text-color);--diff-code-delete-background-color:#fdeff0;--diff-code-delete-text-color:var(--diff-text-color);--diff-code-insert-edit-background-color:#c0dc91;--diff-code-insert-edit-text-color:var(--diff-text-color);--diff-code-delete-edit-background-color:#f39ea2;--diff-code-delete-edit-text-color:var(--diff-text-color);--diff-code-selected-background-color:#fffce0;--diff-code-selected-text-color:var(--diff-text-color);--diff-omit-gutter-line-color:#cb2a1d}.diff{background-color:initial;background-color:var(--diff-background-color);border-collapse:collapse;color:initial;color:var(--diff-text-color);table-layout:fixed;width:100%}.diff::selection{background-color:#b3d7ff;background-color:var(--diff-selection-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-selection-text-color)}.diff td{padding-bottom:0;padding-top:0;vertical-align:top}.diff-line{font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);line-height:1.5}.diff-gutter>a{color:inherit;display:block}.diff-gutter{cursor:pointer;padding:0 1ch;text-align:right;-webkit-user-select:none;user-select:none}.diff-gutter-insert{background-color:#d6fedb;background-color:var(--diff-gutter-insert-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-gutter-insert-text-color)}.diff-gutter-delete{background-color:#fadde0;background-color:var(--diff-gutter-delete-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-gutter-delete-text-color)}.diff-gutter-omit{cursor:default}.diff-gutter-selected{background-color:#fffce0;background-color:var(--diff-gutter-selected-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-gutter-selected-text-color)}.diff-code{word-wrap:break-word;padding:0 0 0 .5em;white-space:pre-wrap;word-break:break-all}.diff-code-edit{color:inherit}.diff-code-insert{background-color:#eaffee;background-color:var(--diff-code-insert-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-code-insert-text-color)}.diff-code-insert .diff-code-edit{background-color:#c0dc91;background-color:var(--diff-code-insert-edit-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-code-insert-edit-text-color)}.diff-code-delete{background-color:#fdeff0;background-color:var(--diff-code-delete-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-code-delete-text-color)}.diff-code-delete .diff-code-edit{background-color:#f39ea2;background-color:var(--diff-code-delete-edit-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-code-delete-edit-text-color)}.diff-code-selected{background-color:#fffce0;background-color:var(--diff-code-selected-background-color);color:initial;color:var(--diff-text-color);color:var(--diff-code-selected-text-color)}.diff-widget-content{vertical-align:top}.diff-gutter-col{width:7ch}.diff-gutter-omit{height:0}.diff-gutter-omit:before{background-color:#cb2a1d;background-color:var(--diff-omit-gutter-line-color);content:" ";display:block;height:100%;margin-left:4.6ch;overflow:hidden;white-space:pre;width:2px}.diff-decoration{line-height:1.5;-webkit-user-select:none;user-select:none}.diff-decoration-content{font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);padding:0} +/*# sourceMappingURL=main.473f3693.css.map*/ \ No newline at end of file diff --git a/static/css/main.473f3693.css.map b/static/css/main.473f3693.css.map new file mode 100644 index 00000000..c5a8d2d1 --- /dev/null +++ b/static/css/main.473f3693.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.473f3693.css","mappings":"AAEA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CAEA,4CACE,aACF,CClBA,MAAM,+BAA+B,CAAC,yBAAyB,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,kDAAkD,CAAC,6CAA6C,CAAC,sDAAsD,CAAC,6CAA6C,CAAC,sDAAsD,CAAC,+CAA+C,CAAC,wDAAwD,CAAC,2CAA2C,CAAC,oDAAoD,CAAC,2CAA2C,CAAC,oDAAoD,CAAC,gDAAgD,CAAC,yDAAyD,CAAC,gDAAgD,CAAC,yDAAyD,CAAC,6CAA6C,CAAC,sDAAsD,CAAC,qCAAsC,CAAC,MAAM,wBAA6C,CAA7C,6CAA6C,CAAC,wBAAwB,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,kBAAkB,CAAC,UAAW,CAA6K,iBAAiB,wBAAwB,CAAC,uDAAuD,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,sCAAuC,CAAC,SAAS,gBAAgB,CAAC,aAAa,CAAC,kBAAmB,CAAC,WAAW,sCAAsC,CAAC,mCAAmC,CAAC,eAAgB,CAAC,eAAe,aAAa,CAAC,aAAc,CAAC,aAAa,cAAc,CAAC,aAAa,CAAC,gBAAgB,CAAC,wBAAwB,CAAuB,gBAAiB,CAAC,oBAAoB,wBAAwB,CAAC,2DAA2D,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,0CAA2C,CAAC,oBAAoB,wBAAwB,CAAC,2DAA2D,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,0CAA2C,CAAC,kBAAkB,cAAe,CAAC,sBAAsB,wBAAwB,CAAC,6DAA6D,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,4CAA6C,CAAC,WAAW,oBAAoB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,oBAAqB,CAAC,gBAAgB,aAAc,CAAC,kBAAkB,wBAAwB,CAAC,yDAAyD,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,wCAAyC,CAAC,kCAAkC,wBAAwB,CAAC,8DAA8D,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,6CAA8C,CAAC,kBAAkB,wBAAwB,CAAC,yDAAyD,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,wCAAyC,CAAC,kCAAkC,wBAAwB,CAAC,8DAA8D,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,6CAA8C,CAAC,oBAAoB,wBAAwB,CAAC,2DAA2D,CAAC,aAA4B,CAA5B,4BAA4B,CAAC,0CAA2C,CAAC,qBAAqB,kBAAmB,CAAC,iBAAiB,SAAU,CAAC,kBAAkB,QAAS,CAAC,yBAAyB,wBAAwB,CAAC,mDAAmD,CAAC,WAAW,CAAC,aAAa,CAAC,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,SAAU,CAAC,iBAAiB,eAAe,CAAC,wBAAwB,CAAuB,gBAAiB,CAAC,yBAAyB,sCAAsC,CAAC,mCAAmC,CAAC,SAAU","sources":["index.css","../node_modules/react-diff-view/style/index.css"],"sourcesContent":["/* @import '~antd/dist/antd.css'; */\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n.ant-checkbox-wrapper+.ant-checkbox-wrapper {\n margin-left: 0px;\n}",":root{--diff-background-color:initial;--diff-text-color:initial;--diff-font-family:Consolas,Courier,monospace;--diff-selection-background-color:#b3d7ff;--diff-selection-text-color:var(--diff-text-color);--diff-gutter-insert-background-color:#d6fedb;--diff-gutter-insert-text-color:var(--diff-text-color);--diff-gutter-delete-background-color:#fadde0;--diff-gutter-delete-text-color:var(--diff-text-color);--diff-gutter-selected-background-color:#fffce0;--diff-gutter-selected-text-color:var(--diff-text-color);--diff-code-insert-background-color:#eaffee;--diff-code-insert-text-color:var(--diff-text-color);--diff-code-delete-background-color:#fdeff0;--diff-code-delete-text-color:var(--diff-text-color);--diff-code-insert-edit-background-color:#c0dc91;--diff-code-insert-edit-text-color:var(--diff-text-color);--diff-code-delete-edit-background-color:#f39ea2;--diff-code-delete-edit-text-color:var(--diff-text-color);--diff-code-selected-background-color:#fffce0;--diff-code-selected-text-color:var(--diff-text-color);--diff-omit-gutter-line-color:#cb2a1d;}.diff{background-color:var(--diff-background-color);border-collapse:collapse;color:var(--diff-text-color);table-layout:fixed;width:100%;}.diff::-moz-selection{background-color:#b3d7ff;background-color:var(--diff-selection-background-color);color:var(--diff-text-color);color:var(--diff-selection-text-color);}.diff::selection{background-color:#b3d7ff;background-color:var(--diff-selection-background-color);color:var(--diff-text-color);color:var(--diff-selection-text-color);}.diff td{padding-bottom:0;padding-top:0;vertical-align:top;}.diff-line{font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);line-height:1.5;}.diff-gutter>a{color:inherit;display:block;}.diff-gutter{cursor:pointer;padding:0 1ch;text-align:right;-webkit-user-select:none;-moz-user-select:none;user-select:none;}.diff-gutter-insert{background-color:#d6fedb;background-color:var(--diff-gutter-insert-background-color);color:var(--diff-text-color);color:var(--diff-gutter-insert-text-color);}.diff-gutter-delete{background-color:#fadde0;background-color:var(--diff-gutter-delete-background-color);color:var(--diff-text-color);color:var(--diff-gutter-delete-text-color);}.diff-gutter-omit{cursor:default;}.diff-gutter-selected{background-color:#fffce0;background-color:var(--diff-gutter-selected-background-color);color:var(--diff-text-color);color:var(--diff-gutter-selected-text-color);}.diff-code{word-wrap:break-word;padding:0 0 0 .5em;white-space:pre-wrap;word-break:break-all;}.diff-code-edit{color:inherit;}.diff-code-insert{background-color:#eaffee;background-color:var(--diff-code-insert-background-color);color:var(--diff-text-color);color:var(--diff-code-insert-text-color);}.diff-code-insert .diff-code-edit{background-color:#c0dc91;background-color:var(--diff-code-insert-edit-background-color);color:var(--diff-text-color);color:var(--diff-code-insert-edit-text-color);}.diff-code-delete{background-color:#fdeff0;background-color:var(--diff-code-delete-background-color);color:var(--diff-text-color);color:var(--diff-code-delete-text-color);}.diff-code-delete .diff-code-edit{background-color:#f39ea2;background-color:var(--diff-code-delete-edit-background-color);color:var(--diff-text-color);color:var(--diff-code-delete-edit-text-color);}.diff-code-selected{background-color:#fffce0;background-color:var(--diff-code-selected-background-color);color:var(--diff-text-color);color:var(--diff-code-selected-text-color);}.diff-widget-content{vertical-align:top;}.diff-gutter-col{width:7ch;}.diff-gutter-omit{height:0;}.diff-gutter-omit:before{background-color:#cb2a1d;background-color:var(--diff-omit-gutter-line-color);content:\" \";display:block;height:100%;margin-left:4.6ch;overflow:hidden;white-space:pre;width:2px;}.diff-decoration{line-height:1.5;-webkit-user-select:none;-moz-user-select:none;user-select:none;}.diff-decoration-content{font-family:Consolas,Courier,monospace;font-family:var(--diff-font-family);padding:0;}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.a205b162.js b/static/js/main.a205b162.js deleted file mode 100644 index fc986f5f..00000000 --- a/static/js/main.a205b162.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.a205b162.js.LICENSE.txt */ -!function(){var e={3708:function(e,t,n){"use strict";n.d(t,{bY:function(){return l},jy:function(){return f},n9:function(){return i},qv:function(){return s},tK:function(){return u},xs:function(){return c}});var r,o,a=n(4942),i="RnDiffApp",c="com.rndiffapp",l={RN:"react-native",RNM:"react-native-macos",RNW:"react-native-windows"},u={CPP:"cpp",CS:"cs"},s=(r={},(0,a.Z)(r,l.RN,"react-native-community/rn-diff-purge"),(0,a.Z)(r,l.RNM,"acoates-ms/rnw-diff"),(0,a.Z)(r,l.RNW,"acoates-ms/rnw-diff"),r),f=(o={},(0,a.Z)(o,l.RN,"https://github.com/facebook/react-native/blob/main/CHANGELOG.md"),(0,a.Z)(o,l.RNM,"https://github.com/microsoft/react-native-macos/releases/tag/"),(0,a.Z)(o,l.RNW,"https://github.com/microsoft/react-native-windows/releases/tag/react-native-windows_"),o)},8675:function(e,t,n){"use strict";n.r(t);var r=n(4942),o=n(3708);jest.setMock("../index.js",(0,r.Z)({},o.bY.RN,["0.59","0.58","0.57","0.56"].map((function(e){return{version:e}}))))},8370:function(e,t,n){"use strict";n.r(t);var r,o,a=n(1413),i=n(4942),c=n(3708),l=(r={},(0,i.Z)(r,c.bY.RN,["0.72","0.69","0.68","0.64","0.62","0.61","0.60","0.59","0.58","0.57"]),(0,i.Z)(r,c.bY.RNM,[]),(0,i.Z)(r,c.bY.RNW,[]),r),u=function(e){return l[e].map((function(t){return(0,a.Z)((0,a.Z)({},n(2807)("./".concat(e,"/").concat(t)).default),{},{version:t})}))};t.default=(o={},(0,i.Z)(o,c.bY.RN,u(c.bY.RN)),(0,i.Z)(o,c.bY.RNM,u(c.bY.RNM)),(0,i.Z)(o,c.bY.RNW,u(c.bY.RNW)),o)},5580:function(e,t,n){"use strict";n.r(t),t.default={usefulContent:{description:"React Native 0.57 includes 599 commits by 73 different contributors, it has improvements to Accessibility APIs, Babel 7 stable support and more.",links:[{title:"[External] Tutorial on upgrading to React Native 0.57",url:"https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.57/"}]}}},7495:function(e,t,n){"use strict";n.r(t),t.default={usefulContent:{description:"React Native 0.58 is the first release of 2019, it includes work for modernizing and strengthening flow types for core components and numerous crash fixes and resolutions for unexpected behaviors.",links:[{title:"[External] Tutorial on upgrading to React Native 0.58",url:"https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.58/"}]}}},6555:function(e,t,n){"use strict";n.r(t),t.default={usefulContent:{description:"React Native 0.59 includes React Hooks, performance gains on Android and lots of cool stuff.",links:[{title:"Official blog post about the major changes on React Native 0.59",url:"https://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059"},{title:"[External] Tutorial on upgrading to React Native 0.59",url:"https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.59/"}]}}},6844:function(e,t,n){"use strict";n.r(t);var r=n(2791),o=n(2554);t.default={usefulContent:{description:"React Native 0.60 includes Cocoapods integration by default, AndroidX support, auto-linking libraries, a brand new Start screen and more.",links:[{title:"Official blog post about the major changes on React Native 0.60",url:"https://facebook.github.io/react-native/blog/2019/07/03/version-60"},{title:"[External] Tutorial on upgrading to React Native 0.60",url:"https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.60/"}]},comments:[{fileName:"ios/Podfile",lineNumber:4,lineChangeType:"add",content:(0,o.tZ)(r.Fragment,null,"All these libraries below have been removed from the Xcode project file and now live in the Podfile. Cocoapods handles the linking now. Here you can add more libraries with native modules.")},{fileName:"ios/RnDiffApp.xcodeproj/project.pbxproj",lineNumber:9,lineChangeType:"neutral",content:(0,o.tZ)(r.Fragment,null,"Click [here](https://github.com/react-native-community/upgrade-support/issues/14) for an explanation and some help with upgrading this file.")}]}},637:function(e,t,n){"use strict";n.r(t),t.default={usefulContent:{description:"React Native 0.61 includes Fast Refresh and more.",links:[{title:"Official blog post about the major changes on React Native 0.61",url:"https://facebook.github.io/react-native/blog/2019/09/18/version-0.61"},{title:"[External] Tutorial on upgrading to React Native 0.61",url:"https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.61/"}]}}},3862:function(e,t,n){"use strict";n.r(t);var r=n(2791),o=n(2554);t.default={usefulContent:{description:"React Native 0.62 includes built-in integration with Flipper.",links:[{title:"Official blog post about the major changes on React Native 0.62",url:"https://reactnative.dev/blog/2020/03/26/version-0.62"},{title:"[External] Tutorial on upgrading to React Native 0.62",url:"https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.62/"},{title:"[iOS] Tutorial on upgrading Xcode-related files to React Native 0.62",url:"https://github.com/react-native-community/upgrade-helper/issues/191"}]},comments:[{fileName:"ios/RnDiffApp.xcodeproj/project.pbxproj",lineNumber:19,lineChangeType:"add",content:(0,o.tZ)(r.Fragment,null,"Click [here](https://github.com/react-native-community/upgrade-support/issues/13) for an explanation and some help with upgrading this file.")},{fileName:"android/app/build.gradle",lineNumber:81,lineChangeType:"neutral",content:(0,o.tZ)(r.Fragment,null,"If you are using Hermes Engine and ProGuard, make sure to update the rules in `proguard-rules.pro` to what is specified in the [documentation](https://reactnative.dev/docs/hermes) for `0.62`.")}]}},9566:function(e,t,n){"use strict";n.r(t);var r=n(2791),o=n(2554);t.default={usefulContent:{description:"React Native 0.64 includes Hermes opt-in on iOS and React 17.",links:[{title:"Official blog post about the major changes on React Native 0.64",url:"https://reactnative.dev/blog/2021/03/12/version-0.64"}]},comments:[{fileName:"package.json",lineNumber:14,lineChangeType:"add",content:(0,o.tZ)(r.Fragment,null,"If you have the `hermes-engine` dependency you need to upgrade to 0.7.2 [see release here](https://github.com/facebook/hermes/releases/tag/v0.7.2) if you are on a previous version you might get crashes at boot on Android.")}]}},2538:function(e,t,n){"use strict";n.r(t);var r=n(3433),o=n(2791),a=n(2554);t.default={usefulContent:{description:"React Native 0.68 includes preview of the New Architecture opt-in.",links:[{title:"See here to learn more about new architecture and how to enable it in your project",url:"https://reactnative.dev/docs/next/new-architecture-intro"}]},comments:[{fileName:"android/app/build.gradle",lineNumber:142,lineChangeType:"add",content:(0,a.tZ)(o.Fragment,null,"`isNewArchitectureEnabled()` and related logic is optional if you are not planning to upgrade to the new architecture.")},{fileName:"android/app/build.gradle",lineNumber:283,lineChangeType:"add",content:(0,a.tZ)(o.Fragment,null,"`isNewArchitectureEnabled()` and related logic is optional if you are not planning to upgrade to the new architecture.")},{fileName:"android/app/src/main/java/com/rndiffapp/MainActivity.java",lineNumber:36,lineChangeType:"add",content:(0,a.tZ)(o.Fragment,null,"New delegate and enabling Fabric in `ReactRootView` is only required for the new architecture builds.")},{fileName:"ios/RnDiffApp/AppDelegate.mm",lineNumber:9,lineChangeType:"add",content:(0,a.tZ)(o.Fragment,null,"Parts under `RCT_NEW_ARCH_ENABLED` are only required for the new architecture builds.")}].concat((0,r.Z)(["android/app/src/main/java/com/rndiffapp/newarchitecture/MainApplicationReactNativeHost.java","android/app/src/main/java/com/rndiffapp/newarchitecture/components/MainComponentsRegistry.java","android/app/src/main/java/com/rndiffapp/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java","android/app/src/main/jni/MainApplicationModuleProvider.h","android/app/src/main/jni/MainComponentsRegistry.cpp","android/app/src/main/jni/Android.mk","android/app/src/main/jni/MainApplicationModuleProvider.cpp","android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp","android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h","android/app/src/main/jni/MainComponentsRegistry.h","android/app/src/main/jni/OnLoad.cpp"].map((function(e){return{fileName:e,lineNumber:1,lineChangeType:"add",content:(0,a.tZ)(o.Fragment,null,"This file is only required for the New Architecture setup.")}}))))}},4653:function(e,t,n){"use strict";n.r(t);var r=n(2791),o=n(2554);t.default={usefulContent:{description:"React Native 0.69 includes a bundled version of the Hermes engine",links:[{title:"See here to learn more about bundled Hermes",url:"https://reactnative.dev/architecture/bundled-hermes"}]},comments:[{fileName:"android/app/build.gradle",lineNumber:280,lineChangeType:"add",content:(0,o.tZ)(r.Fragment,null,"These lines instruct Gradle to consume the bundled version of Hermes. For further information on Bundled Hermes and how this mechanism works, look [here](https://reactnative.dev/architecture/bundled-hermes).")}]}},1884:function(e,t,n){"use strict";n.r(t);var r=n(2791),o=n(2554);t.default={usefulContent:{description:"React Native 0.72 includes a new metro config setup",links:[{title:"Show about the major changes on React Native 0.72.0-rc.1",url:"https://github.com/facebook/react-native/releases/tag/v0.72.0-rc.1"}]},comments:[{fileName:"metro.config.js",lineNumber:1,lineChangeType:"add",content:(0,o.tZ)(r.Fragment,null,"In React Native 0.72, we've changed the config loading setup for Metro in React Native CLI. The base React Native Metro config is now explicitly required and extended here in your project's Metro config file, giving you full control over the final config. In addition, this means that standalone Metro CLI commands, such as [`metro get-dependencies`](https://facebook.github.io/metro/docs/cli/#get-dependencies-entryfile) will work. We've also cleaned up the leftover defaults.")}]}},9988:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(9963)),a=2,i=16,c=5,l=5,u=15,s=5,f=4;function d(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-a*t:Math.round(e.h)+a*t:n?Math.round(e.h)+a*t:Math.round(e.h)-a*t)<0?r+=360:r>=360&&(r-=360),r}function p(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?Math.round(100*e.s)-i*t:t===f?Math.round(100*e.s)+i:Math.round(100*e.s)+c*t)>100&&(r=100),n&&t===s&&r>10&&(r=10),r<6&&(r=6),r);var r}function h(e,t,n){return n?Math.round(100*e.v)+l*t:Math.round(100*e.v)-u*t}t.default=function(e){for(var t=[],n=o.default(e),r=s;r>0;r-=1){var a=n.toHsv(),i=o.default({h:d(a,r,!0),s:p(a,r,!0),v:h(a,r,!0)}).toHexString();t.push(i)}for(t.push(n.toHexString()),r=1;r<=f;r+=1){a=n.toHsv(),i=o.default({h:d(a,r),s:p(a,r),v:h(a,r)}).toHexString();t.push(i)}return t}},7256:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(9988));t.generate=o.default;var a={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"};t.presetPrimaryColors=a;var i={};t.presetPalettes=i,Object.keys(a).forEach((function(e){i[e]=o.default(a[e]),i[e].primary=i[e][5]}));var c=i.red;t.red=c;var l=i.volcano;t.volcano=l;var u=i.gold;t.gold=u;var s=i.orange;t.orange=s;var f=i.yellow;t.yellow=f;var d=i.lime;t.lime=d;var p=i.green;t.green=p;var h=i.cyan;t.cyan=h;var v=i.blue;t.blue=v;var g=i.geekblue;t.geekblue=g;var m=i.purple;t.purple=m;var b=i.magenta;t.magenta=b;var y=i.grey;t.grey=y},6215:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t6)switch((0,a.uO)(e,t+1)){case 109:if(45!==(0,a.uO)(e,t+4))break;case 102:return(0,a.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+i.G$+"$2-$3$1"+i.uj+(108==(0,a.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,a.Cw)(e,"stretch")?h((0,a.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,a.uO)(e,t+1))break;case 6444:switch((0,a.uO)(e,(0,a.to)(e)-3-(~(0,a.Cw)(e,"!important")&&10))){case 107:return(0,a.gx)(e,":",":"+i.G$)+e;case 101:return(0,a.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+i.G$+(45===(0,a.uO)(e,14)?"inline-":"")+"box$3$1"+i.G$+"$2$3$1"+i.MS+"$2box$3")+e}break;case 5936:switch((0,a.uO)(e,t+11)){case 114:return i.G$+e+i.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return i.G$+e+i.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return i.G$+e+i.MS+(0,a.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return i.G$+e+i.MS+e+e}return e}var v=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case i.h5:e.return=h(e.value,e.length);break;case i.lK:return(0,c.q)([(0,o.JG)(e,{value:(0,a.gx)(e.value,"@","@"+i.G$)})],r);case i.Fr:if(e.length)return(0,a.$e)(e.props,(function(t){switch((0,a.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,c.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(read-\w+)/,":"+i.uj+"$1")]})],r);case"::placeholder":return(0,c.q)([(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+i.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,":"+i.uj+"$1")]}),(0,o.JG)(e,{props:[(0,a.gx)(t,/:(plac\w+)/,i.MS+"input-$1")]})],r)}return""}))}}],g=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||v;var i,u,s={},f=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={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},a=n(9797),i=/[A-Z]|^ms/g,c=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},s=(0,a.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(c,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},o=Object.assign({},r,function(e){!e.stagger&&e.delay&&(e.stagger=e.delay);return e}(t)),a=o.elementCount,i=o.colors,c=o.width,l=o.height,u=o.perspective,s=o.angle,f=o.spread,d=o.startVelocity,p=o.decay,h=o.dragFriction,v=o.duration,g=o.stagger,m=o.random;e.style.perspective=u;var b=function(e,t,n,r,o){return Array.from({length:t}).map((function(t,a){var i=document.createElement("div"),c=n[a%n.length];return i.style["background-color"]=c,i.style.width=r,i.style.height=o,i.style.position="absolute",i.style.willChange="transform, opacity",i.style.visibility="hidden",e.appendChild(i),i}))}(e,a,i,c,l).map((function(e){return{element:e,physics:n(s,f,d,m)}}));return function(e,t,n,r,o,a){var i=void 0;return new Promise((function(c){function l(u){i||(i=u);var s=u-i,f=i===u?0:(u-i)/o;t.slice(0,Math.ceil(s/a)).forEach((function(e){!function(e,t,n,r){e.physics.x+=Math.cos(e.physics.angle2D)*e.physics.velocity,e.physics.y+=Math.sin(e.physics.angle2D)*e.physics.velocity,e.physics.z+=Math.sin(e.physics.angle3D)*e.physics.velocity,e.physics.wobble+=e.physics.wobbleSpeed,r?e.physics.velocity*=r:e.physics.velocity-=e.physics.velocity*n;e.physics.y+=3,e.physics.tiltAngle+=e.physics.tiltAngleSpeed;var o=e.physics,a=o.x,i=o.y,c=o.z,l=o.tiltAngle,u=o.wobble,s=a+10*Math.cos(u),f=i+10*Math.sin(u),d="translate3d("+s+"px, "+f+"px, "+c+"px) rotate3d(1, 1, 1, "+l+"rad)";e.element.style.visibility="visible",e.element.style.transform=d,e.element.style.opacity=1-t}(e,f,n,r)})),u-i'}}},download:{heights:{16:{width:16,path:''}}},eye:{heights:{16:{width:16,path:''}}},heart:{heights:{16:{width:16,path:''}}},"issue-opened":{heights:{16:{width:16,path:''}}},"mark-github":{heights:{16:{width:16,path:''}}},package:{heights:{16:{width:16,path:''}}},play:{heights:{16:{width:16,path:''}}},"repo-forked":{heights:{16:{width:16,path:''}}},"repo-template":{heights:{16:{width:16,path:''}}},star:{heights:{16:{width:16,path:''}}}},k=function(e,t){e=f(e).replace(/^octicon-/,""),s(x,e)||(e="mark-github");var n=t>=24&&24 in x[e].heights?24:16,r=x[e].heights[n];return'"},C={},E=function(e,t){var n=C[e]||(C[e]=[]);if(!(n.push(t)>1)){var r=function(e){var t;return function(){t||(t=1,e.apply(this,arguments))}}((function(){for(delete C[e];t=n.shift();)t.apply(null,arguments)}));if(h){var o=new i;g(o,"abort",r),g(o,"error",r),g(o,"load",(function(){var e;try{e=JSON.parse(this.responseText)}catch(t){return void r(t)}r(200!==this.status,e)})),o.open("GET",e),o.send()}else{var a=this||window;a._=function(e){a._=null,r(200!==e.meta.status,e.data)};var c=l(a.document)("script",{async:!0,src:e+(-1!==e.indexOf("?")?"&":"?")+"callback=_"}),u=function(){a._&&a._({meta:{}})};g(c,"load",u),g(c,"error",u),function(e,t,n){if(null!=e.readyState){var r="readystatechange";g(e,r,(function o(){if(t.test(e.readyState))return m(e,r,o),n.apply(this,arguments)}))}}(c,/de|m/,u),a.document.getElementsByTagName("head")[0].appendChild(c)}}},S=function(e,t,n){var r=l(e.ownerDocument),o=e.appendChild(r("style",{type:"text/css"})),a="body{margin:0}a{text-decoration:none;outline:0}.widget{display:inline-block;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:0;line-height:0;white-space:nowrap}.btn,.social-count{position:relative;display:inline-block;display:inline-flex;height:14px;padding:2px 5px;font-size:11px;font-weight:600;line-height:14px;vertical-align:bottom;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:repeat-x;background-position:-1px -1px;background-size:110% 110%;border:1px solid}.btn{border-radius:.25em}.btn:not(:last-child){border-radius:.25em 0 0 .25em}.social-count{border-left:0;border-radius:0 .25em .25em 0}.widget-lg .btn,.widget-lg .social-count{height:16px;padding:5px 10px;font-size:12px;line-height:16px}.octicon{display:inline-block;vertical-align:text-top;fill:currentColor;overflow:visible}"+w(t["data-color-scheme"]);o.styleSheet?o.styleSheet.cssText=a:o.appendChild(e.ownerDocument.createTextNode(a));var i="large"===f(t["data-size"]),c=r("a",{className:"btn",href:t.href,rel:"noopener",target:"_blank",title:t.title||void 0,"aria-label":t["aria-label"]||void 0,innerHTML:k(t["data-icon"],i?16:14)+" "},[r("span",{},[t["data-text"]||""])]),u=e.appendChild(r("div",{className:"widget"+(i?" widget-lg":"")},[c])),s=c.hostname.replace(/\.$/,"");if(("."+s).substring(s.length-d.length)!=="."+d)return c.removeAttribute("href"),void n(u);var h=(" /"+c.pathname).split(/\/+/);if(((s===d||s==="gist."+d)&&"archive"===h[3]||s===d&&"releases"===h[3]&&("download"===h[4]||"latest"===h[4]&&"download"===h[5])||s==="codeload."+d)&&(c.target="_top"),"true"===f(t["data-show-count"])&&s===d&&"marketplace"!==h[1]&&"sponsors"!==h[1]&&"orgs"!==h[1]&&"users"!==h[1]&&"-"!==h[1]){var v,g;if(!h[2]&&h[1])g="followers",v="?tab=followers";else if(!h[3]&&h[2])g="stargazers_count",v="/stargazers";else if(h[4]||"subscription"!==h[3])if(h[4]||"fork"!==h[3]){if("issues"!==h[3])return void n(u);g="open_issues_count",v="/issues"}else g="forks_count",v="/network/members";else g="subscribers_count",v="/watchers";var m=h[2]?"/repos/"+h[1]+"/"+h[2]:"/users/"+h[1];E.call(this,p+m,(function(e,t){if(!e){var o=t[g];u.appendChild(r("a",{className:"social-count",href:t.html_url+v,rel:"noopener",target:"_blank","aria-label":o+" "+g.replace(/_count$/,"").replace("_"," ").slice(0,o<2?-1:void 0)+" on GitHub"},[(""+o).replace(/\B(?=(\d{3})+(?!\d))/g,",")]))}n(u)}))}else n(u)},O=window.devicePixelRatio||1,P=function(e){return(O>1?o.ceil(o.round(e*O)/O*2)/2:o.ceil(e))||0},N=function(e,t){e.style.width=t[0]+"px",e.style.height=t[1]+"px"},M=function(e,t){if(null!=e&&null!=t)if(e.getAttribute&&(e=function(e){var t={href:e.href,title:e.title,"aria-label":e.getAttribute("aria-label")};return c(["icon","color-scheme","text","size","show-count"],(function(n){var r="data-"+n;t[r]=e.getAttribute(r)})),null==t["data-text"]&&(t["data-text"]=e.textContent||e.innerText),t}(e)),v){var n=u("span");S(n.attachShadow({mode:"closed"}),e,(function(){t(n)}))}else{var a=u("iframe",{src:"javascript:0",title:e.title||void 0,allowtransparency:!0,scrolling:"no",frameBorder:0});N(a,[0,0]),a.style.border="none";g(a,"load",(function n(){var i,c=a.contentWindow;try{i=c.document.body}catch(l){return void r.body.appendChild(a.parentNode.removeChild(a))}m(a,"load",n),S.call(c,i,e,(function(n){var r=function(e){var t=e.offsetWidth,n=e.offsetHeight;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();t=o.max(t,P(r.width)),n=o.max(n,P(r.height))}return[t,n]}(n);a.parentNode.removeChild(a),function(e,t,n){g(e,t,(function r(){return m(e,t,r),n.apply(this,arguments)}))}(a,"load",(function(){N(a,r)})),a.src="https://unpkg.com/github-buttons@2.24.0/dist/buttons.html#"+(a.name=function(e,t,n,r){null==t&&(t="&"),null==n&&(n="="),null==r&&(r=window.encodeURIComponent);var o=[];for(var a in e){var i=e[a];null!=i&&o.push(r(a)+n+r(i))}return o.join(t)}(e)),t(a)}))})),r.body.appendChild(a)}}},2110:function(e,t,n){"use strict";var r=n(7441),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return r.isMemo(e)?i:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=i;var u=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=s(n);f&&(i=i.concat(f(n)));for(var c=l(t),v=l(n),g=0;gthis[i])return x(this,this[h].get(e)),!1;var a=this[h].get(e).value;return this[f]&&(this[d]||this[f](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[c]+=o-a.length,a.length=o,this.get(e),w(this),!0}var u=new k(e,t,o,r,n);return u.length>this[i]?(this[f]&&this[f](e,t),!1):(this[c]+=u.length,this[p].unshift(u),this[h].set(e,this[p].head),w(this),!0)}},{key:"has",value:function(e){if(!this[h].has(e))return!1;var t=this[h].get(e).value;return!y(this,t)}},{key:"get",value:function(e){return b(this,e,!0)}},{key:"peek",value:function(e){return b(this,e,!1)}},{key:"pop",value:function(){var e=this[p].tail;return e?(x(this,e),e.value):null}},{key:"del",value:function(e){x(this,this[h].get(e))}},{key:"load",value:function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{var a=o-t;a>0&&this.set(r.k,r.v,a)}}}},{key:"prune",value:function(){var e=this;this[h].forEach((function(t,n){return b(e,n,!1)}))}}]),e}(),b=function(e,t,n){var r=e[h].get(t);if(r){var o=r.value;if(y(e,o)){if(x(e,r),!e[u])return}else n&&(e[v]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return o.value}},y=function(e,t){if(!t||!t.maxAge&&!e[s])return!1;var n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[s]&&n>e[s]},w=function(e){if(e[c]>e[i])for(var t=e[p].tail;e[c]>e[i]&&null!==t;){var n=t.prev;x(e,t),t=n}},x=function(e,t){if(t){var n=t.value;e[f]&&e[f](n.key,n.value),e[c]-=n.length,e[h].delete(n.key),e[p].removeNode(t)}},k=o((function e(t,n,o,a,i){r(this,e),this.key=t,this.value=n,this.length=o,this.now=a,this.maxAge=i||0})),C=function(e,t,n,r){var o=n.value;y(e,o)&&(x(e,n),e[u]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};e.exports=m},888:function(e,t,n){"use strict";var r=n(9047);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},568:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=c(n(2791)),a=c(n(6998)),i=["text","onCopy","options","children"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){return h(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(l){o=!0,a=l}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||g()}function d(e){return h(e)||v(e)||g()}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=o&&r=a&&o-1},j.prototype.set=function(e,t){var n=this.__data__,r=T(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var I=j,L="object"==typeof m&&m&&m.Object===Object&&m,D="object"==typeof self&&self&&self.Object===Object&&self,F=L||D||Function("return this")(),z=F.Symbol,H=Object.prototype,B=H.hasOwnProperty,V=H.toString,W=z?z.toStringTag:void 0,U=Object.prototype.toString,G=z?z.toStringTag:void 0,$=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":G&&G in Object(e)?function(e){var t=B.call(e,W),n=e[W];try{e[W]=void 0;var r=!0}catch(a){}var o=V.call(e);return r&&(t?e[W]=n:delete e[W]),o}(e):function(e){return U.call(e)}(e)},q=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},X=function(e){if(!q(e))return!1;var t=$(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},K=F["__core-js_shared__"],Y=function(){var e=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Q=Function.prototype.toString,J=function(e){if(null!=e){try{return Q.call(e)}catch(t){}try{return e+""}catch(t){}}return""},ee=/^\[object .+?Constructor\]$/,te=Function.prototype,ne=Object.prototype,re=te.toString,oe=ne.hasOwnProperty,ae=RegExp("^"+re.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ie=function(e){return!(!q(e)||(t=e,Y&&Y in t))&&(X(e)?ae:ee).test(J(e));var t},ce=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ie(n)?n:void 0},le=ce(F,"Map"),ue=ce(Object,"create"),se=Object.prototype.hasOwnProperty,fe=Object.prototype.hasOwnProperty;function de(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tc))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var s=-1,f=!0,d=2&n?new we:void 0;for(a.set(e,t),a.set(t,e);++s-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Ge={};Ge["[object Float32Array]"]=Ge["[object Float64Array]"]=Ge["[object Int8Array]"]=Ge["[object Int16Array]"]=Ge["[object Int32Array]"]=Ge["[object Uint8Array]"]=Ge["[object Uint8ClampedArray]"]=Ge["[object Uint16Array]"]=Ge["[object Uint32Array]"]=!0,Ge["[object Arguments]"]=Ge["[object Array]"]=Ge["[object ArrayBuffer]"]=Ge["[object Boolean]"]=Ge["[object DataView]"]=Ge["[object Date]"]=Ge["[object Error]"]=Ge["[object Function]"]=Ge["[object Map]"]=Ge["[object Number]"]=Ge["[object Object]"]=Ge["[object RegExp]"]=Ge["[object Set]"]=Ge["[object String]"]=Ge["[object WeakMap]"]=!1;var $e=function(e){return function(t){return e(t)}},qe=b((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&L.process,a=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a})),Xe=qe&&qe.isTypedArray,Ke=Xe?$e(Xe):function(e){return je(e)&&Ue(e.length)&&!!Ge[$(e)]},Ye=Object.prototype.hasOwnProperty,Qe=function(e,t){var n=Me(e),r=!n&&ze(e),o=!n&&!r&&Be(e),a=!n&&!r&&!o&&Ke(e),i=n||r||o||a,c=i?function(e,t){for(var n=-1,r=Array(e);++n=0?"add":s.indexOf("and /dev/null")>=0?"delete":"modify",i=2,t=null;else if(5===i)if(0===s.indexOf("@@")){var C=/^@@\s+-([0-9]+)(,([0-9]+))?\s+\+([0-9]+)(,([0-9]+))?/.exec(s);n={content:s,oldStart:C[1]-0,newStart:C[4]-0,oldLines:C[3]-0||1,newLines:C[6]-0||1,changes:[]},t.hunks.push(n),r=n.oldStart,o=n.newStart}else{var E=s.slice(0,1),S={content:s.slice(1)};switch(E){case"+":S.type="insert",S.isInsert=!0,S.lineNumber=o,o++;break;case"-":S.type="delete",S.isDelete=!0,S.lineNumber=r,r++;break;case" ":S.type="normal",S.isNormal=!0,S.oldLineNumber=r,S.newLineNumber=o,r++,o++;break;case"\\":var O=n.changes[n.changes.length-1];O.isDelete||(t.newEndingNewLine=!1),O.isInsert||(t.oldEndingNewLine=!1)}S.type&&n.changes.push(S)}u++}return a}},e.exports=n}))),dn=function(e,t){var n=e.hunks.map((function(e){return function(e,t){return u({},e,{isPlain:!1,changes:"zip"===t.nearbySequences?function(e){var t=e.reduce((function(e,t,n){var r=f(e,3),o=r[0],a=r[1],i=r[2];return a?t.isInsert&&i>=0?(o.splice(i+1,0,t),[o,t,i+2]):(o.push(t),[o,t,t.isDelete&&a.isDelete?i:n]):(o.push(t),[o,t,t.isDelete?n:-1])}),[[],null,-1]);return f(t,1)[0]}(e.changes):e.changes})}(e,t)}));return u({},e,{hunks:n})},pn=function(e){if(0===e.indexOf("diff --git"))return e;var t=e.indexOf("\n"),n=e.indexOf("\n",t+1),r=e.slice(0,t),o=e.slice(t+1,n),a=r.split(" ").slice(1,-3).join(" "),i=o.split(" ").slice(1,-3).join(" ");return["diff --git a/".concat(a," b/").concat(i),"index 1111111..2222222 100644","--- a/".concat(a),"+++ b/".concat(i),e.slice(n+1)].join("\n")},hn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=pn(e.trim());return fn.parse(n).map((function(e){return dn(e,t)}))},vn=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),gn=function(e,t,n){"__proto__"==t&&vn?vn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},mn=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var c=a[++r];if(!1===t(o[c],c,o))break}return e},bn=function(e,t){return e&&mn(e,t,it)},yn=function(e,t){var n={};return t=Qt(t),bn(e,(function(e,r,o){gn(n,r,t(e,r,o))})),n},wn=function e(t,n){var o=t.type,a=t.value,i=t.markType,c=t.properties,l=t.className,u=t.children,s=function(t){return r.createElement("span",{key:n,className:t},a||u&&u.map(e))};switch(o){case"text":return a;case"mark":return s("diff-code-mark diff-code-mark-".concat(i));case"edit":return s("diff-code-edit");default:var f=c&&c.className;return s(y(l||f))}},xn=function(e){var t=e.text,n=e.tokens,o=e.renderToken,a=s(e,["text","tokens","renderToken"]),i=o?function(e,t){return o(e,wn,t)}:wn;return r.createElement("td",a,n?n.length?n.map(i):" ":t||" ")};xn.displayName="CodeCell",xn.propTypes={text:a().string.isRequired,tokens:a().arrayOf(a().object)},xn.defaultProps={tokens:null};var kn=(0,r.memo)(xn),Cn=function(e,t){return function(){var n="old"===t?un(e):sn(e);return-1===n?void 0:n}},En=function(e,t){return function(n){return e&&n?r.createElement("a",{href:"#"+t},n):n}},Sn=function(e,t){return t?function(n){e(n),t()}:e},On=function(e,t,n,o){return(0,r.useMemo)((function(){var r=yn(e,(function(e){return function(){return e(t)}}));return r.onMouseEnter=Sn(n,r.onMouseEnter),r.onMouseLeave=Sn(o,r.onMouseLeave),r}),[e,n,o,t])},Pn=function(e,t,n,o,a,i,l,u){var s={change:t,side:n,inHoverState:l,renderDefault:Cn(t,n),wrapInAnchor:En(o,a)};return r.createElement("td",c({className:e},i),u(s))};Pn.displayName="renderGutterCell";var Nn=function(e){var t,n,o,a=e.change,i=e.selected,l=e.tokens,u=e.className,s=e.gutterClassName,d=e.codeClassName,p=e.gutterEvents,h=e.codeEvents,v=e.hideGutter,g=e.gutterAnchor,m=e.generateAnchorID,b=e.renderToken,w=e.renderGutter,x=a.type,k=a.content,C=(n=(t=f((0,r.useState)(!1),2))[0],o=t[1],[n,(0,r.useCallback)((function(){return o(!0)}),[]),(0,r.useCallback)((function(){return o(!1)}),[])]),E=f(C,3),S=E[0],O=E[1],P=E[2],N=(0,r.useMemo)((function(){return{change:a}}),[a]),M=On(p,N,O,P),Z=On(h,N,O,P),R=m(a),_=y("diff-gutter","diff-gutter-".concat(x),s,{"diff-gutter-selected":i}),T=y("diff-code","diff-code-".concat(x),d,{"diff-code-selected":i});return r.createElement("tr",{id:R,className:y("diff-line",u)},!v&&Pn(_,a,"old",g,R,M,S,w),!v&&Pn(_,a,"new",g,R,M,S,w),r.createElement(kn,c({className:T,text:k,tokens:l,renderToken:b},Z)))};Nn.displayName="UnifiedChange",Nn.propTypes={selected:a().bool.isRequired,tokens:a().arrayOf(a().object)},Nn.defaultProps={tokens:null};var Mn=(0,r.memo)(Nn),Zn=function(e){var t=e.hideGutter,n=e.element;return r.createElement("tr",{className:"diff-widget"},r.createElement("td",{colSpan:t?1:3,className:"diff-widget-content"},n))};Zn.displayName="UnifiedWidget";var Rn=function(e){var t=e.hunk,n=e.widgets,o=e.className,a=s(e,["hunk","widgets","className"]),i=function(e,t){return e.reduce((function(e,n){var r=ln(n);e.push(["change",r,n]);var o=t[r];return o&&e.push(["widget",r,o]),e}),[])}(t.changes,n);return r.createElement("tbody",{className:y("diff-hunk",o)},i.map((function(e){return function(e,t){var n=f(e,3),o=n[0],a=n[1],i=n[2],l=t.hideGutter,u=t.selectedChanges,d=t.tokens,p=t.lineClassName,h=s(t,["hideGutter","selectedChanges","tokens","lineClassName"]);if("change"===o){var v=i.isDelete?"old":"new",g=i.isDelete?un(i):sn(i),m=d?d[v][g-1]:null;return r.createElement(Mn,c({key:"change".concat(a),className:p,change:i,hideGutter:l,selected:u.includes(a),tokens:m},h))}return"widget"===o?r.createElement(Zn,{key:"widget".concat(a),hideGutter:l,element:i}):null}(e,a)})))};Rn.displayName="UnifiedHunk";var _n=function(e,t,n,o){var a=(0,r.useCallback)((function(){return t(e)}),[e,t]),i=(0,r.useCallback)((function(){return t("")}),[t]);return(0,r.useMemo)((function(){var t=yn(o,(function(t){return function(){return t({side:e,change:n})}}));return t.onMouseEnter=Sn(a,t.onMouseEnter),t.onMouseLeave=Sn(i,t.onMouseLeave),t}),[n,o,a,e,i])},Tn=function(e){var t=e.change,n=e.side,o=e.selected,a=e.tokens,l=e.gutterClassName,s=e.codeClassName,f=e.gutterEvents,d=e.codeEvents,p=e.anchorID,h=e.gutterAnchor,v=e.gutterAnchorTarget,g=e.hideGutter,m=e.hover,b=e.renderToken,w=e.renderGutter;if(!t){var x=y("diff-gutter","diff-gutter-omit",l),k=y("diff-code","diff-code-omit",s);return[!g&&r.createElement("td",{key:"gutter",className:x}),r.createElement("td",{key:"code",className:k})]}var C=t.type,E=t.content,S=0===n?"old":"new",O=u({id:p,className:y("diff-gutter","diff-gutter-".concat(C),i({"diff-gutter-selected":o},"diff-line-hover-"+S,m),l),children:w({change:t,side:S,inHoverState:m,renderDefault:Cn(t,S),wrapInAnchor:En(h,v)})},f),P=y("diff-code","diff-code-".concat(C),i({"diff-code-selected":o},"diff-line-hover-"+S,m),s);return[!g&&r.createElement("td",c({key:"gutter"},O)),r.createElement(kn,c({key:"code",className:P,text:E,tokens:a,renderToken:b},d))]},An=function(e){var t=e.className,n=e.gutterClassName,o=e.codeClassName,a=e.gutterEvents,i=e.codeEvents,c=e.oldChange,l=e.newChange,s=e.oldSelected,d=e.newSelected,p=e.oldTokens,h=e.newTokens,v=e.monotonous,g=e.hideGutter,m=e.generateAnchorID,b=e.gutterAnchor,w=e.renderToken,x=e.renderGutter,k=f((0,r.useState)(""),2),C=k[0],E=k[1],S=_n("old",E,c,a),O=_n("new",E,l,a),P=_n("old",E,c,i),N=_n("new",E,l,i),M=c&&m(c),Z=l&&m(l),R={monotonous:v,hideGutter:g,gutterClassName:n,codeClassName:o,gutterEvents:a,codeEvents:i,renderToken:w,renderGutter:x},_=u({},R,{change:c,side:0,selected:s,tokens:p,gutterEvents:S,codeEvents:P,anchorID:M,gutterAnchor:b,gutterAnchorTarget:M,hover:"old"===C}),T=u({},R,{change:l,side:1,selected:d,tokens:h,gutterEvents:O,codeEvents:N,anchorID:c===l?void 0:Z,gutterAnchor:b,gutterAnchorTarget:c===l?M:Z,hover:"new"===C});if(v)return r.createElement("tr",{className:y("diff-line",t)},Tn(c?_:T));var A=function(e,t){return e&&!t?"diff-line-old-only":!e&&t?"diff-line-new-only":e===t?"diff-line-normal":"diff-line-compare"}(c,l);return r.createElement("tr",{className:y("diff-line",A,t)},Tn(_),Tn(T))};An.displayName="SplitChange",An.propTypes={oldSelected:a().bool.isRequired,newSelected:a().bool.isRequired,oldTokens:a().arrayOf(a().object),newTokens:a().arrayOf(a().object)},An.defaultProps={oldTokens:null,newTokens:null};var jn=(0,r.memo)(An),In=function(e){var t=e.oldElement,n=e.newElement,o=e.monotonous,a=e.hideGutter;return o?r.createElement("tr",{className:"diff-widget"},r.createElement("td",{colSpan:a?1:2,className:"diff-widget-content"},t||n)):t===n?r.createElement("tr",{className:"diff-widget"},r.createElement("td",{colSpan:a?2:4,className:"diff-widget-content"},t)):r.createElement("tr",{className:"diff-widget"},r.createElement("td",{colSpan:a?1:2,className:"diff-widget-content"},t),r.createElement("td",{colSpan:a?1:2,className:"diff-widget-content"},n))};In.displayName="SplitWidget";var Ln=function(e,t){return(e?ln(e):"00")+(t?ln(t):"00")},Dn=function(e){var t=e.hunk,n=e.widgets,o=e.className,a=s(e,["hunk","widgets","className"]),i=function(e,t){for(var n=function(e){if(!e)return null;var n=ln(e);return t[n]||null},r=[],o=0;o0&&r(l)?n>1?e(l,n-1,r,o,a):Ne(a,l):o||(a[a.length]=l)}return a},or=function(e){return null!=e&&e.length?rr(e,1):[]},ar=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},ir=Math.max,cr=vn?function(e,t){return vn(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Kt,lr=800,ur=16,sr=Date.now,fr=function(e){var t=0,n=0;return function(){var r=sr(),o=ur-(r-n);if(n=r,o>0){if(++t>=lr)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(cr),dr=function(e){return fr(function(e,t,n){return t=ir(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=ir(r.length-t,0),i=Array(a);++oo?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r1),t})),Wr(e,Yr(e),n),r&&(n=ho(n,7,ko));for(var o=t.length;o--;)go(n,t[o]);return n})),Eo=function(e){return e.map((function(e){return u({},e)}))},So=function(e,t){return[].concat(p(Eo(e.slice(0,-1))),[t])},Oo=function(e){var t=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=Co(t,"children");if(t.children){r.push(o);var a=!0,i=!1,c=void 0;try{for(var l,u=t.children[Symbol.iterator]();!(a=(l=u.next()).done);a=!0){e(l.value,n,r)}}catch(s){i=!0,c=s}finally{try{a||null==u.return||u.return()}finally{if(i)throw c}}r.pop()}else n.push(Eo([].concat(p(r.slice(1)),[o])));return n}(e);return function(e){return e.reduce((function(e,t){var n=Ar(e),r=d(function(e){var t=Ar(e);return t.value.includes("\n")?t.value.split("\n").map((function(n){return So(e,u({},t,{value:n}))})):[e]}(t)),o=r[0],a=r.slice(1);return[].concat(p(e.slice(0,-1)),[[].concat(p(n),[o])],p(a.map((function(e){return[e]}))))}),[[]])}(t)},Po=function(e,t){var n,r,o=Ar(e.children);return o&&function(e,t){if(e.type!==t.type)return!1;if("text"===e.type)return!0;if(!e.children||!t.children)return!1;var n="children"in e?Co(e,"children"):e,r="children"in t?Co(t,"children"):t;return St(n,r)}(o,t)?e.children[e.children.length-1]=(r=t,"value"in(n=o)?u({},n,{value:n.value+r.value}):n):e.children.push(t),Ar(e.children)},No=function(e){var t={type:"root",children:[]},n=!0,r=!1,o=void 0;try{for(var a,i=function(){var e=a.value;e.reduce((function(t,n,r){var o=r===e.length-1?u({},n):u({},n,{children:[]});return Po(t,o)}),t)},c=e[Symbol.iterator]();!(n=(a=c.next()).done);n=!0)i()}catch(l){r=!0,o=l}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return t},Mo=Object.prototype.hasOwnProperty,Zo=_r((function(e,t,n){Mo.call(e,n)?e[n].push(t):gn(e,n,[t])})),Ro=Object.prototype.hasOwnProperty,_o=function(e,t){var n=t.start,r=t.length,o=t.properties,a=n+r,i=e.reduce((function(e,r){var i=f(e,2),c=i[0],l=i[1],s=l+Ar(r).value.length;if(l>a||s=a.value.length)return[e];var c=function(e,t){var n=a.value.slice(e,t);return[].concat(p(o),[u({},a,{value:n})])};if(t>0){var l=c(0,t);i.push(Eo(l))}var s=c(Math.max(t,0),n);if(i.push(r?function(e,t){return[t].concat(p(Eo(e)))}(s,r):Eo(s)),nt.length?e:t,i=e.length>t.length?t:e,c=a.indexOf(i);if(-1!=c)return o=[[1,a.substring(0,c)],[0,i],[1,a.substring(c+i.length)]],e.length>t.length&&(o[0][0]=o[2][0]=-1),o;if(1==i.length)return[[-1,e],[1,t]];var l=this.diff_halfMatch_(e,t);if(l){var u=l[0],s=l[1],f=l[2],d=l[3],p=l[4],h=this.diff_main(u,f,n,r),v=this.diff_main(s,d,n,r);return h.concat([[0,p]],v)}return n&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,r):this.diff_bisect_(e,t,r)},t.prototype.diff_lineMode_=function(e,t,n){e=(s=this.diff_linesToChars_(e,t)).chars1,t=s.chars2;var r=s.lineArray,o=this.diff_main(e,t,!1,n);this.diff_charsToLines_(o,r),this.diff_cleanupSemantic(o),o.push([0,""]);for(var a=0,i=0,c=0,l="",u="";a=1&&c>=1){o.splice(a-i-c,i+c),a=a-i-c;for(var s,f=(s=this.diff_main(l,u,!1,n)).length-1;f>=0;f--)o.splice(a,0,s[f]);a+=s.length}c=0,i=0,l="",u=""}a++}return o.pop(),o},t.prototype.diff_bisect_=function(e,t,n){for(var r=e.length,o=t.length,a=Math.ceil((r+o)/2),i=a,c=2*a,l=new Array(c),u=new Array(c),s=0;sn);m++){for(var b=-m+p;b<=m-h;b+=2){for(var y=i+b,w=(S=b==-m||b!=m&&l[y-1]r)h+=2;else if(w>o)p+=2;else if(d&&(C=i+f-b)>=0&&C=(k=r-u[C]))return this.diff_bisectSplit_(e,t,S,w,n)}for(var x=-m+v;x<=m-g;x+=2){for(var k,C=i+x,E=(k=x==-m||x!=m&&u[C-1]r)g+=2;else if(E>o)v+=2;else if(!d){var S;if((y=i+f-x)>=0&&y=(k=r-k))return this.diff_bisectSplit_(e,t,S,w,n)}}}return[[-1,e],[1,t]]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var a=e.substring(0,n),i=t.substring(0,r),c=e.substring(n),l=t.substring(r),u=this.diff_main(a,i,!1,o),s=this.diff_main(c,l,!1,o);return u.concat(s)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,a=-1,i=n.length;ar?e=e.substring(n-r):nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,a,i,c,s]:null}var i,c,l,u,s,f=a(n,r,Math.ceil(n.length/4)),d=a(n,r,Math.ceil(n.length/2));return f||d?(i=d?f&&f[4].length>d[4].length?f:d:f,e.length>t.length?(c=i[0],l=i[1],u=i[2],s=i[3]):(u=i[0],s=i[1],c=i[2],l=i[3]),[c,l,u,s,i[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var t=!1,n=[],r=0,o=null,a=0,i=0,c=0,l=0,u=0;a0?n[r-1]:-1,i=0,c=0,l=0,u=0,o=null,t=!0)),a++;for(t&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),a=1;a=p?(d>=s.length/2||d>=f.length/2)&&(e.splice(a,0,[0,f.substring(0,d)]),e[a-1][1]=s.substring(0,s.length-d),e[a+1][1]=f.substring(d),a++):(p>=s.length/2||p>=f.length/2)&&(e.splice(a,0,[0,s.substring(0,p)]),e[a-1][0]=1,e[a-1][1]=f.substring(0,f.length-p),e[a+1][0]=-1,e[a+1][1]=s.substring(p),a++),a++}a++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),a=r.match(t.nonAlphaNumericRegex_),i=o.match(t.nonAlphaNumericRegex_),c=a&&r.match(t.whitespaceRegex_),l=i&&o.match(t.whitespaceRegex_),u=c&&r.match(t.linebreakRegex_),s=l&&o.match(t.linebreakRegex_),f=u&&e.match(t.blanklineEndRegex_),d=s&&n.match(t.blanklineStartRegex_);return f||d?5:u||s?4:a&&!c&&l?3:c||l?2:a||i?1:0}for(var r=1;r=d&&(d=p,u=o,s=a,f=i)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=s,f?e[r+1][1]=f:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var t=!1,n=[],r=0,o=null,a=0,i=!1,c=!1,l=!1,u=!1;a0?n[r-1]:-1,l=u=!1),t=!0)),a++;t&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push([0,""]);for(var t,n=0,r=0,o=0,a="",i="";n1?(0!==r&&0!==o&&(0!==(t=this.diff_commonPrefix(i,a))&&(n-r-o>0&&0==e[n-r-o-1][0]?e[n-r-o-1][1]+=i.substring(0,t):(e.splice(0,0,[0,i.substring(0,t)]),n++),i=i.substring(t),a=a.substring(t)),0!==(t=this.diff_commonSuffix(i,a))&&(e[n][1]=i.substring(i.length-t)+e[n][1],i=i.substring(0,i.length-t),a=a.substring(0,a.length-t))),0===r?e.splice(n-o,r+o,[1,i]):0===o?e.splice(n-r,r+o,[-1,a]):e.splice(n-r-o,r+o,[-1,a],[1,i]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&0==e[n-1][0]?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,o=0,r=0,a="",i=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(n=1;nt));n++)a=r,i=o;return e.length!=n&&-1===e[n][0]?i:i+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,r=//g,a=/\n/g,i=0;i");switch(c){case 1:t[i]=''+l+"";break;case-1:t[i]=''+l+"";break;case 0:t[i]=""+l+""}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function a(e,r){var a=e/t.length,i=Math.abs(n-r);return o.Match_Distance?a+i/o.Match_Distance:i?1:a}var i=this.Match_Threshold,c=e.indexOf(t,n);-1!=c&&(i=Math.min(a(0,c),i),-1!=(c=e.lastIndexOf(t,n+t.length))&&(i=Math.min(a(0,c),i)));var l,u,s=1<=h;m--){var b=r[e.charAt(m-1)];if(g[m]=0===p?(g[m+1]<<1|1)&b:(g[m+1]<<1|1)&b|(f[m+1]|f[m])<<1|1|f[m+1],g[m]&s){var y=a(p,m-1);if(y<=i){if(i=y,!((c=m-1)>n))break;h=Math.max(1,2*n-c)}}}if(a(p+1,n)>i)break;f=g}return c},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&void 0===n&&void 0===r)a=e,o=this.diff_text1(a);else if("string"==typeof e&&n&&"object"==typeof n&&void 0===r)o=e,a=n;else{if("string"!=typeof e||"string"!=typeof n||!r||"object"!=typeof r)throw new Error("Unknown call format to patch_make.");o=e,a=r}if(0===a.length)return[];for(var i=[],c=new t.patch_obj,l=0,u=0,s=0,f=o,d=o,p=0;p=2*this.Patch_Margin&&l&&(this.patch_addContext_(c,f),i.push(c),c=new t.patch_obj,l=0,f=d,u=s)}1!==h&&(u+=v.length),-1!==h&&(s+=v.length)}return l&&(this.patch_addContext_(c,f),i.push(c)),i},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;rthis.Match_MaxBits?-1!=(i=this.match_main(t,u.substring(0,this.Match_MaxBits),l))&&(-1==(s=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits))||i>=s)&&(i=-1):i=this.match_main(t,u,l),-1==i)o[a]=!1,r-=e[a].length2-e[a].length1;else if(o[a]=!0,r=i-l,u==(c=-1==s?t.substring(i,i+u.length):t.substring(i,s+this.Match_MaxBits)))t=t.substring(0,i)+this.diff_text2(e[a].diffs)+t.substring(i+u.length);else{var f=this.diff_main(u,c,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(f)/u.length>this.Patch_DeleteThreshold)o[a]=!1;else{this.diff_cleanupSemanticLossless(f);for(var d,p=0,h=0;ha[0][1].length){var i=t-a[0][1].length;a[0][1]=n.substring(a[0][1].length)+a[0][1],o.start1-=i,o.start2-=i,o.length1+=i,o.length2+=i}return 0==(a=(o=e[e.length-1]).diffs).length||0!=a[a.length-1][0]?(a.push([0,n]),o.length1+=t,o.length2+=t):t>a[a.length-1][1].length&&(i=t-a[a.length-1][1].length,a[a.length-1][1]+=n.substring(0,i),o.length1+=i,o.length2+=i),n},t.prototype.patch_splitMax=function(e){for(var n=this.Match_MaxBits,r=0;r2*n?(l.length1+=f.length,a+=f.length,u=!1,l.diffs.push([s,f]),o.diffs.shift()):(f=f.substring(0,n-l.length1-this.Patch_Margin),l.length1+=f.length,a+=f.length,0===s?(l.length2+=f.length,i+=f.length):u=!1,l.diffs.push([s,f]),f==o.diffs[0][1]?o.diffs.shift():o.diffs[0][1]=o.diffs[0][1].substring(f.length))}c=(c=this.diff_text2(l.diffs)).substring(c.length-this.Patch_Margin);var d=this.diff_text1(o.diffs).substring(0,this.Patch_Margin);""!==d&&(l.length1+=d.length,l.length2+=d.length,0!==l.diffs.length&&0===l.diffs[l.diffs.length-1][0]?l.diffs[l.diffs.length-1][1]+=d:l.diffs.push([0,d])),u||e.splice(++r,0,l)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{}).type,n=void 0===t?"block":t,r=Lr(e.map((function(e){return e.changes})),Ho),o="block"===n?Go:$o,a=r.map(o).reduce((function(e,t){var n=f(e,2),r=n[0],o=n[1],a=f(t,2),i=a[0],c=a[1];return[r.concat(i),o.concat(c)]}),[[],[]]),i=f(a,2),c=i[0],l=i[1];return Ao(or(c),or(l))},Xo=function(e,t){var n=t.highlight,r=void 0!==n&&n,o=t.refractor,a=t.oldSource,i=t.language,c=t.enhancers,l=void 0===c?[]:c,u=Hr(e,{highlight:r,refractor:o,oldSource:a,language:i}).map(Oo),s=f(Nr(l)(u).map((function(e){return e.map(No)})),2),d=s[0],p=s[1];return{old:d.map((function(e){return e.children})),new:p.map((function(e){return e.children}))}},Ko=b((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.createChangeEmitter=function(){var e=[],t=e;function n(){t===e&&(t=e.slice())}return{listen:function(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var r=!0;return n(),t.push(e),function(){if(r){r=!1,n();var o=t.indexOf(e);t.splice(o,1)}}},emit:function(){for(var n=e=t,r=0;r1&&void 0!==arguments[1]?arguments[1]:{}).multiple,n=void 0!==t&&t,o=ea(),a=o.collection,i=o.clear,c=o.toggle,l=o.only;return(0,r.useEffect)(i,[e]),[a,function(e){var t=e.change,r=ln(t);n?c(r):l(r)}]}(n.hunks,e),2),a=o[0],i=o[1];return r.createElement(t,c({},n,{selectedChanges:a,onToggleChangeSelection:i}))};return n.displayName=Qo(t,"withChangeSelect"),n}})},2993:function(e,t,n){"use strict";var r,o=function(){function e(e,t){for(var n=0;n