fix(es/codegen): Drop the last comma in an array literal (#5877)

**Description:**

Drop the last comma in an array literal.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5692.
This commit is contained in:
IWANABETHATGUY 2022-09-16 14:48:28 +08:00 committed by GitHub
parent 720b3e05c1
commit 7d6d04b421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
132 changed files with 1423 additions and 1425 deletions

View File

@ -18,7 +18,7 @@ const headers = [
"x-ratelimit-remaining",
"x-ratelimit-reset-after",
"x-ratelimit-reset",
"via",
"via"
];
var /**
* Used for sequential requests.

View File

@ -2,7 +2,7 @@ async function* generate() {
const results = await Promise.all([
Promise.resolve(1),
Promise.resolve(2),
Promise.resolve(3),
Promise.resolve(3)
]);
for (const result of results){
console.log(`yield ${result}`);

View File

@ -117,7 +117,7 @@ export var preTransforms = Object.freeze([
-1,
1,
0
]),
])
]);
/**
* @en Mathematical 4x4 matrix.
@ -149,7 +149,7 @@ export var preTransforms = Object.freeze([
0,
0,
0,
1,
1
]);
} else {
var v = m00.array;
@ -1061,7 +1061,7 @@ export var preTransforms = Object.freeze([
this._array[15] = 1;
return this;
}
},
}
], [
{
key: "clone",
@ -2513,7 +2513,7 @@ export var preTransforms = Object.freeze([
// defines a 'close enough' relationship between u and v that scales for magnitude
return Math.abs(a.m00 - b.m00) <= epsilon * Math.max(1, Math.abs(a.m00), Math.abs(b.m00)) && Math.abs(a.m01 - b.m01) <= epsilon * Math.max(1, Math.abs(a.m01), Math.abs(b.m01)) && Math.abs(a.m02 - b.m02) <= epsilon * Math.max(1, Math.abs(a.m02), Math.abs(b.m02)) && Math.abs(a.m03 - b.m03) <= epsilon * Math.max(1, Math.abs(a.m03), Math.abs(b.m03)) && Math.abs(a.m04 - b.m04) <= epsilon * Math.max(1, Math.abs(a.m04), Math.abs(b.m04)) && Math.abs(a.m05 - b.m05) <= epsilon * Math.max(1, Math.abs(a.m05), Math.abs(b.m05)) && Math.abs(a.m06 - b.m06) <= epsilon * Math.max(1, Math.abs(a.m06), Math.abs(b.m06)) && Math.abs(a.m07 - b.m07) <= epsilon * Math.max(1, Math.abs(a.m07), Math.abs(b.m07)) && Math.abs(a.m08 - b.m08) <= epsilon * Math.max(1, Math.abs(a.m08), Math.abs(b.m08)) && Math.abs(a.m09 - b.m09) <= epsilon * Math.max(1, Math.abs(a.m09), Math.abs(b.m09)) && Math.abs(a.m10 - b.m10) <= epsilon * Math.max(1, Math.abs(a.m10), Math.abs(b.m10)) && Math.abs(a.m11 - b.m11) <= epsilon * Math.max(1, Math.abs(a.m11), Math.abs(b.m11)) && Math.abs(a.m12 - b.m12) <= epsilon * Math.max(1, Math.abs(a.m12), Math.abs(b.m12)) && Math.abs(a.m13 - b.m13) <= epsilon * Math.max(1, Math.abs(a.m13), Math.abs(b.m13)) && Math.abs(a.m14 - b.m14) <= epsilon * Math.max(1, Math.abs(a.m14), Math.abs(b.m14)) && Math.abs(a.m15 - b.m15) <= epsilon * Math.max(1, Math.abs(a.m15), Math.abs(b.m15));
}
},
}
]);
return Mat4;
}(MathBase);
@ -2536,7 +2536,7 @@ enumerableProps(Mat4.prototype, [
"m12",
"m13",
"m14",
"m15",
"m15"
]);
CCClass.fastDefine("cc.Mat4", Mat4, {
m00: 1,

View File

@ -59,6 +59,6 @@ var r = findGroupMember("B", [
members: [
"B"
]
},
}
]);
console.log(r);

View File

@ -16,7 +16,7 @@ describe("example test that should fail due to compilation", ()=>{
2,
2,
4
],
]
])("for entry %s", (_1, a, b, expected)=>{
const result = (0, _.sum)(a, b);
expect(result).toEqual(expected);

View File

@ -76,7 +76,7 @@ export function selectRooms(building) {
roomPrettyName,
"".concat(areaTotal, " SF"),
roomFloorMat,
FLOOR_MAPPING[levelId],
FLOOR_MAPPING[levelId]
];
};
for(var _iterator1 = sortedRooms[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true)_loop();

View File

@ -91,7 +91,7 @@ function checkRedirectValues(redirect, req, method) {
errors.push(`\`permanent\` must be \`true\` or \`false\``);
} else if (hasStatusCode && !allowedStatusCodes.has(statusCode)) {
errors.push(`\`statusCode\` must undefined or one of ${[
...allowedStatusCodes,
...allowedStatusCodes
].join(", ")}`);
}
const destinationType = typeof destination;
@ -153,7 +153,7 @@ export async function renderToHTML(req, res, pathname, query, renderOpts) {
for (const methodName of [
"getStaticProps",
"getServerSideProps",
"getStaticPaths",
"getStaticPaths"
]){
if (Component[methodName]) {
throw new Error(`page ${pathname} ${methodName} ${GSSP_COMPONENT_MEMBER_ERROR}`);
@ -509,7 +509,7 @@ export async function renderToHTML(req, res, pathname, query, renderOpts) {
...filteredBuildManifest.pages,
[page]: [
...filteredBuildManifest.pages[page],
...filteredBuildManifest.lowPriorityFiles.filter((f)=>f.includes("_buildManifest")),
...filteredBuildManifest.lowPriorityFiles.filter((f)=>f.includes("_buildManifest"))
]
},
lowPriorityFiles: filteredBuildManifest.lowPriorityFiles.filter((f)=>!f.includes("_buildManifest"))
@ -692,8 +692,8 @@ export async function renderToHTML(req, res, pathname, query, renderOpts) {
piperFromArray(prefix),
documentResult.bodyResult,
piperFromArray([
documentHTML.substring(renderTargetIdx + BODY_RENDER_TARGET.length),
]),
documentHTML.substring(renderTargetIdx + BODY_RENDER_TARGET.length)
])
];
const postProcessors = (generateStaticHTML ? [
inAmpMode ? async (html)=>{
@ -727,7 +727,7 @@ export async function renderToHTML(req, res, pathname, query, renderOpts) {
} : null,
inAmpMode || hybridAmp ? async (html)=>{
return html.replace(/&amp;amp=1/g, "&amp=1");
} : null,
} : null
] : []).filter(Boolean);
if (generateStaticHTML || postProcessors.length > 0) {
let html = await piperToString(chainPipers(pipers));

View File

@ -26,7 +26,7 @@
"/static",
function() {
return u(2943);
},
}
]);
}
},
@ -38,5 +38,5 @@
], function() {
return n(n.s = 7139);
}), _N_E = n.O();
},
}
]);

View File

@ -32,7 +32,7 @@ var a3 = [
var a4 = [
function() {
return 1;
},
}
];
var a5 = _to_consumable_array(a0).concat([
,
@ -101,7 +101,7 @@ var temp3 = [
var temp4 = [];
var d0 = [
1,
true,
true
].concat(_to_consumable_array(temp)); // has type (string|number|boolean)[]
var d1 = _to_consumable_array(temp); // has type string[]
var d2 = _to_consumable_array(temp1);

View File

@ -36,7 +36,7 @@ var temp = [
];
[
1,
!0,
!0
].concat(_to_consumable_array(temp)), _to_consumable_array(temp), _to_consumable_array(temp1), _to_consumable_array(temp1), _to_consumable_array(temp).concat(_to_consumable_array(temp1)), _to_consumable_array([
void 0,
null,

View File

@ -30,7 +30,7 @@ var a3 = [
...a0
];
var a4 = [
()=>1,
()=>1
];
var a5 = [
...a0,
@ -98,7 +98,7 @@ var temp2 = [
var d0 = [
1,
true,
...temp,
...temp
]; // has type (string|number|boolean)[]
var d1 = [
...temp

View File

@ -728,5 +728,5 @@ var DerivedWithLoops = [
return _possible_constructor_return(_this);
}
return _class;
}(Base),
}(Base)
];

View File

@ -1,5 +1,5 @@
//// [parserArrayLiteralExpression10.ts]
var v = [
1,
1,
1
];

View File

@ -10,5 +10,5 @@ var v = [
1,
1,
,
1,
1
];

View File

@ -1,4 +1,4 @@
//// [parserArrayLiteralExpression7.ts]
var v = [
1,
1
];

View File

@ -1,5 +1,5 @@
//// [parserArrayLiteralExpression8.ts]
var v = [
,
1,
1
];

View File

@ -63,7 +63,7 @@ C._ = [
(()=>{
(function Reflect() {}); // no collision
_get(_get_prototype_of(C), "w", C).call(C);
})(),
})()
];
var __ = {
writable: true,

View File

@ -38,7 +38,7 @@ C._ = [
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C)
], (()=>{
var { Reflect } = {
Reflect: null

View File

@ -63,7 +63,7 @@ C._ = [
(()=>{
(function Reflect() {}); // no collision
_get(_get_prototype_of(C), "w", C).call(C);
})(),
})()
];
var __ = {
writable: true,

View File

@ -38,7 +38,7 @@ C._ = [
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C)
], (()=>{
var { Reflect } = {
Reflect: null

View File

@ -60,7 +60,7 @@ class C extends B {
(()=>{
(function Reflect() {}); // no collision
super.w();
})(),
})()
];
static{
var { Reflect } = {

View File

@ -85,7 +85,7 @@ C._ = [
function() {
(function Reflect() {}); // no collision
_get(_get_prototype_of(C), "w", C).call(C);
}(),
}()
];
var __ = {
writable: true,

View File

@ -44,7 +44,7 @@ C._ = [
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C),
void _get(_get_prototype_of(C), "w", C).call(C)
], _superprop_get_w().call(_this), _superprop_get_w().call(_this), _superprop_get_w().call(_this), _superprop_get_w().call(_this), _superprop_get_w().call(_this), function() {
var Reflect;
Reflect || (Reflect = {}), _superprop_get_w().call(_this);

File diff suppressed because one or more lines are too long

View File

@ -130,7 +130,7 @@ var ItemsList = function(_Component) {
key: "shouldComponentUpdate",
value: function(nextProps) {
return (0, _compareObjects.default)(nextProps, this.props, [
"itemProps",
"itemProps"
]);
}
},
@ -168,14 +168,14 @@ var ItemsList = function(_Component) {
}));
}));
}
},
}
], _defineProperties(ItemsList.prototype, protoProps), staticProps && _defineProperties(ItemsList, staticProps), ItemsList;
}(_react.Component);
exports.default = ItemsList, _defineProperty(ItemsList, "propTypes", {
items: _propTypes.default.array.isRequired,
itemProps: _propTypes.default.oneOfType([
_propTypes.default.object,
_propTypes.default.func,
_propTypes.default.func
]),
renderItem: _propTypes.default.func.isRequired,
renderItemData: _propTypes.default.object.isRequired,

View File

@ -140,7 +140,7 @@ export default function S(u) {
params: e.params
};
}));
}, []),
}, [])
]
}, {
results: n.reduce(function(e, t) {
@ -174,7 +174,7 @@ export default function S(u) {
indexName: e.index,
params: e.params
};
}),
})
]
}, {
results: n.rawResults

View File

@ -13,6 +13,6 @@ var navigation = function(path) {
get current () {
return this.href === path;
}
},
}
];
};

View File

@ -832,7 +832,7 @@ export var SnippetSession = /*#__PURE__*/ function() {
new CommentBasedVariableResolver(model, selection),
new TimeBasedVariableResolver,
new WorkspaceBasedVariableResolver(workspaceService),
new RandomBasedVariableResolver,
new RandomBasedVariableResolver
]));
var offset = model.getOffsetAt(start) + delta;
delta += snippet.toString().length - model.getValueLengthInRange(snippetSelection);

View File

