text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="path_to_url">
<item android:drawable="@drawable/record_camera_switch_disable" android:state_enabled="false"/>
<item android:drawable="@drawable/record_camera_switch_pressed" android:state_pressed="true"/>
<item android:drawable="@drawable/record_camera_switch_normal"/>
</selector>
``` | /content/code_sandbox/SmallVideoRecord1/SmallVideoLib/src/main/res/drawable/record_camera_switch_selector.xml | xml | 2016-08-25T09:20:09 | 2024-08-11T05:54:45 | small-video-record | mabeijianxi/small-video-record | 3,455 | 84 |
```xml
export * from './AppConfigurationProvider';
export * from './VersionProvider';
export * from './TranslatorProvider';
``` | /content/code_sandbox/packages/ui-components/src/providers/index.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 23 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="src/dotnet/commands/dotnet-restore-projectjson/LocalizableStrings.resx">
<body>
<group id="src/dotnet/commands/dotnet-restore-projectjson/LocalizableStrings.resx" />
<trans-unit id="AddMinimal">
<source>minimal</source>
<target state="translated">minimln</target>
<note />
</trans-unit>
<trans-unit id="AddRestore">
<source>restore</source>
<target state="translated">obnovit</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
``` | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-restore-projectjson/xlf/LocalizableStrings.cs.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 242 |
```xml
import type { Maybe } from '@proton/pass/types';
import { pipe } from '@proton/pass/utils/fp/pipe';
export type BoundComputeStyles = ReturnType<typeof createStyleCompute>;
export const createStyleCompute: (
el: HTMLElement
) => <T extends Maybe<(computedProperty: string) => any> = Maybe<(computedProperty: string) => any>>(
property: string,
transformer?: T
) => T extends (...args: any[]) => any ? ReturnType<T> : string = (el) => {
const style = getComputedStyle(el);
return (property, transformer) => {
const value = style.getPropertyValue(property);
return transformer?.(value) ?? value;
};
};
export const pixelParser = (value: string) => parseInt(value.replace('px', ''), 10);
export const pixelEncoder = (value: number): string => `${value}px`;
export const pixelTransformer = (value: string, transformer: (value: number) => number): string =>
pipe(pixelParser, transformer, pixelEncoder)(value);
export const getComputedHeight = (
boundCompute: ReturnType<typeof createStyleCompute>,
{ node, mode }: { node: HTMLElement; mode: 'inner' | 'outer' }
): { value: number; offset: { top: number; bottom: number } } => {
const isContentBox = boundCompute('box-sizing') === 'content-box';
/* certain target nodes will be set to height: 'auto' - fallback
* to the element's offsetHeight in that case*/
const h = boundCompute('height', (height) =>
height === 'auto' || !height ? node.offsetHeight : pixelParser(height)
);
const pt = boundCompute('padding-top', pixelParser);
const pb = boundCompute('padding-bottom', pixelParser);
const bt = boundCompute('border-top', pixelParser);
const bb = boundCompute('border-bottom', pixelParser);
const offset = pt + bt + pb + bb;
return {
value: isContentBox ? h + (mode === 'outer' ? offset : 0) : h - (mode === 'inner' ? offset : 0),
offset: {
top: mode === 'outer' ? 0 : pt + bt,
bottom: mode === 'outer' ? 0 : pb + bb,
},
};
};
export const getComputedWidth = (
boundCompute: ReturnType<typeof createStyleCompute>,
{ node, mode }: { node: HTMLElement; mode: 'inner' | 'outer' }
): { value: number; offset: { left: number; right: number } } => {
const isContentBox = boundCompute('box-sizing') === 'content-box';
const w = boundCompute('width', (width) => (width === 'auto' || !width ? node.offsetWidth : pixelParser(width)));
const pl = boundCompute('padding-left', pixelParser);
const pr = boundCompute('padding-right', pixelParser);
const bl = boundCompute('border-left', pixelParser);
const br = boundCompute('border-right', pixelParser);
const offset = pl + bl + pr + br;
return {
value: isContentBox ? w + (mode === 'outer' ? offset : 0) : w - (mode === 'inner' ? offset : 0),
offset: {
left: mode === 'outer' ? 0 : pl + bl,
right: mode === 'outer' ? 0 : pr + br,
},
};
};
``` | /content/code_sandbox/packages/pass/utils/dom/computed-styles.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 750 |
```xml
import React from 'react'
import { View, ViewProps } from 'react-native'
import {
SafeAreaInsetsContext,
SafeAreaProvider,
useSafeAreaInsets as useSafeAreaOriginal,
} from 'react-native-safe-area-context'
import { getElectronTitleBarHeight } from '../../components/ElectronTitleBar'
import { useDesktopOptions } from '../../hooks/use-desktop-options'
export const SafeAreaContext = SafeAreaInsetsContext
export const SafeAreaConsumer = SafeAreaInsetsContext.Consumer
export { SafeAreaProvider }
export const useSafeArea: typeof useSafeAreaOriginal = () => {
const safeAreaInsets = useSafeAreaOriginal()
const { isMenuBarMode } = useDesktopOptions()
return {
top: safeAreaInsets.top + getElectronTitleBarHeight({ isMenuBarMode }),
bottom: safeAreaInsets.bottom,
left: safeAreaInsets.left,
right: safeAreaInsets.right,
}
}
export const SafeAreaView = React.forwardRef<View, ViewProps>((props, ref) => {
const safeAreaInsets = useSafeArea()
return (
<View
ref={ref}
{...props}
style={[
{
paddingTop: safeAreaInsets.top,
paddingBottom: safeAreaInsets.bottom,
paddingLeft: safeAreaInsets.left,
paddingRight: safeAreaInsets.right,
},
props.style,
]}
/>
)
})
export type SafeAreaView = View
``` | /content/code_sandbox/packages/components/src/libs/safe-area-view/index.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 300 |
```xml
import { LeftItem, SubTitle } from '../sites/styles';
import { RightItem, TypeFormContainer } from './styles';
import { Alert } from '@erxes/ui/src/utils';
import Button from '@erxes/ui/src/components/Button';
import ContentTypeStep from './step/ContenTypeStep';
import FullPreview from './step/FullPreview';
import { IContentType } from '../../types';
import Icon from '@erxes/ui/src/components/Icon';
import React from 'react';
import { __ } from '@erxes/ui/src/utils/core';
type Props = {
action: (doc: any, afterSave?: any) => void;
remove: (contentTypeId: string, afterSave?: any) => void;
onCancel: (settingsObject: any, type: string) => void;
siteId: string;
contentType: IContentType;
};
type State = {
displayName: string;
code: string;
fields: any;
};
class ContentTypeForm extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
const { contentType } = props;
const fields = (contentType.fields || []).map(field => ({
...field,
_id: Math.random()
}));
this.state = {
displayName: contentType.displayName || '',
code: contentType.code || '',
fields: fields || []
};
}
componentDidUpdate(prevProps) {
const { contentType } = this.props;
const fields = (contentType.fields || []).map(field => ({
...field,
_id: Math.random()
}));
if (prevProps.contentType !== contentType) {
this.setState({
displayName: contentType.displayName,
code: contentType.code,
fields: fields || []
});
}
}
handleSubmit = (e: React.FormEvent) => {
e.preventDefault();
const { displayName, code, fields } = this.state;
const { contentType, onCancel, siteId } = this.props;
if (!code) {
return Alert.error('Please enter a code!');
}
const doc = {
displayName,
code,
fields,
siteId
} as any;
if (contentType) {
doc._id = contentType._id;
}
this.props.action(doc, () => onCancel(null, ''));
};
onChange = (key: string, value: any) => {
this.setState({ [key]: value } as any);
};
renderButtons = () => {
const { onCancel, remove, contentType } = this.props;
const cancelButton = (
<Button
btnStyle="simple"
size="small"
icon="times-circle"
onClick={() => onCancel(null, '')}
>
Cancel
</Button>
);
return (
<Button.Group>
{contentType.displayName && (
<Button
btnStyle="danger"
icon="trash-alt"
size="small"
onClick={() => remove(contentType._id, onCancel(null, ''))}
>
Delete
</Button>
)}
{cancelButton}
<Button
btnStyle="success"
icon={'check-circle'}
size="small"
onClick={this.handleSubmit}
>
Save
</Button>
</Button.Group>
);
};
render() {
const { displayName, code, fields } = this.state;
return (
<TypeFormContainer className="gjs-one-bg gjs-two-color">
<LeftItem>
<SubTitle flexBetween={true}>
{__('Content Type Settings')}
{this.renderButtons()}
</SubTitle>
<ContentTypeStep
onChange={this.onChange}
displayName={displayName}
code={code}
fields={fields}
/>
</LeftItem>
<RightItem>
<SubTitle>
<div>
<Icon icon="file-search-alt" size={18} />
{__('Editor Preview')}
</div>
</SubTitle>
<FullPreview
onChange={this.onChange}
color=""
theme=""
type="dropdown"
fields={this.state.fields}
/>
</RightItem>
</TypeFormContainer>
);
}
}
export default ContentTypeForm;
``` | /content/code_sandbox/packages/plugin-webbuilder-ui/src/components/contentTypes/ContenTypeForm.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 883 |
```xml
import { Directive, TemplateRef } from '@angular/core';
@Directive({
selector: '[ngx-datatable-row-detail-template]'
})
export class DatatableRowDetailTemplateDirective {
constructor(public template: TemplateRef<any>) {}
}
``` | /content/code_sandbox/projects/swimlane/ngx-datatable/src/lib/components/row-detail/row-detail-template.directive.ts | xml | 2016-05-31T19:25:47 | 2024-08-06T15:02:47 | ngx-datatable | swimlane/ngx-datatable | 4,624 | 48 |
```xml
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
import { log } from "../..";
import { Resource } from "../../resource";
import * as closure from "./createClosure";
import * as utils from "./utils";
/**
* {@link SerializeFunctionArgs} are arguments used to serialize a JavaScript
* function.
*/
export interface SerializeFunctionArgs {
/**
* The name to export from the module defined by the generated module text.
* Defaults to `handler`.
*/
exportName?: string;
/**
* A function to prevent serialization of certain objects captured during
* the serialization. Primarily used to prevent potential cycles.
*/
serialize?: (o: any) => boolean;
/**
* True if this is a function which, when invoked, will produce the actual
* entrypoint function. Useful for when serializing a function that has high
* startup cost that we'd ideally only run once. The signature of this
* function should be `() => (provider_handler_args...) => provider_result`.
*
* This will then be emitted as `exports.[exportName] =
* serialized_func_name();`
*
* In other words, the function will be invoked (once) and the resulting
* inner function will be what is exported.
*/
isFactoryFunction?: boolean;
/**
* The resource to log any errors we encounter against.
*/
logResource?: Resource;
/**
* If true, allow secrets to be serialized into the function. This should
* only be set to true if the calling code will handle this and propoerly
* wrap the resulting text in a secret before passing it into any resources
* or serializing it to any other output format. If set, the
* `containsSecrets` property on the returned {@link SerializedFunction}
* object will indicate whether secrets were serialized into the function
* text.
*/
allowSecrets?: boolean;
}
/**
* {@link SerializedFunction} is a representation of a serialized JavaScript
* function.
*/
export interface SerializedFunction {
/**
* The text of a JavaScript module which exports a single name bound to an
* appropriate value. In the case of a normal function, this value will just
* be serialized function. In the case of a factory function this value
* will be the result of invoking the factory function.
*/
text: string;
/**
* The name of the exported module member.
*/
exportName: string;
/**
* True if the serialized function text includes serialized secrets.
*/
containsSecrets: boolean;
}
/**
* Serializes a JavaScript function into a text form that can be loaded in
* another execution context, for example as part of a function callback
* associated with an AWS Lambda. The function serialization captures any
* variables captured by the function body and serializes those values into the
* generated text along with the function body. This process is recursive, so
* that functions referenced by the body of the serialized function will
* themselves be serialized as well. This process also deeply serializes
* captured object values, including prototype chains and property descriptors,
* such that the semantics of the function when deserialized should match the
* original function.
*
* There are several known limitations:
*
* - If a native function is captured either directly or indirectly, closure
* serialization will return an error.
*
* - Captured values will be serialized based on their values at the time that
* `serializeFunction` is called. Mutations to these values after that (but
* before the deserialized function is used) will not be observed by the
* deserialized function.
*
* @param func
* The JavaScript function to serialize.
* @param args
* Arguments to use to control the serialization of the JavaScript function.
*/
export async function serializeFunction(func: Function, args: SerializeFunctionArgs = {}): Promise<SerializedFunction> {
const exportName = args.exportName || "handler";
const serialize = args.serialize || ((_) => true);
const isFactoryFunction = args.isFactoryFunction === undefined ? false : args.isFactoryFunction;
const closureInfo = await closure.createClosureInfoAsync(func, serialize, args.logResource);
if (!args.allowSecrets && closureInfo.containsSecrets) {
throw new Error("Secret outputs cannot be captured by a closure.");
}
return serializeJavaScriptText(closureInfo, exportName, isFactoryFunction);
}
/**
* @deprecated
* Please use {@link serializeFunction} instead.
*/
export async function serializeFunctionAsync(func: Function, serialize?: (o: any) => boolean): Promise<string> {
log.warn("'function serializeFunctionAsync' is deprecated. Please use 'serializeFunction' instead.");
serialize = serialize || ((_) => true);
const closureInfo = await closure.createClosureInfoAsync(func, serialize, /*logResource:*/ undefined);
if (closureInfo.containsSecrets) {
throw new Error("Secret outputs cannot be captured by a closure.");
}
return serializeJavaScriptText(closureInfo, "handler", /*isFactoryFunction*/ false).text;
}
/**
* Converts a {@link FunctionInfo} object into a string representation of a
* NodeJS module body which exposes a single function `exports.handler`
* representing the serialized function.
*/
function serializeJavaScriptText(
outerClosure: closure.ClosureInfo,
exportName: string,
isFactoryFunction: boolean,
): SerializedFunction {
// Now produce a textual representation of the closure and its serialized captured environment.
// State used to build up the environment variables for all the funcs we generate.
// In general, we try to create idiomatic code to make the generated code not too
// hideous. For example, we will try to generate code like:
//
// var __e1 = [1, 2, 3] // or
// var __e2 = { a: 1, b: 2, c: 3 }
//
// However, for non-common cases (i.e. sparse arrays, objects with configured properties,
// etc. etc.) we will spit things out in a much more verbose fashion that eschews
// prettyness for correct semantics.
const envEntryToEnvVar = new Map<closure.Entry, string>();
const envVarNames = new Set<string>();
const functionInfoToEnvVar = new Map<closure.FunctionInfo, string>();
let environmentText = "";
let functionText = "";
const importedIdentifiers = new Map<string, ImportedIdentifier>();
const outerFunctionName = emitFunctionAndGetName(outerClosure.func);
if (environmentText) {
environmentText = "\n" + environmentText;
}
// Export the appropriate value. For a normal function, this will just be exporting the name of
// the module function we created by serializing it. For a factory function this will export
// the function produced by invoking the factory function once.
let text: string;
const exportText = `exports.${exportName} = ${outerFunctionName}${isFactoryFunction ? "()" : ""};`;
if (isFactoryFunction) {
// for a factory function, we need to call the function at the end. That way all the logic
// to set up the environment has run.
text = environmentText + functionText + "\n" + exportText;
} else {
text = exportText + "\n" + environmentText + functionText;
}
return { text, exportName, containsSecrets: outerClosure.containsSecrets };
function emitFunctionAndGetName(functionInfo: closure.FunctionInfo): string {
// If this is the first time seeing this function, then actually emit the function code for
// it. Otherwise, just return the name of the emitted function for anyone that wants to
// reference it from their own code.
let functionName = functionInfoToEnvVar.get(functionInfo);
if (!functionName) {
functionName = functionInfo.name
? createEnvVarName(functionInfo.name, /*addIndexAtEnd:*/ false)
: createEnvVarName("f", /*addIndexAtEnd:*/ true);
functionInfoToEnvVar.set(functionInfo, functionName);
emitFunctionWorker(functionInfo, functionName);
}
return functionName;
}
function emitFunctionWorker(functionInfo: closure.FunctionInfo, varName: string) {
const capturedValues = envFromEnvObj(functionInfo.capturedValues);
const thisCapture = capturedValues.this;
const argumentsCapture = capturedValues.arguments;
capturedValues.this = undefined as unknown as string;
capturedValues.arguments = undefined as unknown as string;
const parameters = [...Array(functionInfo.paramCount)].map((_, index) => `__${index}`).join(", ");
for (const [keyEntry, { entry: valEntry }] of functionInfo.capturedValues) {
if (valEntry.module === undefined) {
continue;
}
let imported = importedIdentifiers.get(keyEntry.json);
// If we haven't imported this identifier yet, we'll do so now. If
// the identifier isn't reserved, importIdentifier will instruct us
// to import it "as-is". We can thus remove it from the list of
// captured values and have it available inside the scope of the
// function (and all subsequent functions). If the identifier is
// reserved, importIdentifier will generate a suitable alias for it.
// We'll declare this now, but we'll not remove the identifier from
// the list of captures. This means that we can safely alias it as
// the reserved identifier inside relevant function scopes.
//
// As an example, consider the identifiers "foo" (not reserved) and
// "exports" (reserved).
//
// For "foo", we'll generate code like:
//
// const foo = require("some/module/foo");
//
// function x() {
// return (function () {
// with({ ... }) {
// // foo used directly
// }
// }).apply(...)
// }
//
// For "exports", importIdentifier will give us an identifier like
// "__pulumi_closure_import_exports" and we'll generate code like:
//
// const __pulumi_closure_import_exports = require("some/module/foo");
//
// function x() {
// return (function () {
// with({ exports: __pulumi_closure_import_exports, ... }) {
// // exports now available by virtue of the with()
// }
// }).apply(...)
// }
//
// This hack saves us having to rewrite the function's code while
// helping us avoid importing modules over and over again (which
// might have unintended side effects).
if (!imported) {
imported = importIdentifier(keyEntry.json);
importedIdentifiers.set(keyEntry.json, imported);
functionText += `const ${imported.as} = require("${valEntry.module}");\n`;
}
if (imported.reserved) {
capturedValues[imported.identifier] = imported.as;
} else {
delete capturedValues[keyEntry.json];
}
}
functionText +=
"\n" +
"function " +
varName +
"(" +
parameters +
") {\n" +
" return (function() {\n" +
" with(" +
envObjToString(capturedValues) +
") {\n\n" +
"return " +
functionInfo.code +
";\n\n" +
" }\n" +
" }).apply(" +
thisCapture +
", " +
argumentsCapture +
").apply(this, arguments);\n" +
"}\n";
// If this function is complex (i.e. non-default __proto__, or has properties, etc.)
// then emit those as well.
emitComplexObjectProperties(varName, varName, functionInfo);
if (functionInfo.proto !== undefined) {
const protoVar = envEntryToString(functionInfo.proto, `${varName}_proto`);
environmentText += `Object.setPrototypeOf(${varName}, ${protoVar});\n`;
}
}
function envFromEnvObj(env: closure.PropertyMap): Record<string, string> {
const envObj: Record<string, string> = {};
for (const [keyEntry, { entry: valEntry }] of env) {
if (typeof keyEntry.json !== "string") {
throw new Error("PropertyMap key was not a string.");
}
const key = keyEntry.json;
const val = envEntryToString(valEntry, key);
envObj[key] = val;
}
return envObj;
}
function envEntryToString(envEntry: closure.Entry, varName: string): string {
const envVar = envEntryToEnvVar.get(envEntry);
if (envVar !== undefined) {
return envVar;
}
// Complex objects may also be referenced from multiple functions. As such, we have to
// create variables for them in the environment so that all references to them unify to the
// same reference to the env variable. Effectively, we need to do this for any object that
// could be compared for reference-identity. Basic types (strings, numbers, etc.) have
// value semantics and this can be emitted directly into the code where they are used as
// there is no way to observe that you are getting a different copy.
if (isObjOrArrayOrRegExp(envEntry)) {
return complexEnvEntryToString(envEntry, varName);
} else {
// Other values (like strings, bools, etc.) can just be emitted inline.
return simpleEnvEntryToString(envEntry, varName);
}
}
function simpleEnvEntryToString(envEntry: closure.Entry, varName: string): string {
if (envEntry.hasOwnProperty("json")) {
return JSON.stringify(envEntry.json);
} else if (envEntry.function !== undefined) {
return emitFunctionAndGetName(envEntry.function);
} else if (envEntry.module !== undefined) {
return `require("${envEntry.module}")`;
} else if (envEntry.output !== undefined) {
return envEntryToString(envEntry.output, varName);
} else if (envEntry.expr) {
// Entry specifies exactly how it should be emitted. So just use whatever
// it wanted.
return envEntry.expr;
} else if (envEntry.promise) {
return `Promise.resolve(${envEntryToString(envEntry.promise, varName)})`;
} else {
throw new Error("Malformed: " + JSON.stringify(envEntry));
}
}
function complexEnvEntryToString(envEntry: closure.Entry, varName: string): string {
// Call all environment variables __e<num> to make them unique. But suffix
// them with the original name of the property to help provide context when
// looking at the source.
const envVar = createEnvVarName(varName, /*addIndexAtEnd:*/ false);
envEntryToEnvVar.set(envEntry, envVar);
if (envEntry.object) {
emitObject(envVar, envEntry.object, varName);
} else if (envEntry.array) {
emitArray(envVar, envEntry.array, varName);
} else if (envEntry.regexp) {
const { source, flags } = envEntry.regexp;
const regexVal = `new RegExp(${JSON.stringify(source)}, ${JSON.stringify(flags)})`;
const entryString = `var ${envVar} = ${regexVal};\n`;
environmentText += entryString;
}
return envVar;
}
function createEnvVarName(baseName: string, addIndexAtEnd: boolean): string {
const trimLeadingUnderscoreRegex = /^_*/g;
const legalName = makeLegalJSName(baseName).replace(trimLeadingUnderscoreRegex, "");
let index = 0;
let currentName = addIndexAtEnd ? "__" + legalName + index : "__" + legalName;
while (envVarNames.has(currentName)) {
currentName = addIndexAtEnd ? "__" + legalName + index : "__" + index + "_" + legalName;
index++;
}
envVarNames.add(currentName);
return currentName;
}
function emitObject(envVar: string, obj: closure.ObjectInfo, varName: string): void {
const complex = isComplex(obj);
if (complex) {
// we have a complex child. Because of the possibility of recursion in
// the object graph, we have to spit out this variable uninitialized first.
// Then we can walk our children, creating a single assignment per child.
// This way, if the child ends up referencing us, we'll have already emitted
// the **initialized** variable for them to reference.
if (obj.proto) {
const protoVar = envEntryToString(obj.proto, `${varName}_proto`);
environmentText += `var ${envVar} = Object.create(${protoVar});\n`;
} else {
environmentText += `var ${envVar} = {};\n`;
}
emitComplexObjectProperties(envVar, varName, obj);
} else {
// All values inside this obj are simple. We can just emit the object
// directly as an object literal with all children embedded in the literal.
const props: string[] = [];
for (const [keyEntry, { entry: valEntry }] of obj.env) {
const keyName = typeof keyEntry.json === "string" ? keyEntry.json : "sym";
const propName = envEntryToString(keyEntry, keyName);
const propVal = simpleEnvEntryToString(valEntry, keyName);
if (typeof keyEntry.json === "string" && utils.isLegalMemberName(keyEntry.json)) {
props.push(`${keyEntry.json}: ${propVal}`);
} else {
props.push(`[${propName}]: ${propVal}`);
}
}
const allProps = props.join(", ");
const entryString = `var ${envVar} = {${allProps}};\n`;
environmentText += entryString;
}
function isComplex(o: closure.ObjectInfo) {
if (obj.proto !== undefined) {
return true;
}
for (const v of o.env.values()) {
if (entryIsComplex(v)) {
return true;
}
}
return false;
}
function entryIsComplex(v: closure.PropertyInfoAndValue) {
return !isSimplePropertyInfo(v.info) || deepContainsObjOrArrayOrRegExp(v.entry);
}
}
function isSimplePropertyInfo(info: closure.PropertyInfo | undefined): boolean {
if (!info) {
return true;
}
return (
info.enumerable === true && info.writable === true && info.configurable === true && !info.get && !info.set
);
}
function emitComplexObjectProperties(envVar: string, varName: string, objEntry: closure.ObjectInfo): void {
for (const [keyEntry, { info, entry: valEntry }] of objEntry.env) {
const subName = typeof keyEntry.json === "string" ? keyEntry.json : "sym";
const keyString = envEntryToString(keyEntry, varName + "_" + subName);
const valString = envEntryToString(valEntry, varName + "_" + subName);
if (isSimplePropertyInfo(info)) {
// normal property. Just emit simply as a direct assignment.
if (typeof keyEntry.json === "string" && utils.isLegalMemberName(keyEntry.json)) {
environmentText += `${envVar}.${keyEntry.json} = ${valString};\n`;
} else {
environmentText += `${envVar}${`[${keyString}]`} = ${valString};\n`;
}
} else {
// complex property. emit as Object.defineProperty
emitDefineProperty(info!, valString, keyString);
}
}
function emitDefineProperty(desc: closure.PropertyInfo, entryValue: string, propName: string) {
const copy: any = {};
if (desc.configurable) {
copy.configurable = desc.configurable;
}
if (desc.enumerable) {
copy.enumerable = desc.enumerable;
}
if (desc.writable) {
copy.writable = desc.writable;
}
if (desc.get) {
copy.get = envEntryToString(desc.get, `${varName}_get`);
}
if (desc.set) {
copy.set = envEntryToString(desc.set, `${varName}_set`);
}
if (desc.hasValue) {
copy.value = entryValue;
}
const line = `Object.defineProperty(${envVar}, ${propName}, ${envObjToString(copy)});\n`;
environmentText += line;
}
}
function emitArray(envVar: string, arr: closure.Entry[], varName: string): void {
if (arr.some(deepContainsObjOrArrayOrRegExp) || isSparse(arr) || hasNonNumericIndices(arr)) {
// we have a complex child. Because of the possibility of recursion in the object
// graph, we have to spit out this variable initialized (but empty) first. Then we can
// walk our children, knowing we'll be able to find this variable if they reference it.
environmentText += `var ${envVar} = [];\n`;
// Walk the names of the array properties directly. This ensures we work efficiently
// with sparse arrays. i.e. if the array has length 1k, but only has one value in it
// set, we can just set htat value, instead of setting 999 undefineds.
for (const key of Object.getOwnPropertyNames(arr)) {
if (key !== "length") {
const entryString = envEntryToString(arr[<any>key], `${varName}_${key}`);
environmentText += `${envVar}${isNumeric(key) ? `[${key}]` : `.${key}`} = ${entryString};\n`;
}
}
} else {
// All values inside this array are simple. We can just emit the array elements in
// place. i.e. we can emit as ``var arr = [1, 2, 3]`` as that's far more preferred than
// having four individual statements to do the same.
const strings: string[] = [];
for (let i = 0, n = arr.length; i < n; i++) {
strings.push(simpleEnvEntryToString(arr[i], `${varName}_${i}`));
}
const entryString = `var ${envVar} = [${strings.join(", ")}];\n`;
environmentText += entryString;
}
}
}
(<any>serializeJavaScriptText).doNotCapture = true;
const makeLegalRegex = /[^0-9a-zA-Z_]/g;
function makeLegalJSName(n: string) {
return n.replace(makeLegalRegex, (x) => "");
}
function isSparse<T>(arr: Array<T>) {
// getOwnPropertyNames for an array returns all the indices as well as 'length'.
// so we subtract one to get all the real indices. If that's not the same as
// the array length, then we must have missing properties and are thus sparse.
return arr.length !== Object.getOwnPropertyNames(arr).length - 1;
}
function hasNonNumericIndices<T>(arr: Array<T>) {
return Object.keys(arr).some((k) => k !== "length" && !isNumeric(k));
}
function isNumeric(n: string) {
return !isNaN(parseFloat(n)) && isFinite(+n);
}
function isObjOrArrayOrRegExp(env: closure.Entry): boolean {
return env.object !== undefined || env.array !== undefined || env.regexp !== undefined;
}
function deepContainsObjOrArrayOrRegExp(env: closure.Entry): boolean {
return (
isObjOrArrayOrRegExp(env) ||
(env.output !== undefined && deepContainsObjOrArrayOrRegExp(env.output)) ||
(env.promise !== undefined && deepContainsObjOrArrayOrRegExp(env.promise))
);
}
/**
* Converts an environment object into a string which can be embedded into a
* serialized function body. Note that this is not JSON serialization, as we
* may have property values which are variable references to other global
* functions. In other words, there can be free variables in the resulting
* object literal.
*
* @param envObj
* The environment object to convert to a string.
*/
function envObjToString(envObj: Record<string, string>): string {
return `{ ${Object.keys(envObj)
.map((k) => `${k}: ${envObj[k]}`)
.join(", ")} }`;
}
/**
* An identifier to be imported into a serialised function.
*/
interface ImportedIdentifier {
/**
* True if and only if the identifier to be imported would shadow a reserved
* identifier (e.g. "exports").
*/
reserved: boolean;
/**
* The identifier required by serialised function code.
*/
identifier: string;
/**
* An alias for the required identifier that doesn't clash with reserved
* identifiers. May be the required identifier itself if it doesn't clash.
*/
as: string;
}
/**
* Computes an appropriate {@link ImportedIdentifier} for a given identifier.
*/
function importIdentifier(identifier: string): ImportedIdentifier {
if (RESERVED_IDENTIFIERS.has(identifier)) {
const as = `__pulumi_closure_import_${identifier}`;
return {
reserved: true,
identifier,
as,
};
}
return {
reserved: false,
identifier,
as: identifier,
};
}
/**
* The set of known reserved identifiers that we might encounter when
* serialising function code.
*
* @internal
*/
const RESERVED_IDENTIFIERS = new Set(["exports"]);
``` | /content/code_sandbox/sdk/nodejs/runtime/closure/serializeClosure.ts | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 5,603 |
```xml
import path from 'path';
import fetch_ from 'node-fetch';
import { generateNewToken } from './common';
import { Deployment } from './types';
import { createDeployment } from '../src/index';
describe('create v2 deployment', () => {
let deployment: Deployment;
let token = '';
beforeEach(async () => {
token = await generateNewToken();
});
it('will display an empty deployment warning', async () => {
for await (const event of createDeployment(
{
token,
teamId: process.env.VERCEL_TEAM_ID,
path: path.resolve(__dirname, 'fixtures', 'v2'),
},
{
name: 'now-clien-tests-v2',
}
)) {
if (event.type === 'warning') {
expect(event.payload).toEqual('READY');
}
if (event.type === 'ready') {
deployment = event.payload;
break;
}
}
});
it('will report correct file count event', async () => {
for await (const event of createDeployment(
{
token,
teamId: process.env.VERCEL_TEAM_ID,
path: path.resolve(__dirname, 'fixtures', 'v2'),
},
{
name: 'now-client-tests-v2',
}
)) {
if (event.type === 'file-count') {
expect(event.payload.total).toEqual(0);
}
if (event.type === 'ready') {
deployment = event.payload;
break;
}
}
});
it('will create a v2 deployment', async () => {
for await (const event of createDeployment(
{
token,
teamId: process.env.VERCEL_TEAM_ID,
path: path.resolve(__dirname, 'fixtures', 'v2'),
},
{
name: 'now-client-tests-v2',
}
)) {
if (event.type === 'ready') {
deployment = event.payload;
expect(deployment.readyState).toEqual('READY');
break;
}
}
});
it('will create a v2 deployment with correct file permissions', async () => {
let error = null;
for await (const event of createDeployment(
{
token,
teamId: process.env.VERCEL_TEAM_ID,
path: path.resolve(__dirname, 'fixtures', 'v2-file-permissions'),
skipAutoDetectionConfirmation: true,
},
{
name: 'now-client-tests-v2',
projectSettings: {
buildCommand: null,
devCommand: null,
outputDirectory: null,
},
}
)) {
if (event.type === 'ready') {
deployment = event.payload;
break;
} else if (event.type === 'error') {
error = event.payload;
console.error(error.message);
break;
}
}
expect(error).toBe(null);
expect(deployment.readyState).toEqual('READY');
const url = `path_to_url{deployment.url}/api/index.js`;
console.log('testing url ' + url);
const response = await fetch_(url);
const text = await response.text();
expect(deployment.readyState).toEqual('READY');
expect(text).toContain('executed bash script');
});
it('will create a v2 deployment and ignore files specified in .nowignore', async () => {
let error = null;
for await (const event of createDeployment(
{
token,
teamId: process.env.VERCEL_TEAM_ID,
path: path.resolve(__dirname, 'fixtures', 'nowignore'),
skipAutoDetectionConfirmation: true,
},
{
name: 'now-client-tests-v2',
projectSettings: {
buildCommand: null,
devCommand: null,
outputDirectory: null,
},
}
)) {
if (event.type === 'ready') {
deployment = event.payload;
break;
} else if (event.type === 'error') {
error = event.payload;
console.error(error.message);
break;
}
}
expect(error).toBe(null);
expect(deployment.readyState).toEqual('READY');
const index = await fetch_(`path_to_url{deployment.url}`);
expect(index.status).toBe(200);
expect(await index.text()).toBe('Hello World!');
const ignore1 = await fetch_(`path_to_url{deployment.url}/ignore.txt`);
expect(ignore1.status).toBe(404);
const ignore2 = await fetch_(`path_to_url{deployment.url}/folder/ignore.txt`);
expect(ignore2.status).toBe(404);
const ignore3 = await fetch_(
`path_to_url{deployment.url}/node_modules/ignore.txt`
);
expect(ignore3.status).toBe(404);
});
});
``` | /content/code_sandbox/packages/client/tests/create-deployment.test.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 1,013 |
```xml
import { c } from 'ttag'
import type { ModalStateProps } from '@proton/components'
import { BasicModal, PrimaryButton, useModalTwoStatic } from '@proton/components'
import { useState } from 'react'
type Props = {
title: string
translatedMessage: string
}
export default function GenericAlertModal({
title,
translatedMessage,
onClose,
open,
...modalProps
}: Props & ModalStateProps) {
const [isOpen, setIsOpen] = useState(open)
const handleClose = () => {
setIsOpen(false)
if (typeof onClose !== 'undefined') {
onClose()
}
}
return (
<BasicModal
title={title}
isOpen={isOpen === undefined ? true : isOpen}
onClose={handleClose}
footer={
<>
<PrimaryButton onClick={handleClose}>{c('Action').t`Ok`}</PrimaryButton>
</>
}
{...modalProps}
>
<p>{translatedMessage}</p>
</BasicModal>
)
}
export const useGenericAlertModal = () => {
return useModalTwoStatic(GenericAlertModal)
}
``` | /content/code_sandbox/applications/docs/src/app/Components/Modals/GenericAlert.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 246 |
```xml
import './refined-github.css';
import './github-helpers/heat-map.css';
// CSS-only features
import './features/github-bugs.css';
import './features/tab-size.css';
import './features/center-reactions-popup.css';
import './features/safer-destructive-actions.css';
import './features/clean-footer.css';
import './features/pr-approvals-count.css';
import './features/clean-conversations.css';
import './features/sticky-conversation-list-toolbar.css';
import './features/clean-notifications.css';
import './features/night-not-found.css';
import './features/sticky-file-header.css';
import './features/sticky-notifications-actions.css';
import './features/readable-title-change-events.css';
import './features/clean-checks-list.css';
import './features/sticky-csv-header.css';
import './features/mark-private-repos.css';
// DO NOT add CSS files here if they are part of a JavaScript feature.
// Import the `.css` file from the `.tsx` instead.
// CSS-only disableable features
import './features/align-issue-labels.js';
import './features/clean-pinned-issues.js';
import './features/hide-newsfeed-noise.js';
import './features/hide-diff-signs.js';
import './features/clean-rich-text-editor.js';
// Disableable features
import './features/useful-not-found-page.js';
import './features/more-dropdown-links.js';
import './features/releases-tab.js';
import './features/one-key-formatting.js';
import './features/tab-to-indent.js';
import './features/hide-navigation-hover-highlight.js';
import './features/selection-in-new-tab.js';
import './features/quick-comment-hiding.js';
import './features/quick-comment-edit.js';
import './features/open-all-notifications.js';
import './features/copy-on-y.js';
import './features/profile-hotkey.js';
import './features/close-out-of-view-modals.js';
import './features/improve-shortcut-help.js';
import './features/infinite-scroll.js';
import './features/shorten-links.js';
import './features/linkify-code.js';
import './features/download-folder-button.js';
import './features/linkify-branch-references.js';
import './features/open-all-conversations.js';
import './features/pagination-hotkey.js';
import './features/conversation-links-on-repo-lists.js';
import './features/global-conversation-list-filters.js';
import './features/more-conversation-filters.js';
import './features/sort-conversations-by-update-time.js'; // Must be after global-conversation-list-filters and more-conversation-filters and conversation-links-on-repo-lists
import './features/pinned-issues-update-time.js';
import './features/default-branch-button.js';
import './features/one-click-diff-options.js';
import './features/ci-link.js';
import './features/toggle-files-button.js';
import './features/sync-pr-commit-title.js';
import './features/hide-inactive-deployments.js';
import './features/pull-request-hotkeys.js';
import './features/one-click-review-submission.js';
import './features/embed-gist-inline.js';
import './features/comments-time-machine-links.js';
import './features/hide-issue-list-autocomplete.js';
import './features/esc-to-deselect-line.js';
import './features/create-release-shortcut.js';
import './features/patch-diff-links.js';
import './features/parse-backticks.js';
import './features/mark-merge-commits-in-list.js';
import './features/swap-branches-on-compare.js';
import './features/reactions-avatars.js';
import './features/show-names.js';
import './features/previous-next-commit-buttons.js';
import './features/extend-diff-expander.js';
import './features/profile-gists-link.js';
import './features/show-user-top-repositories.js';
import './features/hide-user-forks.js';
import './features/user-profile-follower-badge.js';
import './features/highlight-non-default-base-branch.js';
import './features/mark-private-orgs.js';
import './features/linkify-commit-sha.js';
import './features/warning-for-disallow-edits.js';
import './features/warn-pr-from-master.js';
import './features/preview-hidden-comments.js';
import './features/fit-textareas.js';
import './features/collapsible-content-button.js';
import './features/resolve-conflicts.js';
import './features/actionable-pr-view-file.js'; // Must be before more-file-links
import './features/more-file-links.js';
import './features/pr-filters.js';
import './features/quick-file-edit.js';
import './features/update-pr-from-base-branch.js';
import './features/tag-changes-link.js';
import './features/clean-conversation-sidebar.js';
import './features/sticky-sidebar.js';
import './features/release-download-count.js';
import './features/open-issue-to-latest-comment.js';
import './features/toggle-everything-with-alt.js';
import './features/suggest-commit-title-limit.js';
import './features/highest-rated-comment.js';
import './features/clean-conversation-filters.js';
import './features/tags-on-commits-list.js';
import './features/list-prs-for-file.js';
import './features/pr-branch-auto-delete.js';
import './features/linkify-symbolic-links.js'; // Must be before show-whitespace
import './features/show-whitespace.js';
import './features/restore-file.js';
import './features/hidden-review-comments-indicator.js';
import './features/reload-failed-proxied-images.js';
import './features/highlight-collaborators-and-own-conversations.js';
import './features/embed-gist-via-iframe.js';
import './features/one-click-pr-or-gist.js';
import './features/dim-bots.js';
import './features/conflict-marker.js';
import './features/html-preview-link.js';
import './features/linkify-user-location.js';
import './features/repo-age.js';
import './features/user-local-time.js';
import './features/quick-mention.js';
import './features/extend-conversation-status-filters.js';
import './features/expand-all-hidden-comments.js';
import './features/bugs-tab.js';
import './features/cross-deleted-pr-branches.js';
import './features/repo-wide-file-finder.js';
import './features/pr-commit-lines-changed.js';
import './features/show-open-prs-of-forks.js';
import './features/deep-reblame.js';
import './features/clear-pr-merge-commit-message.js';
import './features/action-used-by-link.js';
import './features/batch-mark-files-as-viewed.js';
import './features/unwrap-unnecessary-dropdowns.js';
import './features/linkify-notification-repository-header.js';
import './features/stop-redirecting-in-notification-bar.js';
import './features/prevent-link-loss.js';
import './features/closing-remarks.js';
import './features/show-associated-branch-prs-on-fork.js';
import './features/quick-review.js';
import './features/pr-jump-to-first-non-viewed-file.js';
import './features/keyboard-navigation.js';
import './features/vertical-front-matter.js';
import './features/pr-first-commit-title.js';
import './features/linkify-user-edit-history-popup.js';
import './features/clean-repo-filelist-actions.js';
import './features/prevent-duplicate-pr-submission.js';
import './features/quick-label-removal.js';
import './features/clean-conversation-headers.js';
import './features/new-or-deleted-file.js';
import './features/convert-release-to-draft.js';
import './features/new-repo-disable-projects-and-wikis.js';
import './features/table-input.js';
import './features/link-to-github-io.js';
import './features/github-actions-indicators.js';
import './features/convert-pr-to-draft-improvements.js';
import './features/unfinished-comments.js';
import './features/jump-to-change-requested-comment.js';
import './features/esc-to-cancel.js';
import './features/easy-toggle-files.js';
import './features/quick-repo-deletion.js';
import './features/clean-repo-sidebar.js';
import './features/rgh-feature-descriptions.js';
import './features/archive-forks-link.js';
import './features/link-to-changelog-file.js';
import './features/rgh-linkify-features.js';
import './features/conversation-activity-filter.js';
import './features/select-all-notifications-shortcut.js';
import './features/no-duplicate-list-update-time.js';
import './features/view-last-pr-deployment.js';
import './features/avoid-accidental-submissions.js';
import './features/quick-review-comment-deletion.js';
import './features/no-unnecessary-split-diff-view.js';
import './features/list-prs-for-branch.js';
import './features/select-notifications.js';
import './features/clean-repo-tabs.js';
import './features/rgh-welcome-issue.js';
import './features/same-branch-author-commits.js';
import './features/prevent-pr-merge-panel-opening.js';
import './features/rgh-improve-new-issue-form.js';
import './features/easy-toggle-commit-messages.js';
import './features/command-palette-navigation-shortcuts.js';
import './features/link-to-compare-diff.js';
import './features/hide-low-quality-comments.js';
import './features/submission-via-ctrl-enter-everywhere.js';
import './features/linkify-user-labels.js';
import './features/repo-avatars.js';
import './features/jump-to-conversation-close-event.js';
import './features/last-notification-page-button.js';
import './features/rgh-linkify-yolo-issues.js';
import './features/quick-new-issue.js';
import './features/scrollable-areas.js';
import './features/emphasize-draft-pr-label.js';
import './features/file-age-color.js';
import './features/netiquette.js';
import './features/rgh-netiquette.js';
import './features/small-user-avatars.js';
import './features/releases-dropdown.js';
import './features/pr-base-commit.js';
import './features/unreleased-commits.js';
import './features/previous-version.js';
import './features/status-subscription.js';
import './features/action-pr-link.js';
import './features/rgh-dim-commits.js';
import './features/mobile-tabs.js';
import './features/repo-header-info.js';
import './features/rgh-pr-template.js';
import './features/close-as-unplanned.js';
import './features/locked-issue.js';
import './features/visit-tag.js';
import './features/prevent-comment-loss.js';
import './features/fix-no-pr-search.js';
import './features/clean-readme-url.js';
import './features/pr-notification-link.js';
import './features/click-outside-modal.js';
import './features/comment-excess.js';
import './features/linkify-line-numbers.js';
``` | /content/code_sandbox/source/refined-github.ts | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 2,184 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<resources>
<color name="indigo_50">#E8EAF6</color>
<color name="indigo_100">#C5CAE9</color>
<color name="indigo_200">#9FA8DA</color>
<color name="indigo_300">#7986CB</color>
<color name="indigo_400">#5C6BC0</color>
<color name="indigo_500">#3F51B5</color>
<color name="indigo_600">#3949AB</color>
<color name="indigo_700">#303F9F</color>
<color name="indigo_800">#283593</color>
<color name="indigo_900">#1A237E</color>
<!-- accents -->
<color name="indigo_a100">#8C9EFF</color>
<color name="indigo_a200">#536DFE</color>
<color name="indigo_a400">#3D5AFE</color>
<color name="indigo_a700">#304FFE</color>
</resources>
``` | /content/code_sandbox/modules/material-colors/src/androidMain/res/values/indigo_swatch.xml | xml | 2016-08-12T14:22:12 | 2024-08-13T16:15:24 | Splitties | LouisCAD/Splitties | 2,498 | 263 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
"path_to_url">
<struts>
<constant name="struts.action.extension" value=","/>
<package name="test" extends="json-default" namespace="/">
<action name="echo" class="com.amazonaws.serverless.proxy.struts.echoapp.EchoAction" method="execute">
<result type="json">
<param name="root">
message
</param>
</result>
</action>
<action name="echo-request-info" class="com.amazonaws.serverless.proxy.struts.echoapp.EchoRequestInfoAction"
method="execute">
<result type="json">
<param name="root">
result
</param>
</result>
</action>
</package>
</struts>
``` | /content/code_sandbox/aws-serverless-java-container-struts/src/test/resources/struts.xml | xml | 2016-12-05T20:04:57 | 2024-08-15T19:57:41 | serverless-java-container | aws/serverless-java-container | 1,480 | 198 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Square root of the golden ratio.
*
* @example
* var val = SQRT_PHI;
* // returns 1.272019649514069
*/
declare const SQRT_PHI: number;
// EXPORTS //
export = SQRT_PHI;
``` | /content/code_sandbox/lib/node_modules/@stdlib/constants/float64/sqrt-phi/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 115 |
```xml
import { useQuery } from "@apollo/client"
import { queries } from "../graphql"
import { IFeed } from "../types"
export interface IUsePosts {
loading: boolean
feeds: IFeed[]
feedsCount: number
handleLoadMore: () => void
}
export const useFeeds = (contentType: string): IUsePosts => {
const { data, loading, fetchMore } = useQuery(queries.feed, {
variables: {
contentTypes: [contentType],
limit: 10,
},
})
const handleLoadMore = () => {
const feedLength = data.exmFeed.list.length || 0
fetchMore({
variables: {
skip: feedLength,
},
updateQuery(prev, { fetchMoreResult }) {
if (!fetchMoreResult) {
return prev
}
const fetchedExmFeed = fetchMoreResult.exmFeed.list || []
const prevExmFeed = prev.exmFeed.list || []
if (fetchedExmFeed) {
return {
...prev,
exmFeed: {
...prev.exmFeed,
list: [...prevExmFeed, ...fetchedExmFeed],
},
}
}
},
})
}
const feeds = (data || {}).exmFeed ? (data || {}).exmFeed.list : []
const feedsCount = (data || {}).exmFeed ? (data || {}).exmFeed.totalCount : 0
return {
loading,
feeds,
feedsCount,
handleLoadMore,
}
}
export const FETCH_MORE_PER_PAGE: number = 20
``` | /content/code_sandbox/exm-web/modules/feed/hooks/useFeed.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 350 |
```xml
declare module "ts2c-target-test/stdlib.h" {
function abs(param: number): number;
}
``` | /content/code_sandbox/tests/statements/node_modules/ts2c-target-test/stdlib.h.d.ts | xml | 2016-07-24T23:05:37 | 2024-08-12T19:23:59 | ts2c | andrei-markeev/ts2c | 1,252 | 24 |
```xml
#!/usr/bin/env node
import chalk from 'chalk';
import fs from 'fs';
import path from 'path';
import {
downloadAndExtractExampleAsync,
ensureExampleExists,
promptExamplesAsync,
} from './Examples';
import * as Template from './Template';
import { promptTemplateAsync } from './legacyTemplates';
import { Log } from './log';
import {
configurePackageManager,
installDependenciesAsync,
PackageManagerName,
resolvePackageManager,
} from './resolvePackageManager';
import { assertFolderEmpty, assertValidName, resolveProjectRootAsync } from './resolveProjectRoot';
import {
AnalyticsEventPhases,
AnalyticsEventTypes,
identify,
initializeAnalyticsIdentityAsync,
track,
} from './telemetry';
import { initGitRepoAsync } from './utils/git';
import { withSectionLog } from './utils/log';
export type Options = {
install: boolean;
template?: string | true;
example?: string | true;
yes: boolean;
};
const debug = require('debug')('expo:init:create') as typeof console.log;
async function resolveProjectRootArgAsync(
inputPath: string,
{ yes }: Pick<Options, 'yes'>
): Promise<string> {
if (!inputPath && yes) {
const projectRoot = path.resolve(process.cwd());
const folderName = path.basename(projectRoot);
assertValidName(folderName);
assertFolderEmpty(projectRoot, folderName);
return projectRoot;
} else {
return await resolveProjectRootAsync(inputPath);
}
}
async function setupDependenciesAsync(projectRoot: string, props: Pick<Options, 'install'>) {
const shouldInstall = props.install;
const packageManager = resolvePackageManager();
// Configure package manager, which is unrelated to installing or not
await configureNodeDependenciesAsync(projectRoot, packageManager);
// Install dependencies
let podsInstalled: boolean = false;
const needsPodsInstalled = await fs.existsSync(path.join(projectRoot, 'ios'));
if (shouldInstall) {
await installNodeDependenciesAsync(projectRoot, packageManager);
if (needsPodsInstalled) {
podsInstalled = await installCocoaPodsAsync(projectRoot);
}
}
const cdPath = getChangeDirectoryPath(projectRoot);
console.log();
Template.logProjectReady({ cdPath, packageManager });
if (!shouldInstall) {
logNodeInstallWarning(cdPath, packageManager, needsPodsInstalled && !podsInstalled);
}
}
export async function createAsync(inputPath: string, options: Options): Promise<void> {
if (options.example && options.template) {
throw new Error('Cannot use both --example and --template');
}
if (options.example) {
return await createExampleAsync(inputPath, options);
}
return await createTemplateAsync(inputPath, options);
}
async function createTemplateAsync(inputPath: string, props: Options): Promise<void> {
let resolvedTemplate: string | null = null;
// @ts-ignore: This guards against someone passing --template without a name after it.
if (props.template === true) {
resolvedTemplate = await promptTemplateAsync();
} else {
resolvedTemplate = props.template ?? null;
}
const projectRoot = await resolveProjectRootArgAsync(inputPath, props);
await fs.promises.mkdir(projectRoot, { recursive: true });
// Setup telemetry attempt after a reasonable point.
// Telemetry is used to ensure safe feature deprecation since the command is unversioned.
// All telemetry can be disabled across Expo tooling by using the env var $EXPO_NO_TELEMETRY.
await initializeAnalyticsIdentityAsync();
identify();
track({
event: AnalyticsEventTypes.CREATE_EXPO_APP,
properties: { phase: AnalyticsEventPhases.ATTEMPT, template: resolvedTemplate },
});
await withSectionLog(
() => Template.extractAndPrepareTemplateAppAsync(projectRoot, { npmPackage: resolvedTemplate }),
{
pending: chalk.bold('Locating project files.'),
success: 'Downloaded and extracted project files.',
error: (error) =>
`Something went wrong in downloading and extracting the project files: ${error.message}`,
}
);
await setupDependenciesAsync(projectRoot, props);
// for now, we will just init a git repo if they have git installed and the
// project is not inside an existing git tree, and do it silently. we should
// at some point check if git is installed and actually bail out if not, because
// npm install will fail with a confusing error if so.
try {
// check if git is installed
// check if inside git repo
await initGitRepoAsync(projectRoot);
} catch (error) {
debug(`Error initializing git: %O`, error);
// todo: check if git is installed, bail out
}
}
async function createExampleAsync(inputPath: string, props: Options): Promise<void> {
let resolvedExample = '';
if (props.example === true) {
resolvedExample = await promptExamplesAsync();
} else if (props.example) {
resolvedExample = props.example;
}
await ensureExampleExists(resolvedExample);
const projectRoot = await resolveProjectRootArgAsync(inputPath, props);
await fs.promises.mkdir(projectRoot, { recursive: true });
// Setup telemetry attempt after a reasonable point.
// Telemetry is used to ensure safe feature deprecation since the command is unversioned.
// All telemetry can be disabled across Expo tooling by using the env var $EXPO_NO_TELEMETRY.
await initializeAnalyticsIdentityAsync();
identify();
track({
event: AnalyticsEventTypes.CREATE_EXPO_APP,
properties: { phase: AnalyticsEventPhases.ATTEMPT, example: resolvedExample },
});
await withSectionLog(() => downloadAndExtractExampleAsync(projectRoot, resolvedExample), {
pending: chalk.bold('Locating example files...'),
success: 'Downloaded and extracted example files.',
error: (error) =>
`Something went wrong in downloading and extracting the example files: ${error.message}`,
});
await setupDependenciesAsync(projectRoot, props);
// for now, we will just init a git repo if they have git installed and the
// project is not inside an existing git tree, and do it silently. we should
// at some point check if git is installed and actually bail out if not, because
// npm install will fail with a confusing error if so.
try {
// check if git is installed
// check if inside git repo
await initGitRepoAsync(projectRoot);
} catch (error) {
debug(`Error initializing git: %O`, error);
// todo: check if git is installed, bail out
}
}
function getChangeDirectoryPath(projectRoot: string): string {
const cdPath = path.relative(process.cwd(), projectRoot);
if (cdPath.length <= projectRoot.length) {
return cdPath;
}
return projectRoot;
}
async function configureNodeDependenciesAsync(
projectRoot: string,
packageManager: PackageManagerName
): Promise<void> {
try {
await configurePackageManager(projectRoot, packageManager, { silent: false });
} catch (error: any) {
debug(`Error configuring package manager: %O`, error);
Log.error(
`Something went wrong configuring the package manager. Check your ${packageManager} logs. Continuing to create the app.`
);
Log.exception(error);
}
}
async function installNodeDependenciesAsync(
projectRoot: string,
packageManager: PackageManagerName
): Promise<void> {
try {
await installDependenciesAsync(projectRoot, packageManager, { silent: false });
} catch (error: any) {
debug(`Error installing node modules: %O`, error);
Log.error(
`Something went wrong installing JavaScript dependencies. Check your ${packageManager} logs. Continuing to create the app.`
);
Log.exception(error);
}
}
async function installCocoaPodsAsync(projectRoot: string): Promise<boolean> {
let podsInstalled = false;
try {
podsInstalled = await Template.installPodsAsync(projectRoot);
} catch (error) {
debug(`Error installing CocoaPods: %O`, error);
}
return podsInstalled;
}
export function logNodeInstallWarning(
cdPath: string,
packageManager: PackageManagerName,
needsPods: boolean
): void {
console.log(`\n Before running your app, make sure you have modules installed:\n`);
console.log(` cd ${cdPath || '.'}${path.sep}`);
console.log(` ${packageManager} install`);
if (needsPods && process.platform === 'darwin') {
console.log(` npx pod-install`);
}
console.log();
}
``` | /content/code_sandbox/packages/create-expo/src/createAsync.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,878 |
```xml
import { parsePlatformHeader } from './resolvePlatform';
import { ServerNext, ServerRequest, ServerResponse } from './server.types';
/**
* Create a web-only middleware which redirects to the index middleware without losing the path component.
* This is useful for things like React Navigation which need to render the index.html and then direct the user in-memory.
*/
export class HistoryFallbackMiddleware {
constructor(
private indexMiddleware: (
req: ServerRequest,
res: ServerResponse,
next: ServerNext
) => Promise<void>
) {}
getHandler() {
return (req: ServerRequest, res: ServerResponse, next: any) => {
const platform = parsePlatformHeader(req);
if (!platform || platform === 'web') {
// Redirect unknown to the manifest handler while preserving the path.
// This implements the HTML5 history fallback API.
return this.indexMiddleware(req, res, next);
}
return next();
};
}
}
``` | /content/code_sandbox/packages/@expo/cli/src/start/server/middleware/HistoryFallbackMiddleware.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 204 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
**
**
** path_to_url
**
** Unless required by applicable law or agreed to in writing, software
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
-->
<resources>
<!-- Whether or not Popup on key press is enabled by default -->
<bool name="default_popup_preview">false</bool>
</resources>
``` | /content/code_sandbox/app/src/main/res/values-xlarge/bools.xml | xml | 2016-01-22T21:40:54 | 2024-08-16T11:54:30 | hackerskeyboard | klausw/hackerskeyboard | 1,807 | 92 |
```xml
import React from 'react';
import RenderHTML from '../RenderHTML';
import renderer from 'react-test-renderer';
import { extractTextFromInstance } from './utils';
describe('RenderHTML component regarding <pre> tags behaviors', () => {
it('preserves tabs and line breaks', () => {
const testRenderer = renderer.create(
<RenderHTML debug={false} source={{ html: '<pre>\t\n a</pre>' }} />
);
const renderedText = extractTextFromInstance(testRenderer.root);
expect(renderedText).toEqual('\t\n a');
});
it('preserves indentation and line breaks', () => {
const preContent = `
function myJSFunction() {
console.log("let's go");
console.log("let's go");
console.log("let's go");
}
`;
const testRenderer = renderer.create(
<RenderHTML debug={false} source={{ html: `<pre>${preContent}</pre>` }} />
);
const renderedText = extractTextFromInstance(testRenderer.root);
expect(renderedText).toEqual(preContent);
});
});
``` | /content/code_sandbox/packages/render-html/src/__tests__/w3c.html.pre.test.tsx | xml | 2016-11-29T10:50:53 | 2024-08-08T06:53:22 | react-native-render-html | meliorence/react-native-render-html | 3,445 | 237 |
```xml
import Queue from "bull";
import { createTimer } from "coral-server/helpers";
import logger from "coral-server/logger";
import Task from "coral-server/queue/Task";
import MailerContent from "coral-server/queue/tasks/mailer/content";
import { TenantCache } from "coral-server/services/tenant/cache";
import {
createJobProcessor,
JOB_NAME,
MailerData,
MailProcessorOptions,
} from "./processor";
import { EmailTemplate } from "./templates";
export interface MailerInput {
message: {
to: string;
};
template: EmailTemplate;
tenantID: string;
}
export class MailerQueue {
private task: Task<MailerData>;
private content: MailerContent;
private tenantCache: TenantCache;
constructor(queue: Queue.QueueOptions, options: MailProcessorOptions) {
this.task = new Task<MailerData>({
jobName: JOB_NAME,
jobProcessor: createJobProcessor(options),
queue,
// Time the mailer job out after the specified timeout value has been
// reached.
timeout: options.config.get("mailer_job_timeout"),
});
this.content = new MailerContent(options);
this.tenantCache = options.tenantCache;
}
public async counts() {
return this.task.counts();
}
public async add({ template, tenantID, message: { to } }: MailerInput) {
const log = logger.child(
{
jobName: JOB_NAME,
tenantID,
},
true
);
// This is to handle sbn users that don't have an email.
// These are users who signed up with a third-party login
// identity (typically Google, FB, or Twitter) and that provider
// does not disclose that identity's email address to us for
// whatever reason. So we put an email similar to:
//
// missing-{{userID}}
//
// It's easy to check for since it's missing an '@' and
// has their id embedded into it for easy debugging should
// an error occur around it.
if (!to.includes("@") && to.startsWith("missing-")) {
log.error(
{ email: to },
"not sending email, user does not have an email"
);
return;
}
// All email templates require the tenant in order to insert the footer, so
// load it from the tenant cache here.
const tenant = await this.tenantCache.retrieveByID(tenantID);
if (!tenant) {
log.error("referenced tenant was not found");
// TODO: (wyattjoh) maybe throw an error here?
return;
}
if (!tenant.email.enabled) {
log.error("not adding email, it was disabled");
// TODO: (wyattjoh) maybe throw an error here?
return;
}
const timer = createTimer();
let html: string;
try {
// Generate the HTML for the email template.
html = await this.content.generateHTML(tenant, template);
} catch (err) {
log.error({ err }, "could not generate the html");
// TODO: (wyattjoh) maybe throw an error here?
return;
}
// Compute the end time.
log.trace({ took: timer() }, "finished template generation");
// Return the job that'll add the email to the queue to be processed later.
return this.task.add({
tenantID,
templateName: template.name,
templateContext: template.context,
message: {
to,
html,
},
});
}
/**
* process maps the interface to the task process function.
*/
public process() {
return this.task.process();
}
}
export const createMailerTask = (
queue: Queue.QueueOptions,
options: MailProcessorOptions
) => new MailerQueue(queue, options);
``` | /content/code_sandbox/server/src/core/server/queue/tasks/mailer/index.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 838 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Nextcloud - Android Client
~
-->
<LinearLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="@dimen/standard_padding">
<com.google.android.material.card.MaterialCardView
android:id="@+id/template_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
app:cardElevation="0dp"
app:strokeColor="@color/grey_200"
app:strokeWidth="2dp">
<ImageView
android:id="@+id/template"
android:layout_width="60dp"
android:layout_height="84dp"
android:layout_margin="@dimen/standard_margin"
android:contentDescription="@string/thumbnail"
android:src="@drawable/file_doc" />
</com.google.android.material.card.MaterialCardView>
<TextView
android:id="@+id/template_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:ellipsize="middle"
android:gravity="center_horizontal"
android:paddingTop="@dimen/standard_half_padding"
android:textColor="@color/text_color"
tools:text="Template" />
</LinearLayout>
``` | /content/code_sandbox/app/src/main/res/layout/template_button.xml | xml | 2016-06-06T21:23:36 | 2024-08-16T18:22:36 | android | nextcloud/android | 4,122 | 334 |
```xml
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
import {FooterComponent} from './footer.component';
describe('FooterComponent', () => {
let component: FooterComponent;
let fixture: ComponentFixture<FooterComponent>;
/**
* Gets a element in the native element
* @param querySelector The query selector of the element
*/
const getElement = (querySelector: string): HTMLElement => {
return fixture.debugElement.nativeElement.querySelector(querySelector);
};
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [FooterComponent]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(FooterComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
describe('css testing', () => {
it('address should have display: flex', async () => {
const element = getElement('address');
const computedElement = getComputedStyle(element);
expect(computedElement.display).toBe('flex');
});
});
});
``` | /content/code_sandbox/perf/test/angular-cli/src/app/footer/footer.component.spec.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 224 |
```xml
// @ts-ignore
import type {CanBePromise, interactionPolicy, KoaContextWithOIDC, UnknownObject} from "oidc-provider";
export interface OidcInteractionOptions {
name: string;
requestable?: boolean | undefined;
priority?: number;
details?: (ctx: KoaContextWithOIDC) => CanBePromise<UnknownObject>;
checks?: interactionPolicy.Check[];
}
``` | /content/code_sandbox/packages/security/oidc-provider/src/domain/OidcInteractionOptions.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 86 |
```xml
import Particles from "./Particles";
export * from "tsparticles/Enums";
export * from "tsparticles/Plugins/Absorbers/Enums";
export * from "tsparticles/Plugins/Emitters/Enums";
export * from "tsparticles/Plugins/PolygonMask/Enums";
export default Particles;
export { Particles };
``` | /content/code_sandbox/src/index.ts | xml | 2016-11-29T10:59:11 | 2024-08-14T11:19:23 | react-particles-js | wufe/react-particles-js | 1,151 | 74 |
```xml
import React from 'react';
import type { StoryObj, Meta } from '@storybook/react';
import Highlight from '../Highlight';
import { createMeta } from '@/storybook/utils';
import '../styles/index.less';
const meta = createMeta(Highlight) as Meta<typeof Highlight>;
export default {
title: 'Components/Highlight',
...meta
};
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
query: 'React',
children:
'React Suite is a set of react components that have high quality and high performance.'
}
};
export const MultipleWords: Story = {
args: {
query: ['high quality', 'high performance'],
children:
'React Suite is a set of react components that have high quality and high performance.'
}
};
export const CustomMark: Story = {
args: {
query: ['high quality', 'high performance'],
children:
'React Suite is a set of react components that have high quality and high performance.',
renderMark: (match, index) => (
<mark key={index} style={{ backgroundColor: '#f4f4f4', color: '#f00' }}>
{match}
</mark>
)
}
};
``` | /content/code_sandbox/src/Highlight/stories/Highlight.stories.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 262 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Returns the expected value of an Erlang distribution.
*
* ## Notes
*
* - If not provided a positive integer for `k`, the function returns `NaN`.
* - If provided a non-positive value for `lambda`, the function returns `NaN`.
*
* @param k - shape parameter
* @param lambda - rate parameter
* @returns expected value
*
* @example
* var v = mean( 1, 1.0 );
* // returns 1.0
*
* @example
* var v = mean( 4, 12.0 );
* // returns ~0.333
*
* @example
* var v = mean( 8, 2.0 );
* // returns 4.0
*
* @example
* var v = mean( 1.5, 2.0 );
* // returns NaN
*
* @example
* var v = mean( 1, -0.1 );
* // returns NaN
*
* @example
* var v = mean( -0.1, 1.0 );
* // returns NaN
*
* @example
* var v = mean( 2, NaN );
* // returns NaN
*
* @example
* var v = mean( NaN, 2.0 );
* // returns NaN
*/
declare function mean( k: number, lambda: number ): number;
// EXPORTS //
export = mean;
``` | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/erlang/mean/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 362 |
```xml
import React from 'react';
import PropTypes from 'prop-types';
import { useClassNames } from '@/internals/hooks';
import { WithAsProps, RsRefForwardingComponent } from '@/internals/types';
import Heading from '../Heading';
export interface PopoverProps extends WithAsProps {
/** The title of the component. */
title?: React.ReactNode;
/** The component is visible by default. */
visible?: boolean;
/** The content full the container */
full?: boolean;
/** Whether show the arrow indicator */
arrow?: boolean;
}
/**
* The `Popover` component is used to display a popup window for a target component.
* @see path_to_url
*/
const Popover: RsRefForwardingComponent<'div', PopoverProps> = React.forwardRef(
(props: PopoverProps, ref) => {
const {
as: Component = 'div',
classPrefix = 'popover',
title,
children,
style,
visible,
className,
full,
arrow = true,
...rest
} = props;
const { withClassPrefix, merge, prefix } = useClassNames(classPrefix);
const classes = merge(className, withClassPrefix({ full }));
const styles = {
display: 'block',
opacity: visible ? 1 : undefined,
...style
};
return (
<Component role="dialog" {...rest} ref={ref} className={classes} style={styles}>
{arrow && <div className={prefix`arrow`} aria-hidden />}
{title && (
<Heading level={3} className={prefix`title`}>
{title}
</Heading>
)}
<div className={prefix`content`}>{children}</div>
</Component>
);
}
);
Popover.displayName = 'Popover';
Popover.propTypes = {
as: PropTypes.elementType,
classPrefix: PropTypes.string,
children: PropTypes.node,
title: PropTypes.node,
style: PropTypes.object,
visible: PropTypes.bool,
className: PropTypes.string,
full: PropTypes.bool,
arrow: PropTypes.bool
};
export default Popover;
``` | /content/code_sandbox/src/Popover/Popover.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 447 |
```xml
<vector android:height="24dp" android:viewportHeight="1024.0"
android:viewportWidth="1024.0" android:width="24dp" xmlns:android="path_to_url">
<path android:fillColor="#FF000000" android:pathData="M969,331c0,-153.8 -124.9,-278.5 -279.1,-278.5 -83.7,0 -158.8,36.8 -209.9,95l0.3,0.2L140.3,496.8l0,0c-53.2,50.7 -86.3,122.1 -86.3,201.3 0,153.8 124.9,278.5 279.1,278.5 85.9,0 162.7,-38.8 213.9,-99.7l-0.2,-0.2 338.2,-347.2 0.3,0.2c5.2,-5.1 10.3,-10.5 15.1,-16l1.3,-1.4 -0.1,-0.1C943.6,463.7 969,400.3 969,331zM518.3,857l0.4,0.4c-44.9,52 -111.3,85 -185.6,85 -135.1,0 -244.7,-109.3 -244.7,-244.2 0,-71 30.3,-134.8 78.8,-179.5l-0.1,-0.1 158.5,-162.7 345.7,344L518.3,857zM875.5,490.2 L695.6,674.9 349.9,330.9l174,-178.6 -0.3,-0.3c43.7,-40.4 102.1,-65.2 166.4,-65.2 135.1,0 244.7,109.3 244.7,244.2C934.6,391.8 912.3,447.5 875.5,490.2z"/>
<path android:fillColor="#FF000000" android:pathData="M828.5,185c-33.6,-31.1 -77.8,-51.3 -127,-54.3 -67.2,-4 -128.7,24.8 -169.1,72.5l-82.3,85.5 0,0c-3.2,3.3 -5.1,7.8 -5.1,12.7 0,10.2 8.2,18.4 18.4,18.4 5.2,0 9.8,-2.1 13.2,-5.6l0,0 81.7,-84.8 0.3,0.2c1.1,-1.3 2.1,-2.6 3.2,-3.8l2,-2.1 -0.1,-0.1c33,-37 82.1,-59.1 135.5,-55.9 41,2.5 77.7,19.5 105.4,45.7l0.1,-0.1c3.3,2.9 7.5,4.6 12.2,4.6 10.2,0 18.5,-8.3 18.5,-18.5C835.4,193.6 832.7,188.4 828.5,185z"/>
</vector>
``` | /content/code_sandbox/app/src/main/res/drawable/ic_index_clod.xml | xml | 2016-04-07T08:14:27 | 2024-07-20T11:58:31 | MinimalistWeather | BaronZ88/MinimalistWeather | 2,440 | 821 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url" >
<mapper namespace="com.neo.mapper.test1.User1Mapper" >
<resultMap id="BaseResultMap" type="com.neo.entity.UserEntity" >
<id column="id" property="id" jdbcType="BIGINT" />
<result column="userName" property="userName" jdbcType="VARCHAR" />
<result column="passWord" property="passWord" jdbcType="VARCHAR" />
<result column="user_sex" property="userSex" javaType="com.neo.enums.UserSexEnum"/>
<result column="nick_name" property="nickName" jdbcType="VARCHAR" />
</resultMap>
<sql id="Base_Column_List" >
id, userName, passWord, user_sex, nick_name
</sql>
<select id="getAll" resultMap="BaseResultMap" >
SELECT
<include refid="Base_Column_List" />
FROM users
</select>
<select id="getOne" parameterType="java.lang.Long" resultMap="BaseResultMap" >
SELECT
<include refid="Base_Column_List" />
FROM users
WHERE id = #{id}
</select>
<insert id="insert" parameterType="com.neo.entity.UserEntity" >
INSERT INTO
users
(userName,passWord,user_sex)
VALUES
(#{userName}, #{passWord}, #{userSex})
</insert>
<update id="update" parameterType="com.neo.entity.UserEntity" >
UPDATE
users
SET
<if test="userName != null">userName = #{userName},</if>
<if test="passWord != null">passWord = #{passWord},</if>
nick_name = #{nickName}
WHERE
id = #{id}
</update>
<delete id="delete" parameterType="java.lang.Long" >
DELETE FROM
users
WHERE
id =#{id}
</delete>
</mapper>
``` | /content/code_sandbox/1.x/spring-boot-mybatis-mulidatasource/src/main/resources/mybatis/mapper/test1/UserMapper.xml | xml | 2016-11-05T05:32:33 | 2024-08-16T13:11:30 | spring-boot-examples | ityouknow/spring-boot-examples | 30,137 | 476 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<dataset>
<metadata>
<column name="node_name"/>
<column name="rxpck_rate"/>
<column name="txpck_rate"/>
<column name="rxkbyte_rate"/>
<column name="txkbyte_rate"/>
<column name="buffer"/>
<column name="memkbyte_libcomm"/>
<column name="memkbyte_libpq"/>
<column name="used_pm"/>
<column name="used_sflow"/>
<column name="used_rflow"/>
<column name="used_rloop"/>
<column name="stream"/>
</metadata>
</dataset>
``` | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/opengauss/select_opengauss_pg_catalog_pg_comm_status.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 205 |
```xml
import { pushForkSession } from '../../api/auth';
import { getAppHref, getClientID } from '../../apps/helper';
import { getKey } from '../../authentication/cryptoHelper';
import type { PushForkResponse } from '../../authentication/interface';
import type { OfflineKey } from '../../authentication/offlineKey';
import type { APP_NAMES } from '../../constants';
import { SSO_PATHS } from '../../constants';
import { withUIDHeaders } from '../../fetch/headers';
import { replaceUrl } from '../../helpers/browser';
import { encodeBase64URL, uint8ArrayToString } from '../../helpers/encoding';
import type { Api, User } from '../../interfaces';
import { getForkEncryptedBlob } from './blob';
import type { ForkType } from './constants';
import { ForkSearchParameters } from './constants';
import {
getEmailSessionForkSearchParameter,
getLocalIDForkSearchParameter,
getValidatedApp,
getValidatedForkType,
} from './validation';
export interface ProduceForkPayload {
selector: string;
state: string;
key: string;
persistent: boolean;
trusted: boolean;
forkType: ForkType | undefined;
forkVersion: number;
app: APP_NAMES;
encryptedPayload: { payloadVersion: 1 | 2; payloadType: 'offline' | 'default' };
}
interface ProduceForkArguments {
api: Api;
session: {
UID: string;
keyPassword?: string;
offlineKey: OfflineKey | undefined;
persistent: boolean;
trusted: boolean;
};
forkParameters: ProduceForkParameters;
}
export const produceFork = async ({
api,
session: { UID, keyPassword, offlineKey, persistent, trusted },
forkParameters: { state, app, independent, forkType, forkVersion, payloadType, payloadVersion },
}: ProduceForkArguments): Promise<ProduceForkPayload> => {
const rawKey = crypto.getRandomValues(new Uint8Array(32));
const base64StringKey = encodeBase64URL(uint8ArrayToString(rawKey));
const encryptedPayload = await (async () => {
const forkData = (() => {
if (payloadType === 'offline' && offlineKey && offlineKey.salt && offlineKey.password) {
return {
type: 'offline',
keyPassword: keyPassword || '',
offlineKeyPassword: offlineKey.password,
offlineKeySalt: offlineKey.salt,
} as const;
}
return { type: 'default', keyPassword: keyPassword || '' } as const;
})();
return {
blob: await getForkEncryptedBlob(await getKey(rawKey), forkData, payloadVersion),
payloadType: forkData.type,
payloadVersion,
};
})();
const childClientID = getClientID(app);
const { Selector: selector } = await api<PushForkResponse>(
withUIDHeaders(
UID,
pushForkSession({
Payload: encryptedPayload.blob,
ChildClientID: childClientID,
Independent: independent ? 1 : 0,
})
)
);
return {
selector,
state,
key: base64StringKey,
persistent,
trusted,
forkType,
forkVersion,
app,
encryptedPayload,
};
};
export const produceForkConsumption = (
{ selector, state, key, persistent, trusted, forkType, forkVersion, encryptedPayload, app }: ProduceForkPayload,
searchParameters?: URLSearchParams
) => {
const fragmentSearchParams = new URLSearchParams();
fragmentSearchParams.append(ForkSearchParameters.Selector, selector);
fragmentSearchParams.append(ForkSearchParameters.State, state);
fragmentSearchParams.append(ForkSearchParameters.Base64Key, key);
fragmentSearchParams.append(ForkSearchParameters.Version, `${forkVersion}`);
if (persistent) {
fragmentSearchParams.append(ForkSearchParameters.Persistent, '1');
}
if (trusted) {
fragmentSearchParams.append(ForkSearchParameters.Trusted, '1');
}
if (forkType !== undefined) {
fragmentSearchParams.append(ForkSearchParameters.ForkType, forkType);
}
if (encryptedPayload.payloadVersion !== undefined) {
fragmentSearchParams.append(ForkSearchParameters.PayloadVersion, `${encryptedPayload.payloadVersion}`);
}
if (encryptedPayload.payloadType !== undefined) {
fragmentSearchParams.append(ForkSearchParameters.PayloadType, `${encryptedPayload.payloadType}`);
}
const searchParamsString = searchParameters?.toString() || '';
const search = searchParamsString ? `?${searchParamsString}` : '';
const fragment = `#${fragmentSearchParams.toString()}`;
replaceUrl(getAppHref(`${SSO_PATHS.FORK}${search}${fragment}`, app));
};
export interface ProduceForkParameters {
state: string;
app: APP_NAMES;
plan?: string;
independent: boolean;
forkType?: ForkType;
forkVersion: number;
prompt: 'login' | undefined;
promptType: 'offline-bypass' | 'offline' | 'default';
payloadType: 'offline' | 'default';
payloadVersion: 1 | 2;
email?: string;
}
export interface ProduceForkParametersFull extends ProduceForkParameters {
localID: number;
}
export const getProduceForkParameters = (
searchParams: URLSearchParams
): Omit<ProduceForkParametersFull, 'localID' | 'app'> & Partial<Pick<ProduceForkParametersFull, 'localID' | 'app'>> => {
const app = searchParams.get(ForkSearchParameters.App) || '';
const state = searchParams.get(ForkSearchParameters.State) || '';
const localID = getLocalIDForkSearchParameter(searchParams);
const forkType = searchParams.get(ForkSearchParameters.ForkType) || '';
const prompt = searchParams.get(ForkSearchParameters.Prompt) || '';
const plan = searchParams.get(ForkSearchParameters.Plan) || '';
const forkVersion = Number(searchParams.get(ForkSearchParameters.Version) || '1');
const independent = searchParams.get(ForkSearchParameters.Independent) || '0';
const payloadType = (() => {
const value = searchParams.get(ForkSearchParameters.PayloadType) || '';
if (value === 'offline') {
return value;
}
return 'default';
})();
const payloadVersion = (() => {
const value = Number(searchParams.get(ForkSearchParameters.PayloadVersion) || '1');
if (value === 1 || value === 2) {
return value;
}
return 1;
})();
const promptType = (() => {
const value = searchParams.get(ForkSearchParameters.PromptType) || '';
if (value === 'offline' || value === 'offline-bypass') {
return value;
}
return 'default';
})();
const email = getEmailSessionForkSearchParameter(searchParams);
return {
state: state.slice(0, 100),
localID,
app: getValidatedApp(app),
forkType: getValidatedForkType(forkType),
prompt: prompt === 'login' ? 'login' : undefined,
promptType,
plan,
independent: independent === '1' || independent === 'true',
payloadType,
payloadVersion,
email,
forkVersion,
};
};
export const getRequiredForkParameters = (
forkParameters: ReturnType<typeof getProduceForkParameters>
): forkParameters is ProduceForkParametersFull => {
return Boolean(forkParameters.app && forkParameters.state);
};
export const getCanUserReAuth = (user: User) => {
return !user.Flags.sso && !user.OrganizationPrivateKey;
};
export const getShouldReAuth = (
forkParameters: Pick<ProduceForkParameters, 'prompt' | 'promptType'>,
authSession: {
User: User;
offlineKey: OfflineKey | undefined;
}
) => {
const shouldReAuth = forkParameters.prompt === 'login';
if (!shouldReAuth) {
return false;
}
if (!getCanUserReAuth(authSession.User)) {
return false;
}
if (forkParameters.promptType === 'offline-bypass' && authSession.offlineKey) {
return false;
}
return true;
};
``` | /content/code_sandbox/packages/shared/lib/authentication/fork/produce.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,775 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="testExpressionOnTimer">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="task" />
<userTask id="task" name="Task rigged with timer" />
<sequenceFlow id="flow2" sourceRef="task" targetRef="theEnd" />
<boundaryEvent id="boundaryTimer" cancelActivity="true" attachedToRef="task">
<extensionElements>
<activiti:executionListener event="start" class="org.flowable.engine.test.bpmn.event.timer.BoundaryTimerEventTest$MyExecutionListener" />
<activiti:executionListener event="end" class="org.flowable.engine.test.bpmn.event.timer.BoundaryTimerEventTest$MyExecutionListener" />
</extensionElements>
<timerEventDefinition>
<timeDuration>${duration}</timeDuration>
</timerEventDefinition>
</boundaryEvent>
<sequenceFlow id="flow3" sourceRef="boundaryTimer" targetRef="theEnd" />
<endEvent id="theEnd" />
</process>
</definitions>
``` | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/event/timer/BoundaryTimerEventTest.testExpressionOnTimer.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 297 |
```xml
import { Redirect, Stack } from 'expo-router';
import { useSession } from '../../ctx';
export default function Root() {
const { user, isLoading } = useSession();
if (isLoading) {
return <div>Loading...</div>;
}
// Only do authorization on the (app) group as users should always be able to access the (auth) group and sign-in again.
if (!user) {
// Either redirect directly to the sign-in page, or show the user a route protection page.
// On web, static rendering will stop here as the user is not authenticated in the headless Node process that the pages are rendered in.
return <Redirect href="/sign-in" />;
}
return <Stack />;
}
``` | /content/code_sandbox/apps/router-e2e/__e2e__/auth/app/(app)/_layout.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 156 |
```xml
import * as adal from 'adal-node';
export class AadTokenCache {
private static cache = new Map<string, adal.TokenResponse>();
public static get(key: string): adal.TokenResponse | undefined {
return this.cache.get(key);
}
public static set(key: string, value: adal.TokenResponse) {
this.cache.set(key, value);
}
public static clear(): void {
this.cache.clear();
}
}
``` | /content/code_sandbox/src/utils/aadTokenCache.ts | xml | 2016-03-30T08:12:52 | 2024-08-16T05:00:34 | vscode-restclient | Huachao/vscode-restclient | 5,163 | 96 |
```xml
import * as ko from 'knockout';
import styles from './PnPjsExample.module.scss';
import { IPnPjsExampleBindingContext, OrderListItem } from './PnPjsExampleViewModel';
export default class MockPnPjsExampleViewModel {
public description: KnockoutObservable<string> = ko.observable('');
public newItemTitle: KnockoutObservable<string> = ko.observable('');
public newItemNumber: KnockoutObservable<string> = ko.observable('');
public items: KnockoutObservableArray<OrderListItem> = ko.observableArray([]);
public labelClass: string = styles.label;
public helloWorldClass: string = styles.pnPjsExample;
public containerClass: string = styles.container;
public rowClass: string = `ms-Grid-row ms-bgColor-themeDark ms-fontColor-white ${styles.row}`;
public buttonClass: string = `ms-Button ${styles.button}`;
constructor(bindings: IPnPjsExampleBindingContext) {
this.description(bindings.description);
// When web part description is updated, change this view model's description.
bindings.shouter.subscribe((value: string) => {
this.description(value);
}, this, 'description');
// call the load the items
this.getItems().then(items => {
this.items(items);
});
}
/**
* Gets the items from the list
*/
private getItems(): Promise<OrderListItem[]> {
return Promise.resolve([{
Id: 1,
Title: "Mock Item 1",
OrderNumber: "12345"
},
{
Id: 2,
Title: "Mock Item 2",
OrderNumber: "12345"
},
{
Id: 3,
Title: "Mock Item 3",
OrderNumber: "12345"
}]);
}
/**
* Adds an item to the list
*/
public addItem(): void {
if (this.newItemTitle() !== "" && this.newItemNumber() !== "") {
// add the new item to the display
this.items.push({
Id: this.items.length,
OrderNumber: this.newItemNumber(),
Title: this.newItemTitle(),
});
// clear the form
this.newItemTitle("");
this.newItemNumber("");
}
}
/**
* Deletes an item from the list
*/
public deleteItem(data): void {
if (confirm("Are you sure you want to delete this item?")) {
this.items.remove(data);
}
}
}
``` | /content/code_sandbox/samples/knockout-sp-pnp-js/src/webparts/pnPjsExample/MockPnPjsExampleViewModel.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 528 |
```xml
import { describe, expect, it } from "vitest";
import { Formatter } from "@export/formatter";
import { AlignmentType } from "..";
import { Level, LevelFormat, LevelSuffix } from "./level";
describe("Level", () => {
describe("#constructor", () => {
it("should throw an error if level exceeds 9", () => {
expect(
() =>
new Level({
level: 10,
format: LevelFormat.BULLET,
text: "test",
alignment: AlignmentType.BOTH,
start: 3,
style: { run: {}, paragraph: {} },
suffix: LevelSuffix.SPACE,
}),
).to.throw();
});
});
describe("isLegalNumberingStyle", () => {
it("should work", () => {
const concreteNumbering = new Level({
level: 9,
isLegalNumberingStyle: true,
});
const tree = new Formatter().format(concreteNumbering);
expect(tree).to.deep.equal({
"w:lvl": [
{
"w:start": {
_attr: {
"w:val": 1,
},
},
},
{
"w:isLgl": {},
},
{
"w:lvlJc": {
_attr: {
"w:val": "start",
},
},
},
{
_attr: {
"w15:tentative": 1,
"w:ilvl": 9,
},
},
],
});
});
});
});
``` | /content/code_sandbox/src/file/numbering/level.spec.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 339 |
```xml
import { makeGroupedTag } from '../GroupedTag';
import { VirtualTag } from '../Tag';
let tag: InstanceType<typeof VirtualTag>;
let groupedTag: ReturnType<typeof makeGroupedTag>;
beforeEach(() => {
tag = new VirtualTag();
groupedTag = makeGroupedTag(tag);
});
it('inserts and retrieves rules by groups correctly', () => {
groupedTag.insertRules(2, ['.g2-a {}', '.g2-b {}']);
// Insert out of order into the right group
groupedTag.insertRules(1, ['.g1-a {}', '.g1-b {}']);
groupedTag.insertRules(2, ['.g2-c {}', '.g2-d {}']);
expect(groupedTag.length).toBeGreaterThan(2);
expect(tag.length).toBe(6);
// Expect groups to contain inserted rules
expect(groupedTag.getGroup(0)).toBe('');
expect(groupedTag.getGroup(1)).toBe('.g1-a {}/*!sc*/\n.g1-b {}/*!sc*/\n');
expect(groupedTag.getGroup(2)).toBe(
'.g2-a {}/*!sc*/\n.g2-b {}/*!sc*/\n' + '.g2-c {}/*!sc*/\n.g2-d {}/*!sc*/\n'
);
// Check some rules in the tag as well
expect(tag.getRule(3)).toBe('.g2-b {}');
expect(tag.getRule(0)).toBe('.g1-a {}');
// And the indices for sizes: [0, 2, 4, 0, ...]
expect(groupedTag.indexOfGroup(0)).toBe(0);
expect(groupedTag.indexOfGroup(1)).toBe(0);
expect(groupedTag.indexOfGroup(2)).toBe(2);
expect(groupedTag.indexOfGroup(3)).toBe(6);
expect(groupedTag.indexOfGroup(4)).toBe(6);
});
it('inserts rules at correct indices if some rules are dropped', () => {
const tag = new VirtualTag();
jest.spyOn(tag, 'insertRule').mockImplementationOnce(() => false);
const groupedTag = makeGroupedTag(tag);
groupedTag.insertRules(1, ['.skipped {}', '.inserted {}']);
expect(tag.length).toBe(1);
expect(groupedTag.getGroup(1)).toBe('.inserted {}/*!sc*/\n');
});
it('inserts and deletes groups correctly', () => {
groupedTag.insertRules(1, ['.g1-a {}']);
expect(tag.length).toBe(1);
expect(groupedTag.getGroup(1)).not.toBe('');
groupedTag.clearGroup(1);
expect(tag.length).toBe(0);
expect(groupedTag.getGroup(1)).toBe('');
// Noop test for non-existent group
groupedTag.clearGroup(0);
expect(tag.length).toBe(0);
});
it('does supports large group numbers', () => {
const baseSize = groupedTag.length;
const group = 1 << 10;
groupedTag.insertRules(group, ['.test {}']);
// We expect the internal buffer to have grown beyond its initial size
expect(groupedTag.length).toBeGreaterThan(baseSize);
expect(groupedTag.length).toBeGreaterThan(group);
expect(tag.length).toBe(1);
expect(groupedTag.indexOfGroup(group)).toBe(0);
expect(groupedTag.getGroup(group)).toBe('.test {}/*!sc*/\n');
});
it('throws when the upper group limit is reached', () => {
const group = Math.pow(2, 31) + 1; // This can't be converted to an SMI to prevent cutoff
expect(() => {
groupedTag.insertRules(group, ['.test {}']);
}).toThrowError(/reached the limit/i);
});
``` | /content/code_sandbox/packages/styled-components/src/sheet/test/GroupedTag.test.ts | xml | 2016-08-16T06:41:32 | 2024-08-16T12:59:53 | styled-components | styled-components/styled-components | 40,332 | 814 |
```xml
<resources>
<!--
TODO: Before you release your application, you need a Google Maps API key.
To do this, you can either add your release key credentials to your existing
key, or create a new key.
Note that this file specifies the API key for the release build target.
If you have previously set up a key for the debug target with the debug signing certificate,
you will also need to set up a key for your release certificate.
Follow the directions here:
path_to_url
Once you have your key (it starts with "AIza"), replace the "google_maps_key"
string in this file.
-->
<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">
YOUR_KEY_HERE
</string>
</resources>
``` | /content/code_sandbox/Android/MapRouteBetweenMarkers/app/src/release/res/values/google_maps_api.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 171 |
```xml
import * as React from 'react';
import { Switch } from '@fluentui/react-components';
import { Scenario } from './utils';
export const DeviceControlsSwitches: React.FunctionComponent = () => {
const [hotspotSwitchDisabled, setHotSpotSwitchDisabled] = React.useState<boolean | undefined>(true);
const [wiFiSwitchChecked, setWiFiSwitchChecked] = React.useState(false);
const [hotspotSwitchChecked, setHotspotSwitchChecked] = React.useState(false);
const onWiFiSwitchClick = (event: React.MouseEvent) => {
setHotSpotSwitchDisabled(hotspotSwitchDisabled ? undefined : true);
if (wiFiSwitchChecked) {
setHotspotSwitchChecked(false);
}
setWiFiSwitchChecked(!wiFiSwitchChecked);
};
const onHotspotSwitchClick = () => {
setHotspotSwitchChecked(!hotspotSwitchChecked);
};
return (
<Scenario pageTitle="Device controls switches">
<h1>Device controls</h1>
<p>This is a basic control panel for your device</p>
<Switch onClick={onWiFiSwitchClick} label="Wi-Fi" />
<Switch
checked={hotspotSwitchChecked}
disabled={hotspotSwitchDisabled}
onClick={onHotspotSwitchClick}
label="Hotspot"
/>
<Switch label="Bluetooth" />
</Scenario>
);
};
``` | /content/code_sandbox/apps/public-docsite-v9/src/AccessibilityScenarios/Switch.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 297 |
```xml
import { EntitySchema } from "./EntitySchema"
export class EntitySchemaEmbeddedColumnOptions {
/**
* Schema of embedded entity
*/
schema: EntitySchema
/**
* Embedded column prefix.
* If set to empty string or false, then prefix is not set at all.
*/
prefix?: string | boolean
/**
* Indicates if this embedded is in array mode.
*
* This option works only in mongodb.
*/
array?: boolean
}
``` | /content/code_sandbox/src/entity-schema/EntitySchemaEmbeddedColumnOptions.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 103 |
```xml
export = tocbot;
export as namespace tocbot;
declare namespace tocbot {
/**
* @see path_to_url#options
*/
interface IStaticOptions {
// Where to render the table of contents.
tocSelector?: string
// Where to grab the headings to build the table of contents.
contentSelector?: string
// Which headings to grab inside of the contentSelector element.
headingSelector?: string
// Headings that match the ignoreSelector will be skipped.
ignoreSelector?: string
// For headings inside relative or absolute positioned containers within content.
hasInnerContainers?: boolean
// Main class to add to links.
linkClass?: string
// Extra classes to add to links.
extraLinkClasses?: string
// Class to add to active links // the link corresponding to the top most heading on the page.
activeLinkClass?: string
// Main class to add to lists.
listClass?: string
// Extra classes to add to lists.
extraListClasses?: string
// Class that gets added when a list should be collapsed.
isCollapsedClass?: string
// Class that gets added when a list should be able
// to be collapsed but isn't necessarily collapsed.
collapsibleClass?: string
// Class to add to list items.
listItemClass?: string
// Class to add to active list items.
activeListItemClass?: string
// How many heading levels should not be collapsed.
// For example; number 6 will show everything since
// there are only 6 heading levels and number 0 will collapse them all.
// The sections that are hidden will open
// and close as you scroll to headings within them.
collapseDepth?: number
// Smooth scrolling enabled.
scrollSmooth?: boolean
// Smooth scroll duration.
scrollSmoothDuration?: number
// Smooth scroll offset.
scrollSmoothOffset?: number
// Callback for scroll end.
scrollEndCallback?(e: WheelEvent): void
// Headings offset between the headings and the top of the document (this is meant for minor adjustments).
headingsOffset?: number
// Timeout between events firing to make sure it's
// not too rapid (for performance reasons).
throttleTimeout?: number
// Element to add the positionFixedClass to.
positionFixedSelector?: string | null
// Fixed position class to add to make sidebar fixed after scrolling
// down past the fixedSidebarOffset.
positionFixedClass?: string
// fixedSidebarOffset can be any number but by default is set
// to auto which sets the fixedSidebarOffset to the sidebar
// element's offsetTop from the top of the document on init.
fixedSidebarOffset?: 'auto' | number
// includeHtml can be set to true to include the HTML markup from the
// heading node instead of just including the innerText.
includeHtml?: boolean
// includeTitleTags automatically sets the html title tag of the link
// to match the title. This can be useful for SEO purposes or
// when truncating titles.
includeTitleTags?: boolean
// onclick function to apply to all links in toc. will be called with
// the event as the first parameter; and this can be used to stop // propagation; prevent default or perform action
onClick?: (e: MouseEvent) => void
// orderedList can be set to false to generate unordered lists (ul)
// instead of ordered lists (ol)
orderedList?: boolean
// If there is a fixed article scroll container; set to calculate titles' offset
scrollContainer?: string | null
// prevent ToC DOM rendering if it's already rendered by an external system
skipRendering?: boolean
// Optional callback to change heading labels.
// For example it can be used to cut down and put ellipses on multiline headings you deem too long.
// Called each time a heading is parsed. Expects a string in return, the modified label to display.
headingLabelCallback?: (headingLabel: string) => string
// ignore headings that are hidden in DOM
ignoreHiddenElements?: boolean
// Optional callback to modify properties of parsed headings.
// The heading element is passed in node parameter and information parsed by default parser is provided in obj parameter.
// Function has to return the same or modified obj.
// The heading will be excluded from TOC if nothing is returned.
headingObjectCallback?: (obj: object, node: HTMLElement) => object | void
// Set the base path, useful if you use a `base` tag in `head`.
basePath?: string
// Only takes affect when `tocSelector` is scrolling,
// keep the toc scroll position in sync with the content.
disableTocScrollSync?: boolean
// Offset for the toc scroll (top) position when scrolling the page.
// Only effective if `disableTocScrollSync` is false.
tocScrollOffset?: number
}
/**
* Initialize tocbot with an options object.
* @see path_to_url#init
*/
function init(options?: IStaticOptions): void
/**
* Destroy tocbot and remove event listeners.
* @see path_to_url#destroy
*/
function destroy(): void
/**
* Refresh tocbot if the document changes and it needs to be rebuilt.
* @see path_to_url#refresh
*/
function refresh(options?: IStaticOptions): void
}
``` | /content/code_sandbox/index.d.ts | xml | 2016-03-04T05:31:28 | 2024-08-12T14:43:42 | tocbot | tscanlin/tocbot | 1,379 | 1,180 |
```xml
import {NextFunction, Request, Response} from 'express';
import {ErrorCodes, ErrorDTO} from '../../common/entities/Error';
import {ObjectManagers} from '../model/ObjectManagers';
import {Utils} from '../../common/Utils';
import {Config} from '../../common/config/private/Config';
export class AlbumMWs {
public static async listAlbums(
req: Request,
res: Response,
next: NextFunction
): Promise<void> {
if (Config.Album.enabled === false) {
return next();
}
try {
req.resultPipe =
await ObjectManagers.getInstance().AlbumManager.getAlbums();
return next();
} catch (err) {
return next(
new ErrorDTO(ErrorCodes.ALBUM_ERROR, 'Error during listing albums', err)
);
}
}
public static async deleteAlbum(
req: Request,
res: Response,
next: NextFunction
): Promise<void> {
if (Config.Album.enabled === false) {
return next();
}
if (!req.params['id'] || !Utils.isUInt32(parseInt(req.params['id'], 10))) {
return next();
}
try {
await ObjectManagers.getInstance().AlbumManager.deleteAlbum(
parseInt(req.params['id'], 10)
);
req.resultPipe = 'ok';
return next();
} catch (err) {
return next(
new ErrorDTO(
ErrorCodes.ALBUM_ERROR,
'Error during deleting albums',
err
)
);
}
}
public static async createSavedSearch(
req: Request,
res: Response,
next: NextFunction
): Promise<void> {
if (Config.Album.enabled === false) {
return next();
}
if (
typeof req.body === 'undefined' ||
typeof req.body.name !== 'string' ||
typeof req.body.searchQuery !== 'object'
) {
return next(
new ErrorDTO(ErrorCodes.INPUT_ERROR, 'updateSharing filed is missing')
);
}
try {
await ObjectManagers.getInstance().AlbumManager.addSavedSearch(
req.body.name,
req.body.searchQuery
);
req.resultPipe = 'ok';
return next();
} catch (err) {
return next(
new ErrorDTO(
ErrorCodes.ALBUM_ERROR,
'Error during creating saved search albums',
err
)
);
}
}
}
``` | /content/code_sandbox/src/backend/middlewares/AlbumMWs.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 526 |
```xml
import { useCache } from '@proton/components';
type CacheValue = {
promise: Promise<any>;
controller: AbortController;
signals: (AbortSignal | undefined)[];
numberOfCallers: number;
error?: any;
};
export default function useDebouncedFunction() {
const cache = useCache<string, CacheValue>();
/**
* Return already existing promise for the same call.
*
* In the case two callers depend on the same promise, the promise is
* aborted only when all signals are aborted. If one caller does not
* provide signal, it is never aborted to respect the callers choice.
*/
const debouncedFunction = <T>(
callback: (signal: AbortSignal) => Promise<T>,
args: object,
originalSignal?: AbortSignal
): Promise<T> => {
const key = `drivedebouncedfn_${JSON.stringify(args)}`;
const cachedValue = cache.get(key);
const cleanup = () => {
cache.delete(key);
};
// When signal is aborted, it can take a bit of time before the promise
// is removed from the cache. Therefore it is better to double check.
if (cachedValue && !cachedValue.controller.signal.aborted) {
cachedValue.signals.push(originalSignal);
cachedValue.numberOfCallers++;
addAbortListener(cachedValue, originalSignal);
return propagateErrors(cleanup, cachedValue, originalSignal);
}
// @ts-ignore: Missing promise is set on the next line.
const value: CacheValue = {
controller: new AbortController(),
signals: [originalSignal],
numberOfCallers: 1,
};
value.promise = callback(value.controller.signal)
// Ideally, we could just store the promise and return it everywhere
// as is--but that stores promise without any catch which is causing
// unhandled promises in console even though we handle them all.
// That's why we need to catch the error and add it to the cache
// instead. To make it work, it is crucial to not cleanup the cache
// before all promises were returned (because we need to propagate
// back the original error).
.catch((err) => {
value.error = err;
});
cache.set(key, value);
addAbortListener(value, originalSignal);
return propagateErrors(cleanup, value, originalSignal);
};
return debouncedFunction;
}
function addAbortListener(value: CacheValue, originalSignal?: AbortSignal) {
if (!originalSignal) {
return;
}
const handleAbort = () => {
const allAborted = !value.signals.some((signal) => !signal || !signal.aborted);
if (allAborted) {
value.controller.abort();
}
};
originalSignal.addEventListener('abort', handleAbort);
value.promise.finally(() => {
originalSignal.removeEventListener('abort', handleAbort);
});
}
async function propagateErrors<T>(
cacheCleanup: () => void,
cachedValue: CacheValue,
originalSignal?: AbortSignal
): Promise<any> {
return cachedValue.promise.then((result: T) => {
// When last caller is served, we can clean the cache.
cachedValue.numberOfCallers--;
if (cachedValue.numberOfCallers <= 0) {
cacheCleanup();
}
if (cachedValue.error) {
throw cachedValue.error;
}
// The original signal is wrapped, so the check if aborted error
// should be propagated needs to be done.
if (originalSignal?.aborted) {
// Replace with throw signal.reason once supported by browsers.
throw new DOMException('Aborted', 'AbortError');
}
return result;
});
}
``` | /content/code_sandbox/packages/drive-store/store/_utils/useDebouncedFunction.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 796 |
```xml
export const CHART_TYPES = {
BAR: 'bar',
LINE: 'line',
PIE: 'pie',
DOUGHNUT: 'doughnut',
POLAR_AREA: 'polarArea',
RADAR: 'radar',
BUBBLE: 'bubble',
SCATTER: 'scatter'
};
export const DEFAULT_BACKGROUND_COLORS = [
'rgba(255, 99, 132, 0.6)',
'rgba(54, 162, 235, 0.6)',
'rgba(255, 206, 86, 0.6)',
'rgba(75, 192, 192, 0.6)',
'rgba(153, 102, 255, 0.6)',
'rgba(255, 159, 64, 0.6)'
];
export const DEFAULT_BORDER_COLORS = [
'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
];
export const DEFAULT_DATA_PER_CHART: {
[template: string]: number[] | any[];
} = {
bar: [10, 20, 30, 40, 50, 40],
line: [10, 20, 30, 40, 50, 40],
scatter: [10, 20, 30, 40, 50, 40],
bubble: [10, 20, 30, 40, 50, 40],
pie: [10, 20, 30, 40, 50, 40],
doughnut: [10, 20, 30, 40, 50, 40],
polarArea: [10, 20, 30, 40, 50, 40],
radar: [10, 20, 30, 40, 50, 40]
};
const lastSixMonths = [
new Date().toLocaleString('default', { month: 'long' }),
new Date(Date.now() - 1 * 30 * 24 * 60 * 60 * 1000).toLocaleString(
'default',
{ month: 'long' }
),
new Date(Date.now() - 2 * 30 * 24 * 60 * 60 * 1000).toLocaleString(
'default',
{ month: 'long' }
),
new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000).toLocaleString(
'default',
{ month: 'long' }
),
new Date(Date.now() - 4 * 30 * 24 * 60 * 60 * 1000).toLocaleString(
'default',
{ month: 'long' }
),
new Date(Date.now() - 5 * 30 * 24 * 60 * 60 * 1000).toLocaleString(
'default',
{ month: 'long' }
)
].reverse();
export const DEFAULT_LABELS_PER_CHART: {
[template: string]: number[] | any[];
} = {
bar: lastSixMonths,
line: lastSixMonths,
scatter: lastSixMonths,
bubble: lastSixMonths,
pie: lastSixMonths,
doughnut: lastSixMonths,
polarArea: lastSixMonths,
radar: lastSixMonths
};
``` | /content/code_sandbox/packages/plugin-reports-ui/src/components/chart/utils.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 796 |
```xml
import { useActiveBreakpoint } from '@proton/components/hooks';
import { useDownload, useDownloadScanFlag } from '../../../store';
import type { DownloadButtonProps } from './DownloadButton';
import { DownloadButton } from './DownloadButton';
import ReportAbuseButton from './ReportAbuseButton';
interface Props extends DownloadButtonProps {}
const SharedPageFooter = ({ rootItem, items }: Props) => {
const { viewportWidth } = useActiveBreakpoint();
const { hasDownloads } = useDownload();
const isDownloadScanEnabled = useDownloadScanFlag();
if (viewportWidth['<=small']) {
// Hide download button if transfer modal is present
if (hasDownloads) {
return null;
}
return (
<div className="fixed bottom-0 p-4 flex flex-wrap justify-center bg-weak w-full">
{isDownloadScanEnabled ? (
<DownloadButton
rootItem={rootItem}
items={items}
isScanAndDownload
className="mr-4"
color="weak"
hideIcon
/>
) : null}
<DownloadButton className="flex-1" rootItem={rootItem} items={items} hideIcon={isDownloadScanEnabled} />
</div>
);
}
return <ReportAbuseButton className="ml-1 mb-4 fixed left-0 bottom-0" linkInfo={rootItem} />;
};
export default SharedPageFooter;
``` | /content/code_sandbox/applications/drive/src/app/components/SharedPage/Layout/SharedPageFooter.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 307 |
```xml
import { Chart } from '../../../src';
export function chartOnLabelClick(context) {
const { container, canvas } = context;
const data = [
{ text: 'A', value: 12000, c: 's' },
{ text: 'B', value: 9800 },
{ text: 'C', value: 6789 },
{ text: 'D', value: 4569 },
];
const chart = new Chart({ container, canvas });
chart
.interval()
.data(data)
.encode('x', 'text')
.encode('y', 'value')
.legend(false)
.label({
text: 'label',
cursor: 'pointer',
});
chart.on('label:click', (e) => console.log('click label', e, e.data));
const finished = chart.render();
return { chart, finished };
}
``` | /content/code_sandbox/__tests__/plots/api/chart-on-label-click.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 195 |
```xml
import {
createAsyncAction,
createAction,
PayloadAction,
} from 'typesafe-actions';
import { IResetableAsyncAction } from './types';
export default function makeResetableAsyncAction<
RequestT extends string,
SuccessT extends string,
FailureT extends string,
ResetT extends string
>(
requestType: RequestT,
successType: SuccessT,
failureType: FailureT,
resetType: ResetT
) {
return <
RequestPayload,
SuccessPayload,
FailurePayload,
ResetPayload = void
>(): IResetableAsyncAction<
PayloadAction<RequestT, RequestPayload>,
PayloadAction<SuccessT, SuccessPayload>,
PayloadAction<FailureT, FailurePayload>,
PayloadAction<ResetT, ResetPayload>
> => {
const actionCreator = createAsyncAction(
requestType,
successType,
failureType
)<RequestPayload, SuccessPayload, FailurePayload>();
const reset = createAction(resetType)();
(actionCreator as any).reset = reset;
return (actionCreator as (typeof actionCreator & {
reset: typeof reset;
})) as any;
};
}
``` | /content/code_sandbox/webapp/client/src/shared/utils/redux/actions/makeResetableAsyncAction.ts | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 251 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import FLOAT32_CBRT_EPSILON = require( './index' );
// TESTS //
// The export is a number...
{
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
FLOAT32_CBRT_EPSILON; // $ExpectType number
}
``` | /content/code_sandbox/lib/node_modules/@stdlib/constants/float32/cbrt-eps/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 105 |
```xml
<clickhouse>
<profiles>
<default>
<cast_keep_nullable>1</cast_keep_nullable>
</default>
</profiles>
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_alter_update_cast_keep_nullable/configs/users.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 37 |
```xml
export { LeftRightDialogHeader } from './LeftRightDialogHeader'
export { styles } from './styles'
``` | /content/code_sandbox/packages/next/src/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/index.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 23 |
```xml
import React from 'react';
import WindowHeader from '../components/window-header';
import Exports from '../components/exports';
const ExportsPage = () => (
<div className="cover-window">
<WindowHeader title="Exports"/>
<Exports/>
<style jsx global>{`
:root {
--thumbnail-overlay-color: rgba(0, 0, 0, 0.4);
--row-hover-color: #f9f9f9;
--background-color: #fff;
}
.dark {
--thumbnail-overlay-color: rgba(0, 0, 0, 0.2);
--row-hover-color: rgba(255, 255, 255, 0.1);
--background-color: #222222;
}
`}</style>
</div>
);
export default ExportsPage;
``` | /content/code_sandbox/renderer/pages/exports.tsx | xml | 2016-08-10T19:37:08 | 2024-08-16T07:01:58 | Kap | wulkano/Kap | 17,864 | 182 |
```xml
import type { ReactNode } from 'react';
import { c } from 'ttag';
import { NotificationDot } from '@proton/atoms';
import type { ThemeColor } from '@proton/colors';
import type { IconName } from '../icon/Icon';
import { SidebarListItem, SidebarListItemContent, SidebarListItemContentIcon, SidebarListItemLink } from './index';
interface Props {
to: string;
icon: IconName;
notification?: ThemeColor;
children: ReactNode;
}
const SettingsListItem = ({ to, icon, children, notification }: Props) => {
return (
<SidebarListItem>
<SidebarListItemLink to={to}>
<SidebarListItemContent
left={<SidebarListItemContentIcon name={icon} />}
right={
notification && <NotificationDot color={notification} alt={c('Info').t`Attention required`} />
}
>
{children}
</SidebarListItemContent>
</SidebarListItemLink>
</SidebarListItem>
);
};
export default SettingsListItem;
``` | /content/code_sandbox/packages/components/components/sidebar/SettingsListItem.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 215 |
```xml
import { hasNext, noNext, delayValue } from '../asynciterablehelpers.js';
import { takeUntil } from 'ix/asynciterable/operators/index.js';
import { as, AsyncSink } from 'ix/asynciterable/index.js';
test('AsyncIterable#takeUntil hits', async () => {
const xs = async function* () {
yield await delayValue(1, 100);
yield await delayValue(2, 300);
yield await delayValue(3, 1200);
};
const ys = as(xs()).pipe(takeUntil(() => delayValue(42, 500)));
const it = ys[Symbol.asyncIterator]();
await hasNext(it, 1);
await hasNext(it, 2);
await noNext(it);
});
test('AsyncIterable#takeUntil misses', async () => {
const xs = async function* () {
yield await delayValue(1, 100);
yield await delayValue(2, 300);
yield await delayValue(3, 600);
};
const ys = as(xs()).pipe(takeUntil(() => delayValue(42, 1200)));
const it = ys[Symbol.asyncIterator]();
await hasNext(it, 1);
await hasNext(it, 2);
await hasNext(it, 3);
await noNext(it);
});
test('AsyncIterable#takeUntil completes immediately', async () => {
const sink = new AsyncSink<void>();
const ys = as(sink).pipe(takeUntil(() => Promise.resolve()));
const it = ys[Symbol.asyncIterator]();
await noNext(it);
});
``` | /content/code_sandbox/spec/asynciterable-operators/takeuntil-spec.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 344 |
```xml
abstract class A {
abstract x : number;
public abstract y : number;
protected abstract z : number;
private abstract w : number;
abstract m: () => void;
abstract foo_x() : number;
public abstract foo_y() : number;
protected abstract foo_z() : number;
private abstract foo_w() : number;
}
``` | /content/code_sandbox/tests/format/typescript/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractProperties.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 78 |
```xml
import * as React from 'react';
import { Calendar, DateRangeType, DayOfWeek, defaultCalendarStrings } from '@fluentui/react';
const workWeekDays = [DayOfWeek.Tuesday, DayOfWeek.Saturday, DayOfWeek.Wednesday, DayOfWeek.Friday];
export const CalendarInlineNonContiguousWorkWeekDaysExample: React.FunctionComponent = () => {
const [selectedDateRange, setSelectedDateRange] = React.useState<Date[]>();
const [selectedDate, setSelectedDate] = React.useState<Date>();
const onSelectDate = React.useCallback((date: Date, dateRangeArray: Date[]): void => {
setSelectedDate(date);
setSelectedDateRange(dateRangeArray);
}, []);
let dateRangeString = 'Not set';
if (selectedDateRange) {
const rangeStart = selectedDateRange[0];
const rangeEnd = selectedDateRange[selectedDateRange.length - 1];
dateRangeString = rangeStart.toLocaleDateString() + '-' + rangeEnd.toLocaleDateString();
}
return (
<div style={{ height: '360px' }}>
<div>Selected date: {selectedDate?.toLocaleString() || 'Not set'}</div>
<div>Selected range: {dateRangeString}</div>
<Calendar
dateRangeType={DateRangeType.WorkWeek}
workWeekDays={workWeekDays}
firstDayOfWeek={DayOfWeek.Monday}
highlightSelectedMonth
showGoToToday
onSelectDate={onSelectDate}
value={selectedDate}
// Calendar uses English strings by default. For localized apps, you must override this prop.
strings={defaultCalendarStrings}
/>
</div>
);
};
``` | /content/code_sandbox/packages/react-examples/src/react/Calendar/Calendar.Inline.NonContiguousWorkWeekDays.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 356 |
```xml
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { VerifyEmailComponent } from './verify-email.component';
import { RouterTestingModule } from '@angular/router/testing';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { GlobalService } from '../../../services/global.service';
import { AuthService } from '../../../services/auth.service';
import { EndpointsService } from '../../../services/endpoints.service';
import { ApiService } from '../../../services/api.service';
import { HttpClientModule } from '@angular/common/http';
describe('VerifyEmailComponent', () => {
let component: VerifyEmailComponent;
let fixture: ComponentFixture<VerifyEmailComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [VerifyEmailComponent],
imports: [HttpClientModule, RouterTestingModule],
providers: [GlobalService, AuthService, ApiService, EndpointsService],
schemas: [NO_ERRORS_SCHEMA],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(VerifyEmailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
``` | /content/code_sandbox/frontend_v2/src/app/components/auth/verify-email/verify-email.component.spec.ts | xml | 2016-10-21T00:51:45 | 2024-08-16T14:41:56 | EvalAI | Cloud-CV/EvalAI | 1,736 | 232 |
```xml
import React from 'react';
import { Color, PatternItem } from './Common.types';
/**
* GeoJson specific props.
*/
export type GeoJsonProps = {
/**
* JSON string containing GeoJSON
*/
geoJsonString: string;
/**
* Default style for different GeoJSON feature types
*/
defaultStyle?: {
/**
* Default style for `Polygon` GeoJSON feature
*/
polygon?: {
/**
* See {@link PolygonProps}
*/
fillColor?: string | Color;
/**
* See {@link PolygonProps}
*/
strokeColor?: string | Color;
/**
* See {@link PolygonProps}
*/
strokeWidth?: number;
/**
* See {@link PolygonProps}
* Works only on `Android`.
*/
strokeJointType?: 'bevel' | 'miter' | 'round';
/**
* See {@link PolygonProps}
* Works only on `Android`.
*/
strokePattern?: PatternItem[];
};
/**
* Default style for `LineString` GeoJSON feature
*/
polyline?: {
/**
* See {@link PolylineProps}
*/
color?: string | Color;
/**
* See {@link PolylineProps}
* Works only on `Android`.
*/
pattern?: PatternItem[];
/**
* See {@link PolylineProps}
* Works only on `iOS`.
*/
width?: number;
};
/**
* Default style for `Point` GeoJSON feature
* Works only on `Android`.
*/
marker?: {
/**
* See {@link MarkerProps}
* Works only on `Android`.
*/
color?: string;
/**
* See {@link MarkerProps}
* Works only on `Android`.
*/
title?: string;
/**
* See {@link MarkerProps}
* Works only on `Android`.
*/
snippet?: string;
};
};
};
/**
* Internal JSON object for representing GeoJSON in Expo Maps library.
*
* See {@link GeoJsonProps} for more detail.
*/
export type GeoJsonObject = {
type: 'geojson';
defaultStyle?: {
polygon?: {
fillColor?: string;
strokeColor?: string;
strokeWidth?: number;
strokeJointType?: 'bevel' | 'miter' | 'round';
strokePattern?: PatternItem[];
};
polyline?: {
color?: string;
pattern?: PatternItem[];
};
marker?: {
color?: number;
title?: string;
snippet?: string;
};
};
} & Omit<GeoJsonProps, 'defaultStyle'>;
/**
* GeoJSON component of Expo Maps library.
*
* Displays data provided in .json file.
* This component should be ExpoMap component child to work properly.
*
* See {@link GeoJsonProps} for more details.
*
* Please note that GeoJSONs are only supported on Apple Maps for iOS versions >= 13.
*
* On Android you can style your features individually by specifing supported properties for given feature type:
*
* For polygon you can use:
* * fillColor
* * strokeColor
* * strokeWidth
* * strokeJointType
* * strokePattern
* props. Please check documentation for these five here {@link PolygonProps}.
*
* For polyline you can use:
* * color
* * pattern
* props. Please check documentation for these two here {@link PolylineProps}.
*
* For marker you can use:
* * color
* * title
* * snippet
* props. Please check documentation for these three here {@link MarkerProps}.
*
* @example
* {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [102.0, 0.5] },
"properties": {
"color": "blue",
"title": "Marker",
"snippet": "This is marker from GeoJSON"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[1.75, 47.69],
[21.89, 42.79],
[43.65, 53.22],
[58.58, 48.58]
]
},
"properties": {
"color": "magenta",
"pattern": [
{ "type": "stroke", "length": 10 },
{ "type": "stroke", "length": 0 },
{ "type": "stroke", "length": 10 },
{ "type": "gap", "length": 10 },
{ "type": "stroke", "length": 0 },
{ "type": "gap", "length": 10 }
]
}
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[15.73, 53.84],
[16.31, 51.11],
[50.14, 22.07],
[53.18, 22.11]
]
]
},
"properties": {
"fillColor": "blue",
"strokeColor": "#000000",
"strokeWidth": 10,
"strokeJointType": "bevel",
"strokePattern": [
{ "type": "stroke", "length": 10 },
{ "type": "stroke", "length": 0 },
{ "type": "stroke", "length": 10 },
{ "type": "gap", "length": 10 },
{ "type": "stroke", "length": 0 },
{ "type": "gap", "length": 10 }
]
}
}
]
}
*/
export declare class GeoJson extends React.Component<GeoJsonProps> {
render(): null;
}
//# sourceMappingURL=GeoJson.d.ts.map
``` | /content/code_sandbox/packages/expo-maps/build/GeoJson.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,288 |
```xml
//
// Aspia Project
//
// This program is free software: you can redistribute it and/or modify
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//
// along with this program. If not, see <path_to_url
//
#include "base/mac/app_nap_blocker.h"
#include "base/macros_magic.h"
#include <mutex>
#include <Cocoa/Cocoa.h>
namespace base {
namespace {
class AppNapBlocker
{
public:
AppNapBlocker();
~AppNapBlocker();
void addBlock();
void releaseBlock();
bool isBlocked() const;
private:
void setBlocked(bool enable);
mutable std::mutex id_lock_;
id id_ = nullptr;
uint32_t counter_ = 0;
DISALLOW_COPY_AND_ASSIGN(AppNapBlocker);
};
//your_sha256_hash----------------------------------
AppNapBlocker::AppNapBlocker() = default;
//your_sha256_hash----------------------------------
AppNapBlocker::~AppNapBlocker()
{
setBlocked(false);
}
//your_sha256_hash----------------------------------
void AppNapBlocker::addBlock()
{
std::scoped_lock lock(id_lock_);
if (!counter_)
setBlocked(true);
++counter_;
}
//your_sha256_hash----------------------------------
void AppNapBlocker::releaseBlock()
{
std::scoped_lock lock(id_lock_);
if (!counter_)
return;
--counter_;
if (!counter_)
setBlocked(false);
}
//your_sha256_hash----------------------------------
bool AppNapBlocker::isBlocked() const
{
std::scoped_lock lock(id_lock_);
return id_ != nullptr;
}
//your_sha256_hash----------------------------------
void AppNapBlocker::setBlocked(bool enable)
{
if (enable == (id_ != nullptr))
return;
if (enable)
{
id_ = [[NSProcessInfo processInfo]
beginActivityWithOptions: NSActivityUserInitiated
reason: @"Aspia connection"];
[id_ retain];
}
else
{
[[NSProcessInfo processInfo] endActivity:id_];
[id_ release];
id_ = nullptr;
}
}
AppNapBlocker g_app_nap_blocker;
} // namespace
//your_sha256_hash----------------------------------
void addAppNapBlock()
{
g_app_nap_blocker.addBlock();
}
//your_sha256_hash----------------------------------
void releaseAppNapBlock()
{
g_app_nap_blocker.releaseBlock();
}
//your_sha256_hash----------------------------------
bool isAppNapBlocked()
{
return g_app_nap_blocker.isBlocked();
}
} // namespace base
``` | /content/code_sandbox/source/base/mac/app_nap_blocker.mm | xml | 2016-10-26T16:17:31 | 2024-08-16T13:37:42 | aspia | dchapyshev/aspia | 1,579 | 605 |
```xml
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { inspectStr } from '../inspectStr.js';
describe('inspectStr', () => {
it('handles null and undefined values', () => {
expect(inspectStr(null)).to.equal('null');
expect(inspectStr(undefined)).to.equal('null');
});
it('correctly print various strings', () => {
expect(inspectStr('')).to.equal('``');
expect(inspectStr('a')).to.equal('`a`');
expect(inspectStr('"')).to.equal('`"`');
expect(inspectStr("'")).to.equal("`'`");
expect(inspectStr('\\"')).to.equal('`\\"`');
});
});
``` | /content/code_sandbox/grafast/grafast/vendor/graphql-js/__testUtils__/__tests__/inspectStr-test.ts | xml | 2016-04-14T21:29:19 | 2024-08-16T17:12:51 | crystal | graphile/crystal | 12,539 | 160 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="node"/>
/// <reference types="@stdlib/types"/>
import { Readable } from 'stream';
/**
* Interface defining stream options.
*/
interface Options {
/**
* Specifies whether a stream should operate in object mode (default: `false`).
*/
objectMode?: boolean;
}
/**
* Interface defining a stream constructor which is both "newable" and "callable".
*/
interface Constructor {
/**
* Stream constructor for creating an "empty" stream.
*
* @param options - stream options
* @param options.objectMode - specifies whether the stream should operate in object mode (default: false)
* @throws must provide valid options
* @returns Stream instance
*
* @example
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
*
* function log( chunk ) {
* console.log( chunk.toString() );
* }
*
* var EmptyStream = emptyStream;
* var stream = new EmptyStream();
*
* stream.pipe( inspectStream( log ) );
*/
new( options?: Options ): Readable; // newable
/**
* Stream constructor for creating an "empty" stream.
*
* @param options - stream options
* @param options.objectMode - specifies whether the stream should operate in object mode (default: false)
* @throws must provide valid options
* @returns Stream instance
*
* @example
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
*
* function log( chunk ) {
* console.log( chunk.toString() );
* }
*
* var stream = emptyStream();
*
* stream.pipe( inspectStream( log ) );
*/
( options?: Options ): Readable; // callable
/**
* Returns a function for creating "empty" readable streams.
*
* @param options - stream options
* @param options.objectMode - specifies whether a stream should operate in object mode (default: false)
* @returns stream factory
*
* @example
* var opts = {
* 'objectMode': false
* };
*
* var createStream = emptyStream.factory( opts );
*
* // Create 10 identically configured streams...
* var streams = [];
* var i;
* for ( i = 0; i < 10; i++ ) {
* streams.push( createStream() );
* }
*/
factory( options?: Options ): () => Readable;
/**
* Returns an "objectMode" empty readable stream.
*
* @returns Stream instance
*
* @example
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
*
* function log( v ) {
* console.log( v );
* }
*
* var stream = emptyStream.objectMode();
*
* stream.pipe( inspectStream.objectMode( log ) );
*/
objectMode(): Readable;
}
/**
* Returns an "empty" stream.
*
* @param options - stream options
* @throws must provide valid options
* @returns stream instance
*
* @example
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
*
* function log( chunk ) {
* console.log( chunk.toString() );
* }
*
* var EmptyStream = emptyStream;
* var stream = new EmptyStream();
*
* stream.pipe( inspectStream( log ) );
*
* @example
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
*
* function log( chunk ) {
* console.log( chunk.toString() );
* }
*
* var stream = emptyStream();
*
* stream.pipe( inspectStream( log ) );
*
* @example
* var opts = {
* 'objectMode': false
* };
*
* var createStream = emptyStream.factory( opts );
*
* // Create 10 identically configured streams...
* var streams = [];
* var i;
* for ( i = 0; i < 10; i++ ) {
* streams.push( createStream() );
* }
*
* @example
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
*
* function log( v ) {
* console.log( v );
* }
*
* var stream = emptyStream.objectMode();
*
* stream.pipe( inspectStream.objectMode( log ) );
*/
declare var emptyStream: Constructor;
// EXPORTS //
export = emptyStream;
``` | /content/code_sandbox/lib/node_modules/@stdlib/streams/node/empty/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,049 |
```xml
import {
FullyFormedPayloadInterface,
PayloadInterface,
RootKeyInterface,
FullyFormedTransferPayload,
} from '@standardnotes/models'
import { StoragePersistencePolicies, StorageValueModes } from './StorageTypes'
export interface StorageServiceInterface {
initializeFromDisk(): Promise<void>
isStorageWrapped(): boolean
decryptStorage(): Promise<void>
getAllRawPayloads(): Promise<FullyFormedTransferPayload[]>
getAllKeys(mode?: StorageValueModes): string[]
getValue<T>(key: string, mode?: StorageValueModes, defaultValue?: T): T
canDecryptWithKey(key: RootKeyInterface): Promise<boolean>
setValue<T>(key: string, value: T, mode?: StorageValueModes): void
removeValue(key: string, mode?: StorageValueModes): Promise<void>
setPersistencePolicy(persistencePolicy: StoragePersistencePolicies): Promise<void>
clearAllData(): Promise<void>
getRawPayloads(uuids: string[]): Promise<FullyFormedTransferPayload[]>
savePayload(payload: PayloadInterface): Promise<void>
savePayloads(decryptedPayloads: PayloadInterface[]): Promise<void>
deletePayloads(payloads: FullyFormedPayloadInterface[]): Promise<void>
deletePayloadsWithUuids(uuids: string[]): Promise<void>
clearAllPayloads(): Promise<void>
isEphemeralSession(): boolean
}
``` | /content/code_sandbox/packages/services/src/Domain/Storage/StorageServiceInterface.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 289 |
```xml
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Microphone</string>
</dict>
</array>
<key>PathMaps</key>
<array>
<dict>
<key>PathMap</key>
<array>
<array>
<array>
<array>
<dict>
<key>NodeID</key>
<integer>21</integer>
<key>ProcessingState</key>
<true/>
</dict>
<dict>
<key>NodeID</key>
<integer>23</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>Boost</key>
<integer>3</integer>
<key>NodeID</key>
<integer>17</integer>
</dict>
</array>
</array>
<array>
<array>
<dict>
<key>NodeID</key>
<integer>22</integer>
<key>ProcessingState</key>
<true/>
</dict>
<dict>
<key>NodeID</key>
<integer>24</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>Boost</key>
<integer>3</integer>
<key>NodeID</key>
<integer>10</integer>
</dict>
</array>
</array>
</array>
<array>
<array>
<array>
<dict>
<key>NodeID</key>
<integer>13</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<false/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>28</integer>
</dict>
<dict>
<key>NodeID</key>
<integer>27</integer>
</dict>
<dict>
<key>NodeID</key>
<integer>19</integer>
</dict>
</array>
</array>
<array>
<array>
<dict>
<key>NodeID</key>
<integer>11</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<false/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>20</integer>
</dict>
</array>
</array>
</array>
</array>
<key>PathMapID</key>
<integer>1</integer>
</dict>
</array>
</dict>
``` | /content/code_sandbox/Resources/IDT92HD93BXX/Platforms12.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 1,482 |
```xml
import { useContext, useEffect } from 'react';
import useInstance from '@proton/hooks/useInstance';
import { generateUID } from '../../helpers';
import { SpotlightContext } from './Provider';
const useSpotlightShow = (show: boolean) => {
const uid = useInstance(() => generateUID());
const { spotlight, addSpotlight } = useContext(SpotlightContext);
useEffect(() => {
if (show) {
addSpotlight(uid);
}
}, [show]);
return spotlight === uid && show;
};
export default useSpotlightShow;
``` | /content/code_sandbox/packages/components/components/spotlight/useSpotlightShow.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 120 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Dynamic_Spectre|ARM">
<Configuration>Dynamic_Spectre</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Dynamic_Spectre|ARM64">
<Configuration>Dynamic_Spectre</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Dynamic_Spectre|Win32">
<Configuration>Dynamic_Spectre</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Dynamic_Spectre|x64">
<Configuration>Dynamic_Spectre</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Dynamic|ARM">
<Configuration>Dynamic</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Dynamic|ARM64">
<Configuration>Dynamic</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Dynamic|Win32">
<Configuration>Dynamic</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Dynamic|x64">
<Configuration>Dynamic</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Redist|ARM">
<Configuration>Redist</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Redist|ARM64">
<Configuration>Redist</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Redist|Win32">
<Configuration>Redist</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Redist|x64">
<Configuration>Redist</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_Spectre|ARM">
<Configuration>Static_Spectre</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_Spectre|ARM64">
<Configuration>Static_Spectre</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP_Spectre|ARM">
<Configuration>Static_WinXP_Spectre</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP_Spectre|ARM64">
<Configuration>Static_WinXP_Spectre</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP_Spectre|Win32">
<Configuration>Static_WinXP_Spectre</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP_Spectre|x64">
<Configuration>Static_WinXP_Spectre</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP|ARM">
<Configuration>Static_WinXP</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP|ARM64">
<Configuration>Static_WinXP</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP|Win32">
<Configuration>Static_WinXP</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_WinXP|x64">
<Configuration>Static_WinXP</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_Spectre|Win32">
<Configuration>Static_Spectre</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static_Spectre|x64">
<Configuration>Static_Spectre</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|ARM">
<Configuration>Static</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|ARM64">
<Configuration>Static</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|Win32">
<Configuration>Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Static|x64">
<Configuration>Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{E4316493-3E44-4B33-9668-43258507120A}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>stl</RootNamespace>
<WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)..\Shared.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SupportWinXP>true</SupportWinXP>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SupportWinXP>true</SupportWinXP>
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
<SupportWinXP>true</SupportWinXP>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
<SupportWinXP>true</SupportWinXP>
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SupportWinXP>true</SupportWinXP>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SupportWinXP>true</SupportWinXP>
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
<SupportWinXP>true</SupportWinXP>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
<SupportWinXP>true</SupportWinXP>
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<DisableStaticLibSupport>true</DisableStaticLibSupport>
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Redist|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Redist|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(SolutionDir)..\VC-LTL helper for Visual Studio.props" />
<Import Project="..\..\..\VC-LTL_Global.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\WinXP\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\WinXP\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcp140_ltl</TargetName>
<OutDir>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcp140_ltl</TargetName>
<OutDir>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\WinXP\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\WinXP\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcprt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcp140_ltl</TargetName>
<OutDir>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>msvcp140_ltl</TargetName>
<OutDir>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SolutionDir)$(VC-LTLUsedToolsVersion)\vcruntime;$(SolutionDir)$(VC-LTLUsedToolsVersion)\stl;$(SolutionDir)$(VC-LTLUsedToolsVersion)\concrt;$(SolutionDir)$(VC-LTLUsedToolsVersion);$(SolutionDir)ucrt\inc;$(SolutionDir);$(SolutionDir)boost_1_66_0;$(IncludePath)</IncludePath>
<TargetName>libcpmt</TargetName>
<OutDir>$(SolutionDir)..\VC\$(VC-LTLUsedToolsVersion)\lib\$(SpectreMitigation)\$(PlatformShortName)\Vista\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_X86_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WINXP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_ARM_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WINXP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_X86_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WINXP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_ARM_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WINXP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_X86_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN8;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_X86_=1;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>ucrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_X86_=1;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>ucrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM_=1;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN8;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>ucrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM_=1;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN8;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>ucrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Redist|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;CRTDLL2;_CRTIMP3=_CRTIMP2;_CRTIMP4=_CRTIMP2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_X86_=1;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;CRTDLL2;_CRTIMP3=_CRTIMP2;_CRTIMP4=_CRTIMP2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM_=1;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN8;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_X86_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM_=1;_NO__LTL_Initialization;WIN32;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN8;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_AMD64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WINXP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP|ARM64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_ALLOW_RUNTIME_LIBRARY_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_ARM64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN10;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_AMD64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WINXP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_WinXP_Spectre|ARM64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_STL_CONCRT_SUPPORT=1;_ARM64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN10;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_AMD64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static|ARM64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_ALLOW_RUNTIME_LIBRARY_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN10;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_AMD64_=1;_WIN64=1;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_AMD64_=1;_WIN64=1;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic|ARM64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM64_=1;_WIN64=1;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN10;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Dynamic_Spectre|ARM64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;CRTDLL2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM64_=1;_WIN64=1;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN10;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)msvcprt.pdb</ProgramDatabaseFile>
<ImportLibrary>$(OutDir)msvcprt.lib</ImportLibrary>
</Link>
<Lib>
<AdditionalDependencies>$(SolutionDir)..\Redist\$(VC-LTLUsedToolsVersion)\$(PlatformShortName)\msvcp140_ltl.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Redist|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;CRTDLL2;_CRTIMP3=_CRTIMP2;_CRTIMP4=_CRTIMP2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_AMD64_=1;_WIN64=1;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Redist|ARM64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;CRTDLL2;_CRTIMP3=_CRTIMP2;_CRTIMP4=_CRTIMP2;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM64_=1;_WIN64=1;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN10;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_AMD64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_VISTA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Static_Spectre|ARM64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRTBLD;_DISABLE_DEPRECATE_LTL_MESSAGE;_ARM64_=1;_WIN64=1;_NO__LTL_Initialization;NDEBUG;_LIB;_MULTI_THREAD;_STL_WIN32_WINNT=_WIN32_WINNT_WIN10;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WholeProgramOptimization>false</WholeProgramOptimization>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RemoveUnreferencedCodeData>false</RemoveUnreferencedCodeData>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\stl\atomic.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\cerr.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\cin.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\clog.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\cond.c">
<CompileAs>CompileAsCpp</CompileAs>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\cout.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\cthread.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\excptptr.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Platform)'=='ARM64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\filesys.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\fiopen.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\future.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\instances.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'!='Redist'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\iomanip.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\ios.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\iosptrs.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\iostream.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\locale.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\locale0.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\multprec.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\mutex.c">
<CompileAs>CompileAsCpp</CompileAs>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\nothrow.cpp">
<AssemblerListingLocation>$(IntDir)objs\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)objs\</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\stl\pplerror.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\ppltasks.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\raisehan.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\sharedmutex.cpp">
<AssemblerListingLocation>$(IntDir)objs\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)objs\</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\stl\stdhndlr.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\syserror.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\taskscheduler.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\thread0.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\uncaught_exception.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\uncaught_exceptions.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\ushcerr.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\ushcin.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\ushclog.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\ushcout.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\ushiostr.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\wcerr.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\wcin.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\wclog.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\wcout.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\wiostrea.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\wlocale.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xalloc.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xdateord.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xdint.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xdtento.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xdtest.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xdunscal.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xfdint.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xfdtento.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xfdtest.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xfdunsca.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xferaise.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xfprec.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xfvalues.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xgetwctype.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xldint.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xldtento.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xldtest.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xldunsca.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xlgamma.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xlocale.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xlock.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xlprec.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xlvalues.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xmtx.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xnotify.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xonce.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xprec.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xrngabort.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xrngdev.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstod.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstof.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstoflt.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstol.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstold.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstoll.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstopfx.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstoul.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstoull.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xstoxflt.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xthrow.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xtime.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xtowlower.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xtowupper.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xvalues.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwcscoll.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwcsxfrm.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwctomb.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwstod.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwstof.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwstoflt.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwstold.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwstopfx.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\xwstoxfl.c">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\parallel_algorithms.cpp">
<AssemblerListingLocation>$(IntDir)objs\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)objs\</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\stl\vector_algorithms.cpp">
<AssemblerListingLocation>$(IntDir)objs\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)objs\</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\stl\memory_resource.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\special_math.cpp">
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Dynamic_Spectre'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\stl\filesystem.cpp">
<AssemblerListingLocation>$(IntDir)objs\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)objs\</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\stl\locale0_implib.cpp">
<AssemblerListingLocation>$(IntDir)objs\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)objs\</ObjectFileName>
<ExcludedFromBuild Condition="'$(Configuration)'!='Dynamic'">true</ExcludedFromBuild>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(SolutionDir)winapi_thunks.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="stl.rc">
<ExcludedFromBuild Condition="'$(Configuration)'!='Redist'">true</ExcludedFromBuild>
</ResourceCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
``` | /content/code_sandbox/src/14.15.26726/Build/stl/stl.vcxproj | xml | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 29,626 |
```xml
import React, { PropsWithChildren } from 'react';
import clsx from 'clsx';
import styles from './styles.module.css';
import QuoteIcon from './QuoteIcon';
import { useColorMode } from '@docusaurus/theme-common';
interface ImageProps {
alt: string;
src: string;
}
interface Props extends PropsWithChildren {
author: string;
company?: string;
link: string;
image: ImageProps;
}
const TestimonialItem = ({ author, company, image, link, children }: Props) => {
return (
<a href={link} target="_blank" className={styles.testimonialItem}>
<QuoteIcon
className={styles.quoteIcon}
color={
useColorMode().colorMode === 'dark'
? 'var(--swm-purple-dark-120)'
: 'var(--swm-purple-light-100)'
}
/>
<div className={styles.testimonialAuthor}>
<div className={styles.testimonialAuthorPhoto}>
<img alt={image.alt} src={image.src} />
</div>
<div className={styles.testimonialAuthorInfo}>
<h5 className={styles.testimonialAuthorName}>{author}</h5>
<span className={styles.testimonialCompany}>{company}</span>
</div>
</div>
<p className={styles.testimonialBody}>{children}</p>
</a>
);
};
export default TestimonialItem;
``` | /content/code_sandbox/docs/src/components/Testimonials/TestimonialItem/index.tsx | xml | 2016-10-27T08:31:38 | 2024-08-16T12:03:40 | react-native-gesture-handler | software-mansion/react-native-gesture-handler | 5,989 | 306 |
```xml
import * as React from 'react';
import { PrimaryButton } from '@fluentui/react/lib/Button';
import { IPersonaProps, IPersona } from '@fluentui/react/lib/Persona';
import { people } from '@fluentui/example-data';
import {
SelectedPeopleList,
SelectedPersona,
TriggerOnContextMenu,
ItemWithContextMenu,
EditableItem,
DefaultEditingItem,
EditingItemInnerFloatingPickerProps,
} from '@fluentui/react-experiments/lib/SelectedItemsList';
import {
FloatingPeopleSuggestions,
IFloatingSuggestionItem,
} from '@fluentui/react-experiments/lib/FloatingPeopleSuggestionsComposite';
export const SelectedPeopleListWithEditInContextMenuExample = (): JSX.Element => {
const [currentSelectedItems, setCurrentSelectedItems] = React.useState<IPersonaProps[]>([people[40]]);
const [editingIndex, setEditingIndex] = React.useState(-1);
const _startsWith = (text: string, filterText: string): boolean => {
return text.toLowerCase().indexOf(filterText.toLowerCase()) === 0;
};
const _getSuggestions = (value: string) => {
const allPeople = people;
const suggestions = allPeople.filter((item: IPersonaProps) => _startsWith(item.text || '', value));
const suggestionList = suggestions.map(item => {
return { item: item, isSelected: false, key: item.key } as IFloatingSuggestionItem<IPersonaProps>;
});
return suggestionList;
};
/**
* Build a custom selected item capable of being edited with a dropdown and capable of editing
*/
const EditableItemWithContextMenu = EditableItem({
editingItemComponent: DefaultEditingItem({
getEditingItemText: (persona: IPersonaProps) => persona.text || '',
onRenderFloatingPicker: (props: EditingItemInnerFloatingPickerProps<IPersonaProps>) => (
<FloatingPeopleSuggestions {...props} isSuggestionsVisible={true} />
),
getSuggestions: _getSuggestions,
}),
itemComponent: ItemWithContextMenu<IPersona>({
menuItems: (item, onTrigger) => [
{
key: 'remove',
text: 'Remove',
onClick: () => {
_onItemsRemoved([item]);
},
},
{
key: 'copy',
text: 'Copy',
onClick: () => {
_copyToClipboard(_getCopyItemsText([item]));
},
},
{
key: 'edit',
text: 'Edit',
onClick: () => onTrigger && onTrigger(),
},
],
itemComponent: TriggerOnContextMenu(SelectedPersona),
}),
getIsEditing: (item, index) => index === editingIndex,
onEditingStarted: (item, index) => setEditingIndex(index),
onEditingCompleted: () => setEditingIndex(-1),
});
const _onAddItemButtonClicked = React.useCallback(() => {
const randomPerson = people[Math.floor(Math.random() * (people.length - 1))];
setCurrentSelectedItems([...currentSelectedItems, randomPerson]);
}, [currentSelectedItems]);
const _onItemsRemoved = React.useCallback(
(items: IPersona[]): void => {
const currentSelectedItemsCopy = [...currentSelectedItems];
items.forEach(item => {
const indexToRemove = currentSelectedItemsCopy.indexOf(item);
currentSelectedItemsCopy.splice(indexToRemove, 1);
setCurrentSelectedItems([...currentSelectedItemsCopy]);
});
},
[currentSelectedItems],
);
const _replaceItem = React.useCallback(
(newItem: IPersonaProps | IPersona[], index: number): void => {
const newItemsArray = !Array.isArray(newItem) ? [newItem] : newItem;
if (index >= 0) {
const newItems: IPersonaProps[] = [...currentSelectedItems];
newItems.splice(index, 1, ...newItemsArray);
setCurrentSelectedItems(newItems);
}
},
[currentSelectedItems],
);
const _copyToClipboard = (copyString: string): void => {
navigator.clipboard.writeText(copyString).then(
() => {
/* clipboard successfully set */
},
() => {
/* clipboard write failed */
throw new Error();
},
);
};
const _getCopyItemsText = (items: IPersonaProps[]): string => {
let copyText = '';
items.forEach((item: IPersonaProps, index: number) => {
copyText += item.text;
if (index < items.length - 1) {
copyText += ', ';
}
});
return copyText;
};
return (
<div className={'ms-BasePicker-text'}>
Right click any persona to open the context menu
<br />
<PrimaryButton text="Add another item" onClick={_onAddItemButtonClicked} />
<div>
<SelectedPeopleList
key={'normal'}
removeButtonAriaLabel={'Remove'}
selectedItems={[...currentSelectedItems]}
onRenderItem={EditableItemWithContextMenu}
onItemsRemoved={_onItemsRemoved}
replaceItem={_replaceItem}
/>
</div>
</div>
);
};
``` | /content/code_sandbox/packages/react-examples/src/react-experiments/SelectedPeopleList/SelectedPeopleList.WithEditInContextMenu.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,126 |
```xml
import {PlatformTest} from "@tsed/common";
import {PlatformKoaRequest} from "./PlatformKoaRequest.js";
import {PlatformKoaResponse} from "./PlatformKoaResponse.js";
function createResponse() {
const res = PlatformTest.createResponse();
const req = PlatformTest.createRequest();
const koaContext: any = {
response: {}
};
const koaResponse: any = Object.assign(res, {
res,
get ctx() {
return koaContext;
}
});
const koaRequest: any = {
...req,
req,
get ctx() {
return koaContext;
}
};
koaContext.response = koaResponse;
const ctx = PlatformTest.createRequestContext({
event: {
response: koaResponse,
request: koaRequest
},
ResponseKlass: PlatformKoaResponse,
RequestKlass: PlatformKoaRequest
});
return {res, response: ctx.response as PlatformKoaResponse, ctx, koaResponse, koaRequest, koaContext};
}
describe("PlatformKoaResponse", () => {
beforeEach(() => PlatformTest.create());
afterEach(() => PlatformTest.reset());
it("should create a PlatformResponse instance", () => {
const {koaResponse, response} = createResponse();
expect(response.raw).toEqual(koaResponse);
});
describe("getRes()", () => {
it("return res", async () => {
const {res, response} = createResponse();
const result = await response.getRes();
expect(result).toEqual(res);
});
});
describe("statusCode", () => {
it("return statusCode", () => {
const {response} = createResponse();
response.status(302);
expect(response.statusCode).toEqual(302);
});
});
describe("hasStatus", () => {
it("return hasStatus", () => {
const {response} = createResponse();
response.status(404);
expect(response.statusCode).toEqual(404);
expect(response.hasStatus()).toEqual(false);
response.status(201);
expect(response.hasStatus()).toEqual(true);
});
});
describe("contentType()", () => {
it("should set contentType", () => {
const {ctx, koaResponse} = createResponse();
ctx.response.contentType("text/html");
expect(koaResponse.type).toEqual("text/html");
});
});
describe("body()", () => {
it("should set body", () => {
const {response, koaResponse} = createResponse();
response.body("body");
expect(koaResponse.body).toEqual("body");
expect(response.getBody()).toEqual("body");
});
});
describe("location", () => {
it("should set header location", () => {
const {res, response} = createResponse();
response.location("path_to_url");
expect(res.headers).toEqual({
location: "path_to_url",
"x-request-id": "id"
});
});
it("should go back based on Referrer", async () => {
const {res, response} = createResponse();
response.request.raw.headers["referrer"] = "path_to_url";
await response.location("back");
expect(res.headers).toEqual({
location: "path_to_url",
"x-request-id": "id"
});
});
it("should go back based on default path", async () => {
const {res, response} = createResponse();
await response.location("back");
expect(res.headers).toEqual({
location: "/",
"x-request-id": "id"
});
});
});
describe("redirect", () => {
it("should set header location (HEAD)", async () => {
const {res, response, koaRequest, koaResponse} = createResponse();
res.headers["location"] = "path_to_url";
koaRequest.method = "HEAD";
await response.redirect(301, "path_to_url");
// expect(koaResponse.body).toEqual("Moved Permanently. Redirecting to path_to_url");
expect(response.statusCode).toEqual(301);
expect(res.headers).toEqual({
location: "path_to_url",
"x-request-id": "id"
});
expect(res.data).toEqual(undefined);
});
it("should set header location (POST)", async () => {
const {res, response, koaRequest, koaResponse, ctx} = createResponse();
res.headers["location"] = "path_to_url";
koaRequest.method = "POST";
await response.redirect(301, "path_to_url");
// expect(koaResponse.body).toEqual("Moved Permanently. Redirecting to path_to_url");
expect(response.statusCode).toEqual(301);
expect(res.headers).toEqual({
"content-length": 50,
location: "path_to_url",
"x-request-id": "id"
});
});
});
describe("getHeaders()", () => {
it("should get headers", () => {
const {ctx} = createResponse();
ctx.response.setHeader("contentType", "application/json");
const result = ctx.response.getHeaders();
expect(result).toEqual({
contenttype: "application/json",
"x-request-id": "id"
});
});
});
describe("cookie()", () => {
it("should manipulate cookies", () => {
const {res, response, koaContext} = createResponse();
koaContext.cookies = {};
koaContext.cookies.set = (...args: any[]) => {
if (!args[1]) {
res.headers["set-cookie"] = res.headers["set-cookie"].filter((cookie: string) => cookie.startsWith(args[0] + "="));
return;
}
let value = `${args[0]}=${args[1]}`;
if (!res.headers["set-cookie"]) {
res.headers["set-cookie"] = [value];
} else {
res.headers["set-cookie"] = [].concat(res.headers["set-cookie"], value as any);
}
};
response.cookie("locale", "fr-FR");
expect(res.headers).toEqual({
"set-cookie": ["locale=fr-FR"],
"x-request-id": "id"
});
response.cookie("filename", "test");
expect(res.headers).toEqual({
"set-cookie": ["locale=fr-FR", "filename=test"],
"x-request-id": "id"
});
response.cookie("filename", null);
expect(res.headers).toEqual({
"set-cookie": ["filename=test"],
"x-request-id": "id"
});
});
});
});
``` | /content/code_sandbox/packages/platform/platform-koa/src/services/PlatformKoaResponse.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 1,420 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="path_to_url">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{268E1A6A-C39C-4340-BAE3-71532D926E9A}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>InstallFiles</RootNamespace>
<AssemblyName>RunAppAtTheEnd</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>4.0</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\RunAppAtTheEnd\</OutputPath>
<IntermediateOutputPath>bin\RunAppAtTheEnd\obj\</IntermediateOutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\RunAppAtTheEnd\</OutputPath>
<IntermediateOutputPath>bin\RunAppAtTheEnd\obj\</IntermediateOutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Deployment.WindowsInstaller, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<Private>True</Private>
<HintPath>..\Wix_bin\SDK\Microsoft.Deployment.WindowsInstaller.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\WixSharp\WixSharp.csproj">
<Project>{8860B29B-749F-4925-86C8-F9C4B93C9DA5}</Project>
<Name>WixSharp</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\Wix# Samples\RunAppAtTheEnd\setup.cs">
<Link>setup.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
``` | /content/code_sandbox/Source/src/WixSharp.Samples/VSProjects/RunAppAtTheEnd.csproj | xml | 2016-01-16T05:51:01 | 2024-08-16T12:26:25 | wixsharp | oleg-shilo/wixsharp | 1,077 | 1,320 |
```xml
<resources>
<string name="app_name">AndroidAudioRecorder</string>
</resources>
``` | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-08-05T17:56:15 | 2024-08-09T14:47:27 | AndroidAudioRecorder | adrielcafe/AndroidAudioRecorder | 1,621 | 21 |
```xml
<?xml version="1.0" encoding="utf-8"?><!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<shape xmlns:android="path_to_url">
<size
android:width="40dp"
android:height="42dp" />
<solid android:color="#44A444" />
</shape>
``` | /content/code_sandbox/flexbox/src/androidTest/res/drawable/divider_thick.xml | xml | 2016-05-04T08:11:22 | 2024-08-15T12:27:34 | flexbox-layout | google/flexbox-layout | 18,226 | 95 |
```xml
export { PushNeedsPullWarning } from './push-needs-pull-warning'
``` | /content/code_sandbox/app/src/ui/push-needs-pull/index.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 17 |
```xml
import type { User } from "firebase/auth";
import { DocumentReference, Timestamp } from "firebase/firestore";
export type StopType = 'ATTRACTION' | 'STOP' | 'FOOD' | 'LODGING';
export type BaseStop = {
id: string;
visitDate: Timestamp;
mood: number;
blogText: string;
image: string;
location: Geolocation;
type: StopType | string;
title: string;
}
export type BaseTravel = {
id: string;
startDate: Timestamp;
endDate: Timestamp;
isPublic: boolean;
userId: String;
title: string;
}
export interface Travel extends BaseTravel {
}
export interface Stop extends BaseStop {
}
export type TravelRef = DocumentReference<Travel>;
export type TravelRefModel = {
ref: TravelRef;
user: User;
}
export class TravelObject implements Travel {
id!: string;
startDate!: Timestamp;
endDate!: Timestamp;
isPublic: boolean = false;
userId!: String
title: string = '';
}
export class StopObject implements Stop {
id!: string;
visitDate!: Timestamp;
mood: number = 1;
blogText: string = '';
image!: string;
location!: Geolocation;
type: StopType | string = 'STOP';
title: string = '';
}
``` | /content/code_sandbox/webframework/src/app/models/travel.model.ts | xml | 2016-04-26T17:13:59 | 2024-08-08T20:21:32 | codelab-friendlychat-web | firebase/codelab-friendlychat-web | 1,750 | 289 |
```xml
import * as pulumi from "@pulumi/pulumi";
import * as random from "@pulumi/random";
const foo = new random.RandomPet("foo", {}, {
retainOnDelete: true,
});
``` | /content/code_sandbox/tests/testdata/codegen/retain-on-delete-pp/nodejs/retain-on-delete.ts | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 42 |
```xml
import { IContext } from "../../../connectionResolver";
import { IOverallWork } from "./../../../models/definitions/overallWorks";
import { JOB_TYPES } from "../../../models/definitions/constants";
import { sendCoreMessage, sendProductsMessage } from "../../../messageBroker";
export default {
async __resolveReference({ _id }, { models }: IContext) {
return models.Works.findOne({ _id });
},
async type(work: IOverallWork, {}, {}) {
const { key } = work;
const { type } = key;
return type;
},
async jobRefer(work: IOverallWork, {}, { models }: IContext) {
const { key } = work;
const { type, typeId } = key;
if (![JOB_TYPES.ENDPOINT, JOB_TYPES.JOB].includes(type)) {
return;
}
return await models.JobRefers.findOne({ _id: typeId }).lean();
},
async product(work: IOverallWork, {}, { subdomain }: IContext) {
const { key } = work;
const { type, typeId } = key;
if ([JOB_TYPES.ENDPOINT, JOB_TYPES.JOB].includes(type)) {
return;
}
return await sendProductsMessage({
subdomain,
action: "productFindOne",
data: { _id: typeId },
isRPC: true
});
},
async inBranch(work: IOverallWork, {}, { subdomain }: IContext) {
const { key } = work;
const { inBranchId } = key;
if (!inBranchId) {
return;
}
return await sendCoreMessage({
subdomain,
action: "branches.findOne",
data: { _id: inBranchId || "" },
isRPC: true
});
},
async outBranch(work: IOverallWork, {}, { subdomain }: IContext) {
const { key } = work;
const { outBranchId } = key;
if (!outBranchId) {
return;
}
return await sendCoreMessage({
subdomain,
action: "branches.findOne",
data: { _id: outBranchId || "" },
isRPC: true
});
},
async inDepartment(work: IOverallWork, {}, { subdomain }: IContext) {
const { key } = work;
const { inDepartmentId } = key;
if (!inDepartmentId) {
return;
}
return await sendCoreMessage({
subdomain,
action: "departments.findOne",
data: { _id: inDepartmentId || "" },
isRPC: true
});
},
async outDepartment(work: IOverallWork, {}, { subdomain }: IContext) {
const { key } = work;
const { outDepartmentId } = key;
if (!outDepartmentId) {
return;
}
return await sendCoreMessage({
subdomain,
action: "departments.findOne",
data: { _id: outDepartmentId || "" },
isRPC: true
});
}
};
``` | /content/code_sandbox/packages/plugin-processes-api/src/graphql/resolvers/customResolver/overallWorkDetail.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 656 |
```xml
import { Ignorer } from '@stryker-mutator/api/ignore';
import { MutatorOptions } from '../mutators/index.js';
export interface TransformerOptions extends MutatorOptions {
ignorers: Ignorer[];
}
``` | /content/code_sandbox/packages/instrumenter/src/transformers/transformer-options.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 47 |
```xml
<manifest xmlns:android="path_to_url"
package="zlc.season.rxdownload4" />
``` | /content/code_sandbox/rxdownload4/src/main/AndroidManifest.xml | xml | 2016-10-28T04:13:42 | 2024-08-02T07:46:08 | RxDownload | ssseasonnn/RxDownload | 4,135 | 23 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
=============================================================================
File: lpc.xml
URL: path_to_url
Description: Syntax Highlighting for Lars Pensjo C (LPC)
It is used in Multi User Dungeons which use LDMud as Gamedriver.
For more information, see LDMud project: path_to_url
For best highlighting results, configure colors yourself.
Author: Andreas Klauer (Andreas.Klauer@metamorpher.de)
Changed: 2004-04-26
=============================================================================
-->
<language name="LPC" version="2" kateversion="2.4" section="Sources" extensions="*.c;*.h;*.inc;*.o" author="Andreas Klauer (Andreas.Klauer@metamorpher.de)" license="Artistic" >
<highlighting>
<!-- Keyword Lists: -->
<list name="modifiers">
<item>private</item>
<item>protected</item>
<item>static</item>
<item>public</item>
<item>nomask</item>
<item>varargs</item>
<item>nosave</item>
<item>virtual</item>
</list>
<list name="types">
<item>void</item>
<item>int</item>
<item>status</item>
<item>string</item>
<item>object</item>
<item>array</item>
<item>mapping</item>
<item>closure</item>
<item>symbol</item>
<item>float</item>
<item>mixed</item>
</list>
<list name="keywords">
<item>break</item>
<item>continue</item>
<item>return</item>
<item>if</item>
<item>else</item>
<item>for</item>
<item>foreach</item>
<item>do</item>
<item>while</item>
<item>switch</item>
<item>case</item>
<item>inherit</item>
<item>default</item>
<item>variables</item>
<item>functions</item>
<item>publish</item>
<item>nolog</item>
</list>
<list name="attention">
<item>FIXME</item>
<item>HACK</item>
<item>NOTE</item>
<item>NOTICE</item>
<item>TODO</item>
<item>WARNING</item>
<item>###</item>
</list>
<!-- Parsing Rules: -->
<contexts>
<context name="Normal" attribute="Default" lineEndContext="#stay">
<RegExpr attribute="Region Marker" context="#stay" String="//\s*BEGIN.*$" beginRegion="regionMarker" firstNonSpace="true"/>
<RegExpr attribute="Region Marker" context="#stay" String="//\s*END.*$" endRegion="regionMarker" firstNonSpace="true"/>
<Detect2Chars attribute="Single-Line comments" context="Comment1" char="/" char1="/" />
<Detect2Chars attribute="Multi-Line comments" context="Comment2" char="/" char1="*" beginRegion="blockComment" />
<keyword String="modifiers" attribute="Modifier" context="#stay" />
<keyword String="types" attribute="Datatype" context="#stay" />
<keyword String="keywords" attribute="Keywords" context="#stay" />
<DetectChar char="#" context="Preprocessor" attribute="Preprocessor" column="0"/>
<Float attribute="Floats" context="Float Suffixes"/>
<RegExpr String="0b[01]+" attribute="Binary" context="#stay" />
<RegExpr String="0x[0-9a-fA-F]+" attribute="Hexadecimal" context="#stay" />
<RegExpr String="0o[0-7]+" attribute="Octal" context="#stay" />
<Int attribute="Integer" context="#stay" />
<RegExpr String="#'[^\t ][^\t ,);}\]/]*" attribute="Closure" context="#stay" />
<DetectChar attribute="Strings" context="String1" char=""" />
<HlCStringChar attribute="Char" context="#stay" />
<DetectChar attribute="Default" context="#stay" char="{" beginRegion="brace" />
<DetectChar attribute="Default" context="#stay" char="}" endRegion="brace" />
</context>
<context name="Float Suffixes" attribute="Floats" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
<AnyChar String="fFeE" attribute="Floats" context="#pop"/>
</context>
<context name="Comment1" attribute="Single-Line comments" lineEndContext="#pop">
<LineContinue attribute="Single-Line comments" context="#stay" />
<keyword attribute="Alert" context="#stay" String="attention" />
</context>
<context name="Comment2" attribute="Multi-Line comments" lineEndContext="#stay">
<Detect2Chars attribute="Multi-Line comments" context="#pop" char="*" char1="/" endRegion="blockComment" />
<keyword attribute="Alert" context="#stay" String="attention" />
</context>
<context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop">
<LineContinue attribute="Preprocessor" context="#stay" />
<Detect2Chars attribute="Single-Line comments" context="Comment1" char="/" char1="/" />
<Detect2Chars attribute="Multi-Line comments" context="Comment2" char="/" char1="*" beginRegion="blockComment" />
<keyword String="modifiers" attribute="Modifier" context="#stay" />
<keyword String="types" attribute="Datatype" context="#stay" />
<keyword String="keywords" attribute="Keywords" context="#stay" />
<DetectChar attribute="Preprocessor-Strings" context="String2" char=""" />
</context>
<context name="String1" attribute="Strings" lineEndContext="#pop">
<LineContinue attribute="Default" context="#stay" />
<Detect2Chars char="\" char1="\" attribute="Strings" context="#stay" />
<Detect2Chars char="\" char1=""" attribute="Strings" context="#stay" />
<DetectChar char=""" attribute="Strings" context="#pop" />
</context>
<context name="String2" attribute="Preprocessor-Strings" lineEndContext="#pop">
<LineContinue attribute="Default" context="#stay" />
<Detect2Chars char="\" char1="\" attribute="Preprocessor-Strings" context="#stay" />
<Detect2Chars char="\" char1=""" attribute="Preprocessor-Strings" context="#stay" />
<DetectChar char=""" attribute="Preprocessor-Strings" context="#pop" />
</context>
</contexts>
<!-- Color Settings: -->
<itemDatas>
<itemData name="Default" defStyleNum="dsNormal" />
<itemData name="Single-Line comments" defStyleNum="dsComment" />
<itemData name="Multi-Line comments" defStyleNum="dsComment" />
<itemData name="Alert" defStyleNum="dsAlert" />
<itemData name="Modifier" defStyleNum="dsDataType" />
<itemData name="Datatype" defStyleNum="dsDataType" />
<itemData name="Keywords" defStyleNum="dsKeyword" />
<itemData name="Preprocessor" defStyleNum="dsOthers" />
<itemData name="Floats" defStyleNum="dsFloat" />
<itemData name="Binary" defStyleNum="dsBaseN" />
<itemData name="Hexadecimal" defStyleNum="dsBaseN" />
<itemData name="Octal" defStyleNum="dsBaseN" />
<itemData name="Integer" defStyleNum="dsDecVal" />
<itemData name="Closure" defStyleNum="dsOthers" />
<itemData name="Strings" defStyleNum="dsString" />
<itemData name="Preprocessor-Strings" defStyleNum="dsString" />
<itemData name="Char" defStyleNum="dsChar" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" />
</itemDatas>
</highlighting>
<!-- This is not for highlighting, but for detecting comments.
It allows Kate to hide comments if the user wished to do so. -->
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
<!-- === End of file. === -->
``` | /content/code_sandbox/src/data/extra/syntax-highlighting/syntax/lpc.xml | xml | 2016-10-05T07:24:54 | 2024-08-16T05:03:40 | vnote | vnotex/vnote | 11,687 | 1,984 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
android:id="@+id/loading">
<ProgressBar android:id="@+id/progress" />
</LinearLayout>
``` | /content/code_sandbox/tests/CodeBehind/BuildTests/Resources/layout/list_loading.xml | xml | 2016-03-30T15:37:14 | 2024-08-16T19:22:13 | android | dotnet/android | 1,905 | 48 |
```xml
<RootClass xmlns="clr-namespace:XamarinBug2927;assembly=System.Xaml.TestCases" >
<RootClass.Child>
<MyChildClass>
<MyChildClass.Descendant>
<DescendantClass Value='x' DoWork='HandleMyEvent' />
</MyChildClass.Descendant>
</MyChildClass>
</RootClass.Child>
</RootClass>
``` | /content/code_sandbox/src/Test/System.Xaml.TestCases/XmlFiles/LookupCorrectEvent2.xml | xml | 2016-08-25T20:07:20 | 2024-08-13T22:23:35 | CoreWF | UiPath/CoreWF | 1,126 | 84 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url"
android:shape="rectangle">
<solid android:color="@color/scroll_bubble" />
<corners
android:topLeftRadius="20dp"
android:topRightRadius="20dp"
android:bottomLeftRadius="20dp"
android:bottomRightRadius="20dp" />
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/fastscroll__default_bubble.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 95 |
```xml
export default function createCitationModalDialogStyle() {
return {
'&.webchat__citation-modal-dialog': {
'& .webchat__citation-modal-dialog__body': {
lineHeight: '20px'
}
}
};
}
``` | /content/code_sandbox/packages/component/src/Styles/StyleSet/CitationModalDialog.ts | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 53 |
```xml
import { get } from "lodash";
import { getNewRule } from "components/features/rules/RuleBuilder/actions";
import { RuleType, HeadersRule, Status } from "types";
import { getSourcesData, getHeaders, getGroupName } from "../../utils";
import { CharlesRuleType, NoCachingRule, ParsedRule, SourceUrl } from "../types";
import { headersConfig } from "./headers-config";
export const noCachingRuleAdapter = (rules: NoCachingRule): ParsedRule<HeadersRule> => {
const locations = get(rules, "selectedHostsTool.locations.locationPatterns.locationMatch") as SourceUrl[];
if (!rules || !locations) {
return;
}
const sources = getSourcesData(locations);
const { requestHeaders, responseHeaders } = getHeaders(headersConfig);
const exportedRules = sources.map(({ value, status, operator }) => {
const rule = getNewRule(RuleType.HEADERS) as HeadersRule;
return {
...rule,
name: `${value}`,
isCharlesImport: true,
status: status ? Status.ACTIVE : Status.INACTIVE,
pairs: [
{
...rule.pairs[0],
source: { ...rule.pairs[0].source, value, operator },
modifications: {
...rule.pairs[0].modifications,
Request: [...requestHeaders],
Response: [...responseHeaders],
},
},
],
};
});
const isToolEnabled = get(rules, "selectedHostsTool.toolEnabled");
return {
type: CharlesRuleType.NO_CACHING,
groups: [
{
rules: exportedRules,
status: isToolEnabled,
name: getGroupName(CharlesRuleType.NO_CACHING),
},
],
};
};
``` | /content/code_sandbox/app/src/modules/rule-adapters/charles-rule-adapters/no-caching/index.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 380 |
```xml
export default class LineElement extends Element<import("../types/basic.js").AnyObject, import("../types/basic.js").AnyObject> {
static id: string;
/**
* @type {any}
*/
static defaults: any;
static descriptors: {
_scriptable: boolean;
_indexable: (name: any) => boolean;
};
constructor(cfg: any);
animated: boolean;
options: any;
_chart: any;
_loop: any;
_fullLoop: any;
_path: any;
_points: any;
_segments: import("../helpers/helpers.segment.js").Segment[];
_decimated: boolean;
_pointsUpdated: boolean;
_datasetIndex: any;
updateControlPoints(chartArea: any, indexAxis: any): void;
set points(arg: any);
get points(): any;
get segments(): import("../helpers/helpers.segment.js").Segment[];
/**
* First non-skipped point on this line
* @returns {PointElement|undefined}
*/
first(): PointElement | undefined;
/**
* Last non-skipped point on this line
* @returns {PointElement|undefined}
*/
last(): PointElement | undefined;
/**
* Interpolate a point in this line at the same value on `property` as
* the reference `point` provided
* @param {PointElement} point - the reference point
* @param {string} property - the property to match on
* @returns {PointElement|undefined}
*/
interpolate(point: PointElement, property: string): PointElement | undefined;
/**
* Append a segment of this line to current path.
* @param {CanvasRenderingContext2D} ctx
* @param {object} segment
* @param {number} segment.start - start index of the segment, referring the points array
* @param {number} segment.end - end index of the segment, referring the points array
* @param {boolean} segment.loop - indicates that the segment is a loop
* @param {object} params
* @param {boolean} params.move - move to starting point (vs line to it)
* @param {boolean} params.reverse - path the segment from end to start
* @param {number} params.start - limit segment to points starting from `start` index
* @param {number} params.end - limit segment to points ending at `start` + `count` index
* @returns {undefined|boolean} - true if the segment is a full loop (path should be closed)
*/
pathSegment(ctx: CanvasRenderingContext2D, segment: {
start: number;
end: number;
loop: boolean;
}, params: {
move: boolean;
reverse: boolean;
start: number;
end: number;
}): undefined | boolean;
/**
* Append all segments of this line to current path.
* @param {CanvasRenderingContext2D|Path2D} ctx
* @param {number} [start]
* @param {number} [count]
* @returns {undefined|boolean} - true if line is a full loop (path should be closed)
*/
path(ctx: CanvasRenderingContext2D | Path2D, start?: number, count?: number): undefined | boolean;
/**
* Draw
* @param {CanvasRenderingContext2D} ctx
* @param {object} chartArea
* @param {number} [start]
* @param {number} [count]
*/
draw(ctx: CanvasRenderingContext2D, chartArea: object, start?: number, count?: number): void;
}
export type PointElement = import('./element.point.js').default;
import Element from "../core/core.element.js";
``` | /content/code_sandbox/cachecloud-web/src/main/resources/assets/vendor/chart.js/elements/element.line.d.ts | xml | 2016-01-26T05:46:01 | 2024-08-16T09:41:37 | cachecloud | sohutv/cachecloud | 8,737 | 824 |
```xml
import 'rxjs-compat/add/operator/min';
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/src/add/operator/min.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 10 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper:4.1.6" level="project" />
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:0.9.5" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.3.2" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.9.2" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.3" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:4.1.6.RELEASE" level="project" />
</component>
</module>
``` | /content/code_sandbox/goshop-common/goshop-common.iml | xml | 2016-06-18T10:16:23 | 2024-08-01T09:11:36 | goshop2 | pzhgugu/goshop2 | 1,106 | 461 |
```xml
export { TextFieldBasicExample as Basic } from './TextField.Basic.Example';
export { TextFieldBorderlessExample as Borderless } from './TextField.Borderless.Example';
export { TextFieldControlledExample as Controlled } from './TextField.Controlled.Example';
export { TextFieldCustomRenderExample as CustomRender } from './TextField.CustomRender.Example';
export { TextFieldErrorMessageExample as ErrorMessage } from './TextField.ErrorMessage.Example';
export { TextFieldMaskedExample as Masked } from './TextField.Masked.Example';
export { TextFieldMultilineExample as Multiline } from './TextField.Multiline.Example';
export { TextFieldPrefixAndSuffixExample as PrefixAndSuffix } from './TextField.PrefixAndSuffix.Example';
export { TextFieldStyledExample as Styled } from './TextField.Styled.Example';
export default {
title: 'Components/TextField',
};
``` | /content/code_sandbox/packages/react-examples/src/react/TextField/index.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 169 |
```xml
import * as fs from 'fs-extra';
import * as path from 'path';
import type { DangerJS } from './types';
import type { PackageJson } from '@fluentui/scripts-monorepo';
import { workspaceRoot } from './utils';
const packageJsonFilename = 'package.json';
const webComponentsPackageJsonFilename = 'packages/web-components/package.json';
const scriptFilename = path.relative(workspaceRoot, __filename);
/**
* This check ensures that the `@storybook/html` dep is specified under web-components rather than
* being moved to repo root, and that it's not missed when updating the versions of storybook deps.
* (The second part is less essential, but nice to have in the interest of reducing duplication.)
*
* ### WHY `@storybook/html` DEP MUST NOT BE SPECIFIED AT ROOT:
*
* The package.json of each storybook framework (such as `@storybook/html` or `@storybook/react`) has
* `bin` definitions for `build-storybook` and `start-storybook`, which are placed under `node_modules/.bin`.
* If two dependencies specified in the same package.json (the workspace root in our case) define a `bin`
* with the same name, it's **nondeterministic** which one "wins."
*
* Github Issue path_to_url#issuecomment-411328585
*
* The simplest and most reliable fix is that since `@storybook/html` is used only by web-components,
* it should be specified there, with a `nohoist` entry in the root workspace config to ensure it's
* installed under web-components rather than at the root.
*/
export async function checkStorybookVersions({ danger, fail }: DangerJS) {
// Only run this check if the root package.json and/or web-components package.json was modified
if (
!danger.git.modified_files.includes(packageJsonFilename) &&
!danger.git.modified_files.includes(webComponentsPackageJsonFilename)
) {
return;
}
// Read the package.jsons and compare the dep versions.
// (It would be possible to check the detailed diffs of the file and determine whether specifically
// the @storybook/react line changed, but just reading and comparing the files is simpler.)
const rootPackageJson: PackageJson = fs.readJSONSync(path.resolve(workspaceRoot, packageJsonFilename));
const webComponentsPackageJson: PackageJson = fs.readJSONSync(
path.resolve(workspaceRoot, webComponentsPackageJsonFilename),
);
const storybookReactVersion = rootPackageJson.devDependencies?.['@storybook/react'];
const storybookHtmlVersion = webComponentsPackageJson.devDependencies?.['@storybook/html'];
if (!storybookHtmlVersion || rootPackageJson.devDependencies?.['@storybook/html']) {
// PLEASE READ THE FUNCTION COMMENT BEFORE MODIFYING OR REMOVING THIS CHECK!!!
fail(
`\`@storybook/html\` dependency must be specified in ONLY in \`${webComponentsPackageJsonFilename}\`, ` +
`not in the root \`package.json\` (see comment in \`${scriptFilename}\` for details).`,
);
}
if (!storybookReactVersion) {
// This would be weird, but for completeness...
fail(
'`@storybook/react` has been removed from `devDependencies` in the root `package.json`. ' +
`If this was intended, please update \`${scriptFilename}\`.`,
);
}
if (storybookReactVersion && storybookHtmlVersion && storybookReactVersion !== storybookHtmlVersion) {
// Doing an exact equality check for now since storybook publishes in lockstep
// (can be refined if needed, or this part can be removed if the versions need to be different at some point)
fail(
`The version of \`@storybook/react\` (${storybookReactVersion}) specified in the root \`package.json\` ` +
`does not match the version of \`@storybook/html\` (${storybookHtmlVersion}) specified in ` +
`\`${webComponentsPackageJsonFilename}\`. These should generally be kept in sync.`,
);
}
const hasStorybookHtmlNohoist = rootPackageJson.workspaces?.nohoist?.some((entry: string) =>
entry.includes('@storybook/html'),
);
if (!hasStorybookHtmlNohoist) {
fail(
'The root `package.json` must contain a `nohoist` entry for `@storybook/html` ' +
`(see comment in \`${scriptFilename}\` for details).`,
);
}
}
``` | /content/code_sandbox/scripts/dangerjs/src/checkStorybookVersions.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 945 |
```xml
export enum Order {
FIRST = "first",
SECOND = "second",
THIRD = "third",
}
export namespace Order {
export function from(value: string): Order {
switch (value) {
case "_1":
return Order.FIRST
case "_2":
return Order.SECOND
case "_3":
return Order.THIRD
default:
return Order.FIRST
}
}
}
``` | /content/code_sandbox/test/github-issues/7651/entity/order.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 92 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">10F569</string>
<string key="IBDocument.InterfaceBuilderVersion">762</string>
<string key="IBDocument.AppKitVersion">1038.29</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys" id="0">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<reference key="IBDocument.PluginDependencies" ref="0"/>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="504246249">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSCustomObject" id="273934324">
<string key="NSClassName">Reporter</string>
</object>
<object class="NSCustomObject" id="388635980">
<string key="NSClassName">FirstResponder</string>
</object>
<object class="NSCustomObject" id="220995958">
<string key="NSClassName">NSApplication</string>
</object>
<object class="NSWindowTemplate" id="762998835">
<int key="NSWindowStyleMask">1</int>
<int key="NSWindowBacking">2</int>
<string key="NSWindowRect">{{72, 251}, {490, 489}}</string>
<int key="NSWTFlags">536871936</int>
<string key="NSWindowTitle"/>
<string key="NSWindowClass">NSWindow</string>
<nil key="NSViewClass"/>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<string key="NSWindowContentMinSize">{72, 5}</string>
<object class="NSView" key="NSWindowView" id="197525436">
<nil key="NSNextResponder"/>
<int key="NSvFlags">264</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSBox" id="469837363">
<reference key="NSNextResponder" ref="197525436"/>
<int key="NSvFlags">272</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSView" id="966817352">
<reference key="NSNextResponder" ref="469837363"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTextField" id="997378142">
<reference key="NSNextResponder" ref="966817352"/>
<int key="NSvFlags">290</int>
<string key="NSFrame">{{17, 36}, {456, 70}}</string>
<reference key="NSSuperview" ref="966817352"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="509794736">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">272760832</int>
<string key="NSContents">Providing your email address is optional and will allow us contact you in case we need more details. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed arcu urna, pulvinar sit amet, tincidunt ac, fermentum ut, ligula. Quisque mi. Duis lectus. Vestibulum velit. Morbi turpis. Nunc at diam consectetur turpis volutpat tristique. Donec quis diam. Suspendisse scelerisque.</string>
<object class="NSFont" key="NSSupport" id="26">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">11</double>
<int key="NSfFlags">3100</int>
</object>
<reference key="NSControlView" ref="997378142"/>
<object class="NSColor" key="NSBackgroundColor" id="420457920">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
</object>
<object class="NSColor" key="NSTextColor" id="800255527">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlTextColor</string>
<object class="NSColor" key="NSColor" id="908763363">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
</object>
</object>
</object>
<object class="NSTextField" id="975305147">
<reference key="NSNextResponder" ref="966817352"/>
<int key="NSvFlags">290</int>
<string key="NSFrame">{{87, 9}, {195, 19}}</string>
<reference key="NSSuperview" ref="966817352"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="592393645">
<int key="NSCellFlags">-1804468671</int>
<int key="NSCellFlags2">272761856</int>
<string key="NSContents"/>
<reference key="NSSupport" ref="26"/>
<string key="NSPlaceholderString">optional</string>
<reference key="NSControlView" ref="975305147"/>
<bool key="NSDrawsBackground">YES</bool>
<object class="NSColor" key="NSBackgroundColor" id="128478752">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">textBackgroundColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
</object>
<object class="NSColor" key="NSTextColor" id="734930533">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">textColor</string>
<reference key="NSColor" ref="908763363"/>
</object>
</object>
</object>
<object class="NSTextField" id="268211031">
<reference key="NSNextResponder" ref="966817352"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{17, 11}, {65, 14}}</string>
<reference key="NSSuperview" ref="966817352"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="461570326">
<int key="NSCellFlags">68288064</int>
<int key="NSCellFlags2">71435264</int>
<string key="NSContents">EmailLabel:</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="268211031"/>
<reference key="NSBackgroundColor" ref="420457920"/>
<reference key="NSTextColor" ref="800255527"/>
</object>
</object>
<object class="NSButton" id="538303250">
<reference key="NSNextResponder" ref="966817352"/>
<int key="NSvFlags">289</int>
<string key="NSFrame">{{456, 10}, {16, 17}}</string>
<reference key="NSSuperview" ref="966817352"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="778004767">
<int key="NSCellFlags">-2080244224</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Privacy Policy</string>
<object class="NSFont" key="NSSupport" id="222882491">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">13</double>
<int key="NSfFlags">1044</int>
</object>
<reference key="NSControlView" ref="538303250"/>
<int key="NSButtonFlags">-2040250113</int>
<int key="NSButtonFlags2">36</int>
<object class="NSCustomResource" key="NSNormalImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">goArrow</string>
</object>
<string key="NSAlternateContents"/>
<string key="NSKeyEquivalent"/>
<int key="NSPeriodicDelay">400</int>
<int key="NSPeriodicInterval">75</int>
</object>
</object>
<object class="NSTextField" id="655227981">
<reference key="NSNextResponder" ref="966817352"/>
<int key="NSvFlags">289</int>
<string key="NSFrame">{{355, 11}, {100, 14}}</string>
<reference key="NSSuperview" ref="966817352"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="1012850565">
<int key="NSCellFlags">68288064</int>
<int key="NSCellFlags2">4326400</int>
<string key="NSContents">PrivacyPolicyLabel</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="655227981"/>
<reference key="NSBackgroundColor" ref="420457920"/>
<reference key="NSTextColor" ref="800255527"/>
</object>
</object>
</object>
<string key="NSFrameSize">{490, 114}</string>
<reference key="NSSuperview" ref="469837363"/>
</object>
</object>
<string key="NSFrame">{{0, 51}, {490, 114}}</string>
<reference key="NSSuperview" ref="197525436"/>
<string key="NSOffsets">{0, 0}</string>
<object class="NSTextFieldCell" key="NSTitleCell">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Title</string>
<object class="NSFont" key="NSSupport" id="668643277">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">11</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSBackgroundColor" ref="128478752"/>
<object class="NSColor" key="NSTextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes>
</object>
</object>
<reference key="NSContentView" ref="966817352"/>
<int key="NSBorderType">0</int>
<int key="NSBoxType">3</int>
<int key="NSTitlePosition">0</int>
<bool key="NSTransparent">NO</bool>
</object>
<object class="NSButton" id="219938755">
<reference key="NSNextResponder" ref="197525436"/>
<int key="NSvFlags">289</int>
<string key="NSFrame">{{330, 12}, {146, 32}}</string>
<reference key="NSSuperview" ref="197525436"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="733475259">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134217728</int>
<string key="NSContents">SendReportLabel</string>
<reference key="NSSupport" ref="222882491"/>
<reference key="NSControlView" ref="219938755"/>
<int key="NSButtonFlags">-2038284033</int>
<int key="NSButtonFlags2">129</int>
<reference key="NSAlternateImage" ref="222882491"/>
<string key="NSAlternateContents"/>
<string type="base64-UTF8" key="NSKeyEquivalent">DQ</string>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
<object class="NSButton" id="409721323">
<reference key="NSNextResponder" ref="197525436"/>
<int key="NSvFlags">289</int>
<string key="NSFrame">{{214, 12}, {116, 32}}</string>
<reference key="NSSuperview" ref="197525436"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="586160416">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134217728</int>
<string key="NSContents">CancelLabel</string>
<reference key="NSSupport" ref="222882491"/>
<reference key="NSControlView" ref="409721323"/>
<int key="NSButtonFlags">-2038284033</int>
<int key="NSButtonFlags2">129</int>
<reference key="NSAlternateImage" ref="222882491"/>
<string key="NSAlternateContents"/>
<string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
<object class="NSBox" id="468151514">
<reference key="NSNextResponder" ref="197525436"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSView" id="1059038623">
<reference key="NSNextResponder" ref="468151514"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTextField" id="375247105">
<reference key="NSNextResponder" ref="1059038623"/>
<int key="NSvFlags">266</int>
<string key="NSFrame">{{17, 83}, {456, 154}}</string>
<reference key="NSSuperview" ref="1059038623"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="188082030">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">272760832</int>
<string type="base64-UTF8" key="NSContents">your_sha256_hashYWZmZWN0ZWQuIEEg
your_sha256_hashYWxseSBMb25nIENv
your_sha256_hashaXBzdW0gZG9sb3Ig
your_sha256_hashdXJuYSwgcHVsdmlu
your_sha256_hashIFF1aXNxdWUgbWku
your_sha256_hashbmMgYXQgZGlhbSBj
your_sha256_hashIGRpYW0uIFN1c3Bl
your_sha256_hashLiBFdGlhbSB2aXRh
your_sha256_hashdXMgZml4IHRoZSBw
your_sha256_hashYXNoLiBMb3JlbSBp
your_sha256_hashLiBTZWQgYXJjdSB1
your_sha256_hashdXQsIGxpZ3VsYS4g
UXVpc3F1ZSBtaS4gRHVpcyBsZWN0dXMuA</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="375247105"/>
<reference key="NSBackgroundColor" ref="420457920"/>
<reference key="NSTextColor" ref="800255527"/>
</object>
</object>
<object class="NSTextField" id="996404163">
<reference key="NSNextResponder" ref="1059038623"/>
<int key="NSvFlags">274</int>
<string key="NSFrame">{{20, 14}, {450, 61}}</string>
<reference key="NSSuperview" ref="1059038623"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="242564194">
<int key="NSCellFlags">341966337</int>
<int key="NSCellFlags2">272760832</int>
<string key="NSContents">Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 1 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 2 Line 3 Line 3 Line 3 Line 3 Line 3 Line 3 Line 3 Line 3 Line 3 Line 3 Line 3 Line 3 Line 4 Line 4 Line 4 Line 4 Line 4 Line 4 Line 4 Line 4 Line 4 Line 4 Line 4 Line 4 </string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="996404163"/>
<bool key="NSDrawsBackground">YES</bool>
<reference key="NSBackgroundColor" ref="128478752"/>
<reference key="NSTextColor" ref="734930533"/>
</object>
</object>
<object class="NSBox" id="667608859">
<reference key="NSNextResponder" ref="1059038623"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSView" id="971021844">
<reference key="NSNextResponder" ref="667608859"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTextField" id="1032334641">
<reference key="NSNextResponder" ref="971021844"/>
<int key="NSvFlags">266</int>
<string key="NSFrame">{{85, 10}, {381, 54}}</string>
<reference key="NSSuperview" ref="971021844"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="316557784">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">272629760</int>
<string key="NSContents">The application <Really Long App Name Here> has quit unexpectedly.</string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande-Bold</string>
<double key="NSSize">14</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSControlView" ref="1032334641"/>
<reference key="NSBackgroundColor" ref="420457920"/>
<reference key="NSTextColor" ref="800255527"/>
</object>
</object>
<object class="NSImageView" id="594334723">
<reference key="NSNextResponder" ref="971021844"/>
<int key="NSvFlags">268</int>
<object class="NSMutableSet" key="NSDragTypes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Apple PDF pasteboard type</string>
<string>Apple PICT pasteboard type</string>
<string>Apple PNG pasteboard type</string>
<string>NSFilenamesPboardType</string>
<string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
<string>NeXT TIFF v4.0 pasteboard type</string>
</object>
</object>
<string key="NSFrame">{{16, 0}, {64, 64}}</string>
<reference key="NSSuperview" ref="971021844"/>
<bool key="NSEnabled">YES</bool>
<object class="NSImageCell" key="NSCell" id="465445685">
<int key="NSCellFlags">130560</int>
<int key="NSCellFlags2">33554432</int>
<object class="NSCustomResource" key="NSContents">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">NSApplicationIcon</string>
</object>
<int key="NSAlign">0</int>
<int key="NSScale">0</int>
<int key="NSStyle">0</int>
<bool key="NSAnimates">NO</bool>
</object>
<bool key="NSEditable">YES</bool>
</object>
</object>
<string key="NSFrameSize">{482, 70}</string>
<reference key="NSSuperview" ref="667608859"/>
</object>
</object>
<string key="NSFrame">{{4, 245}, {482, 70}}</string>
<reference key="NSSuperview" ref="1059038623"/>
<string key="NSOffsets">{0, 0}</string>
<object class="NSTextFieldCell" key="NSTitleCell">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Title</string>
<reference key="NSSupport" ref="668643277"/>
<reference key="NSBackgroundColor" ref="128478752"/>
<object class="NSColor" key="NSTextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes>
</object>
</object>
<reference key="NSContentView" ref="971021844"/>
<int key="NSBorderType">0</int>
<int key="NSBoxType">3</int>
<int key="NSTitlePosition">0</int>
<bool key="NSTransparent">NO</bool>
</object>
</object>
<string key="NSFrameSize">{490, 325}</string>
<reference key="NSSuperview" ref="468151514"/>
</object>
</object>
<string key="NSFrame">{{0, 160}, {490, 325}}</string>
<reference key="NSSuperview" ref="197525436"/>
<string key="NSOffsets">{0, 0}</string>
<object class="NSTextFieldCell" key="NSTitleCell">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Title</string>
<reference key="NSSupport" ref="668643277"/>
<reference key="NSBackgroundColor" ref="128478752"/>
<object class="NSColor" key="NSTextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes>
</object>
</object>
<reference key="NSContentView" ref="1059038623"/>
<int key="NSBorderType">0</int>
<int key="NSBoxType">3</int>
<int key="NSTitlePosition">0</int>
<bool key="NSTransparent">NO</bool>
</object>
<object class="NSTextField" id="149448677">
<reference key="NSNextResponder" ref="197525436"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{17, 20}, {163, 14}}</string>
<reference key="NSSuperview" ref="197525436"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="690832321">
<int key="NSCellFlags">68288064</int>
<int key="NSCellFlags2">272630784</int>
<string key="NSContents">xx seconds.</string>
<reference key="NSSupport" ref="668643277"/>
<reference key="NSControlView" ref="149448677"/>
<reference key="NSBackgroundColor" ref="420457920"/>
<reference key="NSTextColor" ref="800255527"/>
</object>
</object>
</object>
<string key="NSFrameSize">{490, 489}</string>
</object>
<string key="NSScreenRect">{{0, 0}, {2560, 1578}}</string>
<string key="NSMinSize">{72, 27}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
</object>
<object class="NSUserDefaultsController" id="626548788">
<bool key="NSSharedInstance">YES</bool>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">sendReport:</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="219938755"/>
</object>
<int key="connectionID">45</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">cancel:</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="409721323"/>
</object>
<int key="connectionID">46</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">showPrivacyPolicy:</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="538303250"/>
</object>
<int key="connectionID">53</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: emailValue</string>
<reference key="source" ref="975305147"/>
<reference key="destination" ref="273934324"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="975305147"/>
<reference key="NSDestination" ref="273934324"/>
<string key="NSLabel">value: emailValue</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">emailValue</string>
<object class="NSDictionary" key="NSOptions">
<string key="NS.key.0">NSNullPlaceholder</string>
<string key="NS.object.0">optional</string>
</object>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
<int key="connectionID">90</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">initialFirstResponder</string>
<reference key="source" ref="762998835"/>
<reference key="destination" ref="219938755"/>
</object>
<int key="connectionID">91</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: commentsValue</string>
<reference key="source" ref="996404163"/>
<reference key="destination" ref="273934324"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="996404163"/>
<reference key="NSDestination" ref="273934324"/>
<string key="NSLabel">value: commentsValue</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">commentsValue</string>
<object class="NSDictionary" key="NSOptions">
<string key="NS.key.0">NSNullPlaceholder</string>
<string key="NS.object.0">optional comments</string>
</object>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
<int key="connectionID">124</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">nextKeyView</string>
<reference key="source" ref="975305147"/>
<reference key="destination" ref="219938755"/>
</object>
<int key="connectionID">125</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">nextKeyView</string>
<reference key="source" ref="996404163"/>
<reference key="destination" ref="975305147"/>
</object>
<int key="connectionID">126</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">nextKeyView</string>
<reference key="source" ref="219938755"/>
<reference key="destination" ref="996404163"/>
</object>
<int key="connectionID">127</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="996404163"/>
<reference key="destination" ref="273934324"/>
</object>
<int key="connectionID">128</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">alertWindow_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="762998835"/>
</object>
<int key="connectionID">142</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">preEmailBox_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="468151514"/>
</object>
<int key="connectionID">150</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">headerBox_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="667608859"/>
</object>
<int key="connectionID">151</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">emailSectionBox_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="469837363"/>
</object>
<int key="connectionID">152</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">privacyLinkLabel_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="655227981"/>
</object>
<int key="connectionID">153</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">commentMessage_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="375247105"/>
</object>
<int key="connectionID">154</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">dialogTitle_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="1032334641"/>
</object>
<int key="connectionID">155</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">emailLabel_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="268211031"/>
</object>
<int key="connectionID">156</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">cancelButton_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="409721323"/>
</object>
<int key="connectionID">158</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">sendButton_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="219938755"/>
</object>
<int key="connectionID">159</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">emailEntryField_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="975305147"/>
</object>
<int key="connectionID">161</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">privacyLinkArrow_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="538303250"/>
</object>
<int key="connectionID">162</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">emailMessage_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="997378142"/>
</object>
<int key="connectionID">163</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">commentsEntryField_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="996404163"/>
</object>
<int key="connectionID">176</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: countdownMessage</string>
<reference key="source" ref="149448677"/>
<reference key="destination" ref="273934324"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="149448677"/>
<reference key="NSDestination" ref="273934324"/>
<string key="NSLabel">value: countdownMessage</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">countdownMessage</string>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
<int key="connectionID">194</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">countdownLabel_</string>
<reference key="source" ref="273934324"/>
<reference key="destination" ref="149448677"/>
</object>
<int key="connectionID">208</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBObjectRecord">
<int key="objectID">0</int>
<reference key="object" ref="0"/>
<reference key="children" ref="504246249"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="273934324"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="388635980"/>
<reference key="parent" ref="0"/>
<string key="objectName">First Responder</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-3</int>
<reference key="object" ref="220995958"/>
<reference key="parent" ref="0"/>
<string key="objectName">Application</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">1</int>
<reference key="object" ref="762998835"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="197525436"/>
</object>
<reference key="parent" ref="0"/>
<string key="objectName">Window</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">2</int>
<reference key="object" ref="197525436"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="219938755"/>
<reference ref="409721323"/>
<reference ref="469837363"/>
<reference ref="468151514"/>
<reference ref="149448677"/>
</object>
<reference key="parent" ref="762998835"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">12</int>
<reference key="object" ref="219938755"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="733475259"/>
</object>
<reference key="parent" ref="197525436"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">14</int>
<reference key="object" ref="409721323"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="586160416"/>
</object>
<reference key="parent" ref="197525436"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">132</int>
<reference key="object" ref="469837363"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="997378142"/>
<reference ref="975305147"/>
<reference ref="268211031"/>
<reference ref="538303250"/>
<reference ref="655227981"/>
</object>
<reference key="parent" ref="197525436"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">145</int>
<reference key="object" ref="468151514"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="375247105"/>
<reference ref="996404163"/>
<reference ref="667608859"/>
</object>
<reference key="parent" ref="197525436"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">189</int>
<reference key="object" ref="149448677"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="690832321"/>
</object>
<reference key="parent" ref="197525436"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">191</int>
<reference key="object" ref="626548788"/>
<reference key="parent" ref="0"/>
<string key="objectName">Shared User Defaults Controller</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">210</int>
<reference key="object" ref="733475259"/>
<reference key="parent" ref="219938755"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">211</int>
<reference key="object" ref="586160416"/>
<reference key="parent" ref="409721323"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">221</int>
<reference key="object" ref="690832321"/>
<reference key="parent" ref="149448677"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">58</int>
<reference key="object" ref="997378142"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="509794736"/>
</object>
<reference key="parent" ref="469837363"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">215</int>
<reference key="object" ref="509794736"/>
<reference key="parent" ref="997378142"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">18</int>
<reference key="object" ref="975305147"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="592393645"/>
</object>
<reference key="parent" ref="469837363"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">212</int>
<reference key="object" ref="592393645"/>
<reference key="parent" ref="975305147"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">20</int>
<reference key="object" ref="268211031"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="461570326"/>
</object>
<reference key="parent" ref="469837363"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">213</int>
<reference key="object" ref="461570326"/>
<reference key="parent" ref="268211031"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">48</int>
<reference key="object" ref="538303250"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="778004767"/>
</object>
<reference key="parent" ref="469837363"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">214</int>
<reference key="object" ref="778004767"/>
<reference key="parent" ref="538303250"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">66</int>
<reference key="object" ref="655227981"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="1012850565"/>
</object>
<reference key="parent" ref="469837363"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">216</int>
<reference key="object" ref="1012850565"/>
<reference key="parent" ref="655227981"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">8</int>
<reference key="object" ref="375247105"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="188082030"/>
</object>
<reference key="parent" ref="468151514"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">217</int>
<reference key="object" ref="188082030"/>
<reference key="parent" ref="375247105"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">116</int>
<reference key="object" ref="996404163"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="242564194"/>
</object>
<reference key="parent" ref="468151514"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">218</int>
<reference key="object" ref="242564194"/>
<reference key="parent" ref="996404163"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">147</int>
<reference key="object" ref="667608859"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="1032334641"/>
<reference ref="594334723"/>
</object>
<reference key="parent" ref="468151514"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">3</int>
<reference key="object" ref="1032334641"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="316557784"/>
</object>
<reference key="parent" ref="667608859"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">219</int>
<reference key="object" ref="316557784"/>
<reference key="parent" ref="1032334641"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="594334723"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="465445685"/>
</object>
<reference key="parent" ref="667608859"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">220</int>
<reference key="object" ref="465445685"/>
<reference key="parent" ref="594334723"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-3.ImportedFromIB2</string>
<string>1.IBEditorWindowLastContentRect</string>
<string>1.IBWindowTemplateEditedContentRect</string>
<string>1.ImportedFromIB2</string>
<string>1.windowTemplate.hasMinSize</string>
<string>1.windowTemplate.minSize</string>
<string>116.CustomClassName</string>
<string>116.ImportedFromIB2</string>
<string>12.ImportedFromIB2</string>
<string>132.ImportedFromIB2</string>
<string>14.ImportedFromIB2</string>
<string>145.ImportedFromIB2</string>
<string>147.ImportedFromIB2</string>
<string>18.CustomClassName</string>
<string>18.ImportedFromIB2</string>
<string>189.ImportedFromIB2</string>
<string>191.ImportedFromIB2</string>
<string>2.ImportedFromIB2</string>
<string>20.ImportedFromIB2</string>
<string>3.ImportedFromIB2</string>
<string>48.ImportedFromIB2</string>
<string>58.ImportedFromIB2</string>
<string>6.ImportedFromIB2</string>
<string>66.ImportedFromIB2</string>
<string>8.ImportedFromIB2</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<boolean value="YES"/>
<string>{{0, 656}, {490, 489}}</string>
<string>{{0, 656}, {490, 489}}</string>
<boolean value="YES"/>
<boolean value="YES"/>
<string>{72, 5}</string>
<string>LengthLimitingTextField</string>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<string>LengthLimitingTextField</string>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
<boolean value="YES"/>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="activeLocalization"/>
<object class="NSMutableDictionary" key="localizations">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">221</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">LengthLimitingTextField</string>
<string key="superclassName">NSTextField</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBUserSource</string>
<string key="minorKey"/>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">Reporter</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>cancel:</string>
<string>sendReport:</string>
<string>showPrivacyPolicy:</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>alertWindow_</string>
<string>cancelButton_</string>
<string>commentMessage_</string>
<string>commentsEntryField_</string>
<string>countdownLabel_</string>
<string>dialogTitle_</string>
<string>emailEntryField_</string>
<string>emailLabel_</string>
<string>emailMessage_</string>
<string>emailSectionBox_</string>
<string>headerBox_</string>
<string>preEmailBox_</string>
<string>privacyLinkArrow_</string>
<string>privacyLinkLabel_</string>
<string>sendButton_</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSWindow</string>
<string>NSButton</string>
<string>NSTextField</string>
<string>LengthLimitingTextField</string>
<string>NSTextField</string>
<string>NSTextField</string>
<string>LengthLimitingTextField</string>
<string>NSTextField</string>
<string>NSTextField</string>
<string>NSBox</string>
<string>NSBox</string>
<string>NSBox</string>
<string>NSView</string>
<string>NSTextField</string>
<string>NSButton</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBUserSource</string>
<string key="minorKey"/>
</object>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
<integer value="1050" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
<integer value="3000" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">../Breakpad.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSApplicationIcon</string>
<string>goArrow</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>{128, 128}</string>
<string>{128, 128}</string>
</object>
</object>
</data>
</archive>
``` | /content/code_sandbox/src/MEGASync/google_breakpad/client/mac/sender/Breakpad.xib | xml | 2016-02-10T18:28:05 | 2024-08-16T19:36:44 | MEGAsync | meganz/MEGAsync | 1,593 | 13,778 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url"
android:shape="rectangle">
<corners android:radius="3dp"/>
<solid android:color="@color/bg_video_view"/>
</shape>
``` | /content/code_sandbox/playerview/src/main/res/drawable/shape_video_bg.xml | xml | 2016-08-19T09:59:38 | 2024-07-21T15:24:26 | MvpApp | Rukey7/MvpApp | 2,342 | 58 |
```xml
import * as KernelSpec from './kernelspec';
import * as KernelSpecAPI from './restapi';
export * from './manager';
export { KernelSpec, KernelSpecAPI };
``` | /content/code_sandbox/packages/services/src/kernelspec/index.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 39 |
```xml
import { createElement, memo } from 'react'
import { useTransition } from '@react-spring/web'
import { useMotionConfig } from '@nivo/core'
import { useInteractiveTreeMapNodes } from './hooks'
import {
ComputedNode,
TreeMapCommonProps,
NodeAnimatedProps,
NodeComponent,
ComputedNodeWithHandlers,
} from './types'
const getAnimatedNodeProps = <Datum extends object>(
node: ComputedNodeWithHandlers<Datum>
): NodeAnimatedProps => ({
x: node.x,
y: node.y,
width: node.width,
height: node.height,
color: node.color,
labelX: node.width / 2,
labelY: node.height / 2,
labelRotation: node.labelRotation,
labelOpacity: 1,
parentLabelX: node.parentLabelX,
parentLabelY: node.parentLabelY,
parentLabelRotation: node.parentLabelRotation,
parentLabelOpacity: 1,
})
const getEndingAnimatedNodeProps = <Datum extends object>(
node: ComputedNodeWithHandlers<Datum>
): NodeAnimatedProps => {
const x = node.x + node.width / 2
const y = node.y + node.height / 2
return {
x,
y,
width: 0,
height: 0,
color: node.color,
labelX: 0,
labelY: 0,
labelRotation: node.labelRotation,
labelOpacity: 0,
parentLabelX: 0,
parentLabelY: 0,
parentLabelRotation: node.parentLabelRotation,
parentLabelOpacity: 0,
}
}
interface TreeMapNodesProps<Datum extends object> {
nodes: ComputedNode<Datum>[]
nodeComponent: NodeComponent<Datum>
borderWidth: TreeMapCommonProps<Datum>['borderWidth']
enableLabel: TreeMapCommonProps<Datum>['enableLabel']
labelSkipSize: TreeMapCommonProps<Datum>['labelSkipSize']
enableParentLabel: TreeMapCommonProps<Datum>['enableParentLabel']
isInteractive: TreeMapCommonProps<Datum>['isInteractive']
onMouseEnter?: TreeMapCommonProps<Datum>['onMouseEnter']
onMouseMove?: TreeMapCommonProps<Datum>['onMouseMove']
onMouseLeave?: TreeMapCommonProps<Datum>['onMouseLeave']
onClick?: TreeMapCommonProps<Datum>['onClick']
tooltip: TreeMapCommonProps<Datum>['tooltip']
}
const NonMemoizedTreeMapNodes = <Datum extends object>({
nodes,
nodeComponent,
borderWidth,
enableLabel,
labelSkipSize,
enableParentLabel,
isInteractive,
onMouseEnter,
onMouseMove,
onMouseLeave,
onClick,
tooltip,
}: TreeMapNodesProps<Datum>) => {
const nodesWithHandlers = useInteractiveTreeMapNodes<Datum>(nodes, {
isInteractive,
onMouseEnter,
onMouseMove,
onMouseLeave,
onClick,
tooltip,
})
const { animate, config: springConfig } = useMotionConfig()
const transition = useTransition<ComputedNodeWithHandlers<Datum>, NodeAnimatedProps>(
nodesWithHandlers,
{
keys: node => node.path,
initial: getAnimatedNodeProps,
from: getEndingAnimatedNodeProps,
enter: getAnimatedNodeProps,
update: getAnimatedNodeProps,
leave: getEndingAnimatedNodeProps,
config: springConfig,
immediate: !animate,
}
)
return (
<>
{transition((animatedProps, node) =>
createElement(nodeComponent, {
key: node.path,
node,
animatedProps,
borderWidth,
enableLabel,
labelSkipSize,
enableParentLabel,
})
)}
</>
)
}
export const TreeMapNodes = memo(NonMemoizedTreeMapNodes) as typeof NonMemoizedTreeMapNodes
``` | /content/code_sandbox/packages/treemap/src/TreeMapNodes.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 829 |
```xml
import { social } from '@crawlee/utils';
const {
EMAIL_REGEX,
EMAIL_REGEX_GLOBAL,
FACEBOOK_REGEX,
FACEBOOK_REGEX_GLOBAL,
INSTAGRAM_REGEX,
INSTAGRAM_REGEX_GLOBAL,
LINKEDIN_REGEX,
LINKEDIN_REGEX_GLOBAL,
TWITTER_REGEX,
TWITTER_REGEX_GLOBAL,
YOUTUBE_REGEX,
YOUTUBE_REGEX_GLOBAL,
TIKTOK_REGEX,
TIKTOK_REGEX_GLOBAL,
PINTEREST_REGEX,
PINTEREST_REGEX_GLOBAL,
DISCORD_REGEX,
DISCORD_REGEX_GLOBAL,
emailsFromText,
emailsFromUrls,
parseHandlesFromHtml,
phonesFromText,
phonesFromUrls,
} = social;
describe('utils.social', () => {
describe('emailsFromText()', () => {
const testEmailsFromText = (text: string, phones: string[]) => {
expect(emailsFromText(text)).toEqual(phones);
};
test('works with arg with no emails or invalid', () => {
// @ts-expect-error invalid input type
expect(emailsFromText()).toEqual([]);
testEmailsFromText('', []);
testEmailsFromText(null, []);
testEmailsFromText(undefined, []);
// @ts-expect-error invalid input type
testEmailsFromText({}, []);
testEmailsFromText(' ', []);
testEmailsFromText(' \n\n\r\t\n ', []);
});
test('extracts emails correctly', () => {
testEmailsFromText(' info@example.com ', ['info@example.com']);
testEmailsFromText(
`
info@example.com
info+something@example.NET
john.bob.dole@some-domain.co.uk
`,
['info@example.com', 'info+something@example.NET', 'john.bob.dole@some-domain.co.uk'],
);
testEmailsFromText(
`
this'is'also'valid'email@EXAMPLE.travel
easy-address@some-domain.co.uk \n\n
easy-address@some-domain.co.uk
not @ an.email.com
@also.not.an.email
`,
[
"this'is'also'valid'email@EXAMPLE.travel",
'easy-address@some-domain.co.uk',
'easy-address@some-domain.co.uk',
],
);
testEmailsFromText(' some.super.long.email.address@some.super.long.domain.name.co.br ', [
'some.super.long.email.address@some.super.long.domain.name.co.br',
]);
});
});
describe('emailsFromUrls()', () => {
test('throws on invalid arg', () => {
expect(() => {
// @ts-expect-error invalid input type
emailsFromUrls();
}).toThrowError(/must be an array/);
expect(() => {
// @ts-expect-error invalid input type
emailsFromUrls({});
}).toThrowError(/must be an array/);
expect(() => {
// @ts-expect-error invalid input type
emailsFromUrls('fwefwef');
}).toThrowError(/must be an array/);
expect(() => {
// @ts-expect-error invalid input type
emailsFromUrls(12345);
}).toThrowError(/must be an array/);
});
test('extracts emails correctly', () => {
expect(emailsFromUrls([])).toEqual([]);
// @ts-expect-error invalid input type
expect(emailsFromUrls([1, 2, {}, 'fwef', null, undefined])).toEqual([]);
expect(emailsFromUrls(['mailto:info@example.com'])).toEqual(['info@example.com']);
expect(
emailsFromUrls([
'path_to_url
'mailto:info@example.com',
'mailto:info@example.com',
'email.without.mailto.prefix@example.com',
'',
'\n\n\n',
]),
).toEqual(['info@example.com', 'info@example.com']);
expect(
emailsFromUrls([
'path_to_url
'mailto:info@example.com',
'mailto:info@example.com',
'email.without.mailto.prefix@example.com',
'',
'\n\n\n',
]),
).toEqual(['info@example.com', 'info@example.com']);
});
});
describe('phonesFromText()', () => {
const testPhonesFromText = (text: string, phones: string[]) => {
expect(phonesFromText(text)).toEqual(phones);
};
test('works with arg with no phones or invalid', () => {
// @ts-expect-error invalid input type
expect(phonesFromText()).toEqual([]);
testPhonesFromText('', []);
testPhonesFromText(null, []);
testPhonesFromText(undefined, []);
// @ts-expect-error
testPhonesFromText({}, []);
testPhonesFromText(' ', []);
testPhonesFromText(' \n\n\r\t\n ', []);
});
test('extracts phones correctly', () => {
testPhonesFromText(
`
+420775123456 +420775123456
+420 775 123 456
775123456 775123456 \n\n
00420775123456
1234567 1234567890
+44 7911 123456
`,
[
'+420775123456',
'+420775123456',
'+420 775 123 456',
'775123456',
'775123456',
'00420775123456',
'1234567',
'1234567890',
'+44 7911 123456',
],
);
testPhonesFromText(
`
413-577-1234
00413-577-1234
981-413-777-8888
413.233.2343 +413.233.2343 or 413 233 2343
562-3113
123456789 401 311 7898 123456789
`,
[
'413-577-1234',
'00413-577-1234',
'981-413-777-8888',
'413.233.2343',
'+413.233.2343',
'413 233 2343',
'562-3113',
'123456789',
'401 311 7898',
'123456789',
],
);
testPhonesFromText(
`
1 (413) 555-2378
+1 (413) 555-2378
1(413)555-2378
001 (413) 555-2378 1 (413) 555 2378
1(413)555-2378 or 1(413)555.2378 or 1 (413) 555-2378 or 1 (413) 555 2378 or (303) 494-2320
`,
[
'1 (413) 555-2378',
'+1 (413) 555-2378',
'1(413)555-2378',
'001 (413) 555-2378',
'1 (413) 555 2378',
'1(413)555-2378',
'1(413)555.2378',
'1 (413) 555-2378',
'1 (413) 555 2378',
'(303) 494-2320',
],
);
testPhonesFromText(
`
123-456-789
123 456 789
123.456.789
123.456.789.123
+123.456.789.123
`,
['123-456-789', '123 456 789', '123.456.789', '123.456.789.123', '+123.456.789.123'],
);
testPhonesFromText(
`
(000)000-0000
(000)000 0000
(000)000.0000
(000) 000-0000
(000) 000 0000
(000) 000.0000
`,
[
'(000)000-0000',
'(000)000 0000',
'(000)000.0000',
'(000) 000-0000',
'(000) 000 0000',
'(000) 000.0000',
],
);
testPhonesFromText(
`
000-0000
000 0000
000.0000
0000000
0000000000
(000)0000000
`,
['000-0000', '000 0000', '000.0000', '0000000', '0000000000', '(000)0000000'],
);
});
test('skips invalid phones', () => {
testPhonesFromText(
`
2018-10-11 123
456789 345
1 2 3 4 5 6 7 8
`,
[],
);
});
});
describe('phonesFromUrls()', () => {
test('throws on invalid arg', () => {
expect(() => {
// @ts-expect-error invalid input type
phonesFromUrls();
}).toThrowError(/must be an array/);
expect(() => {
// @ts-expect-error invalid input type
phonesFromUrls({});
}).toThrowError(/must be an array/);
expect(() => {
// @ts-expect-error invalid input type
phonesFromUrls('fwefwef');
}).toThrowError(/must be an array/);
expect(() => {
// @ts-expect-error invalid input type
phonesFromUrls(12345);
}).toThrowError(/must be an array/);
});
test('extracts phones correctly', () => {
expect(phonesFromUrls([])).toEqual([]);
// @ts-expect-error invalid input type
expect(phonesFromUrls([1, 2, {}, 'fwef', null, undefined])).toEqual([]);
expect(
phonesFromUrls([
'tel:12345678',
'tel:/22345678', //
'tel://32345678',
'PHONE:42345678', //
'phone:/52345678',
'phone://62345678',
'telephone:72345678',
'telephone:/82345678',
'telephone://92345678',
'callto:97345678',
'CALLTO:/+98345678',
'callto://9992345678',
]),
).toEqual([
'12345678',
'22345678',
'32345678',
'42345678',
'52345678',
'62345678',
'72345678',
'82345678',
'92345678',
'97345678',
'+98345678',
'9992345678',
]);
expect(
phonesFromUrls([
'path_to_url
'ftp://www.example.com',
'1234567',
'+42055555567',
'tel://+42012345678',
'tel://+420.123.456',
'path_to_url
]),
).toEqual(['+42012345678', '+420.123.456']);
});
});
describe('parseHandlesFromHtml()', () => {
const EMPTY_RESULT: social.SocialHandles = {
emails: [],
phones: [],
phonesUncertain: [],
linkedIns: [],
twitters: [],
instagrams: [],
facebooks: [],
youtubes: [],
tiktoks: [],
pinterests: [],
discords: [],
};
test('handles invalid arg', () => {
// @ts-expect-error invalid input type
expect(parseHandlesFromHtml()).toEqual(EMPTY_RESULT);
expect(parseHandlesFromHtml(undefined)).toEqual(EMPTY_RESULT);
expect(parseHandlesFromHtml(null)).toEqual(EMPTY_RESULT);
// @ts-expect-error invalid input type
expect(parseHandlesFromHtml({})).toEqual(EMPTY_RESULT);
// @ts-expect-error invalid input type
expect(parseHandlesFromHtml(1234)).toEqual(EMPTY_RESULT);
});
test('works', () => {
expect(parseHandlesFromHtml('')).toEqual(EMPTY_RESULT);
expect(parseHandlesFromHtml(' ')).toEqual(EMPTY_RESULT);
const html =
'use the data in this [YouTube Video](path_to_url## Sample result\\n' +
'use the data in this [YouTube Video](path_to_url## Sample result\\\\n';
expect(parseHandlesFromHtml(html)).toMatchObject({
youtubes: [
'path_to_url
'path_to_url
],
});
expect(
parseHandlesFromHtml(`
<html>
<head>
<title>Bla</title>
</head>
<a>
<p>bob@example.com</p>
bob@example.com testing skipping duplicates xxx@blabla
<p>carl@example.com</p>
<a href="mailto:alice@example.com"></a>
<a href="mailto:david@example.com"></a>
<a href="skip.this.one@gmail.com"></a>
<img src="path_to_url skip.this.one.too@gmail.com " />
<a href="path_to_url skip.this.one.too@gmail.com "></a>
+420775222222
+4207751111111
+4207751111111 test duplicate
1 2 3 4 5 6 7 8 9 0
<a href="skip.this.one: +42099999999"></a>
<a href="tel://+42077533333"></a>
path_to_url
path_to_url
path_to_url duplicate
path_to_url
path_to_url
path_to_url
path_to_url
<a href="path_to_url">Profile</a>
<a href="path_to_url">Sub-link</a>
path_to_url
path_to_url duplicate
instagram.com/old_prague
path_to_url
<a href="path_to_url">link</a>
<a href="path_to_url">sub-link</a>
<a href="twitter.com/betasomething">link</a>
path_to_url
path_to_url duplicate
<a href="twitter.com/cblabla/sub-dir/">link</a>
<a href="facebook.com/carl.username123/sub-dir/">link</a>
path_to_url
path_to_url duplicate
path_to_url
<a href="path_to_url">link x</a>
<a href="path_to_url">Youtube</a>
<a href="fb.com/dada5678?query=1">link</a>
path_to_url
m.tiktok.com/v/1234567890123456789
<a href="path_to_url">Profile</a>
<a href="path_to_url">Most popular video</a>
<a href="path_to_url"Embed video</a>
m.tiktok.com/v/1234567890123456789 duplicate
<a href="path_to_url">Profile</a>
<a href="path_to_url">Top pin</a>
<a href="path_to_url">My board</a>
pinterest.com/my_username
<a href="path_to_url">My favourite pin</a> duplicate
<a href="path_to_url">Join us on Discord</a>
<a href="discord.gg/discord-developers">Join our Discord community</a>
</body>
</html>
`),
).toEqual({
discords: ['discord.gg/discord-developers', 'path_to_url
emails: ['alice@example.com', 'bob@example.com', 'carl@example.com', 'david@example.com'],
phones: ['+42077533333'],
phonesUncertain: [
'+4207751111111',
'+420775222222',
// tiktok videos have purely numeric ids so this can't be avoided
'123456789012345',
],
linkedIns: [
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'path_to_url
],
instagrams: [
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'instagram.com/old_prague',
],
pinterests: [
'path_to_url
'path_to_url
'path_to_url
'pinterest.com/my_username',
],
tiktoks: [
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'm.tiktok.com/v/1234567890123456789',
],
twitters: ['path_to_url 'twitter.com/betasomething', 'twitter.com/cblabla/'],
facebooks: [
'facebook.com/carl.username123/',
'fb.com/dada5678',
'path_to_url
'path_to_url
'path_to_url
],
youtubes: ['path_to_url
});
});
test('data is set correctly', () => {
const data = {} as any;
parseHandlesFromHtml(
`
<html>
<head>
<title>Bla</title>
</head>
<body>
Body content
</body>
</html>
`,
data,
);
expect(data.$('body').text().trim()).toBe('Body content');
expect(data.text.trim()).toBe('Body content');
});
});
describe('EMAIL_REGEX', () => {
test('works', () => {
expect(EMAIL_REGEX).toBeInstanceOf(RegExp);
expect(EMAIL_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(EMAIL_REGEX.flags).toBe('i');
expect(EMAIL_REGEX_GLOBAL.flags).toBe('gi');
expect(EMAIL_REGEX.test('bob@example.com')).toBe(true);
expect(EMAIL_REGEX.test('ALICE@EXAMPLE.COM')).toBe(true);
expect(EMAIL_REGEX.test('bob+something@example.co.uk')).toBe(true);
expect(EMAIL_REGEX.test('really.long.email.address@really.long.domain.name.travel')).toBe(true);
expect(EMAIL_REGEX.test('really-long-email-address@really.long.domain.name.travel')).toBe(true);
expect(EMAIL_REGEX.test('really_long_email_address@really.long.domain.name.travel')).toBe(true);
expect(EMAIL_REGEX.test('a alice@example.com')).toBe(false);
expect(EMAIL_REGEX.test('bob@example.com alice@example.com')).toBe(false);
expect(EMAIL_REGEX.test('')).toBe(false);
expect(EMAIL_REGEX.test('dummy')).toBe(false);
expect(EMAIL_REGEX_GLOBAL.test('bob@example.com')).toBe(true);
expect('bob@example.com alice@example.com'.match(EMAIL_REGEX_GLOBAL)).toEqual([
'bob@example.com',
'alice@example.com',
]);
expect(''.match(EMAIL_REGEX_GLOBAL)).toBe(null);
expect(' dummy '.match(EMAIL_REGEX_GLOBAL)).toBe(null);
});
});
describe('LINKEDIN_REGEX', () => {
test('works', () => {
expect(LINKEDIN_REGEX).toBeInstanceOf(RegExp);
expect(LINKEDIN_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(LINKEDIN_REGEX.flags).toBe('i');
expect(LINKEDIN_REGEX_GLOBAL.flags).toBe('gi');
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('HTTPS://WWW.LINKEDIN.COM/IN/CARL-NEWMAN')).toBe(true);
expect(LINKEDIN_REGEX.test('www.linkedin.com/in/bobnewman')).toBe(true);
expect(LINKEDIN_REGEX.test('linkedin.com/in/bobnewman')).toBe(true);
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('en.linkedin.com/in/alan-turing')).toBe(true);
expect(LINKEDIN_REGEX.test('linkedin.com/in/alan-turing')).toBe(true);
// Test there is just on matching group for the username
expect('path_to_url
expect('path_to_url
expect('www.linkedin.com/in/bobnewman/'.match(LINKEDIN_REGEX)[1]).toBe('bobnewman');
expect('linkedin.com/in/bobnewman'.match(LINKEDIN_REGEX)[1]).toBe('bobnewman');
expect(LINKEDIN_REGEX.test('')).toBe(false);
expect(LINKEDIN_REGEX.test('dummy')).toBe(false);
expect(LINKEDIN_REGEX.test('a path_to_url
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('xpath_to_url
expect(LINKEDIN_REGEX.test('0path_to_url
expect(LINKEDIN_REGEX.test('_path_to_url
expect(LINKEDIN_REGEX.test('xlinkedin.com/in/bobnewman')).toBe(false);
expect(LINKEDIN_REGEX.test('_linkedin.com/in/bobnewman')).toBe(false);
expect(LINKEDIN_REGEX.test('0linkedin.com/in/bobnewman')).toBe(false);
expect(LINKEDIN_REGEX.test('path_to_url
expect(LINKEDIN_REGEX.test('://linkedin.com/in/bobnewman')).toBe(false);
expect(LINKEDIN_REGEX.test('path_to_url path_to_url
false,
);
expect(LINKEDIN_REGEX_GLOBAL.test('path_to_url
expect(
`
path_to_url
"path_to_url"
path_to_url
linkedin.com/in/carlnewman
`.match(LINKEDIN_REGEX_GLOBAL),
).toEqual([
'path_to_url
'path_to_url
'linkedin.com/in/carlnewman',
]);
expect(
`
-path_to_url
:path_to_url
xlinkedin.com/in/carlnewman
alinkedin.com/in/carlnewman
_linkedin.com/in/carlnewman
`.match(LINKEDIN_REGEX_GLOBAL),
).toEqual(['path_to_url 'path_to_url
expect(''.match(LINKEDIN_REGEX_GLOBAL)).toBe(null);
});
});
describe('INSTAGRAM_REGEX', () => {
test('works', () => {
expect(INSTAGRAM_REGEX).toBeInstanceOf(RegExp);
expect(INSTAGRAM_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(INSTAGRAM_REGEX.flags).toBe('i');
expect(INSTAGRAM_REGEX_GLOBAL.flags).toBe('gi');
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('HTTPS://INSTAGR.AM/OLD_PRAGUE/')).toBe(true);
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('www.instagram.com/old_prague/')).toBe(true);
expect(INSTAGRAM_REGEX.test('instagram.com/old_prague/')).toBe(true);
expect(INSTAGRAM_REGEX.test('www.instagr.am/old_prague/')).toBe(true);
expect(INSTAGRAM_REGEX.test('instagr.am/old_prague/')).toBe(true);
// Test there is just on matching group for the username
expect('path_to_url
expect('path_to_url
expect('www.instagram.com/old_prague'.match(INSTAGRAM_REGEX)[1]).toBe('old_prague');
expect('instagram.com/old_prague'.match(INSTAGRAM_REGEX)[1]).toBe('old_prague');
expect(INSTAGRAM_REGEX.test('')).toBe(false);
expect(INSTAGRAM_REGEX.test('dummy')).toBe(false);
expect(INSTAGRAM_REGEX.test('a path_to_url
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('xpath_to_url
expect(INSTAGRAM_REGEX.test('0path_to_url
expect(INSTAGRAM_REGEX.test('_path_to_url
expect(INSTAGRAM_REGEX.test('xinstagram.com/old_prague')).toBe(false);
expect(INSTAGRAM_REGEX.test('_instagram.com/old_prague')).toBe(false);
expect(INSTAGRAM_REGEX.test('0instagram.com/old_prague')).toBe(false);
expect(social.INSTAGRAM_REGEX.test('path_to_url
expect(social.INSTAGRAM_REGEX.test('path_to_url
expect(social.INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('path_to_url
expect(INSTAGRAM_REGEX.test('://www.instagram.com/old_prague')).toBe(false);
expect(INSTAGRAM_REGEX.test('path_to_url path_to_url
false,
);
expect(INSTAGRAM_REGEX_GLOBAL.test('path_to_url
expect(
`
path_to_url
path_to_url
"instagram.com/old_brno"
path_to_url
`.match(INSTAGRAM_REGEX_GLOBAL),
).toEqual([
'path_to_url
'instagram.com/old_brno',
'path_to_url
]);
expect(
`
-path_to_url
instagr.am/old_plzen?param=1
xinstagram.com/old_brno
ainstagram.com/old_brno
_instagram.com/old_brno
`.match(INSTAGRAM_REGEX_GLOBAL),
).toEqual(['path_to_url 'instagr.am/old_plzen']);
expect(''.match(INSTAGRAM_REGEX_GLOBAL)).toBe(null);
});
});
describe('TWITTER_REGEX', () => {
test('works', () => {
expect(TWITTER_REGEX).toBeInstanceOf(RegExp);
expect(TWITTER_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(TWITTER_REGEX.flags).toBe('i');
expect(TWITTER_REGEX_GLOBAL.flags).toBe('gi');
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('www.twitter.com/apify')).toBe(true);
expect(TWITTER_REGEX.test('twitter.com/apify')).toBe(true);
// Test there is just on matching group for the username
expect('path_to_url
expect('path_to_url
expect('www.twitter.com/apify'.match(TWITTER_REGEX)[1]).toBe('apify');
expect('twitter.com/apify'.match(TWITTER_REGEX)[1]).toBe('apify');
expect(TWITTER_REGEX.test('')).toBe(false);
expect(TWITTER_REGEX.test('dummy')).toBe(false);
expect(TWITTER_REGEX.test('a path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('xpath_to_url
expect(TWITTER_REGEX.test('0path_to_url
expect(TWITTER_REGEX.test('_path_to_url
expect(TWITTER_REGEX.test('xtwitter.com/apify')).toBe(false);
expect(TWITTER_REGEX.test('_twitter.com/apify')).toBe(false);
expect(TWITTER_REGEX.test('0twitter.com/apify')).toBe(false);
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('://www.twitter.com/apify')).toBe(false);
expect(TWITTER_REGEX.test('path_to_url path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX.test('path_to_url
expect(TWITTER_REGEX_GLOBAL.test('path_to_url
expect(
`
path_to_url
www.twitter.com/jack/sub-dir
www.twitter.com/invalidverylongtwitterhandlenotgood
twitter.com/bob123?param=1
`.match(TWITTER_REGEX_GLOBAL),
).toEqual(['path_to_url 'www.twitter.com/jack/', 'twitter.com/bob123']);
expect(
`
-path_to_url
twitter.com/jack
twitter.com/carl123
xtwitter.com/bob
atwitter.com/bob
_twitter.com/bob
`.match(TWITTER_REGEX_GLOBAL),
).toEqual(['path_to_url 'twitter.com/jack', 'twitter.com/carl123']);
expect(''.match(TWITTER_REGEX_GLOBAL)).toBe(null);
});
});
describe('FACEBOOK_REGEX', () => {
test('works', () => {
expect(FACEBOOK_REGEX).toBeInstanceOf(RegExp);
expect(FACEBOOK_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(FACEBOOK_REGEX.flags).toBe('i');
expect(FACEBOOK_REGEX_GLOBAL.flags).toBe('gi');
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('www.facebook.com/someusername')).toBe(true);
expect(FACEBOOK_REGEX.test('facebook.com/someusername')).toBe(true);
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('www.fb.com/someusername')).toBe(true);
expect(FACEBOOK_REGEX.test('fb.com/someusername')).toBe(true);
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('www.facebook.com/profile.php?id=1155802082')).toBe(true);
expect(FACEBOOK_REGEX.test('facebook.com/profile.php?id=1155802082')).toBe(true);
expect(FACEBOOK_REGEX.test('fb.com/profile.php?id=1155802082')).toBe(true);
// Test there is just on matching group for the username
expect('path_to_url
expect('path_to_url
expect('path_to_url
'profile.php?id=1155802082',
);
expect('fb.com/someusername'.match(FACEBOOK_REGEX)[1]).toBe('someusername');
expect(FACEBOOK_REGEX.test('')).toBe(false);
expect(FACEBOOK_REGEX.test('dummy')).toBe(false);
expect(FACEBOOK_REGEX.test('a path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('xpath_to_url
expect(FACEBOOK_REGEX.test('0path_to_url
expect(FACEBOOK_REGEX.test('_path_to_url
expect(FACEBOOK_REGEX.test('xfacebook.com/someusername')).toBe(false);
expect(FACEBOOK_REGEX.test('_facebook.com/someusername')).toBe(false);
expect(FACEBOOK_REGEX.test('0facebook.com/someusername')).toBe(false);
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('://www.facebook.com/someusername')).toBe(false);
expect(FACEBOOK_REGEX.test('path_to_url path_to_url
false,
);
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX.test('path_to_url
expect(FACEBOOK_REGEX_GLOBAL.test('path_to_url
expect(
`
path_to_url
www.facebook.com/another123/sub-dir
path_to_url
fb.com/bob123
`.match(FACEBOOK_REGEX_GLOBAL),
).toEqual(['path_to_url 'www.facebook.com/another123/', 'fb.com/bob123']);
expect(
`
-path_to_url
facebook.com/jack4567
fb.com/carl123
xfacebook.com/bob
afacebook.com/bob
_facebook.com/bob
`.match(FACEBOOK_REGEX_GLOBAL),
).toEqual(['path_to_url 'facebook.com/jack4567', 'fb.com/carl123']);
expect(''.match(FACEBOOK_REGEX_GLOBAL)).toBe(null);
});
});
describe('YOUTUBE_REGEX', () => {
it('works', () => {
expect(YOUTUBE_REGEX).toBeInstanceOf(RegExp);
expect(YOUTUBE_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(YOUTUBE_REGEX.flags).toBe('i');
expect(YOUTUBE_REGEX_GLOBAL.flags).toBe('gi');
expect(''.match(social.YOUTUBE_REGEX_GLOBAL)).toBe(null);
expect(' dummy '.match(social.YOUTUBE_REGEX_GLOBAL)).toBe(null);
expect(YOUTUBE_REGEX.test('path_to_url
expect(YOUTUBE_REGEX.test('path_to_url
expect(YOUTUBE_REGEX.test('path_to_url
expect(YOUTUBE_REGEX.test('path_to_url
expect(YOUTUBE_REGEX.test('path_to_url
expect(YOUTUBE_REGEX.test('://www.youtube.com/c/TrapNation')).toBe(false);
expect(YOUTUBE_REGEX.test('path_to_url path_to_url
false,
);
expect(YOUTUBE_REGEX.test('xyoutu.be/kM7YfhfkiEE')).toBe(false);
expect(YOUTUBE_REGEX.test('-path_to_url
// Test there is just on matching group for the channel, video or username
expect('path_to_url
expect('path_to_url
expect('path_to_url
expect('path_to_url
'UCklie6BM0fhFvzWYqQVoCTA',
);
expect('path_to_url
expect(
`
path_to_url
-path_to_url
youtube.com/jack4567
path_to_url
byoutube.com/bob
ayoutube.com/bob
_youtube.com/bob
www.youtube.com/c/TrapNation
path_to_url
youtube.com/user/pewdiepie
`.match(YOUTUBE_REGEX_GLOBAL),
).toEqual([
'path_to_url
'path_to_url
'youtube.com/jack4567',
'path_to_url
'www.youtube.com/c/TrapNation',
'path_to_url
'youtube.com/user/pewdiepie',
]);
});
});
describe('TIKTOK_REGEX', () => {
it('works', () => {
expect(TIKTOK_REGEX).toBeInstanceOf(RegExp);
expect(TIKTOK_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(TIKTOK_REGEX.flags).toBe('i');
expect(TIKTOK_REGEX_GLOBAL.flags).toBe('gi');
expect(''.match(TIKTOK_REGEX_GLOBAL)).toBe(null);
expect(' dummy '.match(TIKTOK_REGEX_GLOBAL)).toBe(null);
expect(TIKTOK_REGEX.test('path_to_url
expect(TIKTOK_REGEX.test('path_to_url
expect(TIKTOK_REGEX.test('path_to_url
expect(TIKTOK_REGEX.test('path_to_url
expect(TIKTOK_REGEX.test('path_to_url
expect(TIKTOK_REGEX.test('_path_to_url
expect(TIKTOK_REGEX.test('xtiktok.com/embed/123456789/')).toBe(false);
expect(TIKTOK_REGEX.test('_pinterest.com/someusername')).toBe(false);
expect(TIKTOK_REGEX.test('0path_to_url
// Test there is just one matching group for video id or username
expect('path_to_url
'trending?shareId=123456789',
);
expect('www.tiktok.com/embed/123456789/'.match(TIKTOK_REGEX)[1]).toBe('embed/123456789');
expect('tiktok.com/@jack'.match(TIKTOK_REGEX)[1]).toBe('@jack');
expect('path_to_url
'@username/video/123456789',
);
expect(
`
path_to_url
www.tiktok.com/embed/123456789/
m.tiktok.com/v/123456789
tiktok.com/@user
path_to_url
-path_to_url
atiktok.com/embed/123456789/
_tiktok.com/embed/123456789/
www.tiktok.com/embed/nonNumericVideoId
path_to_url
path_to_url
path_to_url
`.match(TIKTOK_REGEX_GLOBAL),
).toEqual([
'path_to_url
'www.tiktok.com/embed/123456789/',
'm.tiktok.com/v/123456789',
'tiktok.com/@user',
'path_to_url
'path_to_url
'path_to_url
'path_to_url
]);
});
});
describe('PINTEREST_REGEX', () => {
it('works', () => {
expect(PINTEREST_REGEX).toBeInstanceOf(RegExp);
expect(PINTEREST_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(PINTEREST_REGEX.flags).toBe('i');
expect(PINTEREST_REGEX_GLOBAL.flags).toBe('gi');
expect(''.match(PINTEREST_REGEX_GLOBAL)).toBe(null);
expect(' dummy '.match(PINTEREST_REGEX_GLOBAL)).toBe(null);
expect(PINTEREST_REGEX.test('path_to_url
expect(PINTEREST_REGEX.test('path_to_url
expect(PINTEREST_REGEX.test('path_to_url
expect(PINTEREST_REGEX.test('path_to_url
expect(PINTEREST_REGEX.test('pinterest.com/user_name.gold')).toBe(true);
expect(PINTEREST_REGEX.test('path_to_url
expect(PINTEREST_REGEX.test('_path_to_url
expect(PINTEREST_REGEX.test('xpinterest.com/user_name.gold')).toBe(false);
expect(PINTEREST_REGEX.test('_pinterest.com/someusername')).toBe(false);
expect(PINTEREST_REGEX.test('0pinterest.com/someusername')).toBe(false);
// Test there is just on matching group for the pin, board or username
expect('path_to_url
expect('path_to_url
expect('pinterest.com/user_name.gold'.match(PINTEREST_REGEX)[1]).toBe('user_name.gold');
expect('path_to_url
expect(
`
path_to_url
-path_to_url
path_to_url
path_to_url
path_to_url
path_to_url
pinterest.com/user_name.gold
path_to_url
path_to_url
`.match(PINTEREST_REGEX_GLOBAL),
).toEqual([
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'pinterest.com/user_name.gold',
'path_to_url
]);
});
});
describe('DISCORD_REGEX', () => {
it('works', () => {
expect(DISCORD_REGEX).toBeInstanceOf(RegExp);
expect(DISCORD_REGEX_GLOBAL).toBeInstanceOf(RegExp);
expect(DISCORD_REGEX.flags).toBe('i');
expect(DISCORD_REGEX_GLOBAL.flags).toBe('gi');
expect(''.match(DISCORD_REGEX_GLOBAL)).toBe(null);
expect(' dummy '.match(DISCORD_REGEX_GLOBAL)).toBe(null);
expect(DISCORD_REGEX.test('path_to_url
expect(DISCORD_REGEX.test('path_to_url
expect(DISCORD_REGEX.test('path_to_url
expect(DISCORD_REGEX.test('path_to_url
true,
);
expect(DISCORD_REGEX.test('path_to_url
true,
);
expect(DISCORD_REGEX.test('ptb.discord.com/invite/jyEM2PRvMU')).toBe(true);
expect(DISCORD_REGEX.test('canary.discord.com/invite/jyEM2PRvMU')).toBe(true);
expect(DISCORD_REGEX.test('path_to_url
expect(DISCORD_REGEX.test('9discord.gg/discord-developers')).toBe(false);
expect(DISCORD_REGEX.test('-discordapp.com/channels/231496023303957476/')).toBe(false);
// Test there is just on matching group for the channel or invite (matches discord.* / discordapp.* prefix as well as they differ)
expect('path_to_url
'discord.gg/discord-developers',
);
expect('path_to_url
'discord.com/invite/jyEM2PRvMU',
);
expect('path_to_url
'discordapp.com/channels/231496023303957476',
);
expect('path_to_url
'discord.com/channels/231496023303957476/2332823543826404586',
);
expect(
`
path_to_url
path_to_url
-path_to_url
path_to_url
discord.gg/discord-developers
path_to_url
`.match(DISCORD_REGEX_GLOBAL),
).toEqual([
'path_to_url
'path_to_url
'path_to_url
'path_to_url
'discord.gg/discord-developers',
]);
});
});
});
``` | /content/code_sandbox/test/utils/social.test.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 9,127 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:custom="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activity.MainActivity">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:navigationIcon="@drawable/ic_baseline_arrow_back_24"
app:navigationIconTint="@color/white"
app:title="Edit Images"
app:titleTextColor="?attr/titleToolbarTextColor" />
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="?android:attr/actionBarSize"
android:orientation="vertical"
tools:context=".activity.CropImageActivity">
<com.theartofdev.edmodo.cropper.CropImageView
android:id="@+id/cropImageView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
custom:cropInitialCropWindowPaddingRatio="0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:orientation="horizontal">
<Button
android:id="@+id/cropButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_weight="1"
android:background="@drawable/cornered_edges"
android:minWidth="40dp"
android:text="@string/save_current"
android:textAllCaps="false"
android:textColor="?attr/bottomSheetTextColor" />
<Button
android:id="@+id/rotateButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_weight="1"
android:background="@drawable/cornered_edges"
android:minWidth="0dp"
android:paddingStart="2dp"
android:paddingEnd="2dp"
android:text="@string/rotate"
android:textAllCaps="false"
android:textColor="?attr/bottomSheetTextColor" />
<ImageView
android:id="@+id/previousImageButton"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginStart="5dp"
android:layout_weight="3"
android:contentDescription="@string/previous_image_content_desc"
android:gravity="center"
app:srcCompat="@drawable/ic_navigate_before_white_24dp"
app:tint="?attr/bottomSheetColor"
tools:targetApi="lollipop" />
<TextView
android:id="@+id/imagecount"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="8"
android:gravity="center"
android:text="@string/showing_image" />
<ImageView
android:id="@+id/nextimageButton"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_weight="3"
android:contentDescription="@string/nextimage_contentdesc"
android:gravity="center"
app:srcCompat="@drawable/ic_navigate_next_black_24dp"
app:tint="?attr/bottomSheetColor"
tools:targetApi="lollipop" />
</LinearLayout>
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
``` | /content/code_sandbox/app/src/main/res/layout/activity_crop_image_activity.xml | xml | 2016-02-22T10:00:46 | 2024-08-16T15:37:50 | Images-to-PDF | Swati4star/Images-to-PDF | 1,174 | 880 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="activity_horizontal_margin">28.4444dp</dimen>
<dimen name="activity_vertical_margin">28.4444dp</dimen>
<dimen name="heart_anim_bezier_x_rand">71.1111dp</dimen>
<dimen name="heart_anim_init_x">88.8889dp</dimen>
<dimen name="heart_anim_init_y">44.4444dp</dimen>
<dimen name="heart_anim_length">177.7778dp</dimen>
<dimen name="heart_anim_length_rand">266.6667dp</dimen>
<dimen name="heart_anim_x_point_factor">53.3333dp</dimen>
<dimen name="heart_size_height">48.5333dp</dimen>
<dimen name="heart_size_width">57.7778dp</dimen>
<dimen name="textSize_sidebar">17.7778sp</dimen>
<dimen name="large_textSize_sidebar">56.8889sp</dimen>
<dimen name="textSize_sidebar_choose">21.3333sp</dimen>
<dimen name="textSize_sidebar_padding">35.5556sp</dimen>
<dimen name="radius_sidebar">35.5556dp</dimen>
<dimen name="ball_radius_sidebar">42.6667dp</dimen>
<dimen name="default_slider_height">64.0000dp</dimen>
<dimen name="default_slider_margin">42.6667dp</dimen>
<dimen name="default_slider_bar_height">7.1111dp</dimen>
<dimen name="default_slider_handler_radius">17.7778dp</dimen>
<dimen name="default_padding_side">42.6667dp</dimen>
<dimen name="default_preview_height">71.1111dp</dimen>
<dimen name="default_preview_image_height">64.0000dp</dimen>
<dimen name="default_slider_margin_btw_title">35.5556dp</dimen>
<dimen name="rxauto_imageview_left">-177.7778dp</dimen>
<dimen name="rxauto_imageview_Right">-533.3333dp</dimen>
<dimen name="sp_1">1.7778sp</dimen>
<dimen name="sp_2">3.5556sp</dimen>
<dimen name="sp_3">5.3333sp</dimen>
<dimen name="sp_4">7.1111sp</dimen>
<dimen name="sp_5">8.8889sp</dimen>
<dimen name="sp_6">10.6667sp</dimen>
<dimen name="sp_7">12.4444sp</dimen>
<dimen name="sp_8">14.2222sp</dimen>
<dimen name="sp_9">16.0000sp</dimen>
<dimen name="sp_10">17.7778sp</dimen>
<dimen name="sp_11">19.5556sp</dimen>
<dimen name="sp_12">21.3333sp</dimen>
<dimen name="sp_13">23.1111sp</dimen>
<dimen name="sp_14">24.8889sp</dimen>
<dimen name="sp_15">26.6667sp</dimen>
<dimen name="sp_16">28.4444sp</dimen>
<dimen name="sp_17">30.2222sp</dimen>
<dimen name="sp_18">32.0000sp</dimen>
<dimen name="sp_19">33.7778sp</dimen>
<dimen name="sp_20">35.5556sp</dimen>
<dimen name="sp_21">37.3333sp</dimen>
<dimen name="sp_22">39.1111sp</dimen>
<dimen name="sp_23">40.8889sp</dimen>
<dimen name="sp_24">42.6667sp</dimen>
<dimen name="sp_25">44.4444sp</dimen>
<dimen name="sp_26">46.2222sp</dimen>
<dimen name="sp_27">48.0000sp</dimen>
<dimen name="sp_28">49.7778sp</dimen>
<dimen name="sp_29">51.5556sp</dimen>
<dimen name="sp_30">53.3333sp</dimen>
<dimen name="sp_31">55.1111sp</dimen>
<dimen name="sp_32">56.8889sp</dimen>
<dimen name="sp_33">58.6667sp</dimen>
<dimen name="sp_34">60.4444sp</dimen>
<dimen name="sp_35">62.2222sp</dimen>
<dimen name="sp_36">64.0000sp</dimen>
<dimen name="sp_37">65.7778sp</dimen>
<dimen name="sp_38">67.5556sp</dimen>
<dimen name="sp_39">69.3333sp</dimen>
<dimen name="sp_40">71.1111sp</dimen>
<dimen name="sp_41">72.8889sp</dimen>
<dimen name="sp_42">74.6667sp</dimen>
<dimen name="sp_43">76.4444sp</dimen>
<dimen name="sp_44">78.2222sp</dimen>
<dimen name="sp_45">80.0000sp</dimen>
<dimen name="sp_46">81.7778sp</dimen>
<dimen name="sp_47">83.5556sp</dimen>
<dimen name="sp_48">85.3333sp</dimen>
<dimen name="sp_49">87.1111sp</dimen>
<dimen name="sp_50">88.8889sp</dimen>
<dimen name="sp_51">90.6667sp</dimen>
<dimen name="sp_52">92.4444sp</dimen>
<dimen name="sp_53">94.2222sp</dimen>
<dimen name="sp_54">96.0000sp</dimen>
<dimen name="sp_55">97.7778sp</dimen>
<dimen name="sp_56">99.5556sp</dimen>
<dimen name="sp_57">101.3333sp</dimen>
<dimen name="sp_58">103.1111sp</dimen>
<dimen name="sp_59">104.8889sp</dimen>
<dimen name="sp_60">106.6667sp</dimen>
<dimen name="sp_61">108.4444sp</dimen>
<dimen name="sp_62">110.2222sp</dimen>
<dimen name="sp_63">112.0000sp</dimen>
<dimen name="sp_64">113.7778sp</dimen>
<dimen name="sp_65">115.5556sp</dimen>
<dimen name="sp_66">117.3333sp</dimen>
<dimen name="sp_67">119.1111sp</dimen>
<dimen name="sp_68">120.8889sp</dimen>
<dimen name="sp_69">122.6667sp</dimen>
<dimen name="sp_70">124.4444sp</dimen>
<dimen name="sp_71">126.2222sp</dimen>
<dimen name="sp_72">128.0000sp</dimen>
<dimen name="sp_73">129.7778sp</dimen>
<dimen name="sp_74">131.5556sp</dimen>
<dimen name="sp_75">133.3333sp</dimen>
<dimen name="sp_76">135.1111sp</dimen>
<dimen name="sp_77">136.8889sp</dimen>
<dimen name="sp_78">138.6667sp</dimen>
<dimen name="sp_79">140.4444sp</dimen>
<dimen name="sp_80">142.2222sp</dimen>
<dimen name="sp_81">144.0000sp</dimen>
<dimen name="sp_82">145.7778sp</dimen>
<dimen name="sp_83">147.5556sp</dimen>
<dimen name="sp_84">156.4444sp</dimen>
<dimen name="sp_85">151.1111sp</dimen>
<dimen name="sp_86">152.8889sp</dimen>
<dimen name="sp_87">154.6667sp</dimen>
<dimen name="sp_88">156.4444sp</dimen>
<dimen name="sp_89">158.2222sp</dimen>
<dimen name="sp_90">160.0000sp</dimen>
<dimen name="sp_91">161.7778sp</dimen>
<dimen name="sp_92">163.5556sp</dimen>
<dimen name="sp_93">165.3333sp</dimen>
<dimen name="sp_94">167.1111sp</dimen>
<dimen name="sp_95">168.8889sp</dimen>
<dimen name="sp_96">170.6667sp</dimen>
<dimen name="sp_97">172.4444sp</dimen>
<dimen name="sp_98">174.2222sp</dimen>
<dimen name="sp_99">176.0000sp</dimen>
<dimen name="sp_100">177.7778sp</dimen>
<dimen name="dp_1">1.7778dp</dimen>
<dimen name="dp_2">3.5556dp</dimen>
<dimen name="dp_3">5.3333dp</dimen>
<dimen name="dp_4">7.1111dp</dimen>
<dimen name="dp_5">8.8889dp</dimen>
<dimen name="dp_6">10.6667dp</dimen>
<dimen name="dp_7">12.4444dp</dimen>
<dimen name="dp_8">14.2222dp</dimen>
<dimen name="dp_9">16.0000dp</dimen>
<dimen name="dp_10">17.7778dp</dimen>
<dimen name="dp_11">19.5556dp</dimen>
<dimen name="dp_12">21.3333dp</dimen>
<dimen name="dp_13">23.1111dp</dimen>
<dimen name="dp_14">24.8889dp</dimen>
<dimen name="dp_15">26.6667dp</dimen>
<dimen name="dp_16">28.4444dp</dimen>
<dimen name="dp_17">30.2222dp</dimen>
<dimen name="dp_18">32.0000dp</dimen>
<dimen name="dp_19">33.7778dp</dimen>
<dimen name="dp_20">35.5556dp</dimen>
<dimen name="dp_21">37.3333dp</dimen>
<dimen name="dp_22">39.1111dp</dimen>
<dimen name="dp_23">40.8889dp</dimen>
<dimen name="dp_24">42.6667dp</dimen>
<dimen name="dp_25">44.4444dp</dimen>
<dimen name="dp_26">46.2222dp</dimen>
<dimen name="dp_27">48.0000dp</dimen>
<dimen name="dp_28">49.7778dp</dimen>
<dimen name="dp_29">51.5556dp</dimen>
<dimen name="dp_30">53.3333dp</dimen>
<dimen name="dp_31">55.1111dp</dimen>
<dimen name="dp_32">56.8889dp</dimen>
<dimen name="dp_33">58.6667dp</dimen>
<dimen name="dp_34">60.4444dp</dimen>
<dimen name="dp_35">62.2222dp</dimen>
<dimen name="dp_36">64.0000dp</dimen>
<dimen name="dp_37">65.7778dp</dimen>
<dimen name="dp_38">67.5556dp</dimen>
<dimen name="dp_39">69.3333dp</dimen>
<dimen name="dp_40">71.1111dp</dimen>
<dimen name="dp_41">72.8889dp</dimen>
<dimen name="dp_42">74.6667dp</dimen>
<dimen name="dp_43">76.4444dp</dimen>
<dimen name="dp_44">78.2222dp</dimen>
<dimen name="dp_45">80.0000dp</dimen>
<dimen name="dp_46">81.7778dp</dimen>
<dimen name="dp_47">83.5556dp</dimen>
<dimen name="dp_48">85.3333dp</dimen>
<dimen name="dp_49">87.1111dp</dimen>
<dimen name="dp_50">88.8889dp</dimen>
<dimen name="dp_51">90.6667dp</dimen>
<dimen name="dp_52">92.4444dp</dimen>
<dimen name="dp_53">94.2222dp</dimen>
<dimen name="dp_54">96.0000dp</dimen>
<dimen name="dp_55">97.7778dp</dimen>
<dimen name="dp_56">99.5556dp</dimen>
<dimen name="dp_57">101.3333dp</dimen>
<dimen name="dp_58">103.1111dp</dimen>
<dimen name="dp_59">104.8889dp</dimen>
<dimen name="dp_60">106.6667dp</dimen>
<dimen name="dp_61">108.4444dp</dimen>
<dimen name="dp_62">110.2222dp</dimen>
<dimen name="dp_63">112.0000dp</dimen>
<dimen name="dp_64">113.7778dp</dimen>
<dimen name="dp_65">115.5556dp</dimen>
<dimen name="dp_66">117.3333dp</dimen>
<dimen name="dp_67">119.1111dp</dimen>
<dimen name="dp_68">120.8889dp</dimen>
<dimen name="dp_69">122.6667dp</dimen>
<dimen name="dp_70">124.4444dp</dimen>
<dimen name="dp_71">126.2222dp</dimen>
<dimen name="dp_72">128.0000dp</dimen>
<dimen name="dp_73">129.7778dp</dimen>
<dimen name="dp_74">131.5556dp</dimen>
<dimen name="dp_75">133.3333dp</dimen>
<dimen name="dp_76">135.1111dp</dimen>
<dimen name="dp_77">136.8889dp</dimen>
<dimen name="dp_78">138.6667dp</dimen>
<dimen name="dp_79">140.4444dp</dimen>
<dimen name="dp_80">142.2222dp</dimen>
<dimen name="dp_81">144.0000dp</dimen>
<dimen name="dp_82">145.7778dp</dimen>
<dimen name="dp_83">147.5556dp</dimen>
<dimen name="dp_84">156.4444dp</dimen>
<dimen name="dp_85">151.1111dp</dimen>
<dimen name="dp_86">152.8889dp</dimen>
<dimen name="dp_87">154.6667dp</dimen>
<dimen name="dp_88">156.4444dp</dimen>
<dimen name="dp_89">158.2222dp</dimen>
<dimen name="dp_90">160.0000dp</dimen>
<dimen name="dp_91">161.7778dp</dimen>
<dimen name="dp_92">163.5556dp</dimen>
<dimen name="dp_93">165.3333dp</dimen>
<dimen name="dp_94">167.1111dp</dimen>
<dimen name="dp_95">168.8889dp</dimen>
<dimen name="dp_96">170.6667dp</dimen>
<dimen name="dp_97">172.4444dp</dimen>
<dimen name="dp_98">174.2222dp</dimen>
<dimen name="dp_99">176.0000dp</dimen>
<dimen name="dp_100">177.7778dp</dimen>
<dimen name="dp_101">179.5556dp</dimen>
<dimen name="dp_102">181.3333dp</dimen>
<dimen name="dp_103">183.1111dp</dimen>
<dimen name="dp_104">184.8889dp</dimen>
<dimen name="dp_105">186.6667dp</dimen>
<dimen name="dp_106">188.4444dp</dimen>
<dimen name="dp_107">190.2222dp</dimen>
<dimen name="dp_108">192.0000dp</dimen>
<dimen name="dp_109">193.7778dp</dimen>
<dimen name="dp_110">195.5556dp</dimen>
<dimen name="dp_111">197.3333dp</dimen>
<dimen name="dp_112">199.1111dp</dimen>
<dimen name="dp_113">200.8889dp</dimen>
<dimen name="dp_114">202.6667dp</dimen>
<dimen name="dp_115">204.4444dp</dimen>
<dimen name="dp_116">206.2222dp</dimen>
<dimen name="dp_117">208.0000dp</dimen>
<dimen name="dp_118">209.7778dp</dimen>
<dimen name="dp_119">211.5556dp</dimen>
<dimen name="dp_120">213.3333dp</dimen>
<dimen name="dp_121">215.1111dp</dimen>
<dimen name="dp_122">216.8889dp</dimen>
<dimen name="dp_123">218.6667dp</dimen>
<dimen name="dp_124">220.4444dp</dimen>
<dimen name="dp_125">222.2222dp</dimen>
<dimen name="dp_126">224.0000dp</dimen>
<dimen name="dp_127">225.7778dp</dimen>
<dimen name="dp_128">227.5556dp</dimen>
<dimen name="dp_129">229.3333dp</dimen>
<dimen name="dp_130">231.1111dp</dimen>
<dimen name="dp_131">232.8889dp</dimen>
<dimen name="dp_132">234.6667dp</dimen>
<dimen name="dp_133">236.4444dp</dimen>
<dimen name="dp_134">238.2222dp</dimen>
<dimen name="dp_135">240.0000dp</dimen>
<dimen name="dp_136">241.7778dp</dimen>
<dimen name="dp_137">243.5556dp</dimen>
<dimen name="dp_138">245.3333dp</dimen>
<dimen name="dp_139">247.1111dp</dimen>
<dimen name="dp_140">248.8889dp</dimen>
<dimen name="dp_141">250.6667dp</dimen>
<dimen name="dp_142">252.4444dp</dimen>
<dimen name="dp_143">254.2222dp</dimen>
<dimen name="dp_144">256.0000dp</dimen>
<dimen name="dp_145">257.7778dp</dimen>
<dimen name="dp_146">259.5556dp</dimen>
<dimen name="dp_147">261.3333dp</dimen>
<dimen name="dp_148">263.1111dp</dimen>
<dimen name="dp_149">264.8889dp</dimen>
<dimen name="dp_150">266.6667dp</dimen>
<dimen name="dp_151">268.4444dp</dimen>
<dimen name="dp_152">270.2222dp</dimen>
<dimen name="dp_153">272.0000dp</dimen>
<dimen name="dp_154">273.7778dp</dimen>
<dimen name="dp_155">275.5556dp</dimen>
<dimen name="dp_156">277.3333dp</dimen>
<dimen name="dp_157">279.1111dp</dimen>
<dimen name="dp_158">280.8889dp</dimen>
<dimen name="dp_159">282.6667dp</dimen>
<dimen name="dp_160">284.4444dp</dimen>
<dimen name="dp_161">286.2222dp</dimen>
<dimen name="dp_162">288.0000dp</dimen>
<dimen name="dp_163">289.7778dp</dimen>
<dimen name="dp_164">291.5556dp</dimen>
<dimen name="dp_165">293.3333dp</dimen>
<dimen name="dp_166">295.1111dp</dimen>
<dimen name="dp_167">296.8889dp</dimen>
<dimen name="dp_168">298.6667dp</dimen>
<dimen name="dp_169">300.4444dp</dimen>
<dimen name="dp_170">302.2222dp</dimen>
<dimen name="dp_171">304.0000dp</dimen>
<dimen name="dp_172">305.7778dp</dimen>
<dimen name="dp_173">307.5556dp</dimen>
<dimen name="dp_174">309.3333dp</dimen>
<dimen name="dp_175">311.1111dp</dimen>
<dimen name="dp_176">312.8889dp</dimen>
<dimen name="dp_177">314.6667dp</dimen>
<dimen name="dp_178">316.4444dp</dimen>
<dimen name="dp_179">318.2222dp</dimen>
<dimen name="dp_180">320.0000dp</dimen>
<dimen name="dp_181">321.7778dp</dimen>
<dimen name="dp_182">323.5556dp</dimen>
<dimen name="dp_183">325.3333dp</dimen>
<dimen name="dp_184">334.2222dp</dimen>
<dimen name="dp_185">328.8889dp</dimen>
<dimen name="dp_186">330.6667dp</dimen>
<dimen name="dp_187">332.4444dp</dimen>
<dimen name="dp_188">334.2222dp</dimen>
<dimen name="dp_189">336.0000dp</dimen>
<dimen name="dp_190">337.7778dp</dimen>
<dimen name="dp_191">339.5556dp</dimen>
<dimen name="dp_192">341.3333dp</dimen>
<dimen name="dp_193">343.1111dp</dimen>
<dimen name="dp_194">344.8889dp</dimen>
<dimen name="dp_195">346.6667dp</dimen>
<dimen name="dp_196">348.4444dp</dimen>
<dimen name="dp_197">350.2222dp</dimen>
<dimen name="dp_198">352.0000dp</dimen>
<dimen name="dp_199">353.7778dp</dimen>
<dimen name="dp_200">355.5556dp</dimen>
<dimen name="dp_201">357.3333dp</dimen>
<dimen name="dp_202">359.1111dp</dimen>
<dimen name="dp_203">360.8889dp</dimen>
<dimen name="dp_204">362.6667dp</dimen>
<dimen name="dp_205">364.4444dp</dimen>
<dimen name="dp_206">366.2222dp</dimen>
<dimen name="dp_207">368.0000dp</dimen>
<dimen name="dp_208">369.7778dp</dimen>
<dimen name="dp_209">371.5556dp</dimen>
<dimen name="dp_210">373.3333dp</dimen>
<dimen name="dp_211">375.1111dp</dimen>
<dimen name="dp_212">376.8889dp</dimen>
<dimen name="dp_213">378.6667dp</dimen>
<dimen name="dp_214">380.4444dp</dimen>
<dimen name="dp_215">382.2222dp</dimen>
<dimen name="dp_216">384.0000dp</dimen>
<dimen name="dp_217">385.7778dp</dimen>
<dimen name="dp_218">387.5556dp</dimen>
<dimen name="dp_219">389.3333dp</dimen>
<dimen name="dp_220">391.1111dp</dimen>
<dimen name="dp_221">392.8889dp</dimen>
<dimen name="dp_222">394.6667dp</dimen>
<dimen name="dp_223">396.4444dp</dimen>
<dimen name="dp_224">398.2222dp</dimen>
<dimen name="dp_225">400.0000dp</dimen>
<dimen name="dp_226">401.7778dp</dimen>
<dimen name="dp_227">403.5556dp</dimen>
<dimen name="dp_228">405.3333dp</dimen>
<dimen name="dp_229">407.1111dp</dimen>
<dimen name="dp_230">408.8889dp</dimen>
<dimen name="dp_231">410.6667dp</dimen>
<dimen name="dp_232">412.4444dp</dimen>
<dimen name="dp_233">414.2222dp</dimen>
<dimen name="dp_234">416.0000dp</dimen>
<dimen name="dp_235">417.7778dp</dimen>
<dimen name="dp_236">419.5556dp</dimen>
<dimen name="dp_237">421.3333dp</dimen>
<dimen name="dp_238">423.1111dp</dimen>
<dimen name="dp_239">424.8889dp</dimen>
<dimen name="dp_240">426.6667dp</dimen>
<dimen name="dp_241">428.4444dp</dimen>
<dimen name="dp_242">430.2222dp</dimen>
<dimen name="dp_243">432.0000dp</dimen>
<dimen name="dp_244">433.7778dp</dimen>
<dimen name="dp_245">435.5556dp</dimen>
<dimen name="dp_246">437.3333dp</dimen>
<dimen name="dp_247">439.1111dp</dimen>
<dimen name="dp_248">440.8889dp</dimen>
<dimen name="dp_249">442.6667dp</dimen>
<dimen name="dp_250">444.4444dp</dimen>
<dimen name="dp_251">446.2222dp</dimen>
<dimen name="dp_252">448.0000dp</dimen>
<dimen name="dp_253">449.7778dp</dimen>
<dimen name="dp_254">451.5556dp</dimen>
<dimen name="dp_255">453.3333dp</dimen>
<dimen name="dp_256">455.1111dp</dimen>
<dimen name="dp_257">456.8889dp</dimen>
<dimen name="dp_258">458.6667dp</dimen>
<dimen name="dp_259">460.4444dp</dimen>
<dimen name="dp_260">462.2222dp</dimen>
<dimen name="dp_261">464.0000dp</dimen>
<dimen name="dp_262">465.7778dp</dimen>
<dimen name="dp_263">467.5556dp</dimen>
<dimen name="dp_264">469.3333dp</dimen>
<dimen name="dp_265">471.1111dp</dimen>
<dimen name="dp_266">472.8889dp</dimen>
<dimen name="dp_267">474.6667dp</dimen>
<dimen name="dp_268">476.4444dp</dimen>
<dimen name="dp_269">478.2222dp</dimen>
<dimen name="dp_270">480.0000dp</dimen>
<dimen name="dp_271">481.7778dp</dimen>
<dimen name="dp_272">483.5556dp</dimen>
<dimen name="dp_273">485.3333dp</dimen>
<dimen name="dp_274">487.1111dp</dimen>
<dimen name="dp_275">488.8889dp</dimen>
<dimen name="dp_276">490.6667dp</dimen>
<dimen name="dp_277">492.4444dp</dimen>
<dimen name="dp_278">494.2222dp</dimen>
<dimen name="dp_279">496.0000dp</dimen>
<dimen name="dp_280">497.7778dp</dimen>
<dimen name="dp_281">499.5556dp</dimen>
<dimen name="dp_282">501.3333dp</dimen>
<dimen name="dp_283">503.1111dp</dimen>
<dimen name="dp_284">512.0000dp</dimen>
<dimen name="dp_285">506.6667dp</dimen>
<dimen name="dp_286">508.4444dp</dimen>
<dimen name="dp_287">510.2222dp</dimen>
<dimen name="dp_288">512.0000dp</dimen>
<dimen name="dp_289">513.7778dp</dimen>
<dimen name="dp_290">515.5556dp</dimen>
<dimen name="dp_291">517.3333dp</dimen>
<dimen name="dp_292">519.1111dp</dimen>
<dimen name="dp_293">520.8889dp</dimen>
<dimen name="dp_294">522.6667dp</dimen>
<dimen name="dp_295">524.4444dp</dimen>
<dimen name="dp_296">526.2222dp</dimen>
<dimen name="dp_297">528.0000dp</dimen>
<dimen name="dp_298">529.7778dp</dimen>
<dimen name="dp_299">531.5556dp</dimen>
<dimen name="dp_300">533.3333dp</dimen>
<dimen name="dp_301">535.1111dp</dimen>
<dimen name="dp_302">536.8889dp</dimen>
<dimen name="dp_303">538.6667dp</dimen>
<dimen name="dp_304">540.4444dp</dimen>
<dimen name="dp_305">542.2222dp</dimen>
<dimen name="dp_306">544.0000dp</dimen>
<dimen name="dp_307">545.7778dp</dimen>
<dimen name="dp_308">547.5556dp</dimen>
<dimen name="dp_309">549.3333dp</dimen>
<dimen name="dp_310">551.1111dp</dimen>
<dimen name="dp_311">552.8889dp</dimen>
<dimen name="dp_312">554.6667dp</dimen>
<dimen name="dp_313">556.4444dp</dimen>
<dimen name="dp_314">558.2222dp</dimen>
<dimen name="dp_315">560.0000dp</dimen>
<dimen name="dp_316">561.7778dp</dimen>
<dimen name="dp_317">563.5556dp</dimen>
<dimen name="dp_318">565.3333dp</dimen>
<dimen name="dp_319">567.1111dp</dimen>
<dimen name="dp_320">568.8889dp</dimen>
<dimen name="dp_321">570.6667dp</dimen>
<dimen name="dp_322">572.4444dp</dimen>
<dimen name="dp_323">574.2222dp</dimen>
<dimen name="dp_324">576.0000dp</dimen>
<dimen name="dp_325">577.7778dp</dimen>
<dimen name="dp_326">579.5556dp</dimen>
<dimen name="dp_327">581.3333dp</dimen>
<dimen name="dp_328">583.1111dp</dimen>
<dimen name="dp_329">584.8889dp</dimen>
<dimen name="dp_330">586.6667dp</dimen>
<dimen name="dp_331">588.4444dp</dimen>
<dimen name="dp_332">590.2222dp</dimen>
<dimen name="dp_333">592.0000dp</dimen>
<dimen name="dp_334">593.7778dp</dimen>
<dimen name="dp_335">595.5556dp</dimen>
<dimen name="dp_336">597.3333dp</dimen>
<dimen name="dp_337">599.1111dp</dimen>
<dimen name="dp_338">600.8889dp</dimen>
<dimen name="dp_339">602.6667dp</dimen>
<dimen name="dp_340">604.4444dp</dimen>
<dimen name="dp_341">606.2222dp</dimen>
<dimen name="dp_342">608.0000dp</dimen>
<dimen name="dp_343">609.7778dp</dimen>
<dimen name="dp_344">611.5556dp</dimen>
<dimen name="dp_345">613.3333dp</dimen>
<dimen name="dp_346">615.1111dp</dimen>
<dimen name="dp_347">616.8889dp</dimen>
<dimen name="dp_348">618.6667dp</dimen>
<dimen name="dp_349">620.4444dp</dimen>
<dimen name="dp_350">622.2222dp</dimen>
<dimen name="dp_351">624.0000dp</dimen>
<dimen name="dp_352">625.7778dp</dimen>
<dimen name="dp_353">627.5556dp</dimen>
<dimen name="dp_354">629.3333dp</dimen>
<dimen name="dp_355">631.1111dp</dimen>
<dimen name="dp_356">632.8889dp</dimen>
<dimen name="dp_357">634.6667dp</dimen>
<dimen name="dp_358">636.4444dp</dimen>
<dimen name="dp_359">638.2222dp</dimen>
<dimen name="dp_360">640.0000dp</dimen>
<dimen name="dp_361">641.7778dp</dimen>
<dimen name="dp_362">643.5556dp</dimen>
<dimen name="dp_363">645.3333dp</dimen>
<dimen name="dp_364">647.1111dp</dimen>
<dimen name="dp_365">648.8889dp</dimen>
<dimen name="dp_366">650.6667dp</dimen>
<dimen name="dp_367">652.4444dp</dimen>
<dimen name="dp_368">654.2222dp</dimen>
<dimen name="dp_369">656.0000dp</dimen>
<dimen name="dp_370">657.7778dp</dimen>
<dimen name="dp_371">659.5556dp</dimen>
<dimen name="dp_372">661.3333dp</dimen>
<dimen name="dp_373">663.1111dp</dimen>
<dimen name="dp_374">664.8889dp</dimen>
<dimen name="dp_375">666.6667dp</dimen>
<dimen name="dp_376">668.4444dp</dimen>
<dimen name="dp_377">670.2222dp</dimen>
<dimen name="dp_378">672.0000dp</dimen>
<dimen name="dp_379">673.7778dp</dimen>
<dimen name="dp_380">675.5556dp</dimen>
<dimen name="dp_381">677.3333dp</dimen>
<dimen name="dp_382">679.1111dp</dimen>
<dimen name="dp_383">680.8889dp</dimen>
<dimen name="dp_384">689.7778dp</dimen>
<dimen name="dp_385">684.4444dp</dimen>
<dimen name="dp_386">686.2222dp</dimen>
<dimen name="dp_387">688.0000dp</dimen>
<dimen name="dp_388">689.7778dp</dimen>
<dimen name="dp_389">691.5556dp</dimen>
<dimen name="dp_390">693.3333dp</dimen>
<dimen name="dp_391">695.1111dp</dimen>
<dimen name="dp_392">696.8889dp</dimen>
<dimen name="dp_393">698.6667dp</dimen>
<dimen name="dp_394">700.4444dp</dimen>
<dimen name="dp_395">702.2222dp</dimen>
<dimen name="dp_396">704.0000dp</dimen>
<dimen name="dp_397">705.7778dp</dimen>
<dimen name="dp_398">707.5556dp</dimen>
<dimen name="dp_399">709.3333dp</dimen>
<dimen name="dp_400">711.1111dp</dimen>
<dimen name="dp_401">712.8889dp</dimen>
<dimen name="dp_402">714.6667dp</dimen>
<dimen name="dp_403">716.4444dp</dimen>
<dimen name="dp_404">718.2222dp</dimen>
<dimen name="dp_405">720.0000dp</dimen>
<dimen name="dp_406">721.7778dp</dimen>
<dimen name="dp_407">723.5556dp</dimen>
<dimen name="dp_408">725.3333dp</dimen>
<dimen name="dp_409">727.1111dp</dimen>
<dimen name="dp_410">728.8889dp</dimen>
<dimen name="dp_411">730.6667dp</dimen>
<dimen name="dp_412">732.4444dp</dimen>
<dimen name="dp_413">734.2222dp</dimen>
<dimen name="dp_414">736.0000dp</dimen>
<dimen name="dp_415">737.7778dp</dimen>
<dimen name="dp_416">739.5556dp</dimen>
<dimen name="dp_417">741.3333dp</dimen>
<dimen name="dp_418">743.1111dp</dimen>
<dimen name="dp_419">744.8889dp</dimen>
<dimen name="dp_420">746.6667dp</dimen>
<dimen name="dp_421">748.4444dp</dimen>
<dimen name="dp_422">750.2222dp</dimen>
<dimen name="dp_423">752.0000dp</dimen>
<dimen name="dp_424">753.7778dp</dimen>
<dimen name="dp_425">755.5556dp</dimen>
<dimen name="dp_426">757.3333dp</dimen>
<dimen name="dp_427">759.1111dp</dimen>
<dimen name="dp_428">760.8889dp</dimen>
<dimen name="dp_429">762.6667dp</dimen>
<dimen name="dp_430">764.4444dp</dimen>
<dimen name="dp_431">766.2222dp</dimen>
<dimen name="dp_432">768.0000dp</dimen>
<dimen name="dp_433">769.7778dp</dimen>
<dimen name="dp_434">771.5556dp</dimen>
<dimen name="dp_435">773.3333dp</dimen>
<dimen name="dp_436">775.1111dp</dimen>
<dimen name="dp_437">776.8889dp</dimen>
<dimen name="dp_438">778.6667dp</dimen>
<dimen name="dp_439">780.4444dp</dimen>
<dimen name="dp_440">782.2222dp</dimen>
<dimen name="dp_441">784.0000dp</dimen>
<dimen name="dp_442">785.7778dp</dimen>
<dimen name="dp_443">787.5556dp</dimen>
<dimen name="dp_444">789.3333dp</dimen>
<dimen name="dp_445">791.1111dp</dimen>
<dimen name="dp_446">792.8889dp</dimen>
<dimen name="dp_447">794.6667dp</dimen>
<dimen name="dp_448">796.4444dp</dimen>
<dimen name="dp_449">798.2222dp</dimen>
<dimen name="dp_450">800.0000dp</dimen>
<dimen name="dp_451">801.7778dp</dimen>
<dimen name="dp_452">803.5556dp</dimen>
<dimen name="dp_453">805.3333dp</dimen>
<dimen name="dp_454">807.1111dp</dimen>
<dimen name="dp_455">808.8889dp</dimen>
<dimen name="dp_456">810.6667dp</dimen>
<dimen name="dp_457">812.4444dp</dimen>
<dimen name="dp_458">814.2222dp</dimen>
<dimen name="dp_459">816.0000dp</dimen>
<dimen name="dp_460">817.7778dp</dimen>
<dimen name="dp_461">819.5556dp</dimen>
<dimen name="dp_462">821.3333dp</dimen>
<dimen name="dp_463">823.1111dp</dimen>
<dimen name="dp_464">824.8889dp</dimen>
<dimen name="dp_465">826.6667dp</dimen>
<dimen name="dp_466">828.4444dp</dimen>
<dimen name="dp_467">830.2222dp</dimen>
<dimen name="dp_468">832.0000dp</dimen>
<dimen name="dp_469">833.7778dp</dimen>
<dimen name="dp_470">835.5556dp</dimen>
<dimen name="dp_471">837.3333dp</dimen>
<dimen name="dp_472">839.1111dp</dimen>
<dimen name="dp_473">840.8889dp</dimen>
<dimen name="dp_474">842.6667dp</dimen>
<dimen name="dp_475">844.4444dp</dimen>
<dimen name="dp_476">846.2222dp</dimen>
<dimen name="dp_477">848.0000dp</dimen>
<dimen name="dp_478">849.7778dp</dimen>
<dimen name="dp_479">851.5556dp</dimen>
<dimen name="dp_480">853.3333dp</dimen>
<dimen name="dp_481">855.1111dp</dimen>
<dimen name="dp_482">856.8889dp</dimen>
<dimen name="dp_483">858.6667dp</dimen>
<dimen name="dp_484">867.5556dp</dimen>
<dimen name="dp_485">862.2222dp</dimen>
<dimen name="dp_486">864.0000dp</dimen>
<dimen name="dp_487">865.7778dp</dimen>
<dimen name="dp_488">867.5556dp</dimen>
<dimen name="dp_489">869.3333dp</dimen>
<dimen name="dp_490">871.1111dp</dimen>
<dimen name="dp_491">872.8889dp</dimen>
<dimen name="dp_492">874.6667dp</dimen>
<dimen name="dp_493">876.4444dp</dimen>
<dimen name="dp_494">878.2222dp</dimen>
<dimen name="dp_495">880.0000dp</dimen>
<dimen name="dp_496">881.7778dp</dimen>
<dimen name="dp_497">883.5556dp</dimen>
<dimen name="dp_498">885.3333dp</dimen>
<dimen name="dp_499">887.1111dp</dimen>
<dimen name="dp_500">888.8889dp</dimen>
<dimen name="dp_501">890.6667dp</dimen>
<dimen name="dp_502">892.4444dp</dimen>
<dimen name="dp_503">894.2222dp</dimen>
<dimen name="dp_504">896.0000dp</dimen>
<dimen name="dp_505">897.7778dp</dimen>
<dimen name="dp_506">899.5556dp</dimen>
<dimen name="dp_507">901.3333dp</dimen>
<dimen name="dp_508">903.1111dp</dimen>
<dimen name="dp_509">904.8889dp</dimen>
<dimen name="dp_510">906.6667dp</dimen>
<dimen name="dp_511">908.4444dp</dimen>
<dimen name="dp_512">910.2222dp</dimen>
<dimen name="dp_513">912.0000dp</dimen>
<dimen name="dp_514">913.7778dp</dimen>
<dimen name="dp_515">915.5556dp</dimen>
<dimen name="dp_516">917.3333dp</dimen>
<dimen name="dp_517">919.1111dp</dimen>
<dimen name="dp_518">920.8889dp</dimen>
<dimen name="dp_519">922.6667dp</dimen>
<dimen name="dp_520">924.4444dp</dimen>
<dimen name="dp_521">926.2222dp</dimen>
<dimen name="dp_522">928.0000dp</dimen>
<dimen name="dp_523">929.7778dp</dimen>
<dimen name="dp_524">931.5556dp</dimen>
<dimen name="dp_525">933.3333dp</dimen>
<dimen name="dp_526">935.1111dp</dimen>
<dimen name="dp_527">936.8889dp</dimen>
<dimen name="dp_528">938.6667dp</dimen>
<dimen name="dp_529">940.4444dp</dimen>
<dimen name="dp_530">942.2222dp</dimen>
<dimen name="dp_531">944.0000dp</dimen>
<dimen name="dp_532">945.7778dp</dimen>
<dimen name="dp_533">947.5556dp</dimen>
<dimen name="dp_534">949.3333dp</dimen>
<dimen name="dp_535">951.1111dp</dimen>
<dimen name="dp_536">952.8889dp</dimen>
<dimen name="dp_537">954.6667dp</dimen>
<dimen name="dp_538">956.4444dp</dimen>
<dimen name="dp_539">958.2222dp</dimen>
<dimen name="dp_540">960.0000dp</dimen>
<dimen name="dp_541">961.7778dp</dimen>
<dimen name="dp_542">963.5556dp</dimen>
<dimen name="dp_543">965.3333dp</dimen>
<dimen name="dp_544">967.1111dp</dimen>
<dimen name="dp_545">968.8889dp</dimen>
<dimen name="dp_546">970.6667dp</dimen>
<dimen name="dp_547">972.4444dp</dimen>
<dimen name="dp_548">974.2222dp</dimen>
<dimen name="dp_549">976.0000dp</dimen>
<dimen name="dp_550">977.7778dp</dimen>
<dimen name="dp_551">979.5556dp</dimen>
<dimen name="dp_552">981.3333dp</dimen>
<dimen name="dp_553">983.1111dp</dimen>
<dimen name="dp_554">984.8889dp</dimen>
<dimen name="dp_555">986.6667dp</dimen>
<dimen name="dp_556">988.4444dp</dimen>
<dimen name="dp_557">990.2222dp</dimen>
<dimen name="dp_558">992.0000dp</dimen>
<dimen name="dp_559">993.7778dp</dimen>
<dimen name="dp_560">995.5556dp</dimen>
<dimen name="dp_561">997.3333dp</dimen>
<dimen name="dp_562">999.1111dp</dimen>
<dimen name="dp_563">1000.8889dp</dimen>
<dimen name="dp_564">1002.6667dp</dimen>
<dimen name="dp_565">1004.4444dp</dimen>
<dimen name="dp_566">1006.2222dp</dimen>
<dimen name="dp_567">1008.0000dp</dimen>
<dimen name="dp_568">1009.7778dp</dimen>
<dimen name="dp_569">1011.5556dp</dimen>
<dimen name="dp_570">1013.3333dp</dimen>
<dimen name="dp_571">1015.1111dp</dimen>
<dimen name="dp_572">1016.8889dp</dimen>
<dimen name="dp_573">1018.6667dp</dimen>
<dimen name="dp_574">1020.4444dp</dimen>
<dimen name="dp_575">1022.2222dp</dimen>
<dimen name="dp_576">1024.0000dp</dimen>
<dimen name="dp_577">1025.7778dp</dimen>
<dimen name="dp_578">1027.5556dp</dimen>
<dimen name="dp_579">1029.3333dp</dimen>
<dimen name="dp_580">1031.1111dp</dimen>
<dimen name="dp_581">1032.8889dp</dimen>
<dimen name="dp_582">1034.6667dp</dimen>
<dimen name="dp_583">1036.4444dp</dimen>
<dimen name="dp_584">1045.3333dp</dimen>
<dimen name="dp_585">1040.0000dp</dimen>
<dimen name="dp_586">1041.7778dp</dimen>
<dimen name="dp_587">1043.5556dp</dimen>
<dimen name="dp_588">1045.3333dp</dimen>
<dimen name="dp_589">1047.1111dp</dimen>
<dimen name="dp_590">1048.8889dp</dimen>
<dimen name="dp_591">1050.6667dp</dimen>
<dimen name="dp_592">1052.4444dp</dimen>
<dimen name="dp_593">1054.2222dp</dimen>
<dimen name="dp_594">1056.0000dp</dimen>
<dimen name="dp_595">1057.7778dp</dimen>
<dimen name="dp_596">1059.5556dp</dimen>
<dimen name="dp_597">1061.3333dp</dimen>
<dimen name="dp_598">1063.1111dp</dimen>
<dimen name="dp_599">1064.8889dp</dimen>
<dimen name="dp_600">1066.6667dp</dimen>
<dimen name="dp_601">1068.4444dp</dimen>
<dimen name="dp_602">1070.2222dp</dimen>
<dimen name="dp_603">1072.0000dp</dimen>
<dimen name="dp_604">1073.7778dp</dimen>
<dimen name="dp_605">1075.5556dp</dimen>
<dimen name="dp_606">1077.3333dp</dimen>
<dimen name="dp_607">1079.1111dp</dimen>
<dimen name="dp_608">1080.8889dp</dimen>
<dimen name="dp_609">1082.6667dp</dimen>
<dimen name="dp_610">1084.4444dp</dimen>
<dimen name="dp_611">1086.2222dp</dimen>
<dimen name="dp_612">1088.0000dp</dimen>
<dimen name="dp_613">1089.7778dp</dimen>
<dimen name="dp_614">1091.5556dp</dimen>
<dimen name="dp_615">1093.3333dp</dimen>
<dimen name="dp_616">1095.1111dp</dimen>
<dimen name="dp_617">1096.8889dp</dimen>
<dimen name="dp_618">1098.6667dp</dimen>
<dimen name="dp_619">1100.4444dp</dimen>
<dimen name="dp_620">1102.2222dp</dimen>
<dimen name="dp_621">1104.0000dp</dimen>
<dimen name="dp_622">1105.7778dp</dimen>
<dimen name="dp_623">1107.5556dp</dimen>
<dimen name="dp_624">1109.3333dp</dimen>
<dimen name="dp_625">1111.1111dp</dimen>
<dimen name="dp_626">1112.8889dp</dimen>
<dimen name="dp_627">1114.6667dp</dimen>
<dimen name="dp_628">1116.4444dp</dimen>
<dimen name="dp_629">1118.2222dp</dimen>
<dimen name="dp_630">1120.0000dp</dimen>
<dimen name="dp_631">1121.7778dp</dimen>
<dimen name="dp_632">1123.5556dp</dimen>
<dimen name="dp_633">1125.3333dp</dimen>
<dimen name="dp_634">1127.1111dp</dimen>
<dimen name="dp_635">1128.8889dp</dimen>
<dimen name="dp_636">1130.6667dp</dimen>
<dimen name="dp_637">1132.4444dp</dimen>
<dimen name="dp_638">1134.2222dp</dimen>
<dimen name="dp_639">1136.0000dp</dimen>
<dimen name="dp_640">1137.7778dp</dimen>
<dimen name="dp_641">1139.5556dp</dimen>
<dimen name="dp_642">1141.3333dp</dimen>
<dimen name="dp_643">1143.1111dp</dimen>
<dimen name="dp_644">1144.8889dp</dimen>
<dimen name="dp_645">1146.6667dp</dimen>
<dimen name="dp_646">1148.4444dp</dimen>
<dimen name="dp_647">1150.2222dp</dimen>
<dimen name="dp_648">1152.0000dp</dimen>
<dimen name="dp_649">1153.7778dp</dimen>
<dimen name="dp_650">1155.5556dp</dimen>
<dimen name="dp_651">1157.3333dp</dimen>
<dimen name="dp_652">1159.1111dp</dimen>
<dimen name="dp_653">1160.8889dp</dimen>
<dimen name="dp_654">1162.6667dp</dimen>
<dimen name="dp_655">1164.4444dp</dimen>
<dimen name="dp_656">1166.2222dp</dimen>
<dimen name="dp_657">1168.0000dp</dimen>
<dimen name="dp_658">1169.7778dp</dimen>
<dimen name="dp_659">1171.5556dp</dimen>
<dimen name="dp_660">1173.3333dp</dimen>
<dimen name="dp_661">1175.1111dp</dimen>
<dimen name="dp_662">1176.8889dp</dimen>
<dimen name="dp_663">1178.6667dp</dimen>
<dimen name="dp_664">1180.4444dp</dimen>
<dimen name="dp_665">1182.2222dp</dimen>
<dimen name="dp_666">1184.0000dp</dimen>
<dimen name="dp_667">1185.7778dp</dimen>
<dimen name="dp_668">1187.5556dp</dimen>
<dimen name="dp_669">1189.3333dp</dimen>
<dimen name="dp_670">1191.1111dp</dimen>
<dimen name="dp_671">1192.8889dp</dimen>
<dimen name="dp_672">1194.6667dp</dimen>
<dimen name="dp_673">1196.4444dp</dimen>
<dimen name="dp_674">1198.2222dp</dimen>
<dimen name="dp_675">1200.0000dp</dimen>
<dimen name="dp_676">1201.7778dp</dimen>
<dimen name="dp_677">1203.5556dp</dimen>
<dimen name="dp_678">1205.3333dp</dimen>
<dimen name="dp_679">1207.1111dp</dimen>
<dimen name="dp_680">1208.8889dp</dimen>
<dimen name="dp_681">1210.6667dp</dimen>
<dimen name="dp_682">1212.4444dp</dimen>
<dimen name="dp_683">1214.2222dp</dimen>
<dimen name="dp_684">1223.1111dp</dimen>
<dimen name="dp_685">1217.7778dp</dimen>
<dimen name="dp_686">1219.5556dp</dimen>
<dimen name="dp_687">1221.3333dp</dimen>
<dimen name="dp_688">1223.1111dp</dimen>
<dimen name="dp_689">1224.8889dp</dimen>
<dimen name="dp_690">1226.6667dp</dimen>
<dimen name="dp_691">1228.4444dp</dimen>
<dimen name="dp_692">1230.2222dp</dimen>
<dimen name="dp_693">1232.0000dp</dimen>
<dimen name="dp_694">1233.7778dp</dimen>
<dimen name="dp_695">1235.5556dp</dimen>
<dimen name="dp_696">1237.3333dp</dimen>
<dimen name="dp_697">1239.1111dp</dimen>
<dimen name="dp_698">1240.8889dp</dimen>
<dimen name="dp_699">1242.6667dp</dimen>
<dimen name="dp_700">1244.4444dp</dimen>
<dimen name="dp_701">1246.2222dp</dimen>
<dimen name="dp_702">1248.0000dp</dimen>
<dimen name="dp_703">1249.7778dp</dimen>
<dimen name="dp_704">1251.5556dp</dimen>
<dimen name="dp_705">1253.3333dp</dimen>
<dimen name="dp_706">1255.1111dp</dimen>
<dimen name="dp_707">1256.8889dp</dimen>
<dimen name="dp_708">1258.6667dp</dimen>
<dimen name="dp_709">1260.4444dp</dimen>
<dimen name="dp_710">1262.2222dp</dimen>
<dimen name="dp_711">1264.0000dp</dimen>
<dimen name="dp_712">1265.7778dp</dimen>
<dimen name="dp_713">1267.5556dp</dimen>
<dimen name="dp_714">1269.3333dp</dimen>
<dimen name="dp_715">1271.1111dp</dimen>
<dimen name="dp_716">1272.8889dp</dimen>
<dimen name="dp_717">1274.6667dp</dimen>
<dimen name="dp_718">1276.4444dp</dimen>
<dimen name="dp_719">1278.2222dp</dimen>
<dimen name="dp_720">1280.0000dp</dimen>
<dimen name="dp_721">1281.7778dp</dimen>
<dimen name="dp_722">1283.5556dp</dimen>
<dimen name="dp_723">1285.3333dp</dimen>
<dimen name="dp_724">1287.1111dp</dimen>
<dimen name="dp_725">1288.8889dp</dimen>
<dimen name="dp_726">1290.6667dp</dimen>
<dimen name="dp_727">1292.4444dp</dimen>
<dimen name="dp_728">1294.2222dp</dimen>
<dimen name="dp_729">1296.0000dp</dimen>
<dimen name="dp_730">1297.7778dp</dimen>
<dimen name="dp_731">1299.5556dp</dimen>
<dimen name="dp_732">1301.3333dp</dimen>
<dimen name="dp_733">1303.1111dp</dimen>
<dimen name="dp_734">1304.8889dp</dimen>
<dimen name="dp_735">1306.6667dp</dimen>
<dimen name="dp_736">1308.4444dp</dimen>
<dimen name="dp_737">1310.2222dp</dimen>
<dimen name="dp_738">1312.0000dp</dimen>
<dimen name="dp_739">1313.7778dp</dimen>
<dimen name="dp_740">1315.5556dp</dimen>
<dimen name="dp_741">1317.3333dp</dimen>
<dimen name="dp_742">1319.1111dp</dimen>
<dimen name="dp_743">1320.8889dp</dimen>
<dimen name="dp_744">1322.6667dp</dimen>
<dimen name="dp_745">1324.4444dp</dimen>
<dimen name="dp_746">1326.2222dp</dimen>
<dimen name="dp_747">1328.0000dp</dimen>
<dimen name="dp_748">1329.7778dp</dimen>
<dimen name="dp_749">1331.5556dp</dimen>
<dimen name="dp_750">1333.3333dp</dimen>
<dimen name="dp_751">1335.1111dp</dimen>
<dimen name="dp_752">1336.8889dp</dimen>
<dimen name="dp_753">1338.6667dp</dimen>
<dimen name="dp_754">1340.4444dp</dimen>
<dimen name="dp_755">1342.2222dp</dimen>
<dimen name="dp_756">1344.0000dp</dimen>
<dimen name="dp_757">1345.7778dp</dimen>
<dimen name="dp_758">1347.5556dp</dimen>
<dimen name="dp_759">1349.3333dp</dimen>
<dimen name="dp_760">1351.1111dp</dimen>
<dimen name="dp_761">1352.8889dp</dimen>
<dimen name="dp_762">1354.6667dp</dimen>
<dimen name="dp_763">1356.4444dp</dimen>
<dimen name="dp_764">1358.2222dp</dimen>
<dimen name="dp_765">1360.0000dp</dimen>
<dimen name="dp_766">1361.7778dp</dimen>
<dimen name="dp_767">1363.5556dp</dimen>
<dimen name="dp_768">1365.3333dp</dimen>
<dimen name="dp_769">1367.1111dp</dimen>
<dimen name="dp_770">1368.8889dp</dimen>
<dimen name="dp_771">1370.6667dp</dimen>
<dimen name="dp_772">1372.4444dp</dimen>
<dimen name="dp_773">1374.2222dp</dimen>
<dimen name="dp_774">1376.0000dp</dimen>
<dimen name="dp_775">1377.7778dp</dimen>
<dimen name="dp_776">1379.5556dp</dimen>
<dimen name="dp_777">1381.3333dp</dimen>
<dimen name="dp_778">1383.1111dp</dimen>
<dimen name="dp_779">1384.8889dp</dimen>
<dimen name="dp_780">1386.6667dp</dimen>
<dimen name="dp_781">1388.4444dp</dimen>
<dimen name="dp_782">1390.2222dp</dimen>
<dimen name="dp_783">1392.0000dp</dimen>
<dimen name="dp_784">1400.8889dp</dimen>
<dimen name="dp_785">1395.5556dp</dimen>
<dimen name="dp_786">1397.3333dp</dimen>
<dimen name="dp_787">1399.1111dp</dimen>
<dimen name="dp_788">1400.8889dp</dimen>
<dimen name="dp_789">1402.6667dp</dimen>
<dimen name="dp_790">1404.4444dp</dimen>
<dimen name="dp_791">1406.2222dp</dimen>
<dimen name="dp_792">1408.0000dp</dimen>
<dimen name="dp_793">1409.7778dp</dimen>
<dimen name="dp_794">1411.5556dp</dimen>
<dimen name="dp_795">1413.3333dp</dimen>
<dimen name="dp_796">1415.1111dp</dimen>
<dimen name="dp_797">1416.8889dp</dimen>
<dimen name="dp_798">1418.6667dp</dimen>
<dimen name="dp_799">1420.4444dp</dimen>
<dimen name="dp_800">1422.2222dp</dimen>
<dimen name="dp_801">1424.0000dp</dimen>
<dimen name="dp_802">1425.7778dp</dimen>
<dimen name="dp_803">1427.5556dp</dimen>
<dimen name="dp_804">1429.3333dp</dimen>
<dimen name="dp_805">1431.1111dp</dimen>
<dimen name="dp_806">1432.8889dp</dimen>
<dimen name="dp_807">1434.6667dp</dimen>
<dimen name="dp_808">1436.4444dp</dimen>
<dimen name="dp_809">1438.2222dp</dimen>
<dimen name="dp_810">1440.0000dp</dimen>
<dimen name="dp_811">1441.7778dp</dimen>
<dimen name="dp_812">1443.5556dp</dimen>
<dimen name="dp_813">1445.3333dp</dimen>
<dimen name="dp_814">1447.1111dp</dimen>
<dimen name="dp_815">1448.8889dp</dimen>
<dimen name="dp_816">1450.6667dp</dimen>
<dimen name="dp_817">1452.4444dp</dimen>
<dimen name="dp_818">1454.2222dp</dimen>
<dimen name="dp_819">1456.0000dp</dimen>
<dimen name="dp_820">1457.7778dp</dimen>
<dimen name="dp_821">1459.5556dp</dimen>
<dimen name="dp_822">1461.3333dp</dimen>
<dimen name="dp_823">1463.1111dp</dimen>
<dimen name="dp_824">1464.8889dp</dimen>
<dimen name="dp_825">1466.6667dp</dimen>
<dimen name="dp_826">1468.4444dp</dimen>
<dimen name="dp_827">1470.2222dp</dimen>
<dimen name="dp_828">1472.0000dp</dimen>
<dimen name="dp_829">1473.7778dp</dimen>
<dimen name="dp_830">1475.5556dp</dimen>
<dimen name="dp_831">1477.3333dp</dimen>
<dimen name="dp_832">1479.1111dp</dimen>
<dimen name="dp_833">1480.8889dp</dimen>
<dimen name="dp_834">1482.6667dp</dimen>
<dimen name="dp_835">1484.4444dp</dimen>
<dimen name="dp_836">1486.2222dp</dimen>
<dimen name="dp_837">1488.0000dp</dimen>
<dimen name="dp_838">1489.7778dp</dimen>
<dimen name="dp_839">1491.5556dp</dimen>
<dimen name="dp_840">1493.3333dp</dimen>
<dimen name="dp_841">1495.1111dp</dimen>
<dimen name="dp_842">1496.8889dp</dimen>
<dimen name="dp_843">1498.6667dp</dimen>
<dimen name="dp_844">1500.4444dp</dimen>
<dimen name="dp_845">1502.2222dp</dimen>
<dimen name="dp_846">1504.0000dp</dimen>
<dimen name="dp_847">1505.7778dp</dimen>
<dimen name="dp_848">1507.5556dp</dimen>
<dimen name="dp_849">1509.3333dp</dimen>
<dimen name="dp_850">1511.1111dp</dimen>
<dimen name="dp_851">1512.8889dp</dimen>
<dimen name="dp_852">1514.6667dp</dimen>
<dimen name="dp_853">1516.4444dp</dimen>
<dimen name="dp_854">1518.2222dp</dimen>
<dimen name="dp_855">1520.0000dp</dimen>
<dimen name="dp_856">1521.7778dp</dimen>
<dimen name="dp_857">1523.5556dp</dimen>
<dimen name="dp_858">1525.3333dp</dimen>
<dimen name="dp_859">1527.1111dp</dimen>
<dimen name="dp_860">1528.8889dp</dimen>
<dimen name="dp_861">1530.6667dp</dimen>
<dimen name="dp_862">1532.4444dp</dimen>
<dimen name="dp_863">1534.2222dp</dimen>
<dimen name="dp_864">1536.0000dp</dimen>
<dimen name="dp_865">1537.7778dp</dimen>
<dimen name="dp_866">1539.5556dp</dimen>
<dimen name="dp_867">1541.3333dp</dimen>
<dimen name="dp_868">1543.1111dp</dimen>
<dimen name="dp_869">1544.8889dp</dimen>
<dimen name="dp_870">1546.6667dp</dimen>
<dimen name="dp_871">1548.4444dp</dimen>
<dimen name="dp_872">1550.2222dp</dimen>
<dimen name="dp_873">1552.0000dp</dimen>
<dimen name="dp_874">1553.7778dp</dimen>
<dimen name="dp_875">1555.5556dp</dimen>
<dimen name="dp_876">1557.3333dp</dimen>
<dimen name="dp_877">1559.1111dp</dimen>
<dimen name="dp_878">1560.8889dp</dimen>
<dimen name="dp_879">1562.6667dp</dimen>
<dimen name="dp_880">1564.4444dp</dimen>
<dimen name="dp_881">1566.2222dp</dimen>
<dimen name="dp_882">1568.0000dp</dimen>
<dimen name="dp_883">1569.7778dp</dimen>
<dimen name="dp_884">1578.6667dp</dimen>
<dimen name="dp_885">1573.3333dp</dimen>
<dimen name="dp_886">1575.1111dp</dimen>
<dimen name="dp_887">1576.8889dp</dimen>
<dimen name="dp_888">1578.6667dp</dimen>
<dimen name="dp_889">1580.4444dp</dimen>
<dimen name="dp_890">1582.2222dp</dimen>
<dimen name="dp_891">1584.0000dp</dimen>
<dimen name="dp_892">1585.7778dp</dimen>
<dimen name="dp_893">1587.5556dp</dimen>
<dimen name="dp_894">1589.3333dp</dimen>
<dimen name="dp_895">1591.1111dp</dimen>
<dimen name="dp_896">1592.8889dp</dimen>
<dimen name="dp_897">1594.6667dp</dimen>
<dimen name="dp_898">1596.4444dp</dimen>
<dimen name="dp_899">1598.2222dp</dimen>
<dimen name="dp_900">1600.0000dp</dimen>
<dimen name="dp_901">1601.7778dp</dimen>
<dimen name="dp_902">1603.5556dp</dimen>
<dimen name="dp_903">1605.3333dp</dimen>
<dimen name="dp_904">1607.1111dp</dimen>
<dimen name="dp_905">1608.8889dp</dimen>
<dimen name="dp_906">1610.6667dp</dimen>
<dimen name="dp_907">1612.4444dp</dimen>
<dimen name="dp_908">1614.2222dp</dimen>
<dimen name="dp_909">1616.0000dp</dimen>
<dimen name="dp_910">1617.7778dp</dimen>
<dimen name="dp_911">1619.5556dp</dimen>
<dimen name="dp_912">1621.3333dp</dimen>
<dimen name="dp_913">1623.1111dp</dimen>
<dimen name="dp_914">1624.8889dp</dimen>
<dimen name="dp_915">1626.6667dp</dimen>
<dimen name="dp_916">1628.4444dp</dimen>
<dimen name="dp_917">1630.2222dp</dimen>
<dimen name="dp_918">1632.0000dp</dimen>
<dimen name="dp_919">1633.7778dp</dimen>
<dimen name="dp_920">1635.5556dp</dimen>
<dimen name="dp_921">1637.3333dp</dimen>
<dimen name="dp_922">1639.1111dp</dimen>
<dimen name="dp_923">1640.8889dp</dimen>
<dimen name="dp_924">1642.6667dp</dimen>
<dimen name="dp_925">1644.4444dp</dimen>
<dimen name="dp_926">1646.2222dp</dimen>
<dimen name="dp_927">1648.0000dp</dimen>
<dimen name="dp_928">1649.7778dp</dimen>
<dimen name="dp_929">1651.5556dp</dimen>
<dimen name="dp_930">1653.3333dp</dimen>
<dimen name="dp_931">1655.1111dp</dimen>
<dimen name="dp_932">1656.8889dp</dimen>
<dimen name="dp_933">1658.6667dp</dimen>
<dimen name="dp_934">1660.4444dp</dimen>
<dimen name="dp_935">1662.2222dp</dimen>
<dimen name="dp_936">1664.0000dp</dimen>
<dimen name="dp_937">1665.7778dp</dimen>
<dimen name="dp_938">1667.5556dp</dimen>
<dimen name="dp_939">1669.3333dp</dimen>
<dimen name="dp_940">1671.1111dp</dimen>
<dimen name="dp_941">1672.8889dp</dimen>
<dimen name="dp_942">1674.6667dp</dimen>
<dimen name="dp_943">1676.4444dp</dimen>
<dimen name="dp_944">1678.2222dp</dimen>
<dimen name="dp_945">1680.0000dp</dimen>
<dimen name="dp_946">1681.7778dp</dimen>
<dimen name="dp_947">1683.5556dp</dimen>
<dimen name="dp_948">1685.3333dp</dimen>
<dimen name="dp_949">1687.1111dp</dimen>
<dimen name="dp_950">1688.8889dp</dimen>
<dimen name="dp_951">1690.6667dp</dimen>
<dimen name="dp_952">1692.4444dp</dimen>
<dimen name="dp_953">1694.2222dp</dimen>
<dimen name="dp_954">1696.0000dp</dimen>
<dimen name="dp_955">1697.7778dp</dimen>
<dimen name="dp_956">1699.5556dp</dimen>
<dimen name="dp_957">1701.3333dp</dimen>
<dimen name="dp_958">1703.1111dp</dimen>
<dimen name="dp_959">1704.8889dp</dimen>
<dimen name="dp_960">1706.6667dp</dimen>
<dimen name="dp_961">1708.4444dp</dimen>
<dimen name="dp_962">1710.2222dp</dimen>
<dimen name="dp_963">1712.0000dp</dimen>
<dimen name="dp_964">1713.7778dp</dimen>
<dimen name="dp_965">1715.5556dp</dimen>
<dimen name="dp_966">1717.3333dp</dimen>
<dimen name="dp_967">1719.1111dp</dimen>
<dimen name="dp_968">1720.8889dp</dimen>
<dimen name="dp_969">1722.6667dp</dimen>
<dimen name="dp_970">1724.4444dp</dimen>
<dimen name="dp_971">1726.2222dp</dimen>
<dimen name="dp_972">1728.0000dp</dimen>
<dimen name="dp_973">1729.7778dp</dimen>
<dimen name="dp_974">1731.5556dp</dimen>
<dimen name="dp_975">1733.3333dp</dimen>
<dimen name="dp_976">1735.1111dp</dimen>
<dimen name="dp_977">1736.8889dp</dimen>
<dimen name="dp_978">1738.6667dp</dimen>
<dimen name="dp_979">1740.4444dp</dimen>
<dimen name="dp_980">1742.2222dp</dimen>
<dimen name="dp_981">1744.0000dp</dimen>
<dimen name="dp_982">1745.7778dp</dimen>
<dimen name="dp_983">1747.5556dp</dimen>
<dimen name="dp_984">1756.4444dp</dimen>
<dimen name="dp_985">1751.1111dp</dimen>
<dimen name="dp_986">1752.8889dp</dimen>
<dimen name="dp_987">1754.6667dp</dimen>
<dimen name="dp_988">1756.4444dp</dimen>
<dimen name="dp_989">1758.2222dp</dimen>
<dimen name="dp_990">1760.0000dp</dimen>
<dimen name="dp_991">1761.7778dp</dimen>
<dimen name="dp_992">1763.5556dp</dimen>
<dimen name="dp_993">1765.3333dp</dimen>
<dimen name="dp_994">1767.1111dp</dimen>
<dimen name="dp_995">1768.8889dp</dimen>
<dimen name="dp_996">1770.6667dp</dimen>
<dimen name="dp_997">1772.4444dp</dimen>
<dimen name="dp_998">1774.2222dp</dimen>
<dimen name="dp_999">1776.0000dp</dimen>
<dimen name="dp_1000">1777.7778dp</dimen>
</resources>
``` | /content/code_sandbox/RxUI/src/main/res/values-sw640dp/dimens.xml | xml | 2016-09-24T09:30:45 | 2024-08-16T09:54:41 | RxTool | Tamsiree/RxTool | 12,242 | 20,750 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Returns the median of a beta distribution.
*
* ## Notes
*
* - If `alpha <= 0` or `beta <= 0`, the function returns `NaN`.
*
* @param alpha - first shape parameter
* @param beta - second shape parameter
* @returns median
*
* @example
* var v = median( 1.0, 1.0 );
* // returns 0.5
*
* @example
* var v = median( 4.0, 12.0 );
* // returns ~0.239
*
* @example
* var v = median( 8.0, 2.0 );
* // returns ~0.820
*
* @example
* var v = median( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = median( -0.1, 1.0 );
* // returns NaN
*
* @example
* var v = median( 2.0, NaN );
* // returns NaN
*
* @example
* var v = median( NaN, 2.0 );
* // returns NaN
*/
declare function median( alpha: number, beta: number ): number;
// EXPORTS //
export = median;
``` | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/beta/median/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 330 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {format, parseISO} from 'date-fns';
import {logger} from './logger';
import {getCurrentDateLocale} from 'modules/internationalization';
const formatDate = (dateString: string, showTime = true) => {
try {
return format(
parseISO(dateString),
showTime ? 'dd MMM yyyy - p' : 'dd MMM yyyy',
{
locale: getCurrentDateLocale(),
},
);
} catch (error) {
logger.error(error);
return '';
}
};
export {formatDate};
``` | /content/code_sandbox/tasklist/client/src/modules/utils/formatDate.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 144 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="Hello">Hello World, Click Me!</string>
<string name="ApplicationName">Embedding.Droid</string>
</resources>
``` | /content/code_sandbox/EmbeddingTestBeds/Embedding.Droid/Resources/values/Strings.xml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 51 |
```xml
declare interface IModernChartsStrings {
PropertyPaneDescription: string;
BasicGroupName: string;
DescriptionFieldLabel: string;
}
declare module 'modernChartsStrings' {
const strings: IModernChartsStrings;
export = strings;
}
``` | /content/code_sandbox/samples/react-modern-charts/src/webparts/modernCharts/loc/mystrings.d.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 52 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.