text:
The CliMAS website allows visitors to view potential impact from climate change on teh biodiversity of Australian terrestrial vertebrates. It consists of three (3) tools:
 * [CliMAS Suitability](http://tropicaldatahub.org/goto/climas/suitability) - allows visitors to select a particular species and view its current range with suitable climate conditions. Visitors can then choose to view a future project range under possible greenhouse gas emission scenarios.
 * [CliMAS Biodiversity](http://tropicaldatahub.org/goto/climas/biodiversity) - allows visitors to select a groups of species (at the genus, family or taxa level) and inspect both the current climatically suitable range and projected future ranges under different emission scenarios.
 * [CliMAS Reports](http://tropicaldatahub.org/goto/climas/reports) - allows visitors to generate a report showing change in temperature, rainfall, and species composition for a selected region and year. It summarises mapped biodiversity of all birds, reptiles, frogs and mammals within suitable climate space projected by 18 different Global Climate Models (GCMs) and 2 potential emissions scenarios (RCPs) from 2015 to 2085. Detailed lists of climate space losses and gains for each species are given. This enables visitors to visualise climate change in their region and to determine priority species.

This repository contains the code base for the CliMAS Suitability and CliMAS Biodiversity tools. The code for the CliMAS Report tool can be found at http://github.com/jcu-eresearch/CliMAS-Reports.

The CliMAS website can be found at: http://tropicaldatahub.org/goto/climas.
The code for running CliMAS is [available from github](https://github.com/jcu-eresearch/TDH-Tools) and the instructions for installing the code are in the [github wiki](https://github.com/jcu-eresearch/TDH-Tools/wiki/Installation-and-setup-guide).

Structure
---------

CliMAS has two main parts:
 * a back-end server that performs the modelling calculations - the code here consists of bash. R and Java.
 * a front-end server that gives access to the information generated by the back-end server - the code here consists of  PHP and uses
     * a PostgreSQL database for holding the species, genus, family, and taxa information,
     * a MapServer instance for serving the maps generated by the modelling in the back-end server
     * the JavaScript Library, Leaflet, for the interactive maps.

Credits
-------

CliMAS is being developed by the [eResearch Centre](http://eresearch.jcu.edu.au/) at [JCU](http://www.jcu.edu.au).

CliMAS is supported by [the Australian National Data Service (ANDS)](http://www.ands.org.au/) through the National Collaborative Research Infrastructure Strategy Program and the Education Investment Fund (EIF) Super Science Initiative, as well as through the [Queensland Cyber Infrastructure Foundation (QCIF)](http://www.qcif.edu.au/).

License
-------
See `license.txt`


text:
class Events {

  constructor() {
    this.events = {};
  }

  // Register an event handler
  on(eventName, callback) {
    if(this.events[eventName]){
      this.events[eventName].push(callback);
    } else {
      this.events[eventName] = [callback];
    }
  }

  // Trigger all callbacks associated
  // with a given eventName
  trigger(eventName) {
    if(this.events[eventName]) {
      this.events[eventName].forEach((cb) => {
        cb();
      });
    }
  }

  // Remove all event handlers associated
  // with the given eventName
  off(eventName) {
    if(this.events[eventName]) {
      delete this.events[eventName];
    }
  }
}

module.exports = Events;

redpajama_set_name: RedPajamaGithub


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using RxAs.Rx2.ProofTests.Mock;

namespace RxAs.Rx2.ProofTests.Operators
{
    [TestFixture]
    public class CatchFixture
    {
        [Test]
        public void catch_with_observer_does_not_fire_onerror()
        {
            StatsObserver<int> observer = new StatsObserver<int>();

            Observable.Throw<int>(new ApplicationException())
                .Catch(Observable.Empty<int>())
                .Subscribe(observer);

            Assert.IsFalse(observer.ErrorCalled);
        }

        [Test]
        public void catch_with_observer_fires_error_if_last_observer_raises_error()
        {
            StatsObserver<int> observer = new StatsObserver<int>();

            Observable.Throw<int>(new ApplicationException())
                .Catch(Observable.Throw<int>(new ApplicationException()))
                .Subscribe(observer);

            Assert.IsTrue(observer.ErrorCalled);
        }

        [Test]
        public void catch_with_observer_subscribes_to_first_through_scheduler()
        {
            ManualScheduler scheduler = new ManualScheduler();

            StatsObserver<IEvent<EventArgs>> observer = new StatsObserver<IEvent<EventArgs>>();

            EventOwner owner = new EventOwner();

            Observable.FromEvent<EventArgs>(x => owner.Event += x, x => owner.Event -= x)
                .Catch(Observable.Empty<IEvent<EventArgs>>(), scheduler)
                .Subscribe(observer);

            Assert.IsFalse(owner.HasSubscriptions);

            scheduler.RunAll();

            Assert.IsTrue(owner.HasSubscriptions);
        }

        [Test]
        public void catch_with_observer_subscribes_to_next_through_scheduler()
        {
            ManualScheduler scheduler = new ManualScheduler();

            StatsObserver<IEvent<EventArgs>> observer = new StatsObserver<IEvent<EventArgs>>();

            EventOwner owner = new EventOwner();

            var eventObs = Observable.FromEvent<EventArgs>(x => owner.Event += x, x => owner.Event -= x);

            Observable.Throw<IEvent<EventArgs>>(new ApplicationException())
                .Catch(eventObs, scheduler)
                .Subscribe(observer);

            scheduler.RunNext();

            Assert.IsFalse(owner.HasSubscriptions);

            scheduler.RunNext();

            Assert.IsTrue(owner.HasSubscriptions);
        }

        [Test]
        public void catch_with_action_does_not_fire_onerror()
        {
            StatsObserver<int> observer = new StatsObserver<int>();

            Observable.Throw<int>(new ApplicationException())
                .Catch<int,Exception>(e => Observable.Empty<int>())
                .Subscribe(observer);

            Assert.IsFalse(observer.ErrorCalled);
        }

        [Test]
        public void catch_with_action_fires_error_if_last_observer_raises_error()
        {
            StatsObserver<int> observer = new StatsObserver<int>();

            Observable.Throw<int>(new Exception())
                .Catch<int, Exception>(e => Observable.Throw<int>(new ApplicationException()))
                .Subscribe(observer);

            Assert.IsTrue(observer.ErrorCalled);
            Assert.IsInstanceOf<ApplicationException>(observer.Error);
        }

        [Test]
        public void catch_with_action_fires_error_if_action_throws_exception()
        {
            StatsObserver<int> observer = new StatsObserver<int>();

            Observable.Throw<int>(new Exception())
                .Catch<int, Exception>(e => { throw new ApplicationException(); })
                .Subscribe(observer);

            Assert.IsTrue(observer.ErrorCalled);
            Assert.IsInstanceOf<ApplicationException>(observer.Error);
        }

        [Test]
        public void catch_with_action_fires_original_error_if_error_is_not_of_specified_type()
        {
            StatsObserver<int> observer = new StatsObserver<int>();

            Observable.Throw<int>(new OverflowException())
                .Catch<int, ApplicationException>(e => { Assert.Fail("Unexpected call to defer action"); return null; })
                .Subscribe(observer);

            Assert.IsTrue(observer.ErrorCalled);
            Assert.IsInstanceOf<OverflowException>(observer.Error);
        }

        [Test]
        public void catch_with_action_raises_original_error_if_action_returns_null()
        {
            StatsObserver<int> observer = new StatsObserver<int>();

            Observable.Throw<int>(new OverflowException())
                .Catch<int, ApplicationException>(e => null)
                .Subscribe(observer);

            Assert.IsTrue(observer.ErrorCalled);
            Assert.IsInstanceOf<OverflowException>(observer.Error);
        }

        private class EventOwner
        {
            public event EventHandler<EventArgs> Event;

            public void Fire()
            {
                var handler = Event;

                if (handler != null)
                {
                    handler(this, EventArgs.Empty);
                }
            }

            public bool HasSubscriptions
            {
                get { return Event != null; }
            }
        }
    }
}


text:
/**
 * Support and FAQ: visit Atmel Support
 */

#ifndef CONF_EXAMPLE_H_INCLUDED
#define CONF_EXAMPLE_H_INCLUDED

#include "conf_board.h"
#include "conf_clock.h"

#define BOARD_ID_USART             ID_USART0

#define BOARD_USART                USART0

#define BOARD_USART_BAUDRATE       115200

#define USART_Handler              USART0_Handler

#define USART_IRQn                 USART0_IRQn

#endif /* CONF_EXAMPLE_H_INCLUDED */


text:
<?php

namespace SocialiteProviders\AppNet;

use GuzzleHttp\RequestOptions;
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
use SocialiteProviders\Manager\OAuth2\User;

class Provider extends AbstractProvider
{
    public const IDENTIFIER = 'APPNET';

    /**
     * {@inheritdoc}
     */
    protected function getAuthUrl($state)
    {
        return $this->buildAuthUrlFromBase(
            'https://account.app.net/oauth/authorize',
            $state
        );
    }

    /**
     * {@inheritdoc}
     */
    protected function getTokenUrl()
    {
        return 'https://account.app.net/oauth/access_token';
    }

    /**
     * {@inheritdoc}
     */
    protected function getUserByToken($token)
    {
        $response = $this->getHttpClient()->get(
            'https://api.app.net/users/me',
            [
                RequestOptions::HEADERS => [
                    'Authorization' => 'Bearer '.$token,
                ],
            ]
        );

        return json_decode((string) $response->getBody(), true)['data'];
    }

    /**
     * {@inheritdoc}
     */
    protected function mapUserToObject(array $user)
    {
        return (new User())->setRaw($user)->map([
            'id'    => $user['id'], 'nickname' => $user['username'], 'name' => null,
            'email' => null, 'avatar' => $user['avatar_image']['url'],
        ]);
    }

    /**
     * {@inheritdoc}
     */
    protected function getTokenFields($code)
    {
        return array_merge(parent::getTokenFields($code), [
            'grant_type' => 'authorization_code',
        ]);
    }
}


text:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.linkedin</groupId>
  <artifactId>metrowka-generator</artifactId>
  <version>0.0.1-SNAPSHOT</version>

    <dependencies>
        <dependency>
            <groupId>com.linkedin</groupId>
            <artifactId>metrowka</artifactId>
            <version>0.0.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.12</version>
        </dependency>
	    <dependency>
	    	<groupId>org.asynchttpclient</groupId>
	    	<artifactId>async-http-client</artifactId>
            <version>2.12.1</version>
	    </dependency>
		<dependency>
		    <groupId>io.netty</groupId>
		    <artifactId>netty</artifactId>
		    <version>3.10.3.Final</version>
		</dependency>
	    <dependency>
	      <groupId>org.json</groupId>
	      <artifactId>json</artifactId>
	      <version>20180813</version>
	    </dependency>

        <!-- remove me later -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.7.12</version>
        </dependency>

        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>6.9.4</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <testSource>1.8</testSource>
                    <testTarget>1.8</testTarget>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.5.5</version>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <archive>
                        <manifest>
                            <mainClass>com.linkedin.metrowka.generator.EspressoRouterLoadGenerator</mainClass>
                        </manifest>
                    </archive>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>


text:
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Text;

namespace MouseCore
{
    #region Class HookEventArgs
    public class HookEventArgs : EventArgs
    {
        public int HookCode;	// Hook code
        public IntPtr wParam;	// WPARAM argument
        public IntPtr lParam;	// LPARAM argument
    }
    #endregion

    #region Enum HookType
    // Hook Types
    public enum HookType : int
    {
        WH_JOURNALRECORD = 0,
        WH_JOURNALPLAYBACK = 1,
        WH_KEYBOARD = 2,
        WH_GETMESSAGE = 3,
        WH_CALLWNDPROC = 4,
        WH_CBT = 5,
        WH_SYSMSGFILTER = 6,
        WH_MOUSE = 7,
        WH_HARDWARE = 8,
        WH_DEBUG = 9,
        WH_SHELL = 10,
        WH_FOREGROUNDIDLE = 11,
        WH_CALLWNDPROCRET = 12,
        WH_KEYBOARD_LL = 13,
        WH_MOUSE_LL = 14
    }
    #endregion

    #region Class WindowsHook
    public class WindowsHook
    {

        // ************************************************************************
        // Filter function delegate
        public delegate int HookProc(int code, IntPtr wParam, IntPtr lParam);
        // ************************************************************************

        // ************************************************************************
        // Internal properties

        protected IntPtr m_hhook = IntPtr.Zero;
        protected HookProc m_filterFunc = null;
        protected HookType m_hookType;
        // ************************************************************************

        // ************************************************************************
        // Event delegate
        public delegate void HookEventHandler(object sender, HookEventArgs e);
        // ************************************************************************

        // ************************************************************************
        // Event: HookInvoked
        public event HookEventHandler HookInvoked;
        protected void OnHookInvoked(HookEventArgs e)
        {
            if (HookInvoked != null)
                HookInvoked(this, e);
        }
        // ************************************************************************

        // ************************************************************************
        // Class constructor(s)
        public WindowsHook(HookType hook)
        {
            m_hookType = hook;
            m_filterFunc = new HookProc(this.CoreHookProc);
        }
        public WindowsHook(HookType hook, HookProc func)
        {
            m_hookType = hook;
            m_filterFunc = func;
        }

        // ************************************************************************

        // ************************************************************************
        // Default filter function
        protected int CoreHookProc(int code, IntPtr wParam, IntPtr lParam)
        {
            if (code < 0)
                return CallNextHookEx(m_hhook, code, wParam, lParam);

            // Let clients determine what to do
            HookEventArgs e = new HookEventArgs();
            e.HookCode = code;
            e.wParam = wParam;
            e.lParam = lParam;
            OnHookInvoked(e);

            // Yield to the next hook in the chain
            return CallNextHookEx(m_hhook, code, wParam, lParam);
        }
        // ************************************************************************

        // ************************************************************************

        // Install the hook
        public void Install()
        {
            //StringBuilder name = new StringBuilder(512);
            //GetModuleFileName(IntPtr.Zero, name, 512);
            //IntPtr result = GetModuleHandle(name.ToString());

            int hInstance = LoadLibrary("User32");
            m_hhook = SetWindowsHookEx(m_hookType,
                m_filterFunc,
                (IntPtr)hInstance,//IntPtr.Zero, //GetModuleHandle(null),
                0//(int)AppDomain.GetCurrentThreadId()
                );
        }
        // ************************************************************************

        // ************************************************************************

        // Uninstall the hook
        public void Uninstall()
        {
            UnhookWindowsHookEx(m_hhook);
            m_hhook = IntPtr.Zero;
        }
        // ************************************************************************

        public bool IsInstalled
        {
            get
            {
                return m_hhook != IntPtr.Zero;
            }
        }

        #region Win32 Imports

        // ************************************************************************
        // Win32: SetWindowsHookEx()
        [DllImport("user32.dll")]
        protected static extern IntPtr SetWindowsHookEx(HookType code,
            HookProc func,
            IntPtr hInstance,
            int threadID);
        // ************************************************************************

        // ************************************************************************
        // Win32: UnhookWindowsHookEx()
        [DllImport("user32.dll")]
        protected static extern int UnhookWindowsHookEx(IntPtr hhook);
        // ************************************************************************

        // ************************************************************************
        // Win32: CallNextHookEx()
        [DllImport("user32.dll")]
        protected static extern int CallNextHookEx(IntPtr hhook,
            int code, IntPtr wParam, IntPtr lParam);
        // ************************************************************************

        //Used to find HWND to user32.dll
        [DllImport("kernel32")]
        public extern static int LoadLibrary(string lpLibFileName);

        [DllImport("kernel32.dll", CharSet = CharSet.Auto)]
        public static extern IntPtr GetModuleHandle(string lpModuleName);

        [DllImport("kernel32.dll", SetLastError = true)]
        [PreserveSig]
        public static extern uint GetModuleFileName
        ([In] IntPtr hModule, [Out] StringBuilder lpFilename,
            [In] [MarshalAs(UnmanagedType.U4)] int nSize);

        #endregion
    }
    #endregion
}


text:
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using IPTables.Net.Iptables;
using IPTables.Net.Iptables.Adapter;
using IPTables.Net.Iptables.Adapter.Client;
using IPTables.Net.Iptables.NativeLibrary;
using NUnit.Framework;

namespace IPTables.Net.Tests
{
    [TestFixture(4)]
    [TestFixture(6)]
    class IptablesLibraryTest
    {
        private int _ipVersion;

        public static bool IsLinux
        {
            get
            {
                int p = (int)Environment.OSVersion.Platform;
                return (p == 4) || (p == 6) || (p == 128);
            }
        }

        public IptablesLibraryTest(int ipVersion)
        {
            _ipVersion = ipVersion;
        }

        private String GetBinary()
        {
            if (_ipVersion == 4)
            {
                return "iptables";
            }
            return "ip6tables";
        }

        [OneTimeSetUp]
        public void TestStartup()
        {
            if (IsLinux)
            {
                if (Environment.GetEnvironmentVariable("SKIP_SYSTEM_TESTS") == "1")
                {
                    Assert.Ignore();
                }
                Process.Start("/sbin/" + GetBinary(), "-N test2").WaitForExit();
                Process.Start("/sbin/" + GetBinary(), "-N test").WaitForExit();
                Process.Start("/sbin/" + GetBinary(), "-A test -j ACCEPT").WaitForExit();

                Process.Start("/sbin/" + GetBinary(), "-N test3").WaitForExit();
                Process.Start("/sbin/" + GetBinary(), "-A test3 -p tcp -m tcp --dport 80 -j ACCEPT").WaitForExit();
            }
        }

        [OneTimeTearDown]
        public void TestDestroy()
        {
            if (IsLinux)
            {
                if (Environment.GetEnvironmentVariable("SKIP_SYSTEM_TESTS") == "1")
                {
                    Assert.Ignore();
                }
                Process.Start("/sbin/"+GetBinary(), "-F test").WaitForExit();
                Process.Start("/sbin/"+GetBinary(), "-X test").WaitForExit();
                Process.Start("/sbin/"+GetBinary(), "-F test2").WaitForExit();
                Process.Start("/sbin/"+GetBinary(), "-X test2").WaitForExit();
                Process.Start("/sbin/"+GetBinary(), "-F test3").WaitForExit();
                Process.Start("/sbin/"+GetBinary(), "-X test3").WaitForExit();
            }
        }

        [Test]
        public void TestRuleOutput()
        {
            if (IsLinux)
            {
                Assert.AreEqual(0, IptcInterface.RefCount);
                var system = new IpTablesSystem(null, new IPTablesLibAdapter());
                using (var client = system.GetTableAdapter(_ipVersion))
                {
                    Assert.IsTrue(client is IPTablesLibAdapterClient);
                    var rules = client.ListRules("filter");
                    Assert.IsTrue(rules != null, "Expected to find filter table");
                    foreach (var chain in rules.Chains)
                    {
                        Assert.AreEqual(_ipVersion, chain.IpVersion, "Incorrect IP Version for chain: " + chain);
                    }
                    Assert.AreNotEqual(0, rules.Chains.SelectMany((a)=>a.Rules).Count());
                    foreach (var rule in rules.Chains.SelectMany((a) => a.Rules))
                    {
                        Assert.AreEqual(_ipVersion, rule.IpVersion, "Incorrect IP Version for rule: " + rule);
                    }
                }
                Assert.AreEqual(0, IptcInterface.RefCount);
            }
        }

        [Test]
        public void TestRuleAdd()
        {
            if (IsLinux)
            {
                Assert.AreEqual(0, IptcInterface.RefCount);
                var system = new IpTablesSystem(null, new IPTablesLibAdapter());
                using (var client = system.GetTableAdapter(_ipVersion))
                {
                    Assert.IsTrue(client is IPTablesLibAdapterClient);
                    var rules = client.ListRules("filter");
                    var chain = new IpTablesChainSet(_ipVersion);
                    foreach (var c in rules.Chains)
                    {
                        Assert.AreEqual(_ipVersion, c.IpVersion);
                        chain.AddChain(c as IpTablesChain);
                    }
                    var rule = IpTablesRule.Parse("-A test2 -p 80 -j ACCEPT", system, chain);
                    client.StartTransaction();
                    client.AddRule(rule);
                    client.EndTransactionCommit();

                    var proc = Process.Start(new ProcessStartInfo("/sbin/" + GetBinary(), "-L test2"){RedirectStandardOutput = true, UseShellExecute = false});
                    proc.WaitForExit();
                    String listOutput = proc.StandardOutput.ReadToEnd();
                    Assert.IsTrue(listOutput.Contains("anywhere"), "must have created rule");
                }
                Assert.AreEqual(0, IptcInterface.RefCount);
            }
        }
    }
}


text:
package spookfishperfviz;

/**
 * @author Rahul Bakale
 * @since Nov, 2014
 */
final class StripTrailingZeroesAfterDecimalFunction implements Function<Double, String> {

	private final boolean useGrouping;

	StripTrailingZeroesAfterDecimalFunction(final boolean useGrouping) {
		this.useGrouping = useGrouping;
	}

	@Override
	public String apply(final Double d) {
		return Utils.stripTrailingZeroesAfterDecimal(d, this.useGrouping);
	}

}


text:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="AM-SetKeysToAddToApp">
    <DisplayName>AM-SetKeysToAddToApp</DisplayName>
    <AssignVariable>
        <Name>OIDCCredentials.client_id</Name>
        <Ref>theClientId</Ref>
    </AssignVariable>
    <AssignVariable>
        <Name>OIDCCredentials.client_secret</Name>
        <Ref>theExistingAppSecret</Ref>
    </AssignVariable>
</AssignMessage>


text:
<?php

namespace Brianwalden\SAS\Library;

use Brianwalden\SAS\Models\BaseModel;
use Phalcon\DI;

class Model
{
    public static function getShared($model = null)
    {
        $shared = DI::getDefault()->getMyModel();
        $shared->set($model);
        return $shared;
    }

    public static function getModelsManager()
    {
        return DI::getDefault()->getModelsManager();
    }

    public static function find($model, array $params = array())
    {
        $nsModel = static::nsModel($model);
        return ($nsModel) ? $nsModel::find($params) : [];
    }

    public static function findFirst($model, array $params = array())
    {
        $nsModel = static::nsModel($model);
        return ($nsModel) ? $nsModel::findFirst($params) : false;
    }

    public static function query($phql, array $bind = array())
    {
        $db = static::getModelsManager();
        return $db->executeQuery($phql, $bind);
    }

    public static function queryFirst($phql, array $bind = array())
    {
        return static::query($phql, $bind)->getFirst();
    }

    public static function model($model)
    {
        $results = static::modelNames($model);
        return (empty($results['model'])) ? false : $results['model'];
    }

    public static function nsModel($model)
    {
        $results = static::modelNames($model);
        return (empty($results['nsModel'])) ? false : $results['nsModel'];
    }

    public static function sqlModel($model)
    {
        $results = static::modelNames($model);
        return (empty($results['nsModel'])) ? false : $results['nsModel'];
    }

    public static function lookupField($model)
    {
        $results = static::modelNames($model);
        return (empty($results['lookupField'])) ? false : $results['lookupField'];
    }

    public static function in(array $values = array())
    {
        $in = [];

        foreach ($values as $key => $value) {
            $in[] = (Lookup::isIntLike($key)) ? "?$key" : ":$key:";
        }

        return '(' . implode(', ', $in) . ')';
    }

    public static function modelNames($model)
    {
        $model = (is_string($model)) ? trim(ucfirst($model)) : '';
        $nsModel = BaseModel::nsModel($model);
        return (!$model || !class_exists($nsModel)) ? [] : [
            'model' => $model,
            'nsModel' => $nsModel,
            'sqlModel' => BaseModel::sqlModel($model),
            'lookupField' => ($nsModel::IS_LOOKUP === true) ?
                lcfirst($model) : $nsModel::IS_LOOKUP,
        ];
    }
}


text:
/*
* function*()
*
* https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/function*
*
*/


text:
package org.immutables.criteria.mongo.bson4jackson;

import com.fasterxml.jackson.core.Version;
import com.fasterxml.jackson.databind.Module;
import com.fasterxml.jackson.databind.PropertyName;
import com.fasterxml.jackson.databind.introspect.Annotated;
import com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector;
import com.google.common.reflect.TypeToken;
import org.immutables.criteria.Criteria;

import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Field;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Predicate;

/**
 * Allows mapping of {@code ID} property (usually declared as {@link Criteria.Id})
 * to {@code _id} attribute in mongo document.
 *
 *
Uses simple heuristics to identify ID attribute:
 *

 *
For fields it will apply predicate directly

 *
For methods, check current (or parent) class method as well interface definition of the method

 *

 *
 *
It is also possible to register custom {@code ID} annotation using {@link #fromAnnotation(Class)}

 */
public class IdAnnotationModule extends Module {

  private static final Class<Criteria.Id> DEFAULT_ID_ANNOTATION = Criteria.Id.class;

  private final Predicate<? super AnnotatedElement> predicate;

  public IdAnnotationModule() {
    this(a -> a.isAnnotationPresent(DEFAULT_ID_ANNOTATION));
  }

  private IdAnnotationModule(Predicate<? super AnnotatedElement> predicate) {
    super();
    this.predicate = Objects.requireNonNull(predicate, "predicate");
  }

  /**
   * Derive {@code _id} property from existing annotation. Allows using other annotations
   * than {@link Criteria.Id}
   */
  public static IdAnnotationModule fromAnnotation(Class<? extends Annotation> annotation) {
    Objects.requireNonNull(annotation, "annotation");
    return fromPredicate(m -> m instanceof AnnotatedElement && ((AnnotatedElement) m).isAnnotationPresent(annotation));
  }

  /**
   * Derive {@code _id} property from {@link Member} predicate.
   */
  public static IdAnnotationModule fromPredicate(Predicate<? super Member> predicate) {
    Objects.requireNonNull(predicate, "predicate");
    Predicate<AnnotatedElement> newPred = a -> a instanceof Member && predicate.test((Member) a);
    return new IdAnnotationModule(newPred);
  }

  @Override
  public String getModuleName() {
    return getClass().getSimpleName();
  }

  @Override
  public Version version() {
    return Version.unknownVersion();
  }

  @Override
  public void setupModule(SetupContext context) {
    context.insertAnnotationIntrospector(new IdAnnotationIntrospector(predicate));
  }

  /**
   * Introspector for serializing and deserializing attributes maked with {@literal @}{@code Id} annotation
   * as {@code _id}
   */
  private static class IdAnnotationIntrospector extends NopAnnotationIntrospector {

    private final Predicate<? super AnnotatedElement> predicate;

    IdAnnotationIntrospector(Predicate<? super AnnotatedElement> predicate) {
      this.predicate = Objects.requireNonNull(predicate, "predicate");
    }

    @Override
    public PropertyName findNameForDeserialization(Annotated annotated) {
      return derivePropertyName(annotated);
    }

    @Override
    public PropertyName findNameForSerialization(Annotated annotated) {
      return derivePropertyName(annotated);
    }

    private PropertyName derivePropertyName(Annotated annotated) {
      return findOriginalMethod(annotated.getAnnotated())
              .map(m -> PropertyName.construct("_id"))
              .orElse(null);
    }

    /**
     * Uses reflection to find original method marked with {@link Criteria.Id}.
     */
    private Optional<AnnotatedElement> findOriginalMethod(AnnotatedElement annotated) {
      if (annotated != null && predicate.test(annotated)) {
        return Optional.of(annotated);
      }

      if (annotated instanceof Field) {
        // for fields try to find corresponding method (maybe annotated with @Id)
        // usually field is defined in ImmutableFoo.Json class and implements Foo
        final Field field = (Field) annotated;
        final Optional<Method> maybe = Arrays.stream(field.getDeclaringClass().getMethods())
                .filter(m -> m.getParameterCount() == 0)
                .filter(m -> m.getName().equals(field.getName()))
                .findAny();

        return maybe.flatMap(this::findOriginalMethod);
      }

      if (!(annotated instanceof Method)) {
        // something else. We support only Fields and Methods
        return Optional.empty();
      }

      final Method method = (Method) annotated;

      if (predicate.test(method)) {
        return Optional.of(method);
      }

      final String name = method.getName();
      final Class<?>[] params = method.getParameterTypes();
      // check for all available interfaces
      for (Class<?> iface: TypeToken.of(method.getDeclaringClass()).getTypes().interfaces().rawTypes()) {
        try {
          final Method maybe = iface.getMethod(name, params);
          if (predicate.test(maybe)) {
            return Optional.of(maybe);
          }
        } catch(NoSuchMethodException ignore) {
          // continue
        }
      }

      return Optional.empty();
    }
  }
}


text:
<template name="About">

  {{#ionHeaderBar align-title="left" class="bar bar-header bar-assertive"}}

About

  {{/ionHeaderBar}}

  {{#ionContent}}

      El Sonidito Button

      The El Sonidito Button is an unofficial fan page dedicated to El Hechizeros.
      We created this for entertainment purposes only and do not intend to infringe the copyrights of Hechizeros Band
      or related entities, who are in no way affiliated with this site.
      Please direct inquiries to info@sonidito.io.

      Please don't sue us.

      UN DOS TRES CUATRO!

{{/ionContent}}
</template>


text:
wallet module
=============

.. automodule:: wallet
    :members:
    :undoc-members:
    :show-inheritance:


text:
namespace omaha {

class WorkerModelInterface;

class Model {
 public:
  explicit Model(WorkerModelInterface* worker);
  virtual ~Model();

  const Lockable& lock() const { return lock_; }

  // Returns true if the model lock is held by the calling thread.
  bool IsLockedByCaller() const {
    return ::GetCurrentThreadId() == lock_.GetOwner();
  }

  // Creates an AppBundle object in the model.
  std::shared_ptr<AppBundle> CreateAppBundle(bool is_machine);

  // Removes the AppBundle objects that have no outstanding strong references.
  void CleanupExpiredAppBundles();

  size_t GetNumberOfAppBundles() const;

  std::shared_ptr<AppBundle> GetAppBundle(size_t index) const;

  // Initiates an update check for all apps in the bundle.
  HRESULT CheckForUpdate(AppBundle* app_bundle);

  // Initiates download of files necessary to install all apps in the bundle.
  HRESULT Download(AppBundle* app_bundle);

  // Initiates Download, if necessary, and install all app in the bundle.
  HRESULT DownloadAndInstall(AppBundle* app_bundle);

  // Initiates an update of all registered apps and performs periodic tasks
  // related to all apps. Primarily for use by Omaha's /ua client. Includes
  // update check, download and install.
  HRESULT UpdateAllApps(AppBundle* app_bundle);

  HRESULT Stop(AppBundle* app_bundle);
  HRESULT Pause(AppBundle* app_bundle);
  HRESULT Resume(AppBundle* app_bundle);

  HRESULT DownloadPackage(Package* package);
  HRESULT GetPackage(const Package* package, const CString& dir) const;

  bool IsPackageAvailable(const Package* package) const;

  HRESULT PurgeAppLowerVersions(const CString& app_id,
                                const CString& version) const;

 private:
  using AppBundleWeakPtr = std::weak_ptr<AppBundle>;

  // Serializes access to the model objects. Consider replacing with SWMR lock.
  LLock lock_;

  std::vector<AppBundleWeakPtr> app_bundles_;
  WorkerModelInterface* worker_;

  DISALLOW_COPY_AND_ASSIGN(Model);
};

}  // namespace omaha

#endif  // OMAHA_GOOPDATE_MODEL_H_


text:
""" Distribution specific override class for CentOS family (RHEL, Fedora) """
import logging
from typing import cast
from typing import List

from certbot import errors
from certbot import util
from certbot.errors import MisconfigurationError
from certbot_apache._internal import apache_util
from certbot_apache._internal import configurator
from certbot_apache._internal import parser
from certbot_apache._internal.configurator import OsOptions

logger = logging.getLogger(__name__)

class CentOSConfigurator(configurator.ApacheConfigurator):
    """CentOS specific ApacheConfigurator override class"""

    OS_DEFAULTS = OsOptions(
        server_root="/etc/httpd",
        vhost_root="/etc/httpd/conf.d",
        vhost_files="*.conf",
        logs_root="/var/log/httpd",
        ctl="apachectl",
        version_cmd=['apachectl', '-v'],
        restart_cmd=['apachectl', 'graceful'],
        restart_cmd_alt=['apachectl', 'restart'],
        conftest_cmd=['apachectl', 'configtest'],
        challenge_location="/etc/httpd/conf.d",
    )

    def config_test(self):
        """
        Override config_test to mitigate configtest error in vanilla installation
        of mod_ssl in Fedora. The error is caused by non-existent self-signed
        certificates referenced by the configuration, that would be autogenerated
        during the first (re)start of httpd.
        """

        os_info = util.get_os_info()
        fedora = os_info[0].lower() == "fedora"

        try:
            super().config_test()
        except errors.MisconfigurationError:
            if fedora:
                self._try_restart_fedora()
            else:
                raise

    def _try_restart_fedora(self):
        """
        Tries to restart httpd using systemctl to generate the self signed keypair.
        """

        try:
            util.run_script(['systemctl', 'restart', 'httpd'])
        except errors.SubprocessError as err:
            raise errors.MisconfigurationError(str(err))

        # Finish with actual config check to see if systemctl restart helped
        super().config_test()

    def _prepare_options(self):
        """
        Override the options dictionary initialization in order to support
        alternative restart cmd used in CentOS.
        """
        super()._prepare_options()
        if not self.options.restart_cmd_alt:  # pragma: no cover
            raise ValueError("OS option restart_cmd_alt must be set for CentOS.")
        self.options.restart_cmd_alt[0] = self.options.ctl

    def get_parser(self):
        """Initializes the ApacheParser"""
        return CentOSParser(
            self.options.server_root, self.options.vhost_root,
            self.version, configurator=self)

    def _deploy_cert(self, *args, **kwargs):  # pylint: disable=arguments-differ
        """
        Override _deploy_cert in order to ensure that the Apache configuration
        has "LoadModule ssl_module..." before parsing the VirtualHost configuration
        that was created by Certbot
        """
        super()._deploy_cert(*args, **kwargs)
        if self.version < (2, 4, 0):
            self._deploy_loadmodule_ssl_if_needed()

    def _deploy_loadmodule_ssl_if_needed(self):
        """
        Add "LoadModule ssl_module <pre-existing path>" to main httpd.conf if
        it doesn't exist there already.
        """

        loadmods = self.parser.find_dir("LoadModule", "ssl_module", exclude=False)

        correct_ifmods: List[str] = []
        loadmod_args: List[str] = []
        loadmod_paths: List[str] = []
        for m in loadmods:
            noarg_path = m.rpartition("/")[0]
            path_args = self.parser.get_all_args(noarg_path)
            if loadmod_args:
                if loadmod_args != path_args:
                    msg = ("Certbot encountered multiple LoadModule directives "
                           "for LoadModule ssl_module with differing library paths. "
                           "Please remove or comment out the one(s) that are not in "
                           "use, and run Certbot again.")
                    raise MisconfigurationError(msg)
            else:
                loadmod_args = path_args

            centos_parser: CentOSParser = cast(CentOSParser, self.parser)
            if centos_parser.not_modssl_ifmodule(noarg_path):
                if centos_parser.loc["default"] in noarg_path:
                    # LoadModule already in the main configuration file
                    if ("ifmodule/" in noarg_path.lower() or
                        "ifmodule[1]" in noarg_path.lower()):
                        # It's the first or only IfModule in the file
                        return
                # Populate the list of known !mod_ssl.c IfModules
                nodir_path = noarg_path.rpartition("/directive")[0]
                correct_ifmods.append(nodir_path)
            else:
                loadmod_paths.append(noarg_path)

        if not loadmod_args:
            # Do not try to enable mod_ssl
            return

        # Force creation as the directive wasn't found from the beginning of
        # httpd.conf
        rootconf_ifmod = self.parser.create_ifmod(
            parser.get_aug_path(self.parser.loc["default"]),
            "!mod_ssl.c", beginning=True)
        # parser.get_ifmod returns a path postfixed with "/", remove that
        self.parser.add_dir(rootconf_ifmod[:-1], "LoadModule", loadmod_args)
        correct_ifmods.append(rootconf_ifmod[:-1])
        self.save_notes += "Added LoadModule ssl_module to main configuration.\n"

        # Wrap LoadModule mod_ssl inside of <IfModule !mod_ssl.c> if it's not
        # configured like this already.
        for loadmod_path in loadmod_paths:
            nodir_path = loadmod_path.split("/directive")[0]
            # Remove the old LoadModule directive
            self.parser.aug.remove(loadmod_path)

            # Create a new IfModule !mod_ssl.c if not already found on path
            ssl_ifmod = self.parser.get_ifmod(nodir_path, "!mod_ssl.c",
                                            beginning=True)[:-1]
            if ssl_ifmod not in correct_ifmods:
                self.parser.add_dir(ssl_ifmod, "LoadModule", loadmod_args)
                correct_ifmods.append(ssl_ifmod)
                self.save_notes += ("Wrapped pre-existing LoadModule ssl_module "
                                    "inside of <IfModule !mod_ssl> block.\n")

class CentOSParser(parser.ApacheParser):
    """CentOS specific ApacheParser override class"""
    def __init__(self, *args, **kwargs):
        # CentOS specific configuration file for Apache
        self.sysconfig_filep = "/etc/sysconfig/httpd"
        super().__init__(*args, **kwargs)

    def update_runtime_variables(self):
        """ Override for update_runtime_variables for custom parsing """
        # Opportunistic, works if SELinux not enforced
        super().update_runtime_variables()
        self.parse_sysconfig_var()

    def parse_sysconfig_var(self):
        """ Parses Apache CLI options from CentOS configuration file """
        defines = apache_util.parse_define_file(self.sysconfig_filep, "OPTIONS")
        for k, v in defines.items():
            self.variables[k] = v

    def not_modssl_ifmodule(self, path):
        """Checks if the provided Augeas path has argument !mod_ssl"""

        if "ifmodule" not in path.lower():
            return False

        # Trim the path to the last ifmodule
        workpath = path.lower()
        while workpath:
            # Get path to the last IfModule (ignore the tail)
            parts = workpath.rpartition("ifmodule")

            if not parts[0]:
                # IfModule not found
                break
            ifmod_path = parts[0] + parts[1]
            # Check if ifmodule had an index
            if parts[2].startswith("["):
                # Append the index from tail
                ifmod_path += parts[2].partition("/")[0]
            # Get the original path trimmed to correct length
            # This is required to preserve cases
            ifmod_real_path = path[0:len(ifmod_path)]
            if "!mod_ssl.c" in self.get_all_args(ifmod_real_path):
                return True
            # Set the workpath to the heading part
            workpath = parts[0]

        return False


text:
// oda :: objective data access

#pragma once

#include <data/query>

namespace data
{
    query::query()
    {
    }
}


text:
def dump_stack_outputs(stack)
  $evm.log("info", "Outputs from updated stack #{stack.name}")
  stack.outputs.each do |output|
    $evm.log("info", "Key #{output.key}, value #{output.value}")
  end
end

$evm.log("info", "Starting Orchestration Post-Reconfiguration")

service = $evm.root["service_reconfigure_task"].source
stack = service.orchestration_stack

# You can add logic to process the stack object in VMDB
# For example, dump all outputs from the stack
#
# dump_stack_outputs(stack)


text:
define({
  "commonMedia": {
    "mediaSelector": {
      "lblSelect1": "Медиа",
      "lblSelect2": "Ресурсы",
      "lblMap": "Карта",
      "lblImage": "Изображение",
      "lblVideo": "Видео",
      "lblExternal": "Веб-страница",
      "lblUpload": "Загрузить",
      "lblLink": "Ссылка",
      "disabled": "Функция была отключена администратором",
      "userLookup": "Загрузить альбомы",
      "notImplemented": "Еще не реализовано.",
      "noData": "Общедоступных альбомов не найдено",
      "thirdPartyTerms": "При использовании сервиса стороннего производителя, вы должны принять условия предоставления услуг сервиса: "
    },
    "imageSelector": {
      "lblStep1": "Выберите услугу",
      "lblStep2": "Выберите ваши средства массовой информации",
      "lblStep3": "Настроить"
    },
    "imageSelectorHome": {
      "explain": "Загрузка изображения из социальных средств массовой информации,
или прямо из URL-адреса"
    },
    "imageSelectorUpload": {
      "lblUploadButton": "поиск изображения",
      "lblDrop": "Перетащить изображение сюда или",
      "infoUpload": "Изображения будут сохранены в вашей учетной записи ArcGIS и будут доступны только в этой истории.",
      "warningFileTypes": "Изображение может быть в формате .jpg, .png, .gif или .bmp",
      "warningOneFile": "Одновременно может быть загруженно только одно изображение.",
      "warningFileSize": "Изображение должно быть меньше 10 Мб.",
      "tooltipRemove": "Удалите изображение, которое не используется, из учетной записи ArcGIS.
 (Если вы захотите использовать его позднее, придется загрузить его заново.)"
    },
    "imageSelectorFlickr": {
      "userInputLbl": "Имя пользователя",
      "signInMsg2": "Пользователь не найден",
      "loadingFailed": "Загрузка не удалась"
    },
    "imageSelectorPicasa": {
      "userInputLbl": "Email или Google ID",
      "signInMsg2": "Учетная запись не найдена",
      "howToFind": "Как найти Picasa ID",
      "howToFind2": "Скопируйте цифры, расположенные между первой и второй косой чертой '/' любой страницы Picasa"
    },
    "videoSelectorCommon": {
      "check": "Проверить",
      "notFound": "Видео не найдено",
      "found": "Видео найдено",
      "select": "Выбрать это видео"
    },
    "videoSelectorHome": {
      "other": "Другие"
    },
    "videoSelectorYoutube": {
      "url": "Ссылка на видео на YouTube",
      "pageInputLbl": "Имя пользователя",
      "lookupMsgError": "Пользователь не найден",
      "howToFind": "Как найти имя пользователя YouTube",
      "howToFind2": "Имя пользователя отображается под видео",
      "found": "Найдено",
      "noData": "Общедоступных видео не найдено",
      "videoNotChecked": "Это видео не было проверено на YouTube, но его адрес выглядит пригодным.",
      "checkFailedAPI": "Проверка на YouTube не удалась, проверьте ключ YouTube API."
    },
    "videoSelectorVimeo": {
      "url": "Ссылка на видео Vimeo"
    },
    "videoSelectorOther": {
      "explain1": "История не может проигрывать необработанное видео (например, формата avi, mpeg), но он может проигрывать размещенные видео-файлы с помощью встроенных видео-плейеров (YouTube или Vimeo).",
      "explain2": "Большинство сервисов для размещения видео-роликов позволяют использовать эту функцию. Вам необходимо найти соответствующую опцию для встраивания видео, скопировать предлагаемый код и добавить его в историю с помощью опции %WEBPAGE%.",
      "explain3": "Или вы можете разместить видео самостоятельно, как и страницу HTML, которая использует видео-плейер, например %EXAMPLE%. Затем вы добавите ссылку на страницу HTML в свою историю как %WEBPAGE%.",
      "webpage": "Веб-страница"
    },
    "webpageSelectorHome": {
      "lblUrl": "Ссылка на веб-страницу",
      "lblEmbed": "Встроенный код",
      "lblMustUseHTTPS": "Ссылки на веб-ресурсы должны начинаться с HTTPS",
      "lblOR": "ИЛИ",
      "lblError1": "Ошибка, очистите одно из двух входных полей.",
      "lblError2": "Внедренный код может содержать только один %IFRAMETAG%",
      "configure": "Настроить"
    },
    "mediaConfigure": {
      "lblURL": "Ссылка на изображение",
      "lblURLPH": "Ссылка должна оканчиваться на .jpg, .png, .gif или .bmp",
      "lblURLPHHTTPS": "https://www.example.com/image.jpg",
      "lblURLError": "Возможно изображение некорректно. Укажите прямую ссылку на файл изображения (URL скорей всего будет заканчиваться на .jpg или .png). Ссылка на веб-страницу, содержащую изображение, может не работать.",
      "lblURLErrorHTTPS": "Эта ссылка на изображение некорректна. URL должен начинаться с HTTPS и заканчиваться расширением файла изображения поддерживаемого типа (.jpg, .png, .gif, .bmp).",
      "lblURLCheck": "Проверка изображения...",
      "lblLabel": "Подпись изображения",
      "lblLabel1": "Заголовок",
      "lblLabel2": "Наведите курсор на текст",
      "lblLabel3": "Нет",
      "lblLabelPH": "Введите текст...",
      "lblMaximize": "Добавить кнопку увеличения размера до максимального в угол изображения",
      "lblMaximizeHelp": "Рекомендуется только для фотографий высокого качества",
      "lblPosition": "Положение",
      "lblPosition1": "По центру",
      "lblPosition2": "Заполнение",
      "lblPosition3": "Разместить",
      "lblPosition4": "Растяжка",
      "lblPosition5": "Настраиваемый",
      "lblURLHelp": "Ссылка на изображение должна начинаться с HTTPS.

Для получения наилучшего результата, объем изображения должен быть менее 400 Кб. Используйте сжатые изображения JPG с 80% качества и рекомендуемую ширину изображения: 2000 пикселов для основной сцены или описательной панели с кнопкой развёртывания окна, 1000 пикселов для описательной панели без кнопки развёртывания окна.

Если изображение из ссылки отображается медленно, загрузите его в вашу историю для получения лучшего результата.",
      "tooltipDimension": "Значение можно задать в 'пикс.' или '%'",
      "tooltipDimension2": "Значение можно задать в 'пикс.'",
      "lblPosition2Explain": "(может быть урезано)",
      "lblPosition3Explain": "(не будет урезаться)",
      "lblPosition3Explain2": "(ширина всегда будет соответствовать панели)",
      "lblPosition4Explain": "(может исказиться)",
      "unloadLbl": "Выгрузить, когда читатель уйдет",
      "unloadHelp": "Если веб-страница содержит аудио или видео медиа файлы, оставьте эту опцию включенной, чтобы проигрывание ресурса выключалось, когда читатель уйдет со страницы. Отключите ее, если хотите, например, чтобы фонограмма звучала, пока читатель изучает историю.
Если веб-страницы является приложением, отключите эту опцию, чтобы история не перезагружалась при возращении у ней читателя.",
      "embedProtocolLabel": "Загрузить страницу через безопасное подключение (HTTPS)",
      "embedProtocolWarning1": "Если данная страница не загружена в вашу историю, ее нельзя встроить по соображениям веб-безопасности. В качестве альтернативы добавьте ссылку в ваше описание, чтобы открыть страницу в новой вкладке браузера. Более подробно",
      "embedProtocolWarning2": "Если данная страница не загружена в вашу историю, отключите эту опцию и попробуйте снова. Если страница все еще не загружена, ее невозможно встроить по соображениям веб-безопасности. В качестве альтернативы добавьте ссылку в ваше описание, чтобы открыть страницу в новой вкладке браузера. Более подробно",
      "learn": "Более подробно",
      "lblAltText": "Альтернативный текст",
      "placeholderAltText": "Введите описание медиа для слабовидящих пользователей...",
      "tooltipAltText": "Предоставьте описание для этого медиа-ресурса, которое будет использоваться вспомогательными технологиями, такими как программное обеспечение для чтения с экрана. Описание является дополнительным, но рекомендуется в соответствии с инструкциями по веб-доступу, такими как WCAG и Section 508."
    },
    "editorActionGeocode": {
      "lblTitle": "Найдите адрес или место",
      "mapMarkerExplain": "При нажатии на ссылку пользователь увидит маркер карты"
    },
    "editorActions": {
      "navigate": "Перейти к другой записи",
      "remove": "Действие Удалить",
      "preview": "Действие Предварительный просмотр"
    },
    "editorActionMedia": {
      "lblTitle": "Изменить ресурсы основной площадки"
    },
    "editorInlineMedia": {
      "lblTitle": "Вставить изображение, видео или веб-страницу"
    }
  }
});