@ -319,7 +319,7 @@ function serializeQueryParameters(parameters) {
params: request.params
};
}));
}, []),
}, [])
]
}, {
results: results.reduce(function(acc, result) {
@ -362,7 +362,7 @@ function serializeQueryParameters(parameters) {
indexName: request.index,
params: request.params
};
}),
})
]
}, {
results: results.rawResults

View File

@ -1789,7 +1789,7 @@ function blue(str) {
}
new RegExp([
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
].join("|"), "g");
async function exists(filePath) {
try {
@ -2565,7 +2565,7 @@ async function* expandGlob(glob, { root =Deno.cwd() , exclude =[] , includeDirs
globToRegExp(joinGlobs([
walkInfo.path,
globSegment
], globOptions), globOptions),
], globOptions), globOptions)
],
skip: excludePatterns
});
@ -2651,7 +2651,7 @@ function* expandGlobSync(glob, { root =Deno.cwd() , exclude =[] , includeDirs =t
globToRegExp(joinGlobs([
walkInfo.path,
globSegment
], globOptions), globOptions),
], globOptions), globOptions)
],
skip: excludePatterns
});
@ -5416,7 +5416,7 @@ function findUserSource(dir, startCtxArg) {
];
const defaultSources = [
"main.ts",
"dnit.ts",
"dnit.ts"
];
const importmaps = [
"import_map.json",
@ -5499,15 +5499,15 @@ async function launch(logger) {
"--allow-write",
"--allow-run",
"--allow-env",
"--allow-net",
"--allow-net"
];
const flags = [
"--quiet",
"--unstable",
"--unstable"
];
const importmap = userSource.importmap ? [
"--importmap",
userSource.importmap,
userSource.importmap
] : [];
const proc = Deno.run({
cmd: [

View File

@ -1799,7 +1799,7 @@ function blue(str) {
}
new RegExp([
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
].join("|"), "g");
async function exists(filePath) {
try {
@ -2575,7 +2575,7 @@ async function* expandGlob(glob, { root =Deno.cwd() , exclude =[] , includeDirs
globToRegExp(joinGlobs([
walkInfo.path,
globSegment
], globOptions), globOptions),
], globOptions), globOptions)
],
skip: excludePatterns
});
@ -2661,7 +2661,7 @@ function* expandGlobSync(glob, { root =Deno.cwd() , exclude =[] , includeDirs =t
globToRegExp(joinGlobs([
walkInfo.path,
globSegment
], globOptions), globOptions),
], globOptions), globOptions)
],
skip: excludePatterns
});
@ -5427,7 +5427,7 @@ function findUserSource(dir, startCtxArg) {
];
const defaultSources = [
"main.ts",
"dnit.ts",
"dnit.ts"
];
const importmaps = [
"import_map.json",
@ -5510,15 +5510,15 @@ async function launch(logger) {
"--allow-write",
"--allow-run",
"--allow-env",
"--allow-net",
"--allow-net"
];
const flags = [
"--quiet",
"--unstable",
"--unstable"
];
const importmap = userSource.importmap ? [
"--importmap",
userSource.importmap,
userSource.importmap
] : [];
const proc = Deno.run({
cmd: [

View File

@ -127,7 +127,6 @@ add_bitflags!(
ArrayLiteralExpressionElements: PreserveLines
| CommaDelimited
| SpaceBetweenSiblings
| AllowTrailingComma
| Indented
| SquareBrackets,
CommaListElements: CommaDelimited | SpaceBetweenSiblings | SingleLine,

View File

@ -128,7 +128,7 @@ mod tests {
assert_min("[]", "[]");
assert_min("[foo]", "[foo]");
assert_min("[foo,bar]", "[foo,bar]");
assert_min("[foo,bar,baz]", "[foo,bar,baz]");
assert_min("[foo,bar,baz,]", "[foo,bar,baz]");
}
#[test]
@ -140,7 +140,6 @@ mod tests {
fn sparse_array_expression() {
assert_min("[]", "[]");
assert_min("[,]", "[,]");
assert_min("[1,]", "[1,]");
assert_min("[,1]", "[,1]");
assert_min("[,,];", "[,,]");
assert_min("[1,,];", "[1,,]");

View File

@ -2,5 +2,5 @@
const a = {};
for(let b in a)a[b] = a[b].trim();
[
"foo",
"foo"
].forEach(()=>{});

View File

@ -1 +1 @@
"use strict";const a={};for(let b in a)a[b]=a[b].trim();["foo",].forEach(()=>{});
"use strict";const a={};for(let b in a)a[b]=a[b].trim();["foo"].forEach(()=>{});

View File

@ -1 +1 @@
[1,2,3,];
[1,2,3];

View File

@ -1 +1 @@
a=[1,,];b=[2,3,c];d=[4,,5,];e=[6,c,7];
a=[1,,];b=[2,3,c];d=[4,,5];e=[6,c,7];

View File

@ -1 +1 @@
a=[1,];
a=[1];

View File

@ -1 +1 @@
a=[1,2,,3,];
a=[1,2,,3];

View File

@ -1 +1 @@
[1,2,,3,];
[1,2,,3];

View File

@ -1 +1 @@
a=[1,2,3,];
a=[1,2,3];

View File

@ -1,5 +1,5 @@
[
1,
2,
3,
3
];

View File

@ -10,7 +10,7 @@ b = [
d = [
4,
,
5,
5
];
e = [
6,

View File

@ -1,3 +1,3 @@
a = [
1,
1
];

View File

@ -2,5 +2,5 @@ a = [
1,
2,
,
3,
3
];

View File

@ -2,5 +2,5 @@
1,
2,
,
3,
3
];

View File

@ -1,3 +1,3 @@
[
1,
1
];

View File

@ -1,5 +1,5 @@
a = [
1,
2,
3,
3
];

View File

@ -24,7 +24,7 @@ module.exports = function() {
value: function() {
this.bb = new ClassB.MyA();
}
},
}
]), staticProps && _defineProperties(ClassB, staticProps), ClassB;
}();
return "MyA" in (obj = ClassB) ? Object.defineProperty(obj, "MyA", {

View File

@ -90,12 +90,12 @@
d: "M337.17 499.512c34.485 0 62.44-27.955 62.44-62.439s-27.955-62.439-62.44-62.439c-34.483 0-62.438 27.955-62.438 62.44 0 34.483 27.955 62.438 62.439 62.438z m374.635 0c34.484 0 62.439-27.955 62.439-62.439s-27.955-62.439-62.44-62.439c-34.483 0-62.438 27.955-62.438 62.44 0 34.483 27.955 62.438 62.439 62.438zM352.788 704.785c43.377-34.702 100.364-55.425 171.7-55.425 71.336 0 128.322 20.723 171.7 55.425 26.513 21.21 42.695 42.786 50.444 58.284 6.168 12.337 1.168 27.34-11.17 33.508-12.337 6.169-27.34 1.168-33.508-11.17-0.918-1.834-3.462-6.024-7.788-11.793-7.564-10.084-17.239-20.269-29.183-29.824-34.671-27.737-80.71-44.478-140.495-44.478-59.786 0-105.824 16.74-140.496 44.478-11.944 9.555-21.619 19.74-29.182 29.824-4.327 5.769-6.87 9.959-7.788 11.794-6.169 12.337-21.171 17.338-33.509 11.17-12.337-6.17-17.338-21.172-11.169-33.509 7.75-15.498 23.931-37.074 50.444-58.284z",
"p-id": "845",
fill: "#cdcdcd"
}),
})
]
}),
_jsxRuntime.jsx("h3", {
children: "Oops! Something went wrong."
}),
})
]
});
};
@ -139,7 +139,7 @@
error: error
}) : children || null;
}
},
}
]), ErrorBoundary;
}(_react.Component);
ErrorBoundary.defaultProps = {
@ -272,7 +272,7 @@
var _pageConfig = PageComponent.pageConfig, pageConfig = void 0 === _pageConfig ? {} : _pageConfig, AuthWrappedComponent = function(props) {
var auth = props.auth, rest = (props.setAuth, swcHelpers.objectWithoutProperties(props, [
"auth",
"setAuth",
"setAuth"
])), pageConfigAuth = pageConfig.auth;
if (pageConfigAuth && !Array.isArray(pageConfigAuth)) throw Error("pageConfig.auth must be an array");
return Array.isArray(pageConfigAuth) && pageConfigAuth.length && !Object.keys(auth).filter(function(item) {
@ -403,7 +403,7 @@
}), exports.parseRoutes = parseRoutes, exports.IceRouter = function(props) {
var type = props.type, children = props.children, others = swcHelpers.objectWithoutProperties(props, [
"type",
"children",
"children"
]), renderChildren = children;
if (!renderChildren && props.routes) {
var parsedRoutes = parseRoutes(props.routes, props.fallback);
@ -439,7 +439,7 @@
"children",
"component",
"routeWrappers",
"wrappers",
"wrappers"
]), mergedRouteWrappers = children ? [] : routeWrappers;
wrappers && wrappers.length && (mergedRouteWrappers = mergedRouteWrappers.concat(wrappers));
var parsedRoute = swcHelpers.objectSpread({}, others);
@ -623,9 +623,9 @@
target: "_blank",
rel: "noopener noreferrer",
children: "GitHub"
}),
})
]
}),
})
]
});
};
@ -650,7 +650,7 @@
{
path: "/",
component: __webpack_require__(547).interopRequireDefault(__webpack_require__(43361)).default
},
}
];
exports.default = routerConfig;
},
@ -854,7 +854,7 @@
var _this$props2 = this.props, forwardedRef = _this$props2.forwardedRef, propFallback = _this$props2.fallback, props = (_this$props2.__chunkExtractor, (0, objectWithoutPropertiesLoose.Z)(_this$props2, [
"forwardedRef",
"fallback",
"__chunkExtractor",
"__chunkExtractor"
])), _this$state = this.state, error = _this$state.error, loading = _this$state.loading, result = _this$state.result;
if (options.suspense && (this.getCache() || this.loadAsync()).status === STATUS_PENDING) throw this.loadAsync();
if (error) throw error;
@ -2183,7 +2183,7 @@
"headers",
"auth",
"proxy",
"params",
"params"
], defaultToConfig2Keys = [
"baseURL",
"transformRequest",
@ -2207,7 +2207,7 @@
"httpsAgent",
"cancelToken",
"socketPath",
"responseEncoding",
"responseEncoding"
], directMergeKeys = [
"validateStatus"
];
@ -2273,7 +2273,7 @@
}
return (0, JSON.stringify)(rawValue);
}(data)) : data;
},
}
],
transformResponse: [
function(data) {
@ -2287,7 +2287,7 @@
}
}
return data;
},
}
],
timeout: 0,
xsrfCookieName: "XSRF-TOKEN",
@ -2447,7 +2447,7 @@
"proxy-authorization",
"referer",
"retry-after",
"user-agent",
"user-agent"
];
module.exports = function(headers) {
var key, val, i, parsed = {};
@ -2475,7 +2475,7 @@
"number",
"function",
"string",
"symbol",
"symbol"
].forEach(function(type, i) {
validators[type] = function(thing) {
return typeof thing === type || "a" + (i < 1 ? "n " : " ") + type;
@ -2761,7 +2761,7 @@
0xff & number,
number >> 8 & 0xff,
number >> 16 & 0xff,
number >> 24 & 0xff,
number >> 24 & 0xff
];
}, unpackInt32 = function(buffer) {
return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];
@ -3608,7 +3608,7 @@
"propertyIsEnumerable",
"toLocaleString",
"toString",
"valueOf",
"valueOf"
];
},
35437: function(module, __unused_webpack_exports, __webpack_require__) {
@ -7367,7 +7367,7 @@
A[n] = matchStr, "" === matchStr && (rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode)), n++;
}
return 0 === n ? null : A;
},
}
];
});
},
@ -7488,7 +7488,7 @@
position >= nextSourcePosition && (accumulatedResult += S.slice(nextSourcePosition, position) + replacement, nextSourcePosition = position + matched.length);
}
return accumulatedResult + S.slice(nextSourcePosition);
},
}
];
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
},
@ -7508,7 +7508,7 @@
sameValue(previousLastIndex, 0) || (rx.lastIndex = 0);
var result = regExpExec(rx, S);
return sameValue(rx.lastIndex, previousLastIndex) || (rx.lastIndex = previousLastIndex), null === result ? -1 : result.index;
},
}
];
});
},
@ -7572,7 +7572,7 @@
}
}
return A.push(S.slice(p)), A;
},
}
];
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
},
@ -10383,8 +10383,8 @@
encode(key, options),
"[",
index,
"]",
].join(""),
"]"
].join("")
] : [
...result,
[
@ -10392,8 +10392,8 @@
"[",
encode(index, options),
"]=",
encode(value, options),
].join(""),
encode(value, options)
].join("")
];
};
case "bracket":
@ -10402,14 +10402,14 @@
[
encode(key, options),
"[]"
].join(""),
].join("")
] : [
...result,
[
encode(key, options),
"[]=",
encode(value, options),
].join(""),
encode(value, options)
].join("")
];
case "comma":
case "separator":
@ -10417,13 +10417,13 @@
[
encode(key, options),
"=",
encode(value, options),
].join(""),
encode(value, options)
].join("")
] : [
[
result,
encode(value, options)
].join(options.arrayFormatSeparator),
].join(options.arrayFormatSeparator)
];
default:
return (key)=>(result, value)=>void 0 === value || options.skipNull && null === value || options.skipEmptyString && "" === value ? result : null === value ? [
@ -10434,8 +10434,8 @@
[
encode(key, options),
"=",
encode(value, options),
].join(""),
encode(value, options)
].join("")
];
}
}(options), objectCopy = {};
@ -10671,7 +10671,7 @@
ssrError: window.__ICE_SSR_ERROR__
}, _d = context, [
4,
appConfig.app.getInitialData(initialContext),
appConfig.app.getInitialData(initialContext)
];
case 2:
_d.initialData = _f.sent(), _f.label = 3;
@ -10689,7 +10689,7 @@
}) : ReactDOM.render(React.createElement(App, null), appMountNode);
}(runtime, __assign(__assign({}, options), {
appConfig: modifiedAppConfig
})),
}))
];
}
});
@ -10734,7 +10734,7 @@
[
"httpEquiv",
"http-equiv"
],
]
].forEach(function(a) {
var b = a[0];
D[b] = new B(b, 1, !1, a[1], null, !1, !1);
@ -10749,7 +10749,7 @@
"autoReverse",
"externalResourcesRequired",
"focusable",
"preserveAlpha",
"preserveAlpha"
].forEach(function(a) {
D[a] = new B(a, 2, !1, a, null, !1, !1);
}), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a) {
@ -12158,7 +12158,7 @@
Lc,
"transitionEnd",
"waiting",
"waiting",
"waiting"
], 2);
for(var Ve = "change selectionchange textInput compositionstart compositionend compositionupdate".split(" "), We = 0; We < Ve.length; We++)Nc.set(Ve[We], 0);
ea("onMouseEnter", [
@ -12177,7 +12177,7 @@
"compositionend",
"keypress",
"textInput",
"paste",
"paste"
]), da("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), da("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), da("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
var Xe = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Ye = new Set("cancel close invalid load scroll toggle".split(" ").concat(Xe));
function Ze(a, b, c) {
@ -15874,7 +15874,7 @@
var r = e.innerRef, o = e.navigate, n = e.onClick, a = _objectWithoutPropertiesLoose(e, [
"innerRef",
"navigate",
"onClick",
"onClick"
]), i = a.target, c = _extends({}, a, {
onClick: function(t) {
try {
@ -15891,7 +15891,7 @@
"component",
"replace",
"to",
"innerRef",
"innerRef"
]);
return React.createElement(reactRouter.__RouterContext.Consumer, null, function(r) {
r || invariant(!1);
@ -15921,7 +15921,7 @@
"strict",
"style",
"to",
"innerRef",
"innerRef"
]);
return React.createElement(reactRouter.__RouterContext.Consumer, null, function(e) {
e || invariant(!1);
@ -16411,7 +16411,7 @@
function withRouter(Component) {
var displayName = "withRouter(" + (Component.displayName || Component.name) + ")", C = function(props) {
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = (0, objectWithoutPropertiesLoose.Z)(props, [
"wrappedComponentRef",
"wrappedComponentRef"
]);
return _react_17_0_2_react.createElement(context.Consumer, null, function(context) {
return context || (0, tiny_invariant_esm.default)(!1), _react_17_0_2_react.createElement(Component, (0, esm_extends.Z)({}, remainingProps, context, {
@ -17250,7 +17250,7 @@
string
] : [
string.slice(0, separatorIndex),
string.slice(separatorIndex + separator.length),
string.slice(separatorIndex + separator.length)
];
};
},

View File

@ -283,7 +283,7 @@
year,
1,
31536000000
],
]
];
function tickInterval(start, stop, count) {
const target = Math.abs(stop - start) / count, i = (0, bisector.Z)(([, , step])=>step).right(tickIntervals, target);
@ -791,7 +791,7 @@
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Saturday"
],
shortDays: [
"Sun",
@ -814,7 +814,7 @@
"September",
"October",
"November",
"December",
"December"
],
shortMonths: [
"Jan",
@ -828,9 +828,9 @@
"Sep",
"Oct",
"Nov",
"Dec",
"Dec"
]
})).format, locale.parse, locale.utcFormat, locale.utcParse, __webpack_require__(73516), __webpack_require__(42287);
}
},
}
]);

View File

@ -352,7 +352,7 @@
break;
case "@keyframes":
return serialize([
copy(replace(element.value, "@", "@" + WEBKIT), element, ""),
copy(replace(element.value, "@", "@" + WEBKIT), element, "")
], callback);
case Enum_RULESET:
if (element.length) {
@ -363,13 +363,13 @@
case ":read-only":
case ":read-write":
return serialize([
copy(replace(value, /:(read-\w+)/, ":" + MOZ + "$1"), element, ""),
copy(replace(value, /:(read-\w+)/, ":" + MOZ + "$1"), element, "")
], callback);
case "::placeholder":
return serialize([
copy(replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1"), element, ""),
copy(replace(value, /:(plac\w+)/, ":" + MOZ + "$1"), element, ""),
copy(replace(value, /:(plac\w+)/, MS + "input-$1"), element, ""),
copy(replace(value, /:(plac\w+)/, MS + "input-$1"), element, "")
], callback);
}
return "";
@ -543,7 +543,7 @@
currentSheet.insert(rule);
}, function(element) {
!element.root && (element = element.return) && callback(element);
}),
})
], serializer = (collection = [
compat,
removeLabel
@ -1007,5 +1007,5 @@
"use strict";
module.exports = __webpack_require__(9921);
}
},
}
]);

View File

@ -103,7 +103,7 @@ export var AWS_REGION = [
{
value: "sa-east-1",
text: "South America (S\xe3o Paulo)"
},
}
];
export var NotificationChannelTypes = (_defineProperty(_obj4 = {}, NotificationServiceType.HTTP, "HTTP"), _defineProperty(_obj4, NotificationServiceType.AGIT, "Agit"), _defineProperty(_obj4, NotificationServiceType.SLACK, "Slack"), _defineProperty(_obj4, NotificationServiceType.KAKAOWORK, "Kakaowork"), _obj4);
export var AlertActionGroup = (_defineProperty(_obj5 = {}, ActionTypeGroup.APPROVAL, "New Request"), _defineProperty(_obj5, ActionTypeGroup.DATABASE_AUTHENTICATION, "DB Connection Attempt"), _defineProperty(_obj5, ActionTypeGroup.EXCEL_EXPORT, "Data Export"), _defineProperty(_obj5, ActionTypeGroup.SQL_EXECUTION_PREVENTED, "Prevented SQL Execution"), _defineProperty(_obj5, ActionTypeGroup.SENSITIVE_DATA, "Sensitive Data Access"), _defineProperty(_obj5, ActionTypeGroup.SQL_EXECUTION, "SQL Execution"), _obj5);

View File

@ -1746,7 +1746,7 @@
"onLoadingComplete",
"loader",
"placeholder",
"blurDataURL",
"blurDataURL"
]), layout = sizes ? "responsive" : "intrinsic";
"layout" in all && (all.layout && (layout = all.layout), delete all.layout);
var src1, staticSrc = "";
@ -1952,7 +1952,7 @@
"f_auto",
"c_limit",
"w_" + param.width,
"q_" + (param.quality || "auto"),
"q_" + (param.quality || "auto")
].join(",") + "/";
return "".concat(root).concat(paramsString).concat(normalizeSrc(src));
}
@ -1970,7 +1970,7 @@
var src = param.src;
throw Error('Image with src "'.concat(src, '" is missing "loader" prop.') + "\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader");
}
],
]
]);
function isStaticRequire(src) {
return void 0 !== src.default;
@ -1984,7 +1984,7 @@
1200,
1920,
2048,
3840,
3840
],
imageSizes: [
16,
@ -2161,7 +2161,7 @@
"imgix",
"cloudinary",
"akamai",
"custom",
"custom"
], exports.imageConfigDefault = {
deviceSizes: [
640,
@ -2288,7 +2288,7 @@
const libraryMismatch = library.match(/\s|\//), versionMismatch = version.match(/\s|\//);
if (libraryMismatch || versionMismatch) {
const warning = [
`Unable to register library "${library}" with version "${version}":`,
`Unable to register library "${library}" with version "${version}":`
];
libraryMismatch && warning.push(`library name "${library}" contains illegal characters (whitespace or "/")`), libraryMismatch && versionMismatch && warning.push("and"), versionMismatch && warning.push(`version name "${version}" contains illegal characters (whitespace or "/")`), logger.warn(warning.join(" "));
return;
@ -2401,5 +2401,5 @@
}
}
}
},
}
]);

View File

@ -895,7 +895,7 @@
">",
">=",
"!=",
"not-in",
"not-in"
].indexOf(this.op) >= 0;
}
}
@ -1903,7 +1903,7 @@
"projects",
t1.projectId,
"databases",
t1.database,
t1.database
]).child("documents").child(e).canonicalString();
}
function Yn(t) {
@ -1911,7 +1911,7 @@
"projects",
t.databaseId.projectId,
"databases",
t.databaseId.database,
t.databaseId.database
]).canonicalString();
}
function Xn(t) {
@ -2014,7 +2014,7 @@
}
Ns.store = "remoteDocuments", Ns.readTimeIndex = "readTimeIndex", Ns.readTimeIndexPath = "readTime", Ns.collectionReadTimeIndex = "collectionReadTimeIndex", Ns.collectionReadTimeIndexPath = [
"parentPath",
"readTime",
"readTime"
];
class xs {
constructor(t){
@ -3014,7 +3014,7 @@
return js.or([
()=>js.resolve(this.Ds.containsKey(e)),
()=>this.persistence.getTargetCache().containsKey(t, e),
()=>this.persistence.Ss(t, e),
()=>this.persistence.Ss(t, e)
]);
}
}
@ -3205,7 +3205,7 @@
"google.firestore.v1.Firestore",
"/",
t,
"/channel",
"/channel"
], s = (0, _firebase_webchannel_wrapper__WEBPACK_IMPORTED_MODULE_4__.UE)(), i = (0, _firebase_webchannel_wrapper__WEBPACK_IMPORTED_MODULE_4__.FJ)(), r = {
httpSessionIdParam: "gsessionid",
initMessageHeaders: {},
@ -3456,11 +3456,11 @@
{
collectionId: e.collectionGroup,
allDescendants: !0
},
}
]) : (n.parent = Hn(t, s.popLast()), n.structuredQuery.from = [
{
collectionId: s.lastSegment()
},
}
]);
const i = function(t) {
if (0 === t.length) return;
@ -4993,5 +4993,5 @@
}, "PUBLIC")), (0, _firebase_app__WEBPACK_IMPORTED_MODULE_0__.KN)(S, "3.3.0", void 0), (0, _firebase_app__WEBPACK_IMPORTED_MODULE_0__.KN)(S, "3.3.0", "esm2017");
}();
}
},
}
]);

View File

