Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/front-web/build/assets/fonts/iran-yekan/beflpn/src.zip
Назад
PK cn[�Sʉ� � .htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK �n[�� � index.jsnu �Iw�� // @flow import { StyleSheet } from '@emotion/sheet' import { type EmotionCache, type SerializedStyles } from '@emotion/utils' import { serialize, compile, middleware, rulesheet, stringify, prefixer, COMMENT } from 'stylis' import weakMemoize from '@emotion/weak-memoize' import memoize from '@emotion/memoize' import { compat, removeLabel, createUnsafeSelectorsAlarm, incorrectImportAlarm } from './stylis-plugins' import type { StylisPlugin } from './types' let isBrowser = typeof document !== 'undefined' export type Options = { nonce?: string, stylisPlugins?: StylisPlugin[], key: string, container?: HTMLElement, speedy?: boolean, prepend?: boolean } let getServerStylisCache = isBrowser ? undefined : weakMemoize(() => memoize(() => { let cache = {} return name => cache[name] }) ) const defaultStylisPlugins = [prefixer] let createCache = (options: Options): EmotionCache => { let key = options.key if (process.env.NODE_ENV !== 'production' && !key) { throw new Error( "You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + `If multiple caches share the same key they might "fight" for each other's style elements.` ) } if (isBrowser && key === 'css') { const ssrStyles = document.querySelectorAll( `style[data-emotion]:not([data-s])` ) // get SSRed styles out of the way of React's hydration // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be) // note this very very intentionally targets all style elements regardless of the key to ensure // that creating a cache works inside of render of a React component Array.prototype.forEach.call(ssrStyles, (node: HTMLStyleElement) => { // we want to only move elements which have a space in the data-emotion attribute value // because that indicates that it is an Emotion 11 server-side rendered style elements // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes) // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles // will not result in the Emotion 10 styles being destroyed const dataEmotionAttribute = ((node.getAttribute( 'data-emotion' ): any): string) if (dataEmotionAttribute.indexOf(' ') === -1) { return } ;((document.head: any): HTMLHeadElement).appendChild(node) node.setAttribute('data-s', '') }) } const stylisPlugins = options.stylisPlugins || defaultStylisPlugins if (process.env.NODE_ENV !== 'production') { // $FlowFixMe if (/[^a-z-]/.test(key)) { throw new Error( `Emotion key must only contain lower case alphabetical characters and - but "${key}" was passed` ) } } let inserted = {} // $FlowFixMe let container: HTMLElement const nodesToHydrate = [] if (isBrowser) { container = options.container || ((document.head: any): HTMLHeadElement) Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which // means that the style elements we're looking at are only Emotion 11 server-rendered style elements document.querySelectorAll(`style[data-emotion^="${key} "]`), (node: HTMLStyleElement) => { const attrib = ((node.getAttribute(`data-emotion`): any): string).split( ' ' ) // $FlowFixMe for (let i = 1; i < attrib.length; i++) { inserted[attrib[i]] = true } nodesToHydrate.push(node) } ) } let insert: ( selector: string, serialized: SerializedStyles, sheet: StyleSheet, shouldCache: boolean ) => string | void const omnipresentPlugins = [compat, removeLabel] if (process.env.NODE_ENV !== 'production') { omnipresentPlugins.push( createUnsafeSelectorsAlarm({ get compat() { return cache.compat } }), incorrectImportAlarm ) } if (isBrowser) { let currentSheet const finalizingPlugins = [ stringify, process.env.NODE_ENV !== 'production' ? element => { if (!element.root) { if (element.return) { currentSheet.insert(element.return) } else if (element.value && element.type !== COMMENT) { // insert empty rule in non-production environments // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet currentSheet.insert(`${element.value}{}`) } } } : rulesheet(rule => { currentSheet.insert(rule) }) ] const serializer = middleware( omnipresentPlugins.concat(stylisPlugins, finalizingPlugins) ) const stylis = styles => serialize(compile(styles), serializer) insert = ( selector: string, serialized: SerializedStyles, sheet: StyleSheet, shouldCache: boolean ): void => { currentSheet = sheet if ( process.env.NODE_ENV !== 'production' && serialized.map !== undefined ) { currentSheet = { insert: (rule: string) => { sheet.insert(rule + ((serialized.map: any): string)) } } } stylis(selector ? `${selector}{${serialized.styles}}` : serialized.styles) if (shouldCache) { cache.inserted[serialized.name] = true } } } else { const finalizingPlugins = [stringify] const serializer = middleware( omnipresentPlugins.concat(stylisPlugins, finalizingPlugins) ) const stylis = styles => serialize(compile(styles), serializer) // $FlowFixMe let serverStylisCache = getServerStylisCache(stylisPlugins)(key) let getRules = (selector: string, serialized: SerializedStyles): string => { let name = serialized.name if (serverStylisCache[name] === undefined) { serverStylisCache[name] = stylis( selector ? `${selector}{${serialized.styles}}` : serialized.styles ) } return serverStylisCache[name] } insert = ( selector: string, serialized: SerializedStyles, sheet: StyleSheet, shouldCache: boolean ): string | void => { let name = serialized.name let rules = getRules(selector, serialized) if (cache.compat === undefined) { // in regular mode, we don't set the styles on the inserted cache // since we don't need to and that would be wasting memory // we return them so that they are rendered in a style tag if (shouldCache) { cache.inserted[name] = true } if ( // using === development instead of !== production // because if people do ssr in tests, the source maps showing up would be annoying process.env.NODE_ENV === 'development' && serialized.map !== undefined ) { return rules + serialized.map } return rules } else { // in compat mode, we put the styles on the inserted cache so // that emotion-server can pull out the styles // except when we don't want to cache it which was in Global but now // is nowhere but we don't want to do a major right now // and just in case we're going to leave the case here // it's also not affecting client side bundle size // so it's really not a big deal if (shouldCache) { cache.inserted[name] = rules } else { return rules } } } } const cache: EmotionCache = { key, sheet: new StyleSheet({ key, container: ((container: any): HTMLElement), nonce: options.nonce, speedy: options.speedy, prepend: options.prepend }), nonce: options.nonce, inserted, registered: {}, insert } cache.sheet.hydrate(nodesToHydrate) return cache } export default createCache PK �n[��F F stylis-plugins.jsnu �Iw�� import { compile, alloc, dealloc, next, delimit, token, char, from, peek, position, slice } from 'stylis' const last = arr => (arr.length ? arr[arr.length - 1] : null) // based on https://github.com/thysultan/stylis.js/blob/e6843c373ebcbbfade25ebcc23f540ed8508da0a/src/Tokenizer.js#L239-L244 const identifierWithPointTracking = (begin, points, index) => { let previous = 0 let character = 0 while (true) { previous = character character = peek() // &\f if (previous === 38 && character === 12) { points[index] = 1 } if (token(character)) { break } next() } return slice(begin, position) } const toRules = (parsed, points) => { // pretend we've started with a comma let index = -1 let character = 44 do { switch (token(character)) { case 0: // &\f if (character === 38 && peek() === 12) { // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings // stylis inserts \f after & to know when & where it should replace this sequence with the context selector // and when it should just concatenate the outer and inner selectors // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here points[index] = 1 } parsed[index] += identifierWithPointTracking( position - 1, points, index ) break case 2: parsed[index] += delimit(character) break case 4: // comma if (character === 44) { // colon parsed[++index] = peek() === 58 ? '&\f' : '' points[index] = parsed[index].length break } // fallthrough default: parsed[index] += from(character) } } while ((character = next())) return parsed } const getRules = (value, points) => dealloc(toRules(alloc(value), points)) // WeakSet would be more appropriate, but only WeakMap is supported in IE11 const fixedElements = /* #__PURE__ */ new WeakMap() export let compat = element => { if ( element.type !== 'rule' || !element.parent || // .length indicates if this rule contains pseudo or not !element.length ) { return } let { value, parent } = element let isImplicitRule = element.column === parent.column && element.line === parent.line while (parent.type !== 'rule') { parent = parent.parent if (!parent) return } // short-circuit for the simplest case if ( element.props.length === 1 && value.charCodeAt(0) !== 58 /* colon */ && !fixedElements.get(parent) ) { return } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level) // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent" if (isImplicitRule) { return } fixedElements.set(element, true) const points = [] const rules = getRules(value, points) const parentRules = parent.props for (let i = 0, k = 0; i < rules.length; i++) { for (let j = 0; j < parentRules.length; j++, k++) { element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : `${parentRules[j]} ${rules[i]}` } } } export let removeLabel = element => { if (element.type === 'decl') { var value = element.value if ( // charcode for l value.charCodeAt(0) === 108 && // charcode for b value.charCodeAt(2) === 98 ) { // this ignores label element.return = '' element.value = '' } } } const ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason' const isIgnoringComment = element => !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1 export let createUnsafeSelectorsAlarm = cache => (element, index, children) => { if (element.type !== 'rule') return const unsafePseudoClasses = element.value.match( /(:first|:nth|:nth-last)-child/g ) if (unsafePseudoClasses && cache.compat !== true) { const prevElement = index > 0 ? children[index - 1] : null if (prevElement && isIgnoringComment(last(prevElement.children))) { return } unsafePseudoClasses.forEach(unsafePseudoClass => { console.error( `The pseudo class "${unsafePseudoClass}" is potentially unsafe when doing server-side rendering. Try changing it to "${ unsafePseudoClass.split('-child')[0] }-of-type".` ) }) } } let isImportRule = element => element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64 const isPrependedWithRegularRules = (index, children) => { for (let i = index - 1; i >= 0; i--) { if (!isImportRule(children[i])) { return true } } return false } // use this to remove incorrect elements from further processing // so they don't get handed to the `sheet` (or anything else) // as that could potentially lead to additional logs which in turn could be overhelming to the user const nullifyElement = element => { element.type = '' element.value = '' element.return = '' element.children = '' element.props = '' } export let incorrectImportAlarm = (element, index, children) => { if (!isImportRule(element)) { return } if (element.parent) { console.error( "`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles." ) nullifyElement(element) } else if (isPrependedWithRegularRules(index, children)) { console.error( "`@import` rules can't be after other rules. Please put your `@import` rules before your other rules." ) nullifyElement(element) } } PK �n[�T- - types.jsnu �Iw�� // @flow export type StylisElement = { type: string, value: string, props: Array<string>, root: StylisElement | null, children: Array<StylisElement>, line: number, column: number, length: number, return: string } export type StylisPluginCallback = ( element: StylisElement, index: number, children: Array<StylisElement>, callback: StylisPluginCallback ) => string | void export type StylisPlugin = ( element: StylisElement, index: number, children: Array<StylisElement>, callback: StylisPluginCallback ) => string | void PK cn[�Sʉ� � .htaccessnu �7��m PK �n[�� � & index.jsnu �Iw�� PK �n[��F F "