@ -663,7 +663,7 @@
"YYYY",
/\d{4}/,
!1
],
]
], isoTimes = [
[
"HH:mm:ss.SSSS",
@ -700,7 +700,7 @@
[
"HH",
/\d\d/
],
]
], aspNetJsonRegex = /^\/?Date\((-?\d+)/i, rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, obsOffsets = {
UT: 0,
GMT: 0,
@ -756,7 +756,7 @@
defaultLocaleMonthsShort.indexOf(monthStr),
parseInt(dayStr, 10),
parseInt(hourStr, 10),
parseInt(minuteStr, 10),
parseInt(minuteStr, 10)
], secondStr && result.push(parseInt(secondStr, 10)), parsedArray = result, weekdayStr = match[1], parsedInput = parsedArray, config1 = config, weekdayStr && defaultLocaleWeekdaysShort.indexOf(weekdayStr) !== new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay() && (getParsingFlags(config1).weekdayMismatch = !0, config1._isValid = !1, 1)) return;
config._a = parsedArray, config._tzm = function(obsOffset, militaryOffset, numOffset) {
if (obsOffset) return obsOffsets[obsOffset];
@ -775,11 +775,11 @@
for(config2 = config, nowValue = new Date(hooks.now()), currentDate = config2._useUTC ? [
nowValue.getUTCFullYear(),
nowValue.getUTCMonth(),
nowValue.getUTCDate(),
nowValue.getUTCDate()
] : [
nowValue.getFullYear(),
nowValue.getMonth(),
nowValue.getDate(),
nowValue.getDate()
], config._w && null == config._a[2] && null == config._a[1] && (null != (w = (config1 = config)._w).GG || null != w.W || null != w.E ? (dow = 1, doy = 4, weekYear = defaults(w.GG, config1._a[0], weekOfYear(createLocal(), 1, 4).year), week = defaults(w.W, 1), ((weekday = defaults(w.E, 1)) < 1 || weekday > 7) && (weekdayOverflow = !0)) : (dow = config1._locale._week.dow, doy = config1._locale._week.doy, curWeek = weekOfYear(createLocal(), dow, doy), weekYear = defaults(w.gg, config1._a[0], curWeek.year), week = defaults(w.w, curWeek.week), null != w.d ? ((weekday = w.d) < 0 || weekday > 6) && (weekdayOverflow = !0) : null != w.e ? (weekday = w.e + dow, (w.e < 0 || w.e > 6) && (weekdayOverflow = !0)) : weekday = dow), week < 1 || week > weeksInYear(weekYear, dow, doy) ? getParsingFlags(config1)._overflowWeeks = !0 : null != weekdayOverflow ? getParsingFlags(config1)._overflowWeekday = !0 : (temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), config1._a[0] = temp.year, config1._dayOfYear = temp.dayOfYear)), null != config._dayOfYear && (yearToUse = defaults(config._a[0], currentDate[0]), (config._dayOfYear > daysInYear(yearToUse) || 0 === config._dayOfYear) && (getParsingFlags(config)._overflowDayOfYear = !0), date = createUTCDate(yearToUse, 0, config._dayOfYear), config._a[1] = date.getUTCMonth(), config._a[2] = date.getUTCDate()), i = 0; i < 3 && null == config._a[i]; ++i)config._a[i] = input[i] = currentDate[i];
for(; i < 7; i++)config._a[i] = input[i] = null == config._a[i] ? 2 === i ? 1 : 0 : config._a[i];
24 === config._a[3] && 0 === config._a[4] && 0 === config._a[5] && 0 === config._a[6] && (config._nextDay = !0, config._a[3] = 0), config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input), expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay(), null != config._tzm && config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm), config._nextDay && (config._a[3] = 24), config._w && void 0 !== config._w.d && config._w.d !== expectedWeekday && (getParsingFlags(config).weekdayMismatch = !0);
@ -830,7 +830,7 @@
i.hour,
i.minute,
i.second,
i.millisecond,
i.millisecond
], function(obj) {
return obj && parseInt(obj, 10);
}), configFromArray(config);
@ -871,7 +871,7 @@
"hour",
"minute",
"second",
"millisecond",
"millisecond"
];
function Duration(duration) {
var normalizedInput = normalizeObjectUnits(duration), years = normalizedInput.year || 0, quarters = normalizedInput.quarter || 0, months = normalizedInput.month || 0, weeks = normalizedInput.week || normalizedInput.isoWeek || 0, days = normalizedInput.day || 0, hours = normalizedInput.hour || 0, minutes = normalizedInput.minute || 0, seconds = normalizedInput.second || 0, milliseconds = normalizedInput.millisecond || 0;
@ -1200,7 +1200,7 @@
"s",
"milliseconds",
"millisecond",
"ms",
"ms"
];
for(i = 0; i < properties.length; i += 1)property = properties[i], propertyTest = propertyTest || hasOwnProp(input, property);
return objectTest && propertyTest;
@ -1211,7 +1211,7 @@
"lastDay",
"nextWeek",
"lastWeek",
"sameElse",
"sameElse"
];
for(i = 0; i < properties.length; i += 1)property = properties[i], propertyTest = propertyTest || hasOwnProp(input, property);
return objectTest && propertyTest;
@ -1385,7 +1385,7 @@
this.hour(),
this.minute(),
this.second(),
this.millisecond(),
this.millisecond()
];
}, proto.toObject = function() {
return {
@ -1665,7 +1665,7 @@
name: "Before Christ",
narrow: "BC",
abbr: "BC"
},
}
],
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
ordinal: function(number) {

View File

@ -196,7 +196,7 @@
for(i = 0; i < points.length; i++)sum += points[i].rad;
center.rad = sum / points.length, center.vec = vec2.clone([
Math.cos(center.rad),
Math.sin(center.rad),
Math.sin(center.rad)
]);
}
return _add(point), updateCenter(), {
@ -532,7 +532,7 @@
for(y = 0; y < height; y++)for(x = 0, ysq = y * y; x < width; x++)(val = data[y * width + x]) > 0 && (label = labelSum[val - 1], label.m00 += 1, label.m01 += y, label.m10 += x, label.m11 += x * y, label.m02 += ysq, label.m20 += x * x);
for(i = 0; i < labelCount; i++)isNaN((label = labelSum[i]).m00) || 0 === label.m00 || (x_ = label.m10 / label.m00, y_ = label.m01 / label.m00, mu11 = label.m11 / label.m00 - x_ * y_, tmp = 0.5 * Math.atan(tmp = (label.m02 / label.m00 - y_ * y_ - (label.m20 / label.m00 - x_ * x_)) / (2 * mu11)) + (mu11 >= 0 ? PI_4 : -PI_4) + PI, label.theta = (180 * tmp / PI + 90) % 180 - 90, label.theta < 0 && (label.theta += 180), label.rad = tmp > PI ? tmp - PI : tmp, label.vec = vec2.clone([
Math.cos(tmp),
Math.sin(tmp),
Math.sin(tmp)
]), result.push(label));
return result;
}
@ -586,7 +586,7 @@
}
ctx.putImageData(frame, from.x, from.y);
}
},
}
]), ImageWrapper;
}();
__webpack_exports__.a = ImageWrapper;
@ -703,7 +703,7 @@
[
-1,
1
],
]
],
create: function(imageWrapper, labelWrapper) {
var pos, imageData = imageWrapper.data, labelData = labelWrapper.data, searchDirections = this.searchDirections, width = imageWrapper.size.x;
@ -777,7 +777,7 @@
Math.cos(overAvg),
Math.sin(overAvg),
-Math.sin(overAvg),
Math.cos(overAvg),
Math.cos(overAvg)
]), i = 0; i < patches.length; i++){
for(j = 0, patch = patches[i]; j < 4; j++)gl_vec2__WEBPACK_IMPORTED_MODULE_0__.transformMat2(patch.box[j], patch.box[j], transMat);
_config.debug.boxFromPatches.showTransformed && _common_image_debug__WEBPACK_IMPORTED_MODULE_5__.a.drawPath(patch.box, {
@ -805,7 +805,7 @@
[
minx,
maxy
],
]
], _config.debug.boxFromPatches.showTransformedBox && _common_image_debug__WEBPACK_IMPORTED_MODULE_5__.a.drawPath(box, {
x: 0,
y: 1
@ -857,12 +857,12 @@
]),
gl_vec2__WEBPACK_IMPORTED_MODULE_0__.clone([
x + _subImageWrapper.size.x,
y + _subImageWrapper.size.y,
y + _subImageWrapper.size.y
]),
gl_vec2__WEBPACK_IMPORTED_MODULE_0__.clone([
x,
y + _subImageWrapper.size.y
]),
])
],
moments: matchingMoments,
rad: avg,
@ -2756,7 +2756,7 @@
this.tryEntries = [
{
tryLoc: "root"
},
}
], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
}
function values(iterable) {
@ -3343,7 +3343,7 @@
}
return counters;
}
},
}
], [
{
key: "Exception",
@ -3354,7 +3354,7 @@
PatternNotFoundException: "Pattern could not be found!"
};
}
},
}
]), BarcodeReader;
}(), code_128_reader = function(_BarcodeReader) {
inherits_default()(Code128Reader, _BarcodeReader);
@ -4237,7 +4237,7 @@
1,
1,
2
],
]
]), defineProperty_default()(assertThisInitialized_default()(_this), "SINGLE_CODE_ERROR", 0.64), defineProperty_default()(assertThisInitialized_default()(_this), "AVG_CODE_ERROR", 0.3), defineProperty_default()(assertThisInitialized_default()(_this), "FORMAT", "code_128"), defineProperty_default()(assertThisInitialized_default()(_this), "MODULE_INDICES", {
bar: [
0,
@ -4432,7 +4432,7 @@
for(var length = indices.length, sumNormalized = 0, sumExpected = 0; length--;)sumExpected += expected[indices[length]], sumNormalized += normalized[indices[length]];
return sumExpected / sumNormalized;
}
},
}
]), Code128Reader;
}(barcode_reader);
function ownKeys(object, enumerableOnly) {
@ -4590,7 +4590,7 @@
1,
1,
3
],
]
], CODE_FREQUENCY = [
0,
11,
@ -4802,7 +4802,7 @@
format: this.FORMAT
});
}
},
}
]), EANReader;
}(barcode_reader), toConsumableArray = __webpack_require__(33), toConsumableArray_default = __webpack_require__.n(toConsumableArray), ALPHABET = new Uint16Array(toConsumableArray_default()("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%").map(function(_char) {
return _char.charCodeAt(0);
@ -4850,7 +4850,7 @@
0x0a8,
0x0a2,
0x08a,
0x02a,
0x02a
]), code_39_reader = function(_BarcodeReader) {
inherits_default()(Code39Reader, _BarcodeReader);
var hasNativeReflectConstruct, _super = (hasNativeReflectConstruct = function() {
@ -4890,7 +4890,7 @@
0,
0,
0,
0,
0
]), counterPos = 0, isWhite = !1, i = offset; i < this._row.length; i++)if (this._row[i] ^ (isWhite ? 1 : 0)) counter[counterPos]++;
else {
if (counterPos === counter.length - 1) {
@ -4957,7 +4957,7 @@
0,
0,
0,
0,
0
]), result = [];
if (!(start = this._findStart())) return null;
var nextStart = this._nextSet(this._row, start.end);
@ -4976,7 +4976,7 @@
format: this.FORMAT
} : null;
}
},
}
]), Code39Reader;
}(barcode_reader), get = __webpack_require__(13), get_default = __webpack_require__.n(get), patterns = {
IOQ: /[IOQ]/g,
@ -5022,7 +5022,7 @@
var code = result.code;
return code ? (code = code.replace(patterns.IOQ, "")).match(patterns.AZ09) ? this._checkChecksum(code) ? (result.code = code, result) : null : (console.log("Failed AZ09 pattern code:", code), null) : null;
}
},
}
]), Code39VINReader;
}(code_39_reader), codabar_reader_ALPHABET = [
48,
@ -5044,7 +5044,7 @@
65,
66,
67,
68,
68
], codabar_reader_CHARACTER_ENCODINGS = [
0x003,
0x006,
@ -5065,7 +5065,7 @@
0x01a,
0x029,
0x00b,
0x00e,
0x00e
], START_END = [
0x01a,
0x029,
@ -5257,7 +5257,7 @@
format: this.FORMAT
};
}
},
}
]), NewCodabarReader;
}(barcode_reader), upc_reader = function(_EANReader) {
inherits_default()(UPCReader, _EANReader);
@ -5292,7 +5292,7 @@
var result = ean_reader.prototype.decode.call(this);
return result && result.code && 13 === result.code.length && "0" === result.code.charAt(0) ? (result.code = result.code.substring(1), result) : null;
}
},
}
]), UPCReader;
}(ean_reader), ean_8_reader = function(_EANReader) {
inherits_default()(EAN8Reader, _EANReader);
@ -5336,7 +5336,7 @@
}
return code;
}
},
}
]), EAN8Reader;
}(ean_reader), ean_2_reader = function(_EANReader) {
inherits_default()(EAN2Reader, _EANReader);
@ -5386,7 +5386,7 @@
start: startInfo.start
};
}
},
}
]), EAN2Reader;
}(ean_reader), CHECK_DIGIT_ENCODINGS = [
24,
@ -5398,7 +5398,7 @@
3,
10,
9,
5,
5
], ean_5_reader = function(_EANReader) {
inherits_default()(EAN5Reader, _EANReader);
var hasNativeReflectConstruct, _super = (hasNativeReflectConstruct = function() {
@ -5454,7 +5454,7 @@
start: startInfo.start
};
}
},
}
]), EAN5Reader;
}(ean_reader);
function upc_e_reader_ownKeys(object, enumerableOnly) {
@ -5515,14 +5515,14 @@
21,
22,
26
],
]
]), defineProperty_default()(assertThisInitialized_default()(_this), "STOP_PATTERN", [
1 / 6 * 7,
1 / 6 * 7,
1 / 6 * 7,
1 / 6 * 7,
1 / 6 * 7,
1 / 6 * 7,
1 / 6 * 7
]), defineProperty_default()(assertThisInitialized_default()(_this), "FORMAT", "upc_e"), _this;
}
return createClass_default()(UPCEReader, [
@ -5605,7 +5605,7 @@
var trailingWhitespaceEnd = endInfo.end + (endInfo.end - endInfo.start) / 2;
return trailingWhitespaceEnd < this._row.length && this._matchRange(endInfo.end, trailingWhitespaceEnd, 0) ? endInfo : null;
}
},
}
]), UPCEReader;
}(ean_reader), i2of5_reader = function(_BarcodeReader) {
inherits_default()(I2of5Reader, _BarcodeReader);
@ -5711,7 +5711,7 @@
1,
3,
1
],
]
]), defineProperty_default()(assertThisInitialized_default()(_this), "MAX_CORRECTION_FACTOR", 5), defineProperty_default()(assertThisInitialized_default()(_this), "FORMAT", "i2of5"), opts.normalizeBarSpaceWidth && (_this.SINGLE_CODE_ERROR = 0.38, _this.AVG_CODE_ERROR = 0.09), _this.config = opts, possibleConstructorReturn_default()(_this, assertThisInitialized_default()(_this));
}
return createClass_default()(I2of5Reader, [
@ -5830,7 +5830,7 @@
0,
0,
0
],
]
], codes = null; pos < counterLength;){
for(var i = 0; i < 5; i++)counterPair[0][i] = counters[pos] * this.barSpaceRatio[0], counterPair[1][i] = counters[pos + 1] * this.barSpaceRatio[1], pos += 2;
if (!(codes = this._decodePair(counterPair))) return null;
@ -5863,7 +5863,7 @@
format: this.FORMAT
}) : null;
}
},
}
]), I2of5Reader;
}(barcode_reader), _2of5_reader_START_PATTERN = [
3,
@ -5871,84 +5871,84 @@
3,
1,
1,
1,
1
], STOP_PATTERN = [
3,
1,
1,
1,
3,
3
], _2of5_reader_CODE_PATTERN = [
[
1,
1,
3,
3,
1,
1
],
[
3,
1,
1,
1,
3,
3
],
[
1,
3,
1,
1,
3,
3
],
[
3,
3,
1,
1,
1,
1
],
[
1,
1,
3,
1,
3,
3
],
[
3,
1,
3,
1,
1,
1
],
[
1,
3,
3,
1,
1,
1
],
[
1,
1,
1,
3,
3,
3
],
[
3,
1,
1,
3,
1,
1
],
[
1,
3,
1,
3,
1,
],
1
]
], START_PATTERN_LENGTH = _2of5_reader_START_PATTERN.reduce(function(sum, val) {
return sum + val;
}, 0), _2of5_reader = function(_BarcodeReader) {
@ -6094,7 +6094,7 @@
format: this.FORMAT
});
}
},
}
]), TwoOfFiveReader;
}(barcode_reader), code_93_reader_ALPHABET = new Uint16Array(toConsumableArray_default()("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*").map(function(_char) {
return _char.charCodeAt(0);
@ -6146,7 +6146,7 @@
0x1da,
0x1d6,
0x132,
0x15e,
0x15e
]), code_93_reader = function(_BarcodeReader) {
inherits_default()(Code93Reader, _BarcodeReader);
var hasNativeReflectConstruct, _super = (hasNativeReflectConstruct = function() {
@ -6204,7 +6204,7 @@
0,
0,
0,
0,
0
]), counterPos = 0, isWhite = !1, i = offset; i < this._row.length; i++)if (this._row[i] ^ (isWhite ? 1 : 0)) counter[counterPos]++;
else {
if (counterPos === counter.length - 1) {
@ -6298,7 +6298,7 @@
0,
0,
0,
0,
0
]), result = [], nextStart = this._nextSet(this._row, start.end);
do {
counters = this._toCounters(nextStart, counters);
@ -6315,7 +6315,7 @@
format: this.FORMAT
} : null;
}
},
}
]), Code93Reader;
}(barcode_reader), code_32_reader_patterns = {
AEIO: /[AEIO]/g,
@ -6372,7 +6372,7 @@
var code32 = this._decodeCode32(code);
return code32 ? (result.code = code32, result) : null;
}
},
}
]), Code32Reader;
}(code_39_reader), READERS = {
code_128_reader: code_128_reader,
@ -6456,7 +6456,7 @@
{
x: (box[3][0] - box[2][0]) / 2 + box[2][0],
y: (box[3][1] - box[2][1]) / 2 + box[2][1]
},
}
])[1].y - line1[0].y), 2) + Math.pow(Math.abs(line1[1].x - line1[0].x), 2)), lineAngle = Math.atan2(line[1].y - line[0].y, line[1].x - line[0].x);
return null === (line = function(line, angle, ext) {
function extendLine(amount) {
@ -6504,7 +6504,7 @@
{
node: _canvas.dom.pattern,
prop: config.debug.showPattern
},
}
];
for(i = 0; i < vis.length; i++)!0 === vis[i].prop ? vis[i].node.style.display = "block" : vis[i].node.style.display = "none";
}
@ -6671,7 +6671,7 @@
"height",
"facingMode",
"aspectRatio",
"deviceId",
"deviceId"
]), void 0 !== videoConstraints.minAspectRatio && videoConstraints.minAspectRatio > 0 && (normalized.aspectRatio = videoConstraints.minAspectRatio, console.log("WARNING: Constraint 'minAspectRatio' is deprecated; Use 'aspectRatio' instead")), void 0 !== videoConstraints.facing && (normalized.facingMode = videoConstraints.facing, console.log("WARNING: Constraint 'facing' is deprecated. Use 'facingMode' instead'")), normalized);
return video && video.deviceId && video.facingMode && delete video.facingMode, Promise.resolve({
audio: !1,
@ -7198,7 +7198,7 @@
}
function initWorker(config, inputStream, cb) {
var blob, factorySource, blobURL = ("undefined" != typeof __factorySource__ && (factorySource = __factorySource__), blob = new Blob([
"(" + workerInterface.toString() + ")(" + factorySource + ");",
"(" + workerInterface.toString() + ")(" + factorySource + ");"
], {
type: "text/javascript"
}), window.URL.createObjectURL(blob)), workerThread = {
@ -7284,12 +7284,12 @@
]),
Object(gl_vec2.clone)([
inputImageWrapper.size.x,
inputImageWrapper.size.y,
inputImageWrapper.size.y
]),
Object(gl_vec2.clone)([
inputImageWrapper.size.x,
0
]),
])
], barcode_locator.a.init(inputImageWrapper, locator), {
inputImageWrapper: inputImageWrapper,
boxSize: boxSize
@ -7404,8 +7404,8 @@
Object(gl_vec2.clone)(this.context.boxSize[0]),
Object(gl_vec2.clone)(this.context.boxSize[1]),
Object(gl_vec2.clone)(this.context.boxSize[2]),
Object(gl_vec2.clone)(this.context.boxSize[3]),
],
Object(gl_vec2.clone)(this.context.boxSize[3])
]
];
}
},
@ -7520,7 +7520,7 @@
});
});
}
},
}
]), Quagga;
}(), instance = new quagga_Quagga(), quagga_context = instance.context, QuaggaJSStaticInterface = {
init: function(config, cb, imageWrapper) {

View File

@ -126,7 +126,7 @@ var ItemsList = function(_Component) {
key: "shouldComponentUpdate",
value: function(nextProps) {
return (0, _compareObjects.default)(nextProps, this.props, [
"itemProps",
"itemProps"
]);
}
},
@ -164,14 +164,14 @@ var ItemsList = function(_Component) {
}));
}));
}
},
}
], _defineProperties(ItemsList.prototype, protoProps), staticProps && _defineProperties(ItemsList, staticProps), ItemsList;
}(_react.Component);
exports.default = ItemsList, _defineProperty(ItemsList, "propTypes", {
items: _propTypes.default.array.isRequired,
itemProps: _propTypes.default.oneOfType([
_propTypes.default.object,
_propTypes.default.func,
_propTypes.default.func
]),
renderItem: _propTypes.default.func.isRequired,
renderItemData: _propTypes.default.object.isRequired,

View File

@ -96,7 +96,7 @@ var ItemsList = function(Component) {
})
}));
}
},
}
], _defineProperties(ItemsList.prototype, protoProps), staticProps && _defineProperties(ItemsList, staticProps), ItemsList;
}(Component);
ItemsList.propTypes = {

View File

@ -124,7 +124,7 @@
"onLoadingComplete",
"loader",
"placeholder",
"blurDataURL",
"blurDataURL"
]), layout = sizes ? "responsive" : "intrinsic";
"layout" in all && (all.layout && (layout = all.layout), delete all.layout);
var src1, staticSrc = "";
@ -330,7 +330,7 @@
"f_auto",
"c_limit",
"w_" + param.width,
"q_" + (param.quality || "auto"),
"q_" + (param.quality || "auto")
].join(",") + "/";
return "".concat(root).concat(paramsString).concat(normalizeSrc(src));
}
@ -348,7 +348,7 @@
var src = param.src;
throw Error('Image with src "'.concat(src, '" is missing "loader" prop.') + "\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader");
}
],
]
]);
function isStaticRequire(src) {
return void 0 !== src.default;
@ -362,7 +362,7 @@
1200,
1920,
2048,
3840,
3840
],
imageSizes: [
16,
@ -539,7 +539,7 @@
"imgix",
"cloudinary",
"akamai",
"custom",
"custom"
], exports.imageConfigDefault = {
deviceSizes: [
640,
@ -669,7 +669,7 @@
"onStart",
"onPauseResume",
"onReset",
"onUpdate",
"onUpdate"
], DEFAULTS = {
decimal: ".",
delay: null,
@ -743,7 +743,7 @@
props.separator,
props.decimals,
props.decimal,
props.formattingFn,
props.formattingFn
]), React.useEffect(function() {
return function() {
reset();
@ -762,7 +762,7 @@
"redraw",
"containerProps",
"children",
"style",
"style"
], CountUp = function(props) {
var className = props.className, redraw = props.redraw, containerProps = props.containerProps, children = props.children, style = props.style, useCountUpProps = _objectWithoutProperties(props, _excluded), containerRef = React__default.default.useRef(null), isInitializedRef = React__default.default.useRef(!1), _useCountUp = useCountUp(_objectSpread2(_objectSpread2({}, useCountUpProps), {}, {
ref: containerRef,
@ -807,7 +807,7 @@
props.decimals,
props.decimal,
props.className,
props.formattingFn,
props.formattingFn
]), React.useEffect(function() {
isInitializedRef.current = !0;
}, []), "function" == typeof children) ? children({
@ -825,5 +825,5 @@
};
exports.ZP = CountUp;
}
},
}
]);

View File

@ -73,7 +73,7 @@ export default function createInstantSearchManager({ indexName , initialState ={
results.reduce((acc, result)=>acc.concat(result.rawResults.map((request)=>({
indexName: request.index,
params: request.params
}))), []),
}))), [])
]
}, {
results: results.reduce((acc, result)=>acc.concat(result.rawResults), [])
@ -103,7 +103,7 @@ export default function createInstantSearchManager({ indexName , initialState ={
results.rawResults.map((request)=>({
indexName: request.index,
params: request.params
})),
}))
]
}, {
results: results.rawResults

View File

@ -88,7 +88,7 @@ export default function createInstantSearchManager({ indexName , initialState ={
results.reduce((acc, result)=>acc.concat(result.rawResults.map((request)=>({
indexName: request.index,
params: request.params
}))), []),
}))), [])
]
}, {
results: results.reduce((acc, result)=>acc.concat(result.rawResults), [])
@ -118,7 +118,7 @@ export default function createInstantSearchManager({ indexName , initialState ={
results.rawResults.map((request)=>({
indexName: request.index,
params: request.params
})),
}))
]
}, {
results: results.rawResults

View File

@ -105,7 +105,7 @@ export default function createInstantSearchManager(param) {
var error = param.error, currentState = store.getState(), nextIsSearchStalled = currentState.isSearchStalled;
helper.hasPendingRequests() || (clearTimeout(stalledSearchTimer), nextIsSearchStalled = !1), currentState.resultsFacetValues;
var partialState = swcHelpers.objectWithoutProperties(currentState, [
"resultsFacetValues",
"resultsFacetValues"
]);
store.setState(swcHelpers.objectSpread({}, partialState, {
isSearchStalled: nextIsSearchStalled,
@ -115,7 +115,7 @@ export default function createInstantSearchManager(param) {
}, handleNewSearch = function() {
stalledSearchTimer || (stalledSearchTimer = setTimeout(function() {
var _ref = store.getState(), partialState = (_ref.resultsFacetValues, swcHelpers.objectWithoutProperties(_ref, [
"resultsFacetValues",
"resultsFacetValues"
]));
store.setState(swcHelpers.objectSpread({}, partialState, {
isSearchStalled: !0
@ -133,7 +133,7 @@ export default function createInstantSearchManager(param) {
params: request.params
};
}));
}, []),
}, [])
]
}, {
results: results.reduce(function(acc, result) {
@ -167,7 +167,7 @@ export default function createInstantSearchManager(param) {
indexName: request.index,
params: request.params
};
}),
})
]
}, {
results: results.rawResults

View File

@ -49,7 +49,7 @@ class LoadScript extends React.PureComponent {
_jsx("div", {
ref: this.check
}),
this.state.loaded ? this.props.children : this.props.loadingElement || _jsx(DefaultLoadingElement, {}),
this.state.loaded ? this.props.children : this.props.loadingElement || _jsx(DefaultLoadingElement, {})
]
});
}

View File

@ -7,9 +7,9 @@ import _JSXStyle from "styled-jsx/style";
right ? "row-reverse" : "row",
sidebarWidth,
breakpoint,
top ? "column" : "column-reverse",
],
],
top ? "column" : "column-reverse"
]
]
])
}, React.createElement(Sidebar, {
width: sidebarWidth,
@ -24,9 +24,9 @@ import _JSXStyle from "styled-jsx/style";
right ? "row-reverse" : "row",
sidebarWidth,
breakpoint,
top ? "column" : "column-reverse",
],
],
top ? "column" : "column-reverse"
]
]
])
}, children), React.createElement(_JSXStyle, {
id: "4507deac72c40d6c",
@ -34,6 +34,6 @@ import _JSXStyle from "styled-jsx/style";
right ? "row-reverse" : "row",
sidebarWidth,
breakpoint,
top ? "column" : "column-reverse",
top ? "column" : "column-reverse"
]
}, `main.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:${right ? "row-reverse" : "row"};-ms-flex-direction:${right ? "row-reverse" : "row"};flex-direction:${right ? "row-reverse" : "row"};-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--geist-gap-double)}div.__jsx-style-dynamic-selector{width:100%;max-width:-webkit-calc(100% - ${sidebarWidth}px - var(--geist-gap-double));max-width:-moz-calc(100% - ${sidebarWidth}px - var(--geist-gap-double));max-width:calc(100% - ${sidebarWidth}px - var(--geist-gap-double))}@media(max-width:${breakpoint}px){main.__jsx-style-dynamic-selector{-webkit-flex-direction:${top ? "column" : "column-reverse"};-ms-flex-direction:${top ? "column" : "column-reverse"};flex-direction:${top ? "column" : "column-reverse"}}div.__jsx-style-dynamic-selector{max-width:unset}}`)))({});

View File

@ -35,7 +35,7 @@
var chrome = !ie && /Chrome\/(\d+)/.exec(navigator.userAgent);
result.chrome = !!chrome, result.chrome_version = chrome && +chrome[1], result.safari = !ie && /Apple Computer/.test(navigator.vendor), result.ios = result.safari && (/Mobile\/\w+/.test(navigator.userAgent) || navigator.maxTouchPoints > 2), result.mac = result.ios || /Mac/.test(navigator.platform), result.android = /Android \d/.test(navigator.userAgent), result.webkit = "webkitFontSmoothing" in document.documentElement.style, result.webkit_version = result.webkit && +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [
0,
0,
0
])[1];
}
var domIndex = function(node) {
@ -2148,7 +2148,7 @@
var result = f(view.state);
result && result != empty && found.push(result);
}), view.cursorWrapper && found.push(DecorationSet.create(view.state.doc, [
view.cursorWrapper.deco,
view.cursorWrapper.deco
])), DecorationGroup.from(found);
}
DecorationGroup.prototype.map = function(mapping, doc) {
@ -2705,5 +2705,5 @@
dispatchTransaction ? dispatchTransaction.call(this, tr) : this.updateState(this.state.apply(tr));
}, Object.defineProperties(EditorView.prototype, prototypeAccessors$2);
}
},
}
]);

View File

@ -28,7 +28,7 @@
"fullscreenEnabled",
"fullscreenchange",
"fullscreenerror",
"fullscreen",
"fullscreen"
],
[
"webkitRequestFullscreen",
@ -37,7 +37,7 @@
"webkitFullscreenEnabled",
"webkitfullscreenchange",
"webkitfullscreenerror",
"-webkit-full-screen",
"-webkit-full-screen"
],
[
"mozRequestFullScreen",
@ -46,7 +46,7 @@
"mozFullScreenEnabled",
"mozfullscreenchange",
"mozfullscreenerror",
"-moz-full-screen",
"-moz-full-screen"
],
[
"msRequestFullscreen",
@ -55,8 +55,8 @@
"msFullscreenEnabled",
"MSFullscreenChange",
"MSFullscreenError",
"-ms-fullscreen",
],
"-ms-fullscreen"
]
], specApi = apiMap[0], i = 0; i < apiMap.length; i++)if (apiMap[i][1] in global_document__WEBPACK_IMPORTED_MODULE_1___default()) {
browserApi = apiMap[i];
break;
@ -281,7 +281,7 @@
"left",
"right",
"top",
"width",
"width"
].forEach(function(k) {
void 0 !== rect[k] && (result[k] = rect[k]);
}), result.height || (result.height = parseFloat(computedStyle(el, "height"))), result.width || (result.width = parseFloat(computedStyle(el, "width"))), result;
@ -1059,7 +1059,7 @@
[
"setIntervalIds_",
"clearInterval"
],
]
].forEach(function(_ref) {
var idName = _ref[0], cancelName = _ref[1];
_this5[idName].forEach(function(val, key) {
@ -1132,7 +1132,7 @@
"MEDIA_ERR_NETWORK",
"MEDIA_ERR_DECODE",
"MEDIA_ERR_SRC_NOT_SUPPORTED",
"MEDIA_ERR_ENCRYPTED",
"MEDIA_ERR_ENCRYPTED"
], MediaError.defaultMessages = {
1: "You aborted the media playback",
2: "A network error caused the media download to fail part-way.",
@ -1155,7 +1155,7 @@
"id",
"inBandMetadataTrackDispatchType",
"mode",
"src",
"src"
].reduce(function(acc, prop, i) {
return track[prop] && (acc[prop] = track[prop]), acc;
}, {
@ -1532,7 +1532,7 @@
"pathname",
"search",
"hash",
"host",
"host"
], a = global_document__WEBPACK_IMPORTED_MODULE_1___default().createElement("a");
a.href = url;
for(var details = {}, i = 0; i < props.length; i++)details[props[i]] = a[props[i]];
@ -2071,7 +2071,7 @@
} else src = "string" == typeof src && src.trim() ? [
fixSource({
src: src
}),
})
] : isObject(src) && "string" == typeof src.src && src.src && src.src.trim() ? [
fixSource(src)
] : [];
@ -2318,7 +2318,7 @@
var isAudio = this.player_.isAudio(), playerType = this.localize(isAudio ? "Audio Player" : "Video Player"), controlText = createEl("span", {
className: "vjs-control-text",
textContent: this.localize("{1} is loading.", [
playerType,
playerType
])
}), el = _Component.prototype.createEl.call(this, "div", {
className: "vjs-loading-spinner",
@ -2858,7 +2858,7 @@
var currentTime = _this3.player_.ended() ? _this3.player_.duration() : _this3.getCurrentTime_(), liveTracker = _this3.player_.liveTracker, duration = _this3.player_.duration();
liveTracker && liveTracker.isLive() && (duration = _this3.player_.liveTracker.liveCurrentTime()), _this3.percent_ !== percent && (_this3.el_.setAttribute("aria-valuenow", (100 * percent).toFixed(2)), _this3.percent_ = percent), (_this3.currentTime_ !== currentTime || _this3.duration_ !== duration) && (_this3.el_.setAttribute("aria-valuetext", _this3.localize("progress bar timing: currentTime={1} duration={2}", [
formatTime(currentTime, duration),
formatTime(duration, duration),
formatTime(duration, duration)
], "{1} of {2}")), _this3.currentTime_ = currentTime, _this3.duration_ = duration), _this3.bar && _this3.bar.update(getBoundingClientRect(_this3.el()), _this3.getProgress());
}), percent;
}
@ -3595,7 +3595,7 @@
if ([
"captions",
"descriptions",
"subtitles",
"subtitles"
].indexOf(track.kind) > -1 && "showing" === track.mode) {
allHidden = !1;
break;
@ -4001,7 +4001,7 @@
"descriptionsButton",
"subsCapsButton",
"audioTrackButton",
"fullscreenToggle",
"fullscreenToggle"
]
}, "exitPictureInPicture" in global_document__WEBPACK_IMPORTED_MODULE_1___default() && ControlBar.prototype.options_.children.splice(ControlBar.prototype.options_.children.length - 1, 0, "pictureInPictureToggle"), Component$1.registerComponent("ControlBar", ControlBar);
var ErrorDisplay = function(_ModalDialog) {
@ -4072,7 +4072,7 @@
COLOR_BLUE,
COLOR_YELLOW,
COLOR_MAGENTA,
COLOR_CYAN,
COLOR_CYAN
]
},
backgroundOpacity: {
@ -4097,7 +4097,7 @@
COLOR_BLUE,
COLOR_YELLOW,
COLOR_MAGENTA,
COLOR_CYAN,
COLOR_CYAN
]
},
edgeStyle: {
@ -4124,7 +4124,7 @@
[
"dropshadow",
"Dropshadow"
],
]
]
},
fontFamily: {
@ -4159,7 +4159,7 @@
[
"small-caps",
"Small Caps"
],
]
]
},
fontPercent: {
@ -4202,7 +4202,7 @@
[
"4.00",
"400%"
],
]
],
default: 2,
parser: function(v) {
@ -4267,14 +4267,14 @@
"<" + type + ' id="' + id + '" class="' + ("label" === type ? "vjs-label" : "") + '">',
this.localize(config.label),
"</" + type + ">",
'<select aria-labelledby="' + selectLabelledbyIds + '">',
'<select aria-labelledby="' + selectLabelledbyIds + '">'
].concat(config.options.map(function(o) {
var optionId = id + "-" + o[1].replace(/\W+/g, "");
return [
'<option id="' + optionId + '" value="' + o[0] + '" ',
'aria-labelledby="' + selectLabelledbyIds + " " + optionId + '">',
_this2.localize(o[1]),
"</option>",
"</option>"
].join("");
})).concat("</select>").join("");
}, _proto.createElFgColor_ = function() {
@ -4288,7 +4288,7 @@
'<span class="vjs-text-opacity vjs-opacity">',
this.createElSelect_("textOpacity", legendId),
"</span>",
"</fieldset>",
"</fieldset>"
].join("");
}, _proto.createElBgColor_ = function() {
var legendId = "captions-background-" + this.id_;
@ -4301,7 +4301,7 @@
'<span class="vjs-bg-opacity vjs-opacity">',
this.createElSelect_("backgroundOpacity", legendId),
"</span>",
"</fieldset>",
"</fieldset>"
].join("");
}, _proto.createElWinColor_ = function() {
var legendId = "captions-window-" + this.id_;
@ -4314,7 +4314,7 @@
'<span class="vjs-window-opacity vjs-opacity">',
this.createElSelect_("windowOpacity", legendId),
"</span>",
"</fieldset>",
"</fieldset>"
].join("");
}, _proto.createElColors_ = function() {
return createEl("div", {
@ -4322,7 +4322,7 @@
innerHTML: [
this.createElFgColor_(),
this.createElBgColor_(),
this.createElWinColor_(),
this.createElWinColor_()
].join("")
});
}, _proto.createElFont_ = function() {
@ -4337,7 +4337,7 @@
"</fieldset>",
'<fieldset class="vjs-font-family vjs-track-setting">',
this.createElSelect_("fontFamily", "", "legend"),
"</fieldset>",
"</fieldset>"
].join("")
});
}, _proto.createElControls_ = function() {
@ -4349,14 +4349,14 @@
this.localize("Reset"),
'<span class="vjs-control-text"> ' + defaultsDescription + "</span>",
"</button>",
'<button type="button" class="vjs-done-button">' + this.localize("Done") + "</button>",
'<button type="button" class="vjs-done-button">' + this.localize("Done") + "</button>"
].join("")
});
}, _proto.content = function() {
return [
this.createElColors_(),
this.createElFont_(),
this.createElControls_(),
this.createElControls_()
];
}, _proto.label = function() {
return this.localize("Caption Settings Dialog");
@ -4574,7 +4574,7 @@
tech.el(),
global_window__WEBPACK_IMPORTED_MODULE_0___default().HTMLMediaElement.prototype,
global_window__WEBPACK_IMPORTED_MODULE_0___default().Element.prototype,
innerHTMLDescriptorPolyfill,
innerHTMLDescriptorPolyfill
], "innerHTML"), appendWrapper = function(appendFn) {
return function() {
for(var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++)args[_key] = arguments[_key];
@ -4610,7 +4610,7 @@
var srcDescriptor = getDescriptor([
tech.el(),
global_window__WEBPACK_IMPORTED_MODULE_0___default().HTMLMediaElement.prototype,
srcDescriptorPolyfill,
srcDescriptorPolyfill
], "src"), oldSetAttribute = el.setAttribute, oldLoad = el.load;
Object.defineProperty(el, "src", mergeOptions$3(srcDescriptor, {
set: function(v) {
@ -4766,7 +4766,7 @@
"loop",
"muted",
"playsinline",
"autoplay",
"autoplay"
], i = 0; i < settingsAttrs.length; i++){
var attr = settingsAttrs[i], value = this.options_[attr];
void 0 !== value && (value ? setAttribute(el, attr, attr) : removeAttribute(el, attr), el[attr] = value);
@ -4978,7 +4978,7 @@
"pause",
"ratechange",
"resize",
"volumechange",
"volumechange"
], [
[
"featuresVolumeControl",
@ -5007,7 +5007,7 @@
[
"featuresNativeAudioTracks",
"supportsNativeAudioTracks"
],
]
].forEach(function(_ref) {
var key = _ref[0], fn = _ref[1];
defineLazyProperty(Html5.prototype, key, function() {
@ -5044,7 +5044,7 @@
"autoplay",
"controls",
"loop",
"playsinline",
"playsinline"
].forEach(function(prop) {
Html5.prototype[prop] = function() {
return this.el_[prop] || this.el_.hasAttribute(prop);
@ -5054,7 +5054,7 @@
"defaultMuted",
"autoplay",
"loop",
"playsinline",
"playsinline"
].forEach(function(prop) {
Html5.prototype["set" + toTitleCase$1(prop)] = function(v) {
this.el_[prop] = v, v ? this.el_.setAttribute(prop, prop) : this.el_.removeAttribute(prop);
@ -5078,7 +5078,7 @@
"readyState",
"videoWidth",
"videoHeight",
"crossOrigin",
"crossOrigin"
].forEach(function(prop) {
Html5.prototype[prop] = function() {
return this.el_[prop];
@ -5091,7 +5091,7 @@
"playbackRate",
"defaultPlaybackRate",
"disablePictureInPicture",
"crossOrigin",
"crossOrigin"
].forEach(function(prop) {
Html5.prototype["set" + toTitleCase$1(prop)] = function(v) {
this.el_[prop] = v;
@ -5099,7 +5099,7 @@
}), [
"pause",
"load",
"play",
"play"
].forEach(function(prop) {
Html5.prototype[prop] = function() {
return this.el_[prop]();
@ -5131,7 +5131,7 @@
"timeupdate",
"resize",
"volumechange",
"texttrackchange",
"texttrackchange"
], TECH_EVENTS_QUEUE = {
canplay: "CanPlay",
canplaythrough: "CanPlayThrough",
@ -5144,7 +5144,7 @@
"medium",
"large",
"xlarge",
"huge",
"huge"
], BREAKPOINT_CLASSES = {};
BREAKPOINT_ORDER.forEach(function(k) {
var v = "x" === k.charAt(0) ? "x-" + k.substring(1) : k;
@ -5777,7 +5777,7 @@
"hidden",
"radio",
"reset",
"submit",
"submit"
].indexOf(el.type) : -1 !== [
"textarea"
].indexOf(tagName)) || ("function" == typeof userActions.hotkeys ? userActions.hotkeys.call(this, event) : this.handleHotkeys(event)));
@ -6114,7 +6114,7 @@
{
src: poster,
type: getMimetype(poster)
},
}
]), src && this.src(src), poster && this.poster(poster), Array.isArray(textTracks) && textTracks.forEach(function(tt) {
return _this19.addRemoteTextTrack(tt, !1);
}), this.ready(ready);
@ -6136,7 +6136,7 @@
{
src: media.poster,
type: getMimetype(media.poster)
},
}
]), media;
}
return mergeOptions$3(this.cache_.media);
@ -6190,7 +6190,7 @@
"controlBar",
"errorDisplay",
"textTrackSettings",
"resizeManager",
"resizeManager"
],
language: navigator && (navigator.languages && navigator.languages[0] || navigator.userLanguage || navigator.language) || "en",
languages: {},
@ -6208,7 +6208,7 @@
"seeking",
"seekable",
"networkState",
"readyState",
"readyState"
].forEach(function(fn) {
Player.prototype[fn] = function() {
return this.techGet_(fn);
@ -6384,7 +6384,7 @@
"getAttributes",
"emptyEl",
"appendContent",
"insertContent",
"insertContent"
].forEach(function(k) {
videojs[k] = function() {
return log$1.warn("videojs." + k + "() is deprecated; use videojs.dom." + k + "() instead"), Dom[k].apply(null, arguments);
@ -6400,7 +6400,7 @@
var i, results = [];
if (timeRanges && timeRanges.length) for(i = 0; i < timeRanges.length; i++)predicate(timeRanges.start(i), timeRanges.end(i)) && results.push([
timeRanges.start(i),
timeRanges.end(i),
timeRanges.end(i)
]);
return videojs.createTimeRanges(results);
}, findRange = function(buffered, time) {
@ -6740,7 +6740,7 @@
"serverControl",
"renditionReports",
"partInf",
"partTargetDuration",
"partTargetDuration"
].forEach(function(k) {
manifest.hasOwnProperty(k) && delete manifest[k];
}), manifest.segments && manifest.segments.forEach(function(segment) {
@ -6802,7 +6802,7 @@
id: id,
resolvedUri: uri,
attributes: {}
},
}
]
};
return master.playlists[id] = master.playlists[0], master.playlists[uri] = master.playlists[0], master;
@ -6821,7 +6821,7 @@
if (p.attributes && p.attributes.AUDIO && p.attributes.AUDIO === groupKey) return;
}
properties.playlists = [
(0, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_15__.Z)({}, properties),
(0, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_15__.Z)({}, properties)
];
}
properties.playlists.forEach(function(p, i) {
@ -7137,7 +7137,7 @@
return [
byterange.length,
byterange.offset,
initSegment.resolvedUri,
initSegment.resolvedUri
].join(",");
}, segmentKeyId = function(key) {
return key.resolvedUri;
@ -7674,18 +7674,18 @@
i.charCodeAt(0),
i.charCodeAt(1),
i.charCodeAt(2),
i.charCodeAt(3),
i.charCodeAt(3)
]);
MAJOR_BRAND = new Uint8Array([
105,
115,
111,
109,
109
]), AVC1_BRAND = new Uint8Array([
97,
118,
99,
49,
49
]), MINOR_VERSION = new Uint8Array([
0,
0,
@ -7910,7 +7910,7 @@
0x55,
0xc4,
0x00,
0x00,
0x00
]);
return track.samplerate && (result[12] = track.samplerate >>> 24 & 0xff, result[13] = track.samplerate >>> 16 & 0xff, result[14] = track.samplerate >>> 8 & 0xff, result[15] = 0xff & track.samplerate), box(types.mdhd, result);
}, mdia = function(track) {
@ -8064,7 +8064,7 @@
0x00,
0x00,
0x00,
0x01,
0x01
]), "video" === track.type ? videoSample(track) : audioSample(track));
}, videoSample = function(track) {
var i, avc1Box, sps = track.sps || [], pps = track.pps || [], sequenceParameterSets = [], pictureParameterSets = [];
@ -8176,7 +8176,7 @@
0x2d,
0xc6,
0xc0
])),
]))
], track.sarRatio) {
var hSpacing = track.sarRatio[0], vSpacing = track.sarRatio[1];
avc1Box.push(box(types.pasp, new Uint8Array([
@ -8187,7 +8187,7 @@
(0xff000000 & vSpacing) >> 24,
(0xff0000 & vSpacing) >> 16,
(0xff00 & vSpacing) >> 8,
0xff & vSpacing,
0xff & vSpacing
])));
}
return box.apply(null, avc1Box);
@ -8349,7 +8349,7 @@
lowerWordBaseMediaDecodeTime >>> 24 & 0xff,
lowerWordBaseMediaDecodeTime >>> 16 & 0xff,
lowerWordBaseMediaDecodeTime >>> 8 & 0xff,
0xff & lowerWordBaseMediaDecodeTime,
0xff & lowerWordBaseMediaDecodeTime
])), "audio" === track.type) ? (trackFragmentRun = trun$1(track, 92), box(types.traf, trackFragmentHeader, trackFragmentDecodeTime, trackFragmentRun)) : (sampleDependencyTable = sdtp(track), trackFragmentRun = trun$1(track, sampleDependencyTable.length + 92), box(types.traf, trackFragmentHeader, trackFragmentDecodeTime, trackFragmentRun, sampleDependencyTable));
}, trak = function(track) {
return track.duration = track.duration || 0xffffffff, box(types.trak, tkhd(track), mdia(track));
@ -8490,7 +8490,7 @@
8,
17,
191,
252,
252
], zeroFill = function(count) {
for(var a = []; count--;)a.push(0);
return a;
@ -8507,7 +8507,7 @@
zeroFill(154),
[
56
],
]
],
88200: [
highPrefix,
@ -8528,7 +8528,7 @@
zeroFill(240),
[
56
],
]
],
48000: [
highPrefix,
@ -8545,7 +8545,7 @@
zeroFill(54),
[
112
],
]
],
44100: [
highPrefix,
@ -8562,7 +8562,7 @@
zeroFill(84),
[
112
],
]
],
32000: [
highPrefix,
@ -8578,7 +8578,7 @@
zeroFill(226),
[
112
],
]
],
24000: [
highPrefix,
@ -8600,7 +8600,7 @@
zeroFill(126),
[
224
],
]
],
16000: [
highPrefix,
@ -8628,7 +8628,7 @@
[
1,
192
],
]
],
12000: [
lowPrefix,
@ -8659,7 +8659,7 @@
zeroFill(259),
[
56
],
]
],
11025: [
lowPrefix,
@ -8696,7 +8696,7 @@
zeroFill(108),
[
112
],
]
],
8000: [
lowPrefix,
@ -8709,7 +8709,7 @@
zeroFill(47),
[
7
],
]
]
}).reduce(function(obj, key) {
return obj[key] = new Uint8Array(metaTable[key].reduce(function(arr, part) {
@ -9184,7 +9184,7 @@
0x1300,
0x1320,
0x1400,
0x1420,
0x1420
], createDisplayBuffer = function() {
for(var result = [], i = 15; i--;)result.push("");
return result;
@ -9451,7 +9451,7 @@
else void 0 === this.programMapTable ? this.packetsWaitingForPmt.push([
packet,
offset,
result,
result
]) : this.processPes_(packet, offset, result);
}, this.processPes_ = function(packet, offset, result) {
result.pid === this.programMapTable.video ? result.streamType = streamTypes.H264_STREAM_TYPE : result.pid === this.programMapTable.audio ? result.streamType = streamTypes.ADTS_STREAM_TYPE : result.streamType = this.programMapTable["timed-metadata"][result.pid], result.type = "pes", result.data = packet.subarray(offset), this.trigger("data", result);
@ -9578,7 +9578,7 @@
12000,
11025,
8000,
7350,
7350
];
(_AdtsStream = function(handlePartialSegments) {
var buffer, frameNum = 0;
@ -9870,7 +9870,7 @@
case 255:
sarRatio = [
expGolombDecoder.readUnsignedByte() << 8 | expGolombDecoder.readUnsignedByte(),
expGolombDecoder.readUnsignedByte() << 8 | expGolombDecoder.readUnsignedByte(),
expGolombDecoder.readUnsignedByte() << 8 | expGolombDecoder.readUnsignedByte()
];
}
sarRatio && (sarRatio[0], sarRatio[1]);
@ -9898,7 +9898,7 @@
12000,
11025,
8000,
7350,
7350
], parseId3TagSize = function(header, byteIndex) {
var returnSize = header[byteIndex + 6] << 21 | header[byteIndex + 7] << 14 | header[byteIndex + 8] << 7 | header[byteIndex + 9];
return (returnSize = returnSize >= 0 ? returnSize : 0, (16 & header[byteIndex + 5]) >> 4) ? returnSize + 20 : returnSize + 10;
@ -9992,14 +9992,14 @@
"channelcount",
"samplerate",
"samplingfrequencyindex",
"samplesize",
"samplesize"
], videoProperties = [
"width",
"height",
"profileIdc",
"levelIdc",
"profileCompatibility",
"sarRatio",
"sarRatio"
], isLikelyAacData = utils.isLikelyAacData, ONE_SECOND_IN_TS$1 = clock.ONE_SECOND_IN_TS, retriggerForStream = function(key, event) {
event.stream = key, this.trigger("log", event);
}, addPipelineLogRetriggers = function(transmuxer, pipeline) {
@ -10516,13 +10516,13 @@
"mdia",
"minf",
"stbl",
"stsd",
"stsd"
])[0];
if (stsd) {
var view, tkhdVersion, codecConfig, sampleDescriptions = stsd.subarray(8);
track.codec = parseType$1(sampleDescriptions.subarray(4, 8));
var codecBox = findBox(sampleDescriptions, [
track.codec,
track.codec
])[0];
codecBox && (/^[asm]vc[1-9]$/i.test(track.codec) ? "avcC" === parseType$1((codecConfig = codecBox.subarray(78)).subarray(4, 8)) && codecConfig.length > 11 ? (track.codec += ".", track.codec += toHexString(codecConfig[9]), track.codec += toHexString(codecConfig[10]), track.codec += toHexString(codecConfig[11])) : track.codec = "avc1.4d400d" : /^mp4[a,v]$/i.test(track.codec) ? "esds" === parseType$1((codecConfig = codecBox.subarray(28)).subarray(4, 8)) && codecConfig.length > 20 && 0 !== codecConfig[19] ? (track.codec += "." + toHexString(codecConfig[19]), track.codec += "." + toHexString(codecConfig[20] >>> 2 & 0x3f).replace(/^0/, "")) : track.codec = "mp4a.40.2" : track.codec = track.codec.toLowerCase());
}
@ -10758,7 +10758,7 @@
type: "audio",
dts: timestamp + 1024 * audioCount * audioTimescale,
pts: timestamp + 1024 * audioCount * audioTimescale
},
}
]
};
}, inspectTs_ = function(bytes) {
@ -11068,7 +11068,7 @@
var isArrayBuffer = options.data instanceof ArrayBuffer;
message.byteOffset = isArrayBuffer ? 0 : options.data.byteOffset, message.byteLength = options.data.byteLength;
var transfers = [
isArrayBuffer ? options.data : options.data.buffer,
isArrayBuffer ? options.data : options.data.buffer
];
transmuxer.postMessage(message, transfers);
} else transmuxer.postMessage(message);
@ -11123,7 +11123,7 @@
view.getUint32(0),
view.getUint32(4),
view.getUint32(8),
view.getUint32(12),
view.getUint32(12)
]), i = 0; i < objects.length; i++)objects[i].bytes = bytes;
return finishProcessingFn(null, segment);
};
@ -12404,7 +12404,7 @@
0,
0,
0,
segmentInfo.mediaIndex + segmentInfo.playlist.mediaSequence,
segmentInfo.mediaIndex + segmentInfo.playlist.mediaSequence
]);
simpleSegment.key = this.segmentKey(segment.key), simpleSegment.key.iv = iv;
}
@ -13158,7 +13158,7 @@
partIndex: null
} : null;
}
},
}
], SyncController = function(_videojs$EventTarget) {
function SyncController(options) {
var _this;
@ -13372,7 +13372,7 @@
[],
[],
[]
],
]
], encTable = tables[0], decTable = tables[1], sbox = encTable[4], sboxInv = decTable[4], d = [], th = [];
for(i = 0; i < 256; i++)th[(d[i] = i << 1 ^ (i >> 7) * 283) ^ i] = i;
for(x = xInv = 0; !sbox[x]; x ^= x2 || 1, xInv = th[xInv] || 1)for(i = 0, s = (s = xInv ^ xInv << 1 ^ xInv << 2 ^ xInv << 3 ^ xInv << 4) >> 8 ^ 255 & s ^ 99, sbox[x] = s, sboxInv[s] = x, tDec = 0x1010101 * d[x4 = d[x2 = d[x]]] ^ 0x10001 * x4 ^ 0x101 * x2 ^ 0x1010100 * x, tEnc = 0x101 * d[s] ^ 0x1010100 * s; i < 4; i++)encTable[i][x] = tEnc = tEnc << 24 ^ tEnc >>> 8, decTable[i][s] = tDec = tDec << 24 ^ tDec >>> 8;
@ -13386,15 +13386,15 @@
aesTables[0][1].slice(),
aesTables[0][2].slice(),
aesTables[0][3].slice(),
aesTables[0][4].slice(),
aesTables[0][4].slice()
],
[
aesTables[1][0].slice(),
aesTables[1][1].slice(),
aesTables[1][2].slice(),
aesTables[1][3].slice(),
aesTables[1][4].slice(),
],
aesTables[1][4].slice()
]
];
var i, j, tmp, sbox = this._tables[0][4], decTable = this._tables[1], keyLen = key.length, rcon = 1;
if (4 !== keyLen && 6 !== keyLen && 8 !== keyLen) throw Error("Invalid aes key size");
@ -13435,7 +13435,7 @@
ntoh(encrypted32[i - 4]),
ntoh(encrypted32[i - 3]),
ntoh(encrypted32[i - 2]),
ntoh(encrypted32[i - 1]),
ntoh(encrypted32[i - 1])
]), this.asyncStream_.push(this.decryptChunk_(encrypted32.subarray(i, i + step), key, initVector, decrypted));
this.asyncStream_.push(function() {
done(null, decrypted.subarray(0, decrypted.byteLength - decrypted[decrypted.byteLength - 1]));
@ -13452,7 +13452,7 @@
get: function() {
return 32000;
}
},
}
]), Decrypter;
}(), createTransferableMessage = function(message) {
var transferable = {};
@ -13766,7 +13766,7 @@
"mediaRequestsErrored",
"mediaTransferDuration",
"mediaBytesTransferred",
"mediaAppends",
"mediaAppends"
], sumLoaderStat = function(stat) {
return this.audioSegmentLoader_[stat] + this.mainSegmentLoader_[stat];
}, shouldSwitchToMedia = function(_ref) {
@ -14185,7 +14185,7 @@
"pause"
]), nextPlaylist.attributes.SUBTITLES !== currentPlaylist.attributes.SUBTITLES && this.delegateLoaders_("subtitle", [
"abort",
"pause",
"pause"
]), this.delegateLoaders_("main", [
"abort",
"pause"
@ -14235,8 +14235,8 @@
0 !== mainSeekable.length && (!this.mediaTypes_.AUDIO.activePlaylistLoader || (media = this.mediaTypes_.AUDIO.activePlaylistLoader.media(), null !== (expired = this.syncController_.getExpiredTime(media, this.duration())) && 0 !== (audioSeekable = Vhs$1.Playlist.seekable(media, expired, Vhs$1.Playlist.liveEdgeDelay(master, media))).length)) && (this.seekable_ && this.seekable_.length && (oldEnd = this.seekable_.end(0), oldStart = this.seekable_.start(0)), audioSeekable ? audioSeekable.start(0) > mainSeekable.end(0) || mainSeekable.start(0) > audioSeekable.end(0) ? this.seekable_ = mainSeekable : this.seekable_ = videojs.createTimeRanges([
[
audioSeekable.start(0) > mainSeekable.start(0) ? audioSeekable.start(0) : mainSeekable.start(0),
audioSeekable.end(0) < mainSeekable.end(0) ? audioSeekable.end(0) : mainSeekable.end(0),
],
audioSeekable.end(0) < mainSeekable.end(0) ? audioSeekable.end(0) : mainSeekable.end(0)
]
]) : this.seekable_ = mainSeekable, this.seekable_ && this.seekable_.length && this.seekable_.end(0) === oldEnd && this.seekable_.start(0) === oldStart || (this.logger_("seekable updated [" + printableRange(this.seekable_) + "]"), this.tech_.trigger("seekablechanged")));
}
}
@ -14408,7 +14408,7 @@
"seeked",
"pause",
"playing",
"error",
"error"
], PlaybackWatcher = function() {
function PlaybackWatcher(options) {
var _this = this;
@ -14720,7 +14720,7 @@
}));
}), Promise.race([
Promise.all(initializationFinishedPromises),
Promise.race(keySessionCreatedPromises),
Promise.race(keySessionCreatedPromises)
]);
}, setupEmeOptions = function(_ref2) {
var player = _ref2.player, sourceOptions = emeKeySystems(_ref2.sourceKeySystems, _ref2.media, _ref2.audioMedia);
@ -14755,7 +14755,7 @@
"application/x-mpegurl",
"video/x-mpegurl",
"video/mpegurl",
"application/mpegurl",
"application/mpegurl"
].some(function(canItPlay) {
return /maybe|probably/i.test(video.canPlayType(canItPlay));
});
@ -14798,7 +14798,7 @@
"fullscreenchange",
"webkitfullscreenchange",
"mozfullscreenchange",
"MSFullscreenChange",
"MSFullscreenChange"
], function(event) {
var fullscreenElement = global_document__WEBPACK_IMPORTED_MODULE_1___default().fullscreenElement || global_document__WEBPACK_IMPORTED_MODULE_1___default().webkitFullscreenElement || global_document__WEBPACK_IMPORTED_MODULE_1___default().mozFullScreenElement || global_document__WEBPACK_IMPORTED_MODULE_1___default().msFullscreenElement;
fullscreenElement && fullscreenElement.contains(_this.tech_.el()) ? _this.masterPlaylistController_.fastQualityChange_() : _this.masterPlaylistController_.checkABR_();
@ -14849,7 +14849,7 @@
"experimentalLLHLS",
"useNetworkInformationApi",
"experimentalExactManifestTimings",
"experimentalLeastPixelDiffSelector",
"experimentalLeastPixelDiffSelector"
].forEach(function(option) {
void 0 !== _this2.source_[option] && (_this2.options_[option] = _this2.source_[option]);
}), this.limitRenditionByPlayerDimensions = this.options_.limitRenditionByPlayerDimensions, this.useDevicePixelRatio = this.options_.useDevicePixelRatio;
@ -15190,5 +15190,5 @@
configurable: !0
}), videojs.use || (videojs.registerComponent("Hls", Vhs), videojs.registerComponent("Vhs", Vhs)), videojs.options.vhs = videojs.options.vhs || {}, videojs.options.hls = videojs.options.hls || {}, videojs.getPlugin && videojs.getPlugin("reloadSourceOnError") || (videojs.registerPlugin || videojs.plugin)("reloadSourceOnError", reloadSourceOnError), __webpack_exports__.Z = videojs;
}
},
}
]);

View File

@ -54,7 +54,7 @@
BigInt("0x10000000000"),
BigInt("0x1000000000000"),
BigInt("0x100000000000000"),
BigInt("0x10000000000000000"),
BigInt("0x10000000000000000")
];
a = new Uint16Array([
0xffcc
@ -242,7 +242,7 @@
0x48,
0x65,
0x61,
0x64,
0x64
]);
var normalizePath = function(path) {
return "string" == typeof path ? (0, byte_helpers.qX)(path) : path;
@ -315,7 +315,7 @@
bytes: bytes
};
}
},
}
];
var findBox = function findBox(bytes, paths, complete) {
void 0 === complete && (complete = !1), paths = Array.isArray(paths1 = paths) ? paths1.map(function(p) {
@ -342,7 +342,7 @@
0x1a,
0x45,
0xdf,
0xa3,
0xa3
]),
DocType: (0, byte_helpers.Ki)([
0x42,
@ -352,19 +352,19 @@
0x18,
0x53,
0x80,
0x67,
0x67
]),
SegmentInfo: (0, byte_helpers.Ki)([
0x15,
0x49,
0xa9,
0x66,
0x66
]),
Tracks: (0, byte_helpers.Ki)([
0x16,
0x54,
0xae,
0x6b,
0x6b
]),
Track: (0, byte_helpers.Ki)([
0xae
@ -375,7 +375,7 @@
DefaultDuration: (0, byte_helpers.Ki)([
0x23,
0xe3,
0x83,
0x83
]),
TrackEntry: (0, byte_helpers.Ki)([
0xae
@ -403,7 +403,7 @@
0x1f,
0x43,
0xb6,
0x75,
0x75
]),
Timestamp: (0, byte_helpers.Ki)([
0xe7
@ -411,7 +411,7 @@
TimestampScale: (0, byte_helpers.Ki)([
0x2a,
0xd7,
0xb1,
0xb1
]),
BlockGroup: (0, byte_helpers.Ki)([
0xa0
@ -476,15 +476,15 @@
0x00,
0x00,
0x00,
0x01,
0x01
]), NAL_TYPE_TWO = (0, byte_helpers.Ki)([
0x00,
0x00,
0x01,
0x01
]), EMULATION_PREVENTION = (0, byte_helpers.Ki)([
0x00,
0x00,
0x03,
0x03
]), discardEmulationPreventionBytes = function(bytes) {
for(var positions = [], i = 1; i < bytes.length - 2;)(0, byte_helpers.G3)(bytes.subarray(i, i + 3), EMULATION_PREVENTION) && (positions.push(i + 2), i++), i++;
if (0 === positions.length) return bytes;
@ -509,7 +509,7 @@
0x77,
0x65,
0x62,
0x6d,
0x6d
]),
matroska: (0, byte_helpers.Ki)([
0x6d,
@ -519,19 +519,19 @@
0x6f,
0x73,
0x6b,
0x61,
0x61
]),
flac: (0, byte_helpers.Ki)([
0x66,
0x4c,
0x61,
0x43,
0x43
]),
ogg: (0, byte_helpers.Ki)([
0x4f,
0x67,
0x67,
0x53,
0x53
]),
ac3: (0, byte_helpers.Ki)([
0x0b,
@ -541,7 +541,7 @@
0x52,
0x49,
0x46,
0x46,
0x46
]),
avi: (0, byte_helpers.Ki)([
0x41,
@ -552,7 +552,7 @@
0x57,
0x41,
0x56,
0x45,
0x45
]),
"3gp": (0, byte_helpers.Ki)([
0x66,
@ -560,19 +560,19 @@
0x79,
0x70,
0x33,
0x67,
0x67
]),
mp4: (0, byte_helpers.Ki)([
0x66,
0x74,
0x79,
0x70,
0x70
]),
fmp4: (0, byte_helpers.Ki)([
0x73,
0x74,
0x79,
0x70,
0x70
]),
mov: (0, byte_helpers.Ki)([
0x66,
@ -580,19 +580,19 @@
0x79,
0x70,
0x71,
0x74,
0x74
]),
moov: (0, byte_helpers.Ki)([
0x6d,
0x6f,
0x6f,
0x76,
0x76
]),
moof: (0, byte_helpers.Ki)([
0x6d,
0x6f,
0x6f,
0x66,
0x66
])
}, _isLikely = {
aac: function(bytes) {
@ -624,14 +624,14 @@
webm: function(bytes) {
var docType = findEbml(bytes, [
EBML_TAGS.EBML,
EBML_TAGS.DocType,
EBML_TAGS.DocType
])[0];
return (0, byte_helpers.G3)(docType, CONSTANTS.webm);
},
mkv: function(bytes) {
var docType = findEbml(bytes, [
EBML_TAGS.EBML,
EBML_TAGS.DocType,
EBML_TAGS.DocType
])[0];
return (0, byte_helpers.G3)(docType, CONSTANTS.matroska);
},
@ -747,7 +747,7 @@
var _byte_helpers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(562), ID3 = (0, _byte_helpers_js__WEBPACK_IMPORTED_MODULE_0__.Ki)([
0x49,
0x44,
0x33,
0x33
]), getId3Size = function(bytes, offset) {
void 0 === offset && (offset = 0);
var flags = (bytes = (0, _byte_helpers_js__WEBPACK_IMPORTED_MODULE_0__.Ki)(bytes))[offset + 5], returnSize = bytes[offset + 6] << 21 | bytes[offset + 7] << 14 | bytes[offset + 8] << 7 | bytes[offset + 9];
@ -2590,7 +2590,7 @@
}).attributes = parseAttributes(match[1]), [
"CAN-SKIP-UNTIL",
"PART-HOLD-BACK",
"HOLD-BACK",
"HOLD-BACK"
].forEach(function(key) {
event.attributes.hasOwnProperty(key) && (event.attributes[key] = parseFloat(event.attributes[key]));
}), [
@ -2760,7 +2760,7 @@
if (-1 === [
"SAMPLE-AES",
"SAMPLE-AES-CTR",
"SAMPLE-AES-CENC",
"SAMPLE-AES-CENC"
].indexOf(entry.attributes.METHOD)) {
this.trigger("warn", {
message: "invalid key method provided for Widevine"
@ -2931,7 +2931,7 @@
this.manifest.renditionReports = this.manifest.renditionReports || [], this.manifest.renditionReports.push(report);
var index = this.manifest.renditionReports.length - 1, required = [
"LAST-MSN",
"URI",
"URI"
];
hasParts && required.push("LAST-PART"), this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #" + index, entry.attributes, required);
},
@ -3154,7 +3154,7 @@
resolvedUri: attributes.baseUrl || "",
duration: attributes.sourceDuration,
number: 0
},
}
], attributes.duration = attributes.sourceDuration);
var m3u8Attributes = ((_m3u8Attributes = {
NAME: attributes.id,
@ -3300,7 +3300,7 @@
duration: attributes.sourceDuration,
time: 0,
timeline: attributes.periodIndex
},
}
]).map(function(segment) {
templateValues.Number = segment.number, templateValues.Time = segment.time;
var uri = constructTemplateUrl(attributes.media || "", templateValues), timescale = attributes.timescale || 1, presentationTimeOffset = attributes.presentationTimeOffset || 0, presentationTime = attributes.periodStart + (segment.time - presentationTimeOffset) / timescale;
@ -3656,7 +3656,7 @@
"/",
function() {
return __webpack_require__(4816);
},
}
]);
},
4816: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -3718,7 +3718,7 @@
{
src: "https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8",
type: "application/x-mpegurl"
},
}
]
},
onReady: handlePlayerReady
@ -3889,14 +3889,14 @@
]), 2 === vals.length && settings.alt("lineAlign", vals[1], [
"start",
"center",
"end",
"end"
]);
break;
case "position":
vals = v.split(","), settings.percent(k, vals[0]), 2 === vals.length && settings.alt("positionAlign", vals[1], [
"start",
"center",
"end",
"end"
]);
break;
case "size":
@ -3908,7 +3908,7 @@
"center",
"end",
"left",
"right",
"right"
]);
}
}, /:/, /\s/), cue.region = settings.get("region", null), cue.vertical = settings.get("vertical", "");
@ -4467,7 +4467,7 @@
[
0x10fffd,
0x10fffd
],
]
];
function isStrongRTLChar(charCode) {
for(var i = 0; i < strongRTLRanges.length; i++){
@ -5856,5 +5856,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 8581);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -8,7 +8,7 @@
"/no-spread",
function() {
return __webpack_require__(1918);
},
}
]);
},
2726: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -67,5 +67,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 5467);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -8,7 +8,7 @@
"/spread",
function() {
return __webpack_require__(1767);
},
}
]);
},
2726: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -82,5 +82,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 2809);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -307,7 +307,7 @@
var src = param.src;
throw Error('Image with src "'.concat(src, '" is missing "loader" prop.') + "\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader");
}
],
]
]);
function isStaticRequire(src) {
return void 0 !== src.default;
@ -427,7 +427,7 @@
layout,
placeholder,
onLoadingCompleteRef,
setBlurComplete,
setBlurComplete
]),
onLoad: function(event) {
handleLoading(event.currentTarget, srcString, layout, placeholder, onLoadingCompleteRef, setBlurComplete), onLoad && onLoad(event);

View File

@ -22770,7 +22770,7 @@ export function foo(global, env, buffer) {
jD,
jD,
jD,
jD,
jD
];
var mb = [
kD
@ -22903,7 +22903,7 @@ export function foo(global, env, buffer) {
lD,
lD,
lD,
lD,
lD
];
var ob = [
mD,
@ -22937,7 +22937,7 @@ export function foo(global, env, buffer) {
mD,
mD,
mD,
mD,
mD
];
var pb = [
nD,
@ -22971,7 +22971,7 @@ export function foo(global, env, buffer) {
nD,
nD,
nD,
nD,
nD
];
var qb = [
oD,

View File

@ -377,7 +377,7 @@
var hex = [
util_pad2(Math.round(r).toString(16)),
util_pad2(Math.round(g).toString(16)),
util_pad2(Math.round(b).toString(16)),
util_pad2(Math.round(b).toString(16))
];
return allow3Char && hex[0].startsWith(hex[0].charAt(1)) && hex[1].startsWith(hex[1].charAt(1)) && hex[2].startsWith(hex[2].charAt(1)) ? hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) : hex.join("");
}
@ -722,7 +722,7 @@
util_pad2(Math.round(r).toString(16)),
util_pad2(Math.round(g).toString(16)),
util_pad2(Math.round(b).toString(16)),
util_pad2(Math.round(255 * parseFloat(a)).toString(16)),
util_pad2(Math.round(255 * parseFloat(a)).toString(16))
], allow4Char1 && hex[0].startsWith(hex[0].charAt(1)) && hex[1].startsWith(hex[1].charAt(1)) && hex[2].startsWith(hex[2].charAt(1)) && hex[3].startsWith(hex[3].charAt(1)) ? hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0) : hex.join("");
}, TinyColor.prototype.toHex8String = function(allow4Char) {
return void 0 === allow4Char && (allow4Char = !1), "#" + this.toHex8(allow4Char);
@ -837,7 +837,7 @@
h: (h + 216) % 360,
s: hsl.s,
l: hsl.l
}),
})
];
}, TinyColor.prototype.onBackground = function(background) {
var fg = this.toRgb(), bg = new TinyColor(background).toRgb();
@ -904,7 +904,7 @@
[
100,
0
],
]
]
},
{
@ -949,7 +949,7 @@
[
100,
50
],
]
]
},
{
@ -986,7 +986,7 @@
[
100,
70
],
]
]
},
{
@ -1027,7 +1027,7 @@
[
100,
75
],
]
]
},
{
@ -1068,7 +1068,7 @@
[
100,
40
],
]
]
},
{
@ -1113,7 +1113,7 @@
[
100,
35
],
]
]
},
{
@ -1158,7 +1158,7 @@
[
100,
42
],
]
]
},
{
@ -1195,9 +1195,9 @@
[
100,
73
],
]
]
},
}
], getColor = function(theme, color, fallback) {
var hex = (0, chakra_ui_utils_esm.Wf)(theme, "colors." + color, color);
return new module_TinyColor(hex).isValid ? hex : fallback;
@ -1309,7 +1309,7 @@
get: function() {
return Object.keys(this.map);
}
},
}
]), staticProps && _defineProperties(Anatomy, staticProps), Object.defineProperty(Anatomy, "prototype", {
writable: !1
}), Anatomy;
@ -4189,7 +4189,7 @@
"thickness",
"speed",
"emptyColor",
"className",
"className"
], spin = (0, emotion_react_browser_esm.F4)({
"0%": {
transform: "rotate(0deg)"
@ -4347,7 +4347,7 @@
var chakra_ui_close_button_esm_excluded = [
"children",
"isDisabled",
"__css",
"__css"
], CloseIcon = function(props) {
return react.createElement(chakra_ui_icon_esm.JO, chakra_ui_close_button_esm_extends({
focusable: "false",
@ -4477,7 +4477,7 @@
"bottom-left",
"top",
"top-left",
"top-right",
"top-right"
]).reduce(function(acc, position) {
return acc[position] = prev[position].map(function(toast) {
return chakra_ui_toast_esm_extends({}, toast, {
@ -4712,5 +4712,5 @@
], function() {
return __webpack_exec__(3837), __webpack_exec__(387);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -3435,7 +3435,7 @@
doc: this,
isParent: !0,
sharedHist: options.sharedHist
},
}
], function(doc, markers) {
for(var i = 0; i < markers.length; i++){
var marker = markers[i], pos = marker.find(), mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);

View File

@ -13,7 +13,7 @@
"/_app",
function() {
return __webpack_require__(8484);
},
}
]);
},
8484: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -52,7 +52,7 @@
b[r] = function() {
b._q.push([
r,
arguments,
arguments
]);
};
}, {
@ -1011,7 +1011,7 @@
}, A = {
"%ArrayBufferPrototype%": [
"ArrayBuffer",
"prototype",
"prototype"
],
"%ArrayPrototype%": [
"Array",
@ -1020,35 +1020,35 @@
"%ArrayProto_entries%": [
"Array",
"prototype",
"entries",
"entries"
],
"%ArrayProto_forEach%": [
"Array",
"prototype",
"forEach",
"forEach"
],
"%ArrayProto_keys%": [
"Array",
"prototype",
"keys",
"keys"
],
"%ArrayProto_values%": [
"Array",
"prototype",
"values",
"values"
],
"%AsyncFunctionPrototype%": [
"AsyncFunction",
"prototype",
"prototype"
],
"%AsyncGenerator%": [
"AsyncGeneratorFunction",
"prototype",
"prototype"
],
"%AsyncGeneratorPrototype%": [
"AsyncGeneratorFunction",
"prototype",
"prototype",
"prototype"
],
"%BooleanPrototype%": [
"Boolean",
@ -1056,7 +1056,7 @@
],
"%DataViewPrototype%": [
"DataView",
"prototype",
"prototype"
],
"%DatePrototype%": [
"Date",
@ -1068,40 +1068,40 @@
],
"%EvalErrorPrototype%": [
"EvalError",
"prototype",
"prototype"
],
"%Float32ArrayPrototype%": [
"Float32Array",
"prototype",
"prototype"
],
"%Float64ArrayPrototype%": [
"Float64Array",
"prototype",
"prototype"
],
"%FunctionPrototype%": [
"Function",
"prototype",
"prototype"
],
"%Generator%": [
"GeneratorFunction",
"prototype",
"prototype"
],
"%GeneratorPrototype%": [
"GeneratorFunction",
"prototype",
"prototype",
"prototype"
],
"%Int8ArrayPrototype%": [
"Int8Array",
"prototype",
"prototype"
],
"%Int16ArrayPrototype%": [
"Int16Array",
"prototype",
"prototype"
],
"%Int32ArrayPrototype%": [
"Int32Array",
"prototype",
"prototype"
],
"%JSONParse%": [
"JSON",
@ -1126,12 +1126,12 @@
"%ObjProto_toString%": [
"Object",
"prototype",
"toString",
"toString"
],
"%ObjProto_valueOf%": [
"Object",
"prototype",
"valueOf",
"valueOf"
],
"%PromisePrototype%": [
"Promise",
@ -1140,7 +1140,7 @@
"%PromiseProto_then%": [
"Promise",
"prototype",
"then",
"then"
],
"%Promise_all%": [
"Promise",
@ -1156,11 +1156,11 @@
],
"%RangeErrorPrototype%": [
"RangeError",
"prototype",
"prototype"
],
"%ReferenceErrorPrototype%": [
"ReferenceError",
"prototype",
"prototype"
],
"%RegExpPrototype%": [
"RegExp",
@ -1172,7 +1172,7 @@
],
"%SharedArrayBufferPrototype%": [
"SharedArrayBuffer",
"prototype",
"prototype"
],
"%StringPrototype%": [
"String",
@ -1184,35 +1184,35 @@
],
"%SyntaxErrorPrototype%": [
"SyntaxError",
"prototype",
"prototype"
],
"%TypedArrayPrototype%": [
"TypedArray",
"prototype",
"prototype"
],
"%TypeErrorPrototype%": [
"TypeError",
"prototype",
"prototype"
],
"%Uint8ArrayPrototype%": [
"Uint8Array",
"prototype",
"prototype"
],
"%Uint8ClampedArrayPrototype%": [
"Uint8ClampedArray",
"prototype",
"prototype"
],
"%Uint16ArrayPrototype%": [
"Uint16Array",
"prototype",
"prototype"
],
"%Uint32ArrayPrototype%": [
"Uint32Array",
"prototype",
"prototype"
],
"%URIErrorPrototype%": [
"URIError",
"prototype",
"prototype"
],
"%WeakMapPrototype%": [
"WeakMap",
@ -1409,7 +1409,7 @@
}, g = {
"%ArrayBufferPrototype%": [
"ArrayBuffer",
"prototype",
"prototype"
],
"%ArrayPrototype%": [
"Array",
@ -1418,35 +1418,35 @@
"%ArrayProto_entries%": [
"Array",
"prototype",
"entries",
"entries"
],
"%ArrayProto_forEach%": [
"Array",
"prototype",
"forEach",
"forEach"
],
"%ArrayProto_keys%": [
"Array",
"prototype",
"keys",
"keys"
],
"%ArrayProto_values%": [
"Array",
"prototype",
"values",
"values"
],
"%AsyncFunctionPrototype%": [
"AsyncFunction",
"prototype",
"prototype"
],
"%AsyncGenerator%": [
"AsyncGeneratorFunction",
"prototype",
"prototype"
],
"%AsyncGeneratorPrototype%": [
"AsyncGeneratorFunction",
"prototype",
"prototype",
"prototype"
],
"%BooleanPrototype%": [
"Boolean",
@ -1454,7 +1454,7 @@
],
"%DataViewPrototype%": [
"DataView",
"prototype",
"prototype"
],
"%DatePrototype%": [
"Date",
@ -1466,40 +1466,40 @@
],
"%EvalErrorPrototype%": [
"EvalError",
"prototype",
"prototype"
],
"%Float32ArrayPrototype%": [
"Float32Array",
"prototype",
"prototype"
],
"%Float64ArrayPrototype%": [
"Float64Array",
"prototype",
"prototype"
],
"%FunctionPrototype%": [
"Function",
"prototype",
"prototype"
],
"%Generator%": [
"GeneratorFunction",
"prototype",
"prototype"
],
"%GeneratorPrototype%": [
"GeneratorFunction",
"prototype",
"prototype",
"prototype"
],
"%Int8ArrayPrototype%": [
"Int8Array",
"prototype",
"prototype"
],
"%Int16ArrayPrototype%": [
"Int16Array",
"prototype",
"prototype"
],
"%Int32ArrayPrototype%": [
"Int32Array",
"prototype",
"prototype"
],
"%JSONParse%": [
"JSON",
@ -1524,12 +1524,12 @@
"%ObjProto_toString%": [
"Object",
"prototype",
"toString",
"toString"
],
"%ObjProto_valueOf%": [
"Object",
"prototype",
"valueOf",
"valueOf"
],
"%PromisePrototype%": [
"Promise",
@ -1538,7 +1538,7 @@
"%PromiseProto_then%": [
"Promise",
"prototype",
"then",
"then"
],
"%Promise_all%": [
"Promise",
@ -1554,11 +1554,11 @@
],
"%RangeErrorPrototype%": [
"RangeError",
"prototype",
"prototype"
],
"%ReferenceErrorPrototype%": [
"ReferenceError",
"prototype",
"prototype"
],
"%RegExpPrototype%": [
"RegExp",
@ -1570,7 +1570,7 @@
],
"%SharedArrayBufferPrototype%": [
"SharedArrayBuffer",
"prototype",
"prototype"
],
"%StringPrototype%": [
"String",
@ -1582,35 +1582,35 @@
],
"%SyntaxErrorPrototype%": [
"SyntaxError",
"prototype",
"prototype"
],
"%TypedArrayPrototype%": [
"TypedArray",
"prototype",
"prototype"
],
"%TypeErrorPrototype%": [
"TypeError",
"prototype",
"prototype"
],
"%Uint8ArrayPrototype%": [
"Uint8Array",
"prototype",
"prototype"
],
"%Uint8ClampedArrayPrototype%": [
"Uint8ClampedArray",
"prototype",
"prototype"
],
"%Uint16ArrayPrototype%": [
"Uint16Array",
"prototype",
"prototype"
],
"%Uint32ArrayPrototype%": [
"Uint32Array",
"prototype",
"prototype"
],
"%URIErrorPrototype%": [
"URIError",
"prototype",
"prototype"
],
"%WeakMapPrototype%": [
"WeakMap",
@ -1903,7 +1903,7 @@
}, [
"isProxy",
"isExternal",
"isModuleNamespaceObject",
"isModuleNamespaceObject"
].forEach(function(r) {
Object.defineProperty(t, r, {
enumerable: !1,
@ -2168,7 +2168,7 @@
"Sep",
"Oct",
"Nov",
"Dec",
"Dec"
];
function hasOwnProperty(r, t) {
return Object.prototype.hasOwnProperty.call(r, t);
@ -2178,7 +2178,7 @@
console.log("%s - %s", (r = new Date(), t1 = [
pad(r.getHours()),
pad(r.getMinutes()),
pad(r.getSeconds()),
pad(r.getSeconds())
].join(":"), [
r.getDate(),
p[r.getMonth()],
@ -2369,7 +2369,7 @@
}, A = {
"%ArrayBufferPrototype%": [
"ArrayBuffer",
"prototype",
"prototype"
],
"%ArrayPrototype%": [
"Array",
@ -2378,35 +2378,35 @@
"%ArrayProto_entries%": [
"Array",
"prototype",
"entries",
"entries"
],
"%ArrayProto_forEach%": [
"Array",
"prototype",
"forEach",
"forEach"
],
"%ArrayProto_keys%": [
"Array",
"prototype",
"keys",
"keys"
],
"%ArrayProto_values%": [
"Array",
"prototype",
"values",
"values"
],
"%AsyncFunctionPrototype%": [
"AsyncFunction",
"prototype",
"prototype"
],
"%AsyncGenerator%": [
"AsyncGeneratorFunction",
"prototype",
"prototype"
],
"%AsyncGeneratorPrototype%": [
"AsyncGeneratorFunction",
"prototype",
"prototype",
"prototype"
],
"%BooleanPrototype%": [
"Boolean",
@ -2414,7 +2414,7 @@
],
"%DataViewPrototype%": [
"DataView",
"prototype",
"prototype"
],
"%DatePrototype%": [
"Date",
@ -2426,40 +2426,40 @@
],
"%EvalErrorPrototype%": [
"EvalError",
"prototype",
"prototype"
],
"%Float32ArrayPrototype%": [
"Float32Array",
"prototype",
"prototype"
],
"%Float64ArrayPrototype%": [
"Float64Array",
"prototype",
"prototype"
],
"%FunctionPrototype%": [
"Function",
"prototype",
"prototype"
],
"%Generator%": [
"GeneratorFunction",
"prototype",
"prototype"
],
"%GeneratorPrototype%": [
"GeneratorFunction",
"prototype",
"prototype",
"prototype"
],
"%Int8ArrayPrototype%": [
"Int8Array",
"prototype",
"prototype"
],
"%Int16ArrayPrototype%": [
"Int16Array",
"prototype",
"prototype"
],
"%Int32ArrayPrototype%": [
"Int32Array",
"prototype",
"prototype"
],
"%JSONParse%": [
"JSON",
@ -2484,12 +2484,12 @@
"%ObjProto_toString%": [
"Object",
"prototype",
"toString",
"toString"
],
"%ObjProto_valueOf%": [
"Object",
"prototype",
"valueOf",
"valueOf"
],
"%PromisePrototype%": [
"Promise",
@ -2498,7 +2498,7 @@
"%PromiseProto_then%": [
"Promise",
"prototype",
"then",
"then"
],
"%Promise_all%": [
"Promise",
@ -2514,11 +2514,11 @@
],
"%RangeErrorPrototype%": [
"RangeError",
"prototype",
"prototype"
],
"%ReferenceErrorPrototype%": [
"ReferenceError",
"prototype",
"prototype"
],
"%RegExpPrototype%": [
"RegExp",
@ -2530,7 +2530,7 @@
],
"%SharedArrayBufferPrototype%": [
"SharedArrayBuffer",
"prototype",
"prototype"
],
"%StringPrototype%": [
"String",
@ -2542,35 +2542,35 @@
],
"%SyntaxErrorPrototype%": [
"SyntaxError",
"prototype",
"prototype"
],
"%TypedArrayPrototype%": [
"TypedArray",
"prototype",
"prototype"
],
"%TypeErrorPrototype%": [
"TypeError",
"prototype",
"prototype"
],
"%Uint8ArrayPrototype%": [
"Uint8Array",
"prototype",
"prototype"
],
"%Uint8ClampedArrayPrototype%": [
"Uint8ClampedArray",
"prototype",
"prototype"
],
"%Uint16ArrayPrototype%": [
"Uint16Array",
"prototype",
"prototype"
],
"%Uint32ArrayPrototype%": [
"Uint32Array",
"prototype",
"prototype"
],
"%URIErrorPrototype%": [
"URIError",
"prototype",
"prototype"
],
"%WeakMapPrototype%": [
"WeakMap",
@ -2646,7 +2646,7 @@
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"Uint8ClampedArray"
], function(r) {
return "function" == typeof __webpack_require__.g[r];
});
@ -2682,5 +2682,5 @@
], function() {
return __webpack_exec__(1780), __webpack_exec__(880);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -84,7 +84,7 @@
return exports.isMac ? exports.OS.MAC : exports.isLinux ? exports.OS.LINUX : exports.OS.WINDOWS;
};
var _navigator = "object" == typeof navigator ? navigator : {}, os = (/mac|win|linux/i.exec(_navigator.platform) || [
"other",
"other"
])[0].toLowerCase(), ua = _navigator.userAgent || "", appName = _navigator.appName || "";
exports.isWin = "win" == os, exports.isMac = "mac" == os, exports.isLinux = "linux" == os, exports.isIE = "Microsoft Internet Explorer" == appName || appName.indexOf("MSAppHost") >= 0 ? parseFloat((ua.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/) || [])[1]) : parseFloat((ua.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/) || [])[1]), exports.isOldIE = exports.isIE && exports.isIE < 9, exports.isGecko = exports.isMozilla = ua.match(/ Gecko\/\d+/), exports.isOpera = "object" == typeof opera && "[object Opera]" == Object.prototype.toString.call(window.opera), exports.isWebKit = parseFloat(ua.split("WebKit/")[1]) || void 0, exports.isChrome = parseFloat(ua.split(" Chrome/")[1]) || void 0, exports.isEdge = parseFloat(ua.split(" Edge/")[1]) || void 0, exports.isAIR = ua.indexOf("AdobeAIR") >= 0, exports.isAndroid = ua.indexOf("Android") >= 0, exports.isChromeOS = ua.indexOf(" CrOS ") >= 0, exports.isIOS = /iPad|iPhone|iPod/.test(ua) && !window.MSStream, exports.isIOS && (exports.isMac = !0), exports.isMobile = exports.isIOS || exports.isAndroid;
}), ace.define("ace/lib/dom", [
@ -386,7 +386,7 @@
"exports",
"module",
"ace/lib/keys",
"ace/lib/useragent",
"ace/lib/useragent"
], function(require, exports, module) {
"use strict";
var activeListenerOptions, keys = require("./keys"), useragent = require("./useragent"), pressedKeys = null, ts = 0;
@ -754,7 +754,7 @@
"ace/lib/dom",
"ace/lib/lang",
"ace/clipboard",
"ace/lib/keys",
"ace/lib/keys"
], function(require, exports, module) {
"use strict";
var event = require("../lib/event"), useragent = require("../lib/useragent"), dom = require("../lib/dom"), lang = require("../lib/lang"), clipboard = require("../clipboard"), BROKEN_SETDATA = useragent.isChrome < 18, USE_IE_MIME_TYPE = useragent.isIE, HAS_FOCUS_ARGS = useragent.isChrome > 63, KEYS = require("../lib/keys"), MODS = KEYS.KEY_MODS, isIOS = useragent.isIOS, valueResetRegex = isIOS ? /\s/ : /\n/, isMobile = useragent.isMobile, TextInput = function(parentNode, host) {
@ -1000,7 +1000,7 @@
"selectByLinesEnd",
"dragWait",
"dragWaitEnd",
"focusWait",
"focusWait"
].forEach(function(x) {
mouseHandler[x] = this[x];
}, this), mouseHandler.selectByLines = this.extendSelectionBy.bind(mouseHandler, "getLineRange"), mouseHandler.selectByWords = this.extendSelectionBy.bind(mouseHandler, "getWordRange");
@ -1140,7 +1140,7 @@
"ace/lib/dom",
"ace/lib/oop",
"ace/lib/event",
"ace/tooltip",
"ace/tooltip"
], function(require, exports, module) {
"use strict";
var dom = require("../lib/dom"), oop = require("../lib/oop"), event = require("../lib/event"), Tooltip = require("../tooltip").Tooltip;
@ -1201,7 +1201,7 @@
"exports",
"module",
"ace/lib/event",
"ace/lib/useragent",
"ace/lib/useragent"
], function(require, exports, module) {
"use strict";
var event = require("../lib/event"), useragent = require("../lib/useragent");
@ -1241,7 +1241,7 @@
"module",
"ace/lib/dom",
"ace/lib/event",
"ace/lib/useragent",
"ace/lib/useragent"
], function(require, exports, module) {
"use strict";
var dom = require("../lib/dom"), event = require("../lib/event"), useragent = require("../lib/useragent");
@ -1252,7 +1252,7 @@
"dragWaitEnd",
"startDrag",
"dragReadyEnd",
"onMouseDrag",
"onMouseDrag"
].forEach(function(x) {
mouseHandler[x] = this[x];
}, this), editor.on("mousedown", this.onMouseDown.bind(mouseHandler));
@ -1346,7 +1346,7 @@
"copy",
"copymove",
"all",
"uninitialized",
"uninitialized"
], copyModifierState = useragent.isMac ? e.altKey : e.ctrlKey, effectAllowed = "uninitialized";
try {
effectAllowed = e.dataTransfer.effectAllowed.toLowerCase();
@ -1357,7 +1357,7 @@
"copymove",
"linkmove",
"all",
"uninitialized",
"uninitialized"
].indexOf(effectAllowed) >= 0 ? dropEffect = "move" : copyAllowed.indexOf(effectAllowed) >= 0 && (dropEffect = "copy"), dropEffect;
}
}
@ -1406,7 +1406,7 @@
"module",
"ace/mouse/mouse_event",
"ace/lib/event",
"ace/lib/dom",
"ace/lib/dom"
], function(require, exports, module) {
"use strict";
var MouseEvent = require("./mouse_event").MouseEvent, event = require("../lib/event"), dom = require("../lib/dom");
@ -1425,7 +1425,7 @@
class: "ace_mobile-button",
action: "selectall"
},
"Select All",
"Select All"
],
selected && [
"span",
@ -1433,7 +1433,7 @@
class: "ace_mobile-button",
action: "copy"
},
"Copy",
"Copy"
],
selected && [
"span",
@ -1441,7 +1441,7 @@
class: "ace_mobile-button",
action: "cut"
},
"Cut",
"Cut"
],
clipboard && [
"span",
@ -1449,7 +1449,7 @@
class: "ace_mobile-button",
action: "paste"
},
"Paste",
"Paste"
],
hasUndo && [
"span",
@ -1457,7 +1457,7 @@
class: "ace_mobile-button",
action: "undo"
},
"Undo",
"Undo"
],
[
"span",
@ -1465,7 +1465,7 @@
class: "ace_mobile-button",
action: "find"
},
"Find",
"Find"
],
[
"span",
@ -1473,8 +1473,8 @@
class: "ace_mobile-button",
action: "openCommandPallete"
},
"Pallete",
],
"Pallete"
]
] : [
"span"
]), contextMenu.firstChild);
@ -1505,8 +1505,8 @@
class: "ace_mobile-button",
action: "more"
},
"...",
],
"..."
]
], editor.container);
}
var cursor = editor.selection.cursor, pagePos = editor.renderer.textToScreenCoordinates(cursor.row, cursor.column), leftOffset = editor.renderer.textToScreenCoordinates(0, 0).pageX, scrollLeft = editor.renderer.scrollLeft, rect = editor.container.getBoundingClientRect();
@ -1667,7 +1667,7 @@
"exports",
"module",
"ace/lib/oop",
"ace/lib/event_emitter",
"ace/lib/event_emitter"
], function(require, exports, module) {
var oop = require("./oop"), EventEmitter = require("./event_emitter").EventEmitter, optionsProvider = {
setOptions: function(optList) {
@ -1747,7 +1747,7 @@
"ace/lib/oop",
"ace/lib/net",
"ace/lib/dom",
"ace/lib/app_config",
"ace/lib/app_config"
], function(require, exports, module) {
var lang = require("./lib/lang");
require("./lib/oop");
@ -1850,7 +1850,7 @@
"ace/mouse/mouse_event",
"ace/mouse/dragdrop_handler",
"ace/mouse/touch_handler",
"ace/config",
"ace/config"
], function(require, exports, module) {
"use strict";
var event = require("../lib/event"), useragent = require("../lib/useragent"), DefaultHandlers = require("./default_handlers").DefaultHandlers, DefaultGutterHandler = require("./default_gutter_handler").GutterHandler, MouseEvent = require("./mouse_event").MouseEvent, DragdropHandler = require("./dragdrop_handler").DragdropHandler, addTouchListeners = require("./touch_handler").addTouchListeners, config = require("../config"), MouseHandler = function(editor) {
@ -1863,7 +1863,7 @@
mouseTarget,
editor.renderer.scrollBarV && editor.renderer.scrollBarV.inner,
editor.renderer.scrollBarH && editor.renderer.scrollBarH.inner,
editor.textInput && editor.textInput.getElement(),
editor.textInput && editor.textInput.getElement()
].filter(Boolean), [
400,
300,
@ -1978,7 +1978,7 @@
"exports",
"module",
"ace/lib/keys",
"ace/lib/event",
"ace/lib/event"
], function(require, exports, module) {
"use strict";
var keyUtil = require("../lib/keys"), event = require("../lib/event"), KeyBinding = function(editor) {
@ -2083,7 +2083,7 @@
4,
2,
0
],
]
], impTab_RTL = [
[
2,
@ -2120,7 +2120,7 @@
3,
1,
1
],
]
], UnicodeTBL00 = [
18,
18,
@ -2313,7 +2313,7 @@
4,
4,
4,
4,
4
], UnicodeTBL20 = [
8,
8,
@ -2410,7 +2410,7 @@
4,
4,
4,
8,
8
];
function _invertLevel(lev, levels, _array) {
if (!(hiLevel < lev)) {
@ -2530,7 +2530,7 @@
"exports",
"module",
"ace/lib/bidiutil",
"ace/lib/lang",
"ace/lib/lang"
], function(require, exports, module) {
"use strict";
var bidiUtil = require("./lib/bidiutil"), lang = require("./lib/lang"), bidiRE = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\u202B]/, BidiHandler = function(session) {
@ -2626,7 +2626,7 @@
"ace/lib/oop",
"ace/lib/lang",
"ace/lib/event_emitter",
"ace/range",
"ace/range"
], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop"), lang = require("./lib/lang"), EventEmitter = require("./lib/event_emitter").EventEmitter, Range = require("./range").Range, Selection = function(session) {
@ -3036,7 +3036,7 @@
},
{
defaultToken: "text"
},
}
]
};
};
@ -3204,7 +3204,7 @@
"ace/lib/oop",
"ace/mode/behaviour",
"ace/token_iterator",
"ace/lib/lang",
"ace/lib/lang"
], function(require, exports, module) {
"use strict";
var context, oop = require("../../lib/oop"), Behaviour = require("../behaviour").Behaviour, TokenIterator = require("../../token_iterator").TokenIterator, lang = require("../../lib/lang"), SAFE_INSERT_IN_TOKENS = [
@ -3212,14 +3212,14 @@
"paren.rparen",
"rparen",
"paren",
"punctuation.operator",
"punctuation.operator"
], SAFE_INSERT_BEFORE_TOKENS = [
"text",
"paren.rparen",
"rparen",
"paren",
"punctuation.operator",
"comment",
"comment"
], contextCache = {}, defaultQuotes = {
'"': '"',
"'": "'"
@ -3245,7 +3245,7 @@
0,
selection.start.column + 1,
rowDiff,
selection.end.column + (rowDiff ? 0 : 1),
selection.end.column + (rowDiff ? 0 : 1)
]
};
}, CstyleBehaviour = function(options) {
@ -3305,7 +3305,7 @@
1,
indent.length,
1,
indent.length,
indent.length
]
};
} else CstyleBehaviour.clearMaybeInsertedClosing();
@ -4290,7 +4290,7 @@
3,
5,
3,
2,
2
], code = 0, str = [], i = 0; i < wordChars.length; i += 2)str.push(code += wordChars[i]), wordChars[i + 1] && str.push(45, code += wordChars[i + 1]);
exports.wordChars = String.fromCharCode.apply(null, str);
}), ace.define("ace/mode/text", [
@ -4304,7 +4304,7 @@
"ace/unicode",
"ace/lib/lang",
"ace/token_iterator",
"ace/range",
"ace/range"
], function(require, exports, module) {
"use strict";
var config = require("../config"), Tokenizer = require("../tokenizer").Tokenizer, TextHighlightRules = require("./text_highlight_rules").TextHighlightRules, CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour, unicode = require("../unicode"), lang = require("../lib/lang"), TokenIterator = require("../token_iterator").TokenIterator, Range = require("../range").Range, Mode = function() {
@ -4417,7 +4417,7 @@
"checkOutdent",
"autoOutdent",
"transformAction",
"getCompletions",
"getCompletions"
], i = 0; i < delegations.length; i++)!function(scope) {
var functionName = delegations[i], defaultHandler = scope[functionName];
scope[delegations[i]] = function() {
@ -4508,7 +4508,7 @@
"exports",
"module",
"ace/lib/oop",
"ace/lib/event_emitter",
"ace/lib/event_emitter"
], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop"), EventEmitter = require("./lib/event_emitter").EventEmitter;
@ -4571,7 +4571,7 @@
"ace/apply_delta",
"ace/lib/event_emitter",
"ace/range",
"ace/anchor",
"ace/anchor"
], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop"), applyDelta = require("./apply_delta").applyDelta, EventEmitter = require("./lib/event_emitter").EventEmitter, Range = require("./range").Range, Anchor = require("./anchor").Anchor, Document = function(textOrLines) {
@ -4633,7 +4633,7 @@
}, this.getLinesForRange = function(range) {
var lines;
if (range.start.row === range.end.row) lines = [
this.getLine(range.start.row).substring(range.start.column, range.end.column),
this.getLine(range.start.row).substring(range.start.column, range.end.column)
];
else {
(lines = this.getLines(range.start.row, range.end.row))[0] = (lines[0] || "").substring(range.start.column);
@ -4796,7 +4796,7 @@
"exports",
"module",
"ace/lib/oop",
"ace/lib/event_emitter",
"ace/lib/event_emitter"
], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop"), EventEmitter = require("./lib/event_emitter").EventEmitter, BackgroundTokenizer = function(tokenizer, editor) {
@ -4861,7 +4861,7 @@
"module",
"ace/lib/lang",
"ace/lib/oop",
"ace/range",
"ace/range"
], function(require, exports, module) {
"use strict";
var lang = require("./lib/lang");
@ -5089,7 +5089,7 @@
"exports",
"module",
"ace/range_list",
"ace/lib/oop",
"ace/lib/oop"
], function(require, exports, module) {
"use strict";
var RangeList = require("../range_list").RangeList, oop = require("../lib/oop"), Fold = exports.Fold = function(range, placeholder) {
@ -5139,7 +5139,7 @@
"ace/range",
"ace/edit_session/fold_line",
"ace/edit_session/fold",
"ace/token_iterator",
"ace/token_iterator"
], function(require, exports, module) {
"use strict";
var Range = require("../range").Range, FoldLine = require("./fold_line").FoldLine, Fold = require("./fold").Fold, TokenIterator = require("../token_iterator").TokenIterator;
@ -5492,7 +5492,7 @@
"exports",
"module",
"ace/token_iterator",
"ace/range",
"ace/range"
], function(require, exports, module) {
"use strict";
var TokenIterator = require("../token_iterator").TokenIterator, Range = require("../range").Range;
@ -5605,7 +5605,7 @@
"ace/background_tokenizer",
"ace/search_highlight",
"ace/edit_session/folding",
"ace/edit_session/bracket_match",
"ace/edit_session/bracket_match"
], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop"), lang = require("./lib/lang"), BidiHandler = require("./bidihandler").BidiHandler, config = require("./config"), EventEmitter = require("./lib/event_emitter").EventEmitter, Selection = require("./selection").Selection, TextMode = require("./mode/text").Mode, Range = require("./range").Range, Document = require("./document").Document, BackgroundTokenizer = require("./background_tokenizer").BackgroundTokenizer, SearchHighlight = require("./search_highlight").SearchHighlight, EditSession = function(text, mode) {
@ -6351,7 +6351,7 @@
"module",
"ace/lib/lang",
"ace/lib/oop",
"ace/range",
"ace/range"
], function(require, exports, module) {
"use strict";
var lang = require("./lib/lang"), oop = require("./lib/oop"), Range = require("./range").Range, Search = function() {
@ -6503,7 +6503,7 @@
"exports",
"module",
"ace/lib/keys",
"ace/lib/useragent",
"ace/lib/useragent"
], function(require, exports, module) {
"use strict";
var keyUtil = require("../lib/keys"), useragent = require("../lib/useragent"), KEY_MODS = keyUtil.KEY_MODS;
@ -6628,7 +6628,7 @@
"module",
"ace/lib/oop",
"ace/keyboard/hash_handler",
"ace/lib/event_emitter",
"ace/lib/event_emitter"
], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop"), MultiHashHandler = require("../keyboard/hash_handler").MultiHashHandler, EventEmitter = require("../lib/event_emitter").EventEmitter, CommandManager = function(platform, commands) {
@ -6679,7 +6679,7 @@
"module",
"ace/lib/lang",
"ace/config",
"ace/range",
"ace/range"
], function(require, exports, module) {
"use strict";
var lang = require("../lib/lang"), config = require("../config"), Range = require("../range").Range;
@ -7715,7 +7715,7 @@
});
},
readOnly: !0
},
}
];
for(var i = 1; i < 9; i++)exports.commands.push({
name: "foldToLevel" + i,
@ -7748,7 +7748,7 @@
"ace/commands/default_commands",
"ace/config",
"ace/token_iterator",
"ace/clipboard",
"ace/clipboard"
], function(require, exports, module) {
"use strict";
require("./lib/fixoldbrowsers");
@ -7809,7 +7809,7 @@
}, this.$mergeableCommands = [
"backspace",
"del",
"insertstring",
"insertstring"
], this.$historyTracker = function(e) {
if (this.$mergeUndoDeltas) {
var prev = this.prevOp, mergeableCommands = this.$mergeableCommands, shouldMerge = prev.command && e.command.name == prev.command.name;
@ -7888,9 +7888,9 @@
Array.isArray(ranges) ? 1 == ranges.length && (markerType = "ace_error_bracket") : ranges = [
ranges
], 2 == ranges.length && (0 == Range.comparePoints(ranges[0].end, ranges[1].start) ? ranges = [
Range.fromPoints(ranges[0].start, ranges[1].end),
Range.fromPoints(ranges[0].start, ranges[1].end)
] : 0 == Range.comparePoints(ranges[0].start, ranges[1].end) && (ranges = [
Range.fromPoints(ranges[1].start, ranges[0].end),
Range.fromPoints(ranges[1].start, ranges[0].end)
])), session.$bracketHighlight = {
ranges: ranges,
markerIds: ranges.map(function(range) {
@ -8405,7 +8405,7 @@
[
"==",
"!="
],
]
], this.toggleWord = function() {
var reg, row = this.selection.getCursor().row, column = this.selection.getCursor().column;
this.selection.selectWord();
@ -9155,7 +9155,7 @@
"ace/lib/oop",
"ace/lib/lang",
"ace/lib/event_emitter",
"ace/layer/lines",
"ace/layer/lines"
], function(require, exports, module) {
"use strict";
var dom = require("../lib/dom"), oop = require("../lib/oop"), lang = require("../lib/lang"), EventEmitter = require("../lib/event_emitter").EventEmitter, Lines = require("./lines").Lines, Gutter = function(parentEl) {
@ -9387,7 +9387,7 @@
"ace/lib/dom",
"ace/lib/lang",
"ace/layer/lines",
"ace/lib/event_emitter",
"ace/lib/event_emitter"
], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop"), dom = require("../lib/dom"), lang = require("../lib/lang"), Lines = require("./lines").Lines, EventEmitter = require("../lib/event_emitter").EventEmitter, Text = function(parentEl) {
@ -9710,7 +9710,7 @@
"ace/lib/oop",
"ace/lib/dom",
"ace/lib/event",
"ace/lib/event_emitter",
"ace/lib/event_emitter"
], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop"), dom = require("./lib/dom"), event = require("./lib/event"), EventEmitter = require("./lib/event_emitter").EventEmitter, ScrollBar = function(parent) {
@ -9802,7 +9802,7 @@
"ace/lib/lang",
"ace/lib/event",
"ace/lib/useragent",
"ace/lib/event_emitter",
"ace/lib/event_emitter"
], function(require, exports, module) {
var oop = require("../lib/oop"), dom = require("../lib/dom"), lang = require("../lib/lang"), event = require("../lib/event"), useragent = require("../lib/useragent"), EventEmitter = require("../lib/event_emitter").EventEmitter, USE_OBSERVER = "function" == typeof ResizeObserver;
(function() {
@ -9853,7 +9853,7 @@
"div",
{
style: "position: absolute;top:" + t + "px;left:" + l + "px;"
},
}
];
};
this.els = dom.buildDom([
@ -9867,7 +9867,7 @@
var det = l1[1] * l2[0] - l1[0] * l2[1];
return [
(-l2[1] * r[0] + l2[0] * r[1]) / det,
(+l1[1] * r[0] - l1[0] * r[1]) / det,
(+l1[1] * r[0] - l1[0] * r[1]) / det
];
}
function sub(a, b) {
@ -9926,7 +9926,7 @@
"ace/renderloop",
"ace/layer/font_metrics",
"ace/lib/event_emitter",
"ace/lib/useragent",
"ace/lib/useragent"
], function(require, exports, module) {
"use strict";
var oop = require("./lib/oop"), dom = require("./lib/dom"), config = require("./config"), GutterLayer = require("./layer/gutter").Gutter, MarkerLayer = require("./layer/marker").Marker, TextLayer = require("./layer/text").Text, CursorLayer = require("./layer/cursor").Cursor, HScrollBar = require("./scrollbar").HScrollBar, VScrollBar = require("./scrollbar").VScrollBar, RenderLoop = require("./renderloop").RenderLoop, FontMetrics = require("./layer/font_metrics").FontMetrics, EventEmitter = require("./lib/event_emitter").EventEmitter, editorCss = '\
@ -10804,7 +10804,7 @@ margin: 0 10px;\
};
var canvasPos, p = this.$fontMetrics.transformCoordinates([
x,
y,
y
]);
x = p[1] - this.gutterWidth - this.margin.left, y = p[0];
} else canvasPos = this.scroller.getBoundingClientRect();
@ -10823,7 +10823,7 @@ margin: 0 10px;\
};
var canvasPos, p = this.$fontMetrics.transformCoordinates([
x,
y,
y
]);
x = p[1] - this.gutterWidth - this.margin.left, y = p[0];
} else canvasPos = this.scroller.getBoundingClientRect();
@ -11044,7 +11044,7 @@ margin: 0 10px;\
"ace/lib/oop",
"ace/lib/net",
"ace/lib/event_emitter",
"ace/config",
"ace/config"
], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop"), net = require("../lib/net"), EventEmitter = require("../lib/event_emitter").EventEmitter, config = require("../config");
@ -11201,7 +11201,7 @@ margin: 0 10px;\
"module",
"ace/range",
"ace/lib/event_emitter",
"ace/lib/oop",
"ace/lib/oop"
], function(require, exports, module) {
"use strict";
var Range = require("./range").Range, EventEmitter = require("./lib/event_emitter").EventEmitter, oop = require("./lib/oop"), PlaceHolder = function(session, length, pos, others, mainClass, othersClass) {
@ -11291,7 +11291,7 @@ margin: 0 10px;\
"exports",
"module",
"ace/lib/event",
"ace/lib/useragent",
"ace/lib/useragent"
], function(require, exports, module) {
var event = require("../lib/event"), useragent = require("../lib/useragent");
function isSamePoint(p1, p2) {
@ -11506,7 +11506,7 @@ margin: 0 10px;\
},
scrollIntoView: "cursor",
readOnly: !0
},
}
], exports.multiSelectCommands = [
{
name: "singleSelection",
@ -11520,7 +11520,7 @@ margin: 0 10px;\
isAvailable: function(editor) {
return editor && editor.inMultiSelectMode;
}
},
}
];
var HashHandler = require("../keyboard/hash_handler").HashHandler;
exports.keyboardHandler = new HashHandler(exports.multiSelectCommands);
@ -11538,7 +11538,7 @@ margin: 0 10px;\
"ace/search",
"ace/edit_session",
"ace/editor",
"ace/config",
"ace/config"
], function(require, exports, module) {
var RangeList = require("./range_list").RangeList, Range = require("./range").Range, Selection = require("./selection").Selection, onMouseDown = require("./mouse/multi_select_handler").onMouseDown, event = require("./lib/event"), lang = require("./lib/lang"), commands = require("./commands/multi_select_commands");
exports.commands = commands.defaultCommands.concat(commands.multiSelectCommands);
@ -12199,7 +12199,7 @@ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZg
"module",
"ace/line_widgets",
"ace/lib/dom",
"ace/range",
"ace/range"
], function(require, exports, module) {
"use strict";
var LineWidgets = require("../line_widgets").LineWidgets, dom = require("../lib/dom"), Range = require("../range").Range;
@ -12329,7 +12329,7 @@ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZg
"ace/mode/folding/fold_mode",
"ace/theme/textmate",
"ace/ext/error_marker",
"ace/config",
"ace/config"
], function(require, exports, module) {
"use strict";
require("./lib/fixoldbrowsers");
@ -12364,5 +12364,5 @@ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZg
window.ace.default = window.ace, module && (module.exports = window.ace);
});
}
},
}
]);

File diff suppressed because it is too large Load Diff

View File

@ -40,7 +40,7 @@
[
"httpEquiv",
"http-equiv"
],
]
].forEach(function(a) {
var b = a[0];
z[b] = new t(b, 1, !1, a[1], null, !1, !1);
@ -55,7 +55,7 @@
"autoReverse",
"externalResourcesRequired",
"focusable",
"preserveAlpha",
"preserveAlpha"
].forEach(function(a) {
z[a] = new t(a, 2, !1, a, null, !1, !1);
}), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a) {
@ -1585,7 +1585,7 @@
"compositionend",
"keypress",
"textInput",
"paste",
"paste"
]), fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
var kf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), lf = new Set("cancel close invalid load scroll toggle".split(" ").concat(kf));
function mf(a, b, c) {
@ -6128,5 +6128,5 @@
2322: function(module, __unused_webpack_exports, __webpack_require__) {
module.exports = __webpack_require__(1837);
}
},
}
]);

View File

@ -31,7 +31,7 @@
"24px",
"32px",
"40px",
"48px",
"48px"
],
fontWeights: {
light: 300,
@ -69,7 +69,7 @@
"80px",
"96px",
"112px",
"128px",
"128px"
],
colorSchemes: {
light: {
@ -3709,7 +3709,7 @@
"/_app",
function() {
return __webpack_require__(2078);
},
}
]);
},
2078: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -4727,7 +4727,7 @@
var t = d;
return d = [], t;
}
},
}
])), m.hash = u.length ? u.reduce(function(e, t) {
return t.name || j(15), te(e, t.name);
}, 5381).toString() : "", m;
@ -5063,7 +5063,7 @@
"svg",
"text",
"textPath",
"tspan",
"tspan"
].forEach(function(e) {
He[e] = He(e);
});
@ -5091,7 +5091,7 @@
return "<style " + [
n && 'nonce="' + n + '"',
A + '="true"',
'data-styled-version="5.3.5"',
'data-styled-version="5.3.5"'
].filter(Boolean).join(" ") + ">" + t + "</style>";
}, this.getStyleTags = function() {
return e.sealed ? j(2) : e._emitSheetCSS();
@ -5103,7 +5103,7 @@
return o && (n.nonce = o), [
react.createElement("style", v({}, n, {
key: "sc-0-0"
})),
}))
];
}, this.seal = function() {
e.sealed = !0;
@ -5816,7 +5816,7 @@
"top",
"bottom",
"left",
"right",
"right"
].reduce(function(acc, curr) {
var _extends2;
return _extends({}, acc, ((_extends2 = {})[curr] = positiveOrNegative, _extends2));
@ -6294,7 +6294,7 @@
getButtonStyles(theme),
getSizeStyles(size, variant, !1),
getVariantStyles(variant, theme),
sxProp,
sxProp
]);
return react.createElement(StyledButton, ButtonBase_extends({
as: Component,
@ -6356,7 +6356,7 @@
";border-radius:20px;",
";",
";&:empty{display:none;}",
";",
";"
], constants_get("fontSizes.0"), constants_get("fontWeights.bold"), constants_get("lineHeights.condensedUltra"), colorStyles, bgStyles, sx);
function ButtonCounter_extends() {
return (ButtonCounter_extends = Object.assign || function(target) {
@ -6432,7 +6432,7 @@
}
return react.memo(l);
}([
'*{box-sizing:border-box;}body{margin:0;}table{border-collapse:collapse;}[role="button"]:focus:not(:focus-visible):not(.focus-visible),[role="tabpanel"][tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),button:focus:not(:focus-visible):not(.focus-visible),summary:focus:not(:focus-visible):not(.focus-visible),a:focus:not(:focus-visible):not(.focus-visible){outline:none;box-shadow:none;}[tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),details-dialog:focus:not(:focus-visible):not(.focus-visible){outline:none;}',
'*{box-sizing:border-box;}body{margin:0;}table{border-collapse:collapse;}[role="button"]:focus:not(:focus-visible):not(.focus-visible),[role="tabpanel"][tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),button:focus:not(:focus-visible):not(.focus-visible),summary:focus:not(:focus-visible):not(.focus-visible),a:focus:not(:focus-visible):not(.focus-visible){outline:none;box-shadow:none;}[tabindex="0"]:focus:not(:focus-visible):not(.focus-visible),details-dialog:focus:not(:focus-visible):not(.focus-visible){outline:none;}'
]), Base = He.div.withConfig({
displayName: "BaseStyles__Base",
componentId: "sc-nfjs56-0"
@ -6644,5 +6644,5 @@
], function() {
return __webpack_exec__(1118), __webpack_exec__(880);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -9,5 +9,5 @@ Only page size below ${MAX_PAGE_SIZE} is available in the MIT version.
You need to upgrade to the DataGridPro component to unlock this feature.`);
}
},
}
]);

View File

@ -60,10 +60,10 @@
(0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
children: "Nested 2"
}),
(0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(BrowserLoaded, {}),
(0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(BrowserLoaded, {})
]
});
};
}
},
}
]);

View File

@ -16,12 +16,12 @@
(0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__.default, {
id: "3028949577",
children: [
"div.jsx-3028949577{font-size:100px;}",
"div.jsx-3028949577{font-size:100px;}"
]
}),
})
]
});
};
}
},
}
]);

View File

@ -24,10 +24,10 @@
return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
children: [
"Nested 1",
(0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Nested2, {}),
(0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Nested2, {})
]
});
};
}
},
}
]);

View File

@ -19,7 +19,7 @@
"/about",
function() {
return __webpack_require__(4426);
},
}
]);
}
},
@ -31,5 +31,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 8484);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about",
function() {
return __webpack_require__(1962);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 2856);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about1",
function() {
return __webpack_require__(1107);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 8000);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about2",
function() {
return __webpack_require__(388);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 9354);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about3",
function() {
return __webpack_require__(7407);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 357);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about4",
function() {
return __webpack_require__(6787);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 6055);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about5",
function() {
return __webpack_require__(6298);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 8758);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about6",
function() {
return __webpack_require__(9249);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 5754);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/about7",
function() {
return __webpack_require__(4208);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 9037);
}), _N_E = __webpack_require__.O();
},
}
]);

View File

@ -21,7 +21,7 @@
"/hmr/contact",
function() {
return __webpack_require__(8897);
},
}
]);
}
},
@ -33,5 +33,5 @@
], function() {
return __webpack_require__(__webpack_require__.s = 2574);
}), _N_E = __webpack_require__.O();
},
}
]);

Some files were not shown because too many files have changed in this diff Show More