text:
<?php

/* OroEntityMergeBundle:Form:fields.html.twig */
class __TwigTemplate_e67fd585d6b660f33540096c0e199c6d79fe2995dd1d53e6d2c8087fcb469c6e extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
            'oro_entity_merge_widget' => array($this, 'block_oro_entity_merge_widget'),
            'oro_entity_merge_javascript' => array($this, 'block_oro_entity_merge_javascript'),
            'oro_entity_merge_field_widget' => array($this, 'block_oro_entity_merge_field_widget'),
            'oro_entity_merge_choice_value_widget' => array($this, 'block_oro_entity_merge_choice_value_widget'),
            'oro_entity_merge_field_label' => array($this, 'block_oro_entity_merge_field_label'),
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_1d7e5acf90bc926a0342e496f5f121e68b91314a4e5a0bd3630965a6b7810620 = $this->env->getExtension("native_profiler");
        $__internal_1d7e5acf90bc926a0342e496f5f121e68b91314a4e5a0bd3630965a6b7810620->enter($__internal_1d7e5acf90bc926a0342e496f5f121e68b91314a4e5a0bd3630965a6b7810620_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "OroEntityMergeBundle:Form:fields.html.twig"));

        // line 1
        $this->displayBlock('oro_entity_merge_widget', $context, $blocks);
        // line 38
        echo "
";
        // line 39
        $this->displayBlock('oro_entity_merge_javascript', $context, $blocks);
        // line 52
        echo "
";
        // line 53
        $this->displayBlock('oro_entity_merge_field_widget', $context, $blocks);
        // line 80
        echo "
";
        // line 81
        $this->displayBlock('oro_entity_merge_choice_value_widget', $context, $blocks);
        // line 91
        echo "
";
        // line 92
        $this->displayBlock('oro_entity_merge_field_label', $context, $blocks);

        $__internal_1d7e5acf90bc926a0342e496f5f121e68b91314a4e5a0bd3630965a6b7810620->leave($__internal_1d7e5acf90bc926a0342e496f5f121e68b91314a4e5a0bd3630965a6b7810620_prof);

    }

    // line 1
    public function block_oro_entity_merge_widget($context, array $blocks = array())
    {
        $__internal_f8a80403431155c8dd82ae67b74e04db50eee427c9997a66cd84a22d64611217 = $this->env->getExtension("native_profiler");
        $__internal_f8a80403431155c8dd82ae67b74e04db50eee427c9997a66cd84a22d64611217->enter($__internal_f8a80403431155c8dd82ae67b74e04db50eee427c9997a66cd84a22d64611217_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "oro_entity_merge_widget"));

        // line 2
        echo "    ";
        echo $this->env->getExtension('genemu.twig.extension.form')->renderJavascript((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")));
        echo "

                ";
        // line 7
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "masterEntity", array()), 'label');
        echo "

            ";
        // line 9
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "masterEntity", array()));
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
            // line 10
            echo "

                            ";
            // line 13
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($context["child"], 'widget', array("attr" => twig_array_merge($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "vars", array()), "attr", array()), array("class" => "entity-merge-field-choice"))));
            echo "

                            env, $this->getAttribute($this->getAttribute($context["child"], "vars", array()), "name", array()), "html", null, true);
            echo "\"
                                    data-entity-field-name=\"";
            // line 16
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["child"], "vars", array()), "full_name", array()), "html", null, true);
            echo "\"
                                    class=\"merge-entity-representative\">
                                ";
            // line 18
            echo $this->env->getExtension('oro_entity_merge')->renderMergeEntityLabel($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "vars", array()), "value", array()), ($this->getAttribute($context["loop"], "index", array()) - 1));
            echo "

                    env, $this->getAttribute($this->getAttribute($context["child"], "vars", array()), "value", array()), "html", null, true);
            echo "\"
                       href=\"javascript:void(0);\">
                        ";
            // line 24
            echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("oro.entity_merge.form.select_all"), "html", null, true);
            echo "

            ";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 28
        echo "

        ";
        // line 31
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->env->getExtension('oro_entity_merge')->sortMergeFields($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "children", array()), "fields", array()), "children", array())));
        foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
            // line 32
            echo "            ";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($context["child"], 'widget');
            echo "
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 34
        echo "

* ";
        // line 36
        echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("oro.entity_merge.hint.other_related_entities"), "html", null, true);
        echo "

";

        $__internal_f8a80403431155c8dd82ae67b74e04db50eee427c9997a66cd84a22d64611217->leave($__internal_f8a80403431155c8dd82ae67b74e04db50eee427c9997a66cd84a22d64611217_prof);

    }

    // line 39
    public function block_oro_entity_merge_javascript($context, array $blocks = array())
    {
        $__internal_47d2b7a55a1269318edb35b14a64f0100578bee3c32011ba0a8fe7a5ff4e8f81 = $this->env->getExtension("native_profiler");
        $__internal_47d2b7a55a1269318edb35b14a64f0100578bee3c32011ba0a8fe7a5ff4e8f81->enter($__internal_47d2b7a55a1269318edb35b14a64f0100578bee3c32011ba0a8fe7a5ff4e8f81_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "oro_entity_merge_javascript"));

        // line 40
        echo "
";

        $__internal_47d2b7a55a1269318edb35b14a64f0100578bee3c32011ba0a8fe7a5ff4e8f81->leave($__internal_47d2b7a55a1269318edb35b14a64f0100578bee3c32011ba0a8fe7a5ff4e8f81_prof);

    }

    // line 53
    public function block_oro_entity_merge_field_widget($context, array $blocks = array())
    {
        $__internal_9f87f496d7abf2d5e315a4f2da3cc70f1af50f724eb442c3fc8ea8a1aacef796 = $this->env->getExtension("native_profiler");
        $__internal_9f87f496d7abf2d5e315a4f2da3cc70f1af50f724eb442c3fc8ea8a1aacef796->enter($__internal_9f87f496d7abf2d5e315a4f2da3cc70f1af50f724eb442c3fc8ea8a1aacef796_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "oro_entity_merge_field_widget"));

        // line 54
        echo "

            ";
        // line 56
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'label');
        echo "
            ";
        // line 57
        if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "children", array(), "any", false, true), "mode", array(), "any", false, true), "vars", array(), "any", false, true), "choices", array(), "any", true, true)) {
            // line 58
            echo "

                        ";
            // line 61
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "children", array()), "mode", array()), 'label');
            echo "

                        ";
            // line 65
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "children", array()), "mode", array()), 'widget', array("attr" => array("class" => "entity-merge-small-select")));
            echo "

            ";
        } else {
            // line 69
            echo "                ";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "children", array()), "mode", array()), 'widget');
            echo "
            ";
        }
        // line 71
        echo "

        ";
        // line 73
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "children", array()), "sourceEntity", array()));
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
            // line 74
            echo "
                ";
            // line 75
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($context["child"], 'widget', array("entityOffset" => ($this->getAttribute($context["loop"], "index", array()) - 1)));
            echo "

        ";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 78
        echo "

";

        $__internal_9f87f496d7abf2d5e315a4f2da3cc70f1af50f724eb442c3fc8ea8a1aacef796->leave($__internal_9f87f496d7abf2d5e315a4f2da3cc70f1af50f724eb442c3fc8ea8a1aacef796_prof);

    }

    // line 81
    public function block_oro_entity_merge_choice_value_widget($context, array $blocks = array())
    {
        $__internal_20ce33a552896909d11d304e133b03d5e4fa310c53be7ecb7af15ca704b1a868 = $this->env->getExtension("native_profiler");
        $__internal_20ce33a552896909d11d304e133b03d5e4fa310c53be7ecb7af15ca704b1a868->enter($__internal_20ce33a552896909d11d304e133b03d5e4fa310c53be7ecb7af15ca704b1a868_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "oro_entity_merge_choice_value_widget"));

        // line 82
        echo "

";
        // line 83
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'widget', array("attr" => twig_array_merge($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "vars", array()), "attr", array()), array("class" => "entity-merge-field-choice"))));
        echo "

        env, $this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "vars", array()), "name", array()), "html", null, true);
        echo "\" data-entity-field-name=\"";
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "vars", array()), "full_name", array()), "html", null, true);
        echo "\"
               class=\"entity-merge-inline-label merge-entity-representative\"
               for=\"";
        // line 86
        echo twig_escape_filter($this->env, (isset($context["id"]) ? $context["id"] : $this->getContext($context, "id")), "html", null, true);
        echo "\" ";
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["label_attr"]) ? $context["label_attr"] : $this->getContext($context, "label_attr")));
        foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
            echo " ";
            echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
            echo "=\"";
            echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
            echo "\"";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        echo ">
            ";
        // line 87
        echo $this->env->getExtension('oro_entity_merge')->renderMergeFieldValue((isset($context["merge_field_data"]) ? $context["merge_field_data"] : $this->getContext($context, "merge_field_data")), (isset($context["merge_entity_offset"]) ? $context["merge_entity_offset"] : $this->getContext($context, "merge_entity_offset")));
        echo "

";

        $__internal_20ce33a552896909d11d304e133b03d5e4fa310c53be7ecb7af15ca704b1a868->leave($__internal_20ce33a552896909d11d304e133b03d5e4fa310c53be7ecb7af15ca704b1a868_prof);

    }

    // line 92
    public function block_oro_entity_merge_field_label($context, array $blocks = array())
    {
        $__internal_b612e132bcbcb858be36331bfb3c92bc8589b7da0bf2b2d962fe479e1adb9210 = $this->env->getExtension("native_profiler");
        $__internal_b612e132bcbcb858be36331bfb3c92bc8589b7da0bf2b2d962fe479e1adb9210->enter($__internal_b612e132bcbcb858be36331bfb3c92bc8589b7da0bf2b2d962fe479e1adb9210_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "oro_entity_merge_field_label"));

        // line 93
        echo "    ";
        if ( !((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")) === false)) {
            // line 94
            echo "        ";
            if ((isset($context["required"]) ? $context["required"] : $this->getContext($context, "required"))) {
                // line 95
                echo "            ";
                $context["label_attr"] = twig_array_merge((isset($context["label_attr"]) ? $context["label_attr"] : $this->getContext($context, "label_attr")), array("class" => trim(((($this->getAttribute((isset($context["label_attr"]) ? $context["label_attr"] : null), "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["label_attr"]) ? $context["label_attr"] : null), "class", array()), "")) : ("")) . " required"))));
                // line 96
                echo "        ";
            }
            // line 97
            echo "        ";
            if (twig_test_empty((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")))) {
                // line 98
                echo "            ";
                $context["label"] = $this->env->getExtension('form')->humanize((isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")));
                // line 99
                echo "        ";
            }
            // line 100
            echo "        getContext($context, "label_attr")));
            foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
                echo " ";
                echo twig_escape_filter($this->env, $context["attrname"], "html", null, true);
                echo "=\"";
                echo twig_escape_filter($this->env, $context["attrvalue"], "html", null, true);
                echo "\"";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            echo ">";
            echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
            echo "
    ";
        }

        $__internal_b612e132bcbcb858be36331bfb3c92bc8589b7da0bf2b2d962fe479e1adb9210->leave($__internal_b612e132bcbcb858be36331bfb3c92bc8589b7da0bf2b2d962fe479e1adb9210_prof);

    }

    public function getTemplateName()
    {
        return "OroEntityMergeBundle:Form:fields.html.twig";
    }

    public function getDebugInfo()
    {
        return array (  360 => 100,  357 => 99,  354 => 98,  351 => 97,  348 => 96,  345 => 95,  342 => 94,  339 => 93,  333 => 92,  322 => 87,  305 => 86,  298 => 84,  294 => 83,  291 => 82,  285 => 81,  277 => 78,  260 => 75,  257 => 74,  240 => 73,  236 => 71,  230 => 69,  223 => 65,  216 => 61,  211 => 58,  209 => 57,  205 => 56,  201 => 54,  195 => 53,  177 => 40,  171 => 39,  162 => 36,  158 => 34,  149 => 32,  145 => 31,  140 => 28,  122 => 24,  117 => 22,  110 => 18,  105 => 16,  101 => 15,  96 => 13,  91 => 10,  74 => 9,  69 => 7,  60 => 2,  54 => 1,  47 => 92,  44 => 91,  42 => 81,  39 => 80,  37 => 53,  34 => 52,  32 => 39,  29 => 38,  27 => 1,);
    }
}


text:
var gulp        = require('gulp'),
    config      = require('../config'),
    browserSync = require('browser-sync'),
    modRewrite  = require('connect-modrewrite');

var watchTask = function(callback) {

  var dest = process.argv[2] === "docs" ? "docs" : "dest";

  browserSync.init({
    // proxy: "http://browncoat.loc"
    server: {
      baseDir: process.argv[2] === "docs" ? "./docs" : "./web",
      middleware: [
        modRewrite([
          '^/assets/img/(.*) - [L]',
          '^/assets/css/(.*) - [L]', // allow browsersync to stream css
          '!\\.\\w+$ /index.html [L]' // check on this...
        ])
      ]
    }
  });

  gulp.watch(config.root.src + '/scss/**/*.scss', ['css']);
  gulp.watch(config.root[dest] + "/**/*.html").on('change', browserSync.reload);
  gulp.watch(config.root[dest] + "/**/*.md").on('change', browserSync.reload);
  gulp.watch(config.root[dest] + "/**/*.json").on('change', browserSync.reload);
};

gulp.task("watch", ["css", "js"], watchTask);
gulp.task("docs", ["css", "js", "sprite"], watchTask);
module.exports = watchTask;

redpajama_set_name: RedPajamaGithub


text:
extern "Java"
{
  namespace org
  {
    namespace omg
    {
      namespace CORBA
      {
          class Object;
          class Policy;
      }
      namespace PortableServer
      {
          class AdapterActivator;
          class IdAssignmentPolicy;
          class IdAssignmentPolicyValue;
          class IdUniquenessPolicy;
          class IdUniquenessPolicyValue;
          class ImplicitActivationPolicy;
          class ImplicitActivationPolicyValue;
          class LifespanPolicy;
          class LifespanPolicyValue;
          class POA;
          class POAManager;
          class POAOperations;
          class RequestProcessingPolicy;
          class RequestProcessingPolicyValue;
          class Servant;
          class ServantManager;
          class ServantRetentionPolicy;
          class ServantRetentionPolicyValue;
          class ThreadPolicy;
          class ThreadPolicyValue;
      }
    }
  }
}

class org::omg::PortableServer::POAOperations : public ::java::lang::Object
{

public:
  virtual ::org::omg::PortableServer::POA * create_POA(::java::lang::String *, ::org::omg::PortableServer::POAManager *, JArray< ::org::omg::CORBA::Policy * > *) = 0;
  virtual ::org::omg::PortableServer::POA * find_POA(::java::lang::String *, jboolean) = 0;
  virtual JArray< jbyte > * activate_object(::org::omg::PortableServer::Servant *) = 0;
  virtual void activate_object_with_id(JArray< jbyte > *, ::org::omg::PortableServer::Servant *) = 0;
  virtual void deactivate_object(JArray< jbyte > *) = 0;
  virtual ::org::omg::CORBA::Object * create_reference(::java::lang::String *) = 0;
  virtual ::org::omg::CORBA::Object * create_reference_with_id(JArray< jbyte > *, ::java::lang::String *) = 0;
  virtual ::org::omg::PortableServer::Servant * get_servant() = 0;
  virtual void set_servant(::org::omg::PortableServer::Servant *) = 0;
  virtual void set_servant_manager(::org::omg::PortableServer::ServantManager *) = 0;
  virtual ::org::omg::PortableServer::ServantManager * get_servant_manager() = 0;
  virtual JArray< jbyte > * id() = 0;
  virtual ::org::omg::CORBA::Object * id_to_reference(JArray< jbyte > *) = 0;
  virtual ::org::omg::PortableServer::Servant * id_to_servant(JArray< jbyte > *) = 0;
  virtual JArray< jbyte > * reference_to_id(::org::omg::CORBA::Object *) = 0;
  virtual ::org::omg::PortableServer::Servant * reference_to_servant(::org::omg::CORBA::Object *) = 0;
  virtual JArray< jbyte > * servant_to_id(::org::omg::PortableServer::Servant *) = 0;
  virtual ::org::omg::CORBA::Object * servant_to_reference(::org::omg::PortableServer::Servant *) = 0;
  virtual ::org::omg::PortableServer::POAManager * the_POAManager() = 0;
  virtual ::org::omg::PortableServer::AdapterActivator * the_activator() = 0;
  virtual void the_activator(::org::omg::PortableServer::AdapterActivator *) = 0;
  virtual JArray< ::org::omg::PortableServer::POA * > * the_children() = 0;
  virtual ::java::lang::String * the_name() = 0;
  virtual ::org::omg::PortableServer::POA * the_parent() = 0;
  virtual void destroy(jboolean, jboolean) = 0;
  virtual ::org::omg::PortableServer::IdUniquenessPolicy * create_id_uniqueness_policy(::org::omg::PortableServer::IdUniquenessPolicyValue *) = 0;
  virtual ::org::omg::PortableServer::ImplicitActivationPolicy * create_implicit_activation_policy(::org::omg::PortableServer::ImplicitActivationPolicyValue *) = 0;
  virtual ::org::omg::PortableServer::LifespanPolicy * create_lifespan_policy(::org::omg::PortableServer::LifespanPolicyValue *) = 0;
  virtual ::org::omg::PortableServer::RequestProcessingPolicy * create_request_processing_policy(::org::omg::PortableServer::RequestProcessingPolicyValue *) = 0;
  virtual ::org::omg::PortableServer::ServantRetentionPolicy * create_servant_retention_policy(::org::omg::PortableServer::ServantRetentionPolicyValue *) = 0;
  virtual ::org::omg::PortableServer::ThreadPolicy * create_thread_policy(::org::omg::PortableServer::ThreadPolicyValue *) = 0;
  virtual ::org::omg::PortableServer::IdAssignmentPolicy * create_id_assignment_policy(::org::omg::PortableServer::IdAssignmentPolicyValue *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __org_omg_PortableServer_POAOperations__


text:
<?php

namespace backend\controllers;

use common\models\cf\ObjectRecord;
use common\traits\AjaxValidationTrait;
use Yii;
use common\models\cf\ObjectFunctionsRecord;
use common\models\cf\ObjectFunctionsSearch;
use yii\helpers\ArrayHelper;
use yii\web\ForbiddenHttpException;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;

/**
 * ObjectFunctionsController implements the CRUD actions for ObjectFunctionsRecord model.
 */
class ObjectFunctionsController extends Controller
{

    use AjaxValidationTrait;

    public function behaviors()
    {
        return ArrayHelper::merge(parent::behaviors(), [
            'verbs' => [
                'class' => VerbFilter::className(),
                'actions' => [
                    'delete' => ['post'],
                ],
            ],
        ]);
    }

    /**
     * Lists all ObjectFunctionsRecord models.
     * @return mixed
     */
    public function actionIndex($objectID)
    {
        $object = $this->findObject($objectID);
        $searchModel = new ObjectFunctionsSearch();
        $searchModel->ObjectID = $object->id;
        $dataProvider = $searchModel->search(Yii::$app->request->queryParams);

        return $this->render('index', [
            'searchModel' => $searchModel,
            'dataProvider' => $dataProvider,
            'object' => $object
        ]);
    }

    /**
     * Displays a single ObjectFunctionsRecord model.
     * @param integer $id
     * @return mixed
     */
    public function actionView($id)
    {
        return $this->render('view', [
            'model' => $this->findModel($id),
        ]);
    }

    /**
     * Creates a new ObjectFunctionsRecord model.
     * If creation is successful, the browser will be redirected to the 'view' page.
     * @return mixed
     */
    public function actionCreate($objectID)
    {
        $object = $this->findObject($objectID);
        $model = new ObjectFunctionsRecord();
        $model->Name = 'по-умолчанию';
        $model->Price = 1;
        $model->ObjectID = $object->id;

        if( ($errors = $this->performAjaxValidation($model)) !== null ) {
            return $errors;
        }

        if ($model->load(Yii::$app->request->post()) && $model->save()) {
            return $this->redirect(['index', 'objectID' => $model->ObjectID]);
        } else {
            return $this->render('create', [
                'model' => $model,
                'object' => $object
            ]);
        }
    }

    /**
     * Updates an existing ObjectFunctionsRecord model.
     * If update is successful, the browser will be redirected to the 'view' page.
     * @param integer $id
     * @return mixed
     */
    public function actionUpdate($id)
    {
        $model = $this->findModel($id);

        if(($errors = $this->performAjaxValidation($model)) !== null) {
            return $errors;
        }

        if ($model->load(Yii::$app->request->post()) && $model->save()) {
            return $this->redirect(['index', 'objectID' => $model->ObjectID]);
        } else {
            return $this->render('update', [
                'model' => $model,
            ]);
        }
    }

    /**
     * Deletes an existing ObjectFunctionsRecord model.
     * If deletion is successful, the browser will be redirected to the 'index' page.
     * @param integer $id
     * @return mixed
     */
    public function actionDelete($id)
    {
        $model = $this->findModel($id);
        $functionsCount = $model->object->getFunctions()->count();
        if($functionsCount == 1) {
            throw new ForbiddenHttpException('Невозможно удалить функцию так как объект должен иметь как минимум 1 функцию');
        } else {
            $model->forceDelete();
        }

        return $this->redirect(['index', 'objectID'=>$model->ObjectID]);
    }

    /**
     * Finds the ObjectFunctionsRecord model based on its primary key value.
     * If the model is not found, a 404 HTTP exception will be thrown.
     * @param integer $id
     * @return ObjectFunctionsRecord the loaded model
     * @throws NotFoundHttpException if the model cannot be found
     */
    protected function findModel($id)
    {
        if (($model = ObjectFunctionsRecord::findOne($id)) !== null) {
            return $model;
        } else {
            throw new NotFoundHttpException('The requested page does not exist.');
        }
    }

    /**
     * @param $objectID
     * @return ObjectRecord
     * @throws NotFoundHttpException
     */
    protected function findObject($objectID)
    {
        if( ($model = ObjectRecord::findOne($objectID)) !== null) {
            return $model;
        } else {
            throw new NotFoundHttpException('The requested object does not exist.');
        }
    }
}


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
Bulletin Labor. Orto Bot. de R. Univ. Siena 2: 153 (1899)

#### Original name
Ascochyta papyricola Tassi

### Remarks
null


text:
.form {
    margin: 0;

    & label {
        border: var(--width-border) solid transparent;
        cursor: pointer;
        display: block;
        line-height: var(--line-height-input);
        margin-top: var(--width-gap);
        padding-bottom: var(--width-padding-input);
        padding-top: var(--width-padding-input);
    }

    & [type=text],
    & [type=password],
    & [type=email],
    & [type=search],
    & [type=url],
    & [type=tel],
    & [type=number],
    & textarea,
    & select {
        display: block;
        line-height: var(--line-height-input);
        margin: var(--width-gap) 0 0;
        width: 100%;

        appearance: none;
        background-color: var(--color-background);
        border: var(--width-border) solid var(--color-border);
        border-radius: var(--width-border-radius);
        color: var(--color-text);
        font-family: var(--font-family);
        font-size: var(--font-size);
        padding: var(--width-padding-input);

        &:focus {
            border-color: var(--color-primary);
            outline: 0;
        }
    }

    @media (--mobile-viewport) {
        & [type=time],
        & [type=week],
        & [type=month],
        & [type=date],
        & [type=datetime-local] {
            margin: var(--width-gap) 0 0;
        }
    }

    @media (--mobile-viewport) {
        & [type=time],
        & [type=week],
        & [type=month],
        & [type=date],
        & [type=datetime-local] {
            display: block;
            line-height: var(--line-height-input);
            margin: var(--width-gap) 0 0;
            width: 100%;

            appearance: none;
            background-color: var(--color-background);
            border: var(--width-border) solid var(--color-border);
            border-radius: var(--width-border-radius);
            color: var(--color-text);
            font-family: var(--font-family);
            font-size: var(--font-size);
            padding: var(--width-padding-input);

            &:focus {
                border-color: var(--color-primary);
                outline: 0;
            }
        }
    }

    & [type=checkbox],
    & [type=radio] {
        cursor: pointer;
        margin: 0 var(--width-padding-input) 0 0;
    }

    & select {
        cursor: pointer;
    }

    & [type=file],
    & [type=range] {
        display: block;
        line-height: var(--line-height-input);
        margin: var(--width-gap) 0 0;
        width: 100%;

        border-top: var(--width-border) solid transparent;
        border-bottom: var(--width-border) solid transparent;
        cursor: pointer;
        padding-bottom: var(--width-padding-input);
        padding-top: var(--width-padding-input);
    }

    & [type=color],
    & [type=image] {
        cursor: pointer;
        display: block;
        margin: var(--width-gap) 0 0;
    }

    & [disabled] {
        cursor: default;
        opacity: 0.5;
        pointer-events: none;
    }

    & [readonly] {
        background-color: var(--color-background-faded);
    }
}


text:
import logging

from tornado.options import options
from tornado.httpclient import HTTPClient, HTTPRequest, HTTPError
import tornado.web

import json
import urllib
import base64
import pymongo

from oauth.basehandler import AuthenticatedRequestHandler

# https://developers.google.com/drive/web/scopes
SCOPES = [
    "email", "profile",
    "https://www.googleapis.com/auth/drive.file",
    "https://www.googleapis.com/auth/drive.appdata",
    "https://www.googleapis.com/auth/plus.me",
    "https://spreadsheets.google.com/feeds"
]

# Google OAUTH flow is implemented with these handlers
# 1. User sign-in request goes to GoogleOAuth2SignInHandler         : >-redirects-> Google OAUTH page
# 2. Google OAUTH page, user signs-in and approves scopes           : >-redirects-> GoogleOAuth2CallbackHandler
# 3. GoogleOAuth2CallbackHandler stores user info and access tokens : >-redirects-> WebApp

def oauth_tokens_collection():
    conn = pymongo.Connection(options.mongo_storage_uri)
    db = conn[options.mongo_storage_db]
    return db["google_oauth_tokens"]

# Redirects users to Google for authentication and authorization of 'scopes'
class GoogleOAuth2SignInHandler(tornado.web.RequestHandler):
    def initialize(self):
        signin = "auth/signin/google/oauth2_callback"
        if options.oauth_uri_root != "/":
            signin = options.oauth_uri_root.strip("/") + "/" + signin

        self.redirect_uri = "%s/%s" % (options.client_host, signin)

    def get(self):
        final_redirect = self.request.host  # TODO : specify based on requesting application

        oauth = {
            "response_type": "code",
            "client_id": options.client_id,
            "scope": " ".join(SCOPES),
            "redirect_uri": self.redirect_uri,
            "state": final_redirect,
            "access_type": "offline",
            "approval_prompt": "force"
        }

        # Redirect user to Google+ for signin
        self.set_status(301)
        self.set_header("Cache-Control", "no-cache")
        self.set_header("Location", "https://accounts.google.com/o/oauth2/auth?%s" % urllib.urlencode(oauth))

# This request is received when Google redirects user from Google OAUTH service
class GoogleOAuth2CallbackHandler(tornado.web.RequestHandler):
    def initialize(self):
        signin = "auth/signin/google/oauth2_callback"
        if options.oauth_uri_root != "/":
            signin = options.oauth_uri_root.strip("/") + "/" + signin

        self.redirect_uri = "%s/%s" % (options.client_host, signin)
        self.http_client = HTTPClient()

    def get(self):
        # TODO: Handle final redirect (/code?state=/profile&code=...)
        final_redirect = options.client_host
        oauth_state = self.get_argument("state", None)

        oauth_error = self.get_argument("error", None)
        if not oauth_error is None:
            if options.verbose: logging.error("GoogleOAuth2CallbackHandler.get:error=%s" % oauth_error)
            self.redirect(final_redirect)
            return

        oauth_code = self.get_argument("code", None)
        if oauth_code is None:
            if options.verbose: logging.error("GoogleOAuth2CallbackHandler.get:oauth_code is missing")
            self.redirect(final_redirect)
            return

        # Exchanging Google-provided authorization code for authorization token
        param_str = "code=%s&client_id=%s&client_secret=%s&redirect_uri=%s&grant_type=authorization_code"
        http_body = param_str % (oauth_code, options.client_id, options.client_secret, self.redirect_uri)

        http_request = HTTPRequest(url="https://accounts.google.com/o/oauth2/token", method="POST",
            headers={"Content-Type": "application/x-www-form-urlencoded"}, body=http_body)
        http_response = self.http_client.fetch(http_request)

        # Extracting user information and tokens
        respjson = json.loads(http_response.body)
        if options.verbose: logging.info("GoogleOAuth2CallbackHandler.get:respjson=%s" % str(respjson))

        userinfo = self.decode_json_web_token(respjson["id_token"])
        useremail = userinfo["email"]
        if options.verbose: logging.info("GoogleOAuth2CallbackHandler.get:useremail=%s" % useremail)

        # Lookup existing user record, or create one
        collection = oauth_tokens_collection()
        credentials = collection.find_one({ "addama_user": useremail })
        if credentials is None: credentials = { "addama_user": useremail }

        # Update database entry
        for k in respjson: credentials[k] = respjson[k]
        credentials["userinfo"] = userinfo
        collection.save(credentials)

        # Update cookies and send back to application
        cookie_id = options.cookie_id
        if options.verbose: logging.info("GoogleOAuth2CallbackHandler.get:%s[%s]" % (useremail, cookie_id))
        self.set_secure_cookie(cookie_id, useremail, expires_days=None)

        self.redirect(final_redirect)

    # see for details: https://developers.google.com/accounts/docs/OAuth2ServiceAccount#jwtcontents
    def decode_json_web_token(self, id_token):
        segments = id_token.split(".")
        if (len(segments) != 3): raise HTTPError(400, ("Wrong number of segments in id_token:%s" % id_token))

        b64string = segments[1].encode("ascii")
        padded = b64string + "=" * (4 - len(b64string) % 4)
        padded = base64.urlsafe_b64decode(padded)

        if options.verbose: logging.info("GoogleOAuth2CallbackHandler.decode_json_web_token:id_token=%s" % (padded))
        return json.loads(padded)

# Allows applications to refresh access token
class GoogleOAuth2RefreshTokenHandler(AuthenticatedRequestHandler):
    def initialize(self):
        self.http_client = HTTPClient()

    def get(self):
        self.refresh_token()
        self.set_status(200)

    def refresh_token(self):
        # retrieve credentials

        collection = oauth_tokens_collection()
        credentials = collection.find_one({ "addama_user": self.get_current_user() })
        if credentials is None:
            self.set_status(404, "No credentials found, unable to refresh OAUTH2 token")
            return

        # request fresh access_token
        param_str = "refresh_token=%s&client_id=%s&client_secret=%s&grant_type=refresh_token"
        http_body = param_str % (credentials["refresh_token"], options.client_id, options.client_secret)

        http_request = HTTPRequest(url="https://accounts.google.com/o/oauth2/token", method="POST",
            headers={"Content-Type": "application/x-www-form-urlencoded"}, body=http_body)
        http_response = self.http_client.fetch(http_request)
        respjson = json.loads(http_response.body)

        # store fresh access_token
        credentials["access_token"] = respjson["access_token"]
        collection.save(credentials)

# Logs out users
class GoogleSignoutHandler(tornado.web.RequestHandler):
    def get(self):
        self.clear_all_cookies()
        self.set_status(200)

# API Domains
GOOGLE_APIS = "https://www.googleapis.com"
GOOGLE_SPREADSHEET_APIS = "https://spreadsheets.google.com"

# Wraps calls to Google APIs with access tokens
class GoogleApisOAuthProxyHandler(GoogleOAuth2RefreshTokenHandler):
    def initialize(self, api_domain):
        self.http_client = HTTPClient()
        self.API_DOMAIN = api_domain.strip("/")

    def get(self, *uri_path):
        self.oauth_http("GET", "/".join(map(str,uri_path)))

    def post(self, *uri_path):
        self.oauth_http("POST", "/".join(map(str,uri_path)))

    def put(self, *uri_path):
        self.oauth_http("PUT", "/".join(map(str,uri_path)))

    def delete(self, *uri_path):
        self.oauth_http("DELETE", "/".join(map(str,uri_path)))

    def oauth_http(self, method, uri, RefreshToken=True):
        if options.verbose: logging.info("GoogleApisOAuthProxyHandler.oauth_http: %s %s/%s" % (method, self.API_DOMAIN, uri.strip("/")))

        credentials = oauth_tokens_collection().find_one({ "addama_user": self.get_current_user() })
        if not credentials: raise HTTPError(401, "No OAUTH access_tokens, user must approve to access")

        try:
            headers = { "Authorization": ( "Bearer %s" % credentials["access_token"] ) }

            # Proxy requests to appropriate API
            if method == "GET":
                url = "%s/%s?%s" % (self.API_DOMAIN, uri.strip("/"), self.request.query)
                http_request = HTTPRequest(url=url, method=method, headers=headers)
            elif method == "DELETE":
                url = "%s/%s" % (self.API_DOMAIN, uri.strip("/"))
                http_request = HTTPRequest(url=url, method=method, headers=headers)

            else:
                url = "%s/%s" % (self.API_DOMAIN, uri.strip("/"))
                headers["Content-Type"] = self.request.headers["Content-Type"]
                if "If-Match" in self.request.headers: headers["If-Match"] = self.request.headers["If-Match"]
                http_request = HTTPRequest(url=url, method=method, headers=headers, body=self.request.body)

            # Process response
            http_resp = self.http_client.fetch(http_request)
            if options.verbose: logging.info("GoogleApisOAuthProxyHandler.oauth_http: %s %s/%s [%s]" % (method, self.API_DOMAIN, uri, http_resp.code))
            self.write(http_resp.body)
            self.set_status(http_resp.code)

        except HTTPError, e:
            if options.verbose:
                logging.error("GoogleApisOAuthProxyHandler.oauth_http: %s %s/%s [%s]" % (method, self.API_DOMAIN, uri, e.code))
                logging.error("GoogleApisOAuthProxyHandler.oauth_http: body=\n%s" % e.response.body)

            if e.code == 401 and RefreshToken:
                self.refresh_token()
                self.oauth_http(method, uri, False) # avoid getting into a loop, next time token should be fresh
                return

            if e.code == 599:
                if options.verbose: logging.error("GoogleApisOAuthProxyHandler.oauth_http: %s %s/%s [CODE=599]" % (method, self.API_DOMAIN, uri))
                self.set_status(500) # network connectivity issue, for some reason tornado.web chokes on 599
                return

            self.set_status(e.code)

class GoogleOAuthDownloadProxyHandler(GoogleOAuth2RefreshTokenHandler):
    def initialize(self):
        self.http_client = HTTPClient()

    def get(self):
        forwardUrl = urllib.unquote(self.get_argument("forwardUrl"))
        if options.verbose: logging.info("GoogleOAuthDownloadProxyHandler.oauth_http: %s %s" % ("GET", forwardUrl))

        credentials = oauth_tokens_collection().find_one({ "addama_user": self.get_current_user() })
        if not credentials: raise HTTPError(401, "No OAUTH access_tokens, user must approve to access")

        try:
            headers = { "Authorization": ( "Bearer %s" % credentials["access_token"] ) }

            # Proxy requests to appropriate API
            http_request = HTTPRequest(url=forwardUrl, method="GET", headers=headers)
            http_resp = self.http_client.fetch(http_request)
            if options.verbose: logging.info("GoogleOAuthDownloadProxyHandler.GET %s [%s]" % (forwardUrl, http_resp.code))
            self.write(http_resp.body)
            self.set_status(http_resp.code)

        except HTTPError, e:
            if options.verbose: logging.error("GoogleOAuthDownloadProxyHandler.GET %s [%s]" % (forwardUrl, e.code))
            if e.code == 599:
                if options.verbose: logging.error("GoogleOAuthDownloadProxyHandler.GET %s [CODE=599]" % (forwardUrl))
                self.set_status(500) # network connectivity issue, for some reason tornado.web chokes on 599
                return

            self.set_status(e.code)


text:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <corners
        android:radius="3dp"/>

    <solid
        android:color="@android:color/white"/>

    <stroke
        android:width="1dp"
        android:color="@android:color/holo_blue_light"/>
</shape>


text:
using System;
using System.Web;
using System.Xml.Linq;
using Nwazet.Commerce.Services;

namespace Nwazet.Commerce.Tests.Stubs
{
    public class FakeUspsWebService : IUspsWebService {
        private Uri _latestUri;

        public XElement GetLatestQueryDocument() {
            var queryString = HttpUtility.ParseQueryString(_latestUri.Query);
            var xml = queryString["XML"];
            return XElement.Parse(xml);
        }

        public XElement QueryWebService(Uri url) {
            _latestUri = url;
            var queryString = HttpUtility.ParseQueryString(url.Query);
            switch (queryString["API"]) {
                case "RateV4":
                    return XElement.Parse(@"<?xml version=""1.0"" ?>
<RateV4Response>
  <Package ID=""1ST"">
    <ZipOrigination>44106</ZipOrigination>
    <ZipDestination>20770</ZipDestination>
    <Pounds>0</Pounds>
    <Ounces>3.5</Ounces>
    <FirstClassMailType>LETTER</FirstClassMailType>
    <Size>REGULAR</Size>
    <Machinable>TRUE</Machinable>
    <Zone>3</Zone>
    <Postage CLASSID=""0"">
      <MailService>First-Class Mail</MailService>
      <Rate>1.06</Rate>
      <SpecialServices>
        <SpecialService>
          <ServiceID>9</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>1.20</Price>
          <PriceOnline>0</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>1.95</Price>
          <PriceOnline>0</PriceOnline>
          <DeclaredValueRequired>true</DeclaredValueRequired>
          <DueSenderRequired>false</DueSenderRequired>
        </SpecialService>
        <SpecialService>
          <ServiceID>5</ServiceID>
          <ServiceName>Registered Mail&trade;</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>11.20</Price>
          <PriceOnline>0</PriceOnline>
          <DeclaredValueRequired>true</DeclaredValueRequired>
          <DueSenderRequired>false</DueSenderRequired>
        </SpecialService>
        <SpecialService>
          <ServiceID>4</ServiceID>
          <ServiceName>Registered without Insurance</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>11.20</Price>
          <PriceOnline>0</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>0</ServiceID>
          <ServiceName>Certified Mail&reg;</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>3.10</Price>
          <PriceOnline>0</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>6</ServiceID>
          <ServiceName>Collect on Delivery</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>6.45</Price>
          <PriceOnline>0</PriceOnline>
          <DeclaredValueRequired>true</DeclaredValueRequired>
          <DueSenderRequired>true</DueSenderRequired>
        </SpecialService>
      </SpecialServices>
    </Postage>
    <Postage CLASSID=""1"">
      <MailService>Priority Mail&reg;</MailService>
      <Rate>24.85</Rate>
      <SpecialServices>
        <SpecialService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>true</Available>
          <AvailableOnline>true</AvailableOnline>
          <Price>13.15</Price>
          <PriceOnline>13.15</PriceOnline>
          <DeclaredValueRequired>true</DeclaredValueRequired>
          <DueSenderRequired>false</DueSenderRequired>
        </SpecialService>
        <SpecialService>
          <ServiceID>13</ServiceID>
          <ServiceName>Delivery Confirmation&trade;</ServiceName>
          <Available>true</Available>
          <AvailableOnline>true</AvailableOnline>
          <Price>0.00</Price>
          <PriceOnline>0.00</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>4</ServiceID>
          <ServiceName>Restricted Delivery</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>4.75</Price>
          <PriceOnline>0</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>8</ServiceID>
          <ServiceName>Return Receipt</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>2.55</Price>
          <PriceOnline>0</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>16</ServiceID>
          <ServiceName>Return Receipt Electronic</ServiceName>
          <Available>true</Available>
          <AvailableOnline>false</AvailableOnline>
          <Price>1.25</Price>
          <PriceOnline>0</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>15</ServiceID>
          <ServiceName>Signature Confirmation&trade;</ServiceName>
          <Available>true</Available>
          <AvailableOnline>true</AvailableOnline>
          <Price>2.70</Price>
          <PriceOnline>2.20</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>19</ServiceID>
          <ServiceName>Adult Signature Required</ServiceName>
          <Available>false</Available>
          <AvailableOnline>true</AvailableOnline>
          <Price>0</Price>
          <PriceOnline>4.95</PriceOnline>
        </SpecialService>
        <SpecialService>
          <ServiceID>20</ServiceID>
          <ServiceName> Adult Signature Restricted Delivery</ServiceName>
          <Available>false</Available>
          <AvailableOnline>true</AvailableOnline>
          <Price>0</Price>
          <PriceOnline>5.15</PriceOnline>
        </SpecialService>
      </SpecialServices>
    </Postage>
    <Postage CLASSID=""1"">
      <MailService>Priority Mail&reg;</MailService>
      <Rate>18.35</Rate>
    </Postage>
    <Postage CLASSID=""22"">
      <MailService>Priority Mail&reg; Large Flat Rate Box</MailService>
      <Rate>14.85</Rate>
    </Postage>
    <Postage CLASSID=""17"">
      <MailService>Priority Mail&reg; Medium Flat Rate Box</MailService>
      <Rate>12.35</Rate>
    </Postage>
    <Postage CLASSID=""28"">
      <MailService>Priority Mail&reg; Small Flat Rate Box</MailService>
      <Rate>5.80</Rate>
    </Postage>
    <Postage CLASSID=""16"">
      <MailService>Priority Mail&reg; Flat Rate Envelope</MailService>
      <Rate>5.60</Rate>
    </Postage>
    <Postage CLASSID=""44"">
      <MailService>Priority Mail&reg; Legal Flat Rate Envelope</MailService>
      <Rate>5.75</Rate>
    </Postage>
    <Postage CLASSID=""29"">
      <MailService>Priority Mail&reg; Padded Flat Rate Envelope</MailService>
      <Rate>5.95</Rate>
    </Postage>
    <Postage CLASSID=""38"">
      <MailService>Priority Mail&reg; Gift Card Flat Rate Envelope</MailService>
      <Rate>5.60</Rate>
    </Postage>
    <Postage CLASSID=""42"">
      <MailService>Priority Mail&reg; Small Flat Rate Envelope</MailService>
      <Rate>5.60</Rate>
    </Postage>
    <Postage CLASSID=""40"">
      <MailService>Priority Mail&reg; Window Flat Rate Envelope</MailService>
      <Rate>5.60</Rate>
    </Postage>
    <Postage CLASSID=""4"">
      <MailService>Standard Post&reg;</MailService>
      <Rate>18.35</Rate>
    </Postage>
    <Postage CLASSID=""6"">
      <MailService>Media Mail&reg;</MailService>
      <Rate>6.52</Rate>
    </Postage>
    <Postage CLASSID=""7"">
      <MailService>Library Mail</MailService>
      <Rate>6.21</Rate>
    </Postage>
    <Restrictions>
      A1. Mail addressed to "Any Servicemember" or similar .
    </Restrictions>
  </Package>
</RateV4Response>");
                case "IntlRateV2":
                    return XElement.Parse(@"<?xml version=""1.0"" ?>
<IntlRateV2Response>
  <Package ID=""1ST"">
    <Prohibitions>
      An issue of a publication .
    </Prohibitions>
    <Restrictions>
      Coins; banknotes; curren
    </Restrictions>
    <Observations>
      1. Banknotes valued at .
    </Observations>
    <CustomsForms>
      First-Class Mail Intern )
    </CustomsForms>
    <ExpressMail>
      Country Code: CA Recipro
    </ExpressMail>
    <AreasServed>Please reference Express Mail for Areas Served.</AreasServed>
    <AdditionalRestrictions>No Additional Restrictions Data found.</AdditionalRestrictions>
    <Service ID=""4"">
      <Pounds>15</Pounds>
      <Ounces>0</Ounces>
      <Machinable>True</Machinable>
      <MailType>Package</MailType>
      <GXG>
        <POBoxFlag>Y</POBoxFlag>
        <GiftFlag>Y</GiftFlag>
      </GXG>
      <Container>RECTANGULAR</Container>
      <Size>LARGE</Size>
      <Width>10</Width>
      <Length>15</Length>
      <Height>10</Height>
      <Girth>0</Girth>
      <Country>CANADA</Country>
      <Postage>117.05</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>0</ServiceID>
          <ServiceName>Registered Mail</ServiceName>
          <Available>True</Available>
          <Price>1.50</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>1.00</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
        <ExtraService>
          <ServiceID>2</ServiceID>
          <ServiceName>Return Receipt</ServiceName>
          <Available>True</Available>
          <Price>1.70</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate Of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.18</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
        <ExtraService>
          <ServiceID>9</ServiceID>
          <ServiceName>Electronic Confirmation</ServiceName>
          <Available>True</Available>
          <Price>1.04</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>200.00</ValueOfContents>
      <SvcCommitments>1 - 3 business days</SvcCommitments>
      <SvcDescription>Global Express Guaranteed&reg; (GXG)**</SvcDescription>
      <MaxDimensions>Max. length 46"", width 35"", height 46"" and max. length plus girth combined 108""</MaxDimensions>
      <MaxWeight>70</MaxWeight>
      <GXGLocations>
        <PostOffice>
          <Name>WILKES BARRE PD&C</Name>
          <Address>300 S MAIN ST</Address>
          <City>WILKES BARRE</City>
          <State>PA</State>
          <ZipCode />
          <RetailGXGCutOffTime>5:00 PM</RetailGXGCutOffTime>
          <SaturDayCutOffTime>2:00 PM</SaturDayCutOffTime>
        </PostOffice>
      </GXGLocations>
    </Service>
    <Service ID=""12"">
      <Pounds>15</Pounds>
      <Ounces>0</Ounces>
      <Machinable>True</Machinable>
      <MailType>Package</MailType>
      <GXG>
        <POBoxFlag>Y</POBoxFlag>
        <GiftFlag>Y</GiftFlag>
      </GXG>
      <Container>RECTANGULAR</Container>
      <Size>LARGE</Size>
      <Width>10</Width>
      <Length>15</Length>
      <Height>10</Height>
      <Girth>0</Girth>
      <Country>CANADA</Country>
      <Postage>117.05</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>1.00</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>200.00</ValueOfContents>
      <SvcCommitments>1 - 3 business days</SvcCommitments>
      <SvcDescription>USPS GXG&trade; Envelopes**</SvcDescription>
      <MaxDimensions>
        USPS-Produced regular size cardboard envelope (12-1/2"" x 9-1/2""), the legal-sized cardboard envelope (15"" x
        9-1/2"") and the GXG Tyvek envelope (15-1/2"" x 12-1/2"")
      </MaxDimensions>
      <MaxWeight>70</MaxWeight>
      <GXGLocations>
        <PostOffice>
          <Name>WILKES BARRE PD&C</Name>
          <Address>300 S MAIN ST</Address>
          <City>WILKES BARRE</City>
          <State>PA</State>
          <ZipCode />
          <RetailGXGCutOffTime>5:00 PM</RetailGXGCutOffTime>
          <SaturDayCutOffTime>2:00 PM</SaturDayCutOffTime>
        </PostOffice>
      </GXGLocations>
    </Service>
    <Service ID=""1"">
      <Pounds>15</Pounds>
      <Ounces>0</Ounces>
      <Machinable>True</Machinable>
      <MailType>Package</MailType>
      <Container>RECTANGULAR</Container>
      <Size>LARGE</Size>
      <Width>10</Width>
      <Length>15</Length>
      <Height>10</Height>
      <Girth>0</Girth>
      <Country>CANADA</Country>
      <Postage>96.30</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>0.80</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>200.00</ValueOfContents>
      <SvcCommitments>3 - 5 business days</SvcCommitments>
      <SvcDescription>Express Mail&reg; International</SvcDescription>
      <MaxDimensions>Max. length 42"", max. length plus girth combined 79""</MaxDimensions>
      <MaxWeight>66</MaxWeight>
    </Service>
    <Service ID=""2"">
      <Pounds>15</Pounds>
      <Ounces>0</Ounces>
      <Machinable>True</Machinable>
      <MailType>Package</MailType>
      <Container>RECTANGULAR</Container>
      <Size>LARGE</Size>
      <Width>10</Width>
      <Length>15</Length>
      <Height>10</Height>
      <Girth>0</Girth>
      <Country>CANADA</Country>
      <Postage>62.15</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>2.30</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.15</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>200.00</ValueOfContents>
      <ParcelIndemnityCoverage>108.62</ParcelIndemnityCoverage>
      <SvcCommitments>6 - 10 business days</SvcCommitments>
      <SvcDescription>Priority Mail&reg; International</SvcDescription>
      <MaxDimensions>Max. length 79"", max. length plus girth 108""</MaxDimensions>
      <MaxWeight>66</MaxWeight>
    </Service>
    <Service ID=""12"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>104.50</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>1.00</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <SvcCommitments>1 - 3 business days</SvcCommitments>
      <SvcDescription>USPS GXG&trade; Envelopes**</SvcDescription>
      <MaxDimensions>
        USPS-Produced regular size cardboard envelope (12-1/2"" x 9-1/2""), the legal-sized cardboard envelope (15"" x
        9-1/2"") and the GXG Tyvek envelope (15-1/2"" x 12-1/2"")
      </MaxDimensions>
      <MaxWeight>70</MaxWeight>
    </Service>
    <Service ID=""1"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>46.00</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>2.35</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <SvcCommitments>3 - 5 business days</SvcCommitments>
      <SvcDescription>Express Mail&reg; International</SvcDescription>
      <MaxDimensions>Max. length 36"", max. length plus girth 79""</MaxDimensions>
      <MaxWeight>44</MaxWeight>
    </Service>
    <Service ID=""10"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>44.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>2.35</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <SvcCommitments>3 - 5 business days</SvcCommitments>
      <SvcDescription>Express Mail&reg; International Flat Rate Envelope</SvcDescription>
      <MaxDimensions>USPS-Produced Envelope: 12-1/2"" x 9-1/2""</MaxDimensions>
      <MaxWeight>44</MaxWeight>
    </Service>
    <Service ID=""17"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>44.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>2.35</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <SvcCommitments>3 - 5 business days</SvcCommitments>
      <SvcDescription>Express Mail&reg; International Legal Flat Rate Envelope</SvcDescription>
      <MaxDimensions>USPS-Produced Envelope: 15"" x 9-1/2""</MaxDimensions>
      <MaxWeight>44</MaxWeight>
    </Service>
    <Service ID=""27"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>44.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>1</ServiceID>
          <ServiceName>Insurance</ServiceName>
          <Available>True</Available>
          <Price>2.35</Price>
          <DeclaredValueRequired>True</DeclaredValueRequired>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <SvcCommitments>3 - 5 business days</SvcCommitments>
      <SvcDescription>Express Mail&reg; International Padded Flat Rate Envelope</SvcDescription>
      <MaxDimensions>USPS-Produced Envelope: 15"" x 9-1/2""</MaxDimensions>
      <MaxWeight>44</MaxWeight>
    </Service>
    <Service ID=""2"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>36.75</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <InsComment>SERVICE</InsComment>
      <ParcelIndemnityCoverage>64.66</ParcelIndemnityCoverage>
      <SvcCommitments>6 - 10 business days</SvcCommitments>
      <SvcDescription>Priority Mail&reg; International</SvcDescription>
      <MaxDimensions>Max. length 42"", max. length plus girth combined 79""</MaxDimensions>
      <MaxWeight>44</MaxWeight>
    </Service>
    <Service ID=""8"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>23.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <InsComment>SERVICE</InsComment>
      <SvcCommitments>6 - 10 business days</SvcCommitments>
      <SvcDescription>Priority Mail&reg; International Flat Rate Envelope**</SvcDescription>
      <MaxDimensions>
        USPS-Produced Envelope: 12-1/2"" x 9-1/2"".
Maximum weight 4 pounds.</MaxDimensions>
      <MaxWeight>4</MaxWeight>
    </Service>
    <Service ID=""22"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>23.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <InsComment>SERVICE</InsComment>
      <SvcCommitments>6 - 10 business days</SvcCommitments>
      <SvcDescription>Priority Mail&reg; International Legal Flat Rate Envelope**</SvcDescription>
      <MaxDimensions>
        USPS-Produced Envelope: 15-1/2"" x 9-1/2"".
Maximum weight 4 pounds.</MaxDimensions>
      <MaxWeight>4</MaxWeight>
    </Service>
    <Service ID=""23"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>23.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <InsComment>SERVICE</InsComment>
      <SvcCommitments>6 - 10 business days</SvcCommitments>
      <SvcDescription>Priority Mail&reg; International Padded Flat Rate Envelope**</SvcDescription>
      <MaxDimensions>
        USPS-Produced Envelope: 12-1/2"" x 9-1/2"".
Maximum weight 4 pounds.</MaxDimensions>
      <MaxWeight>4</MaxWeight>
    </Service>
    <Service ID=""18"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>23.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
       </ExtraServices>
        <ValueOfContents>750.00</ValueOfContents>
        <InsComment>SERVICE</InsComment>
        <SvcCommitments>6 - 10 business days</SvcCommitments>
        <SvcDescription>Priority Mail&reg; International Gift Card Flat Rate Envelope**</SvcDescription>
        <MaxDimensions>
          USPS-Produced Envelope: 10"" x 7"".
Maximum weight 4 pounds.</MaxDimensions>
        <MaxWeight>4</MaxWeight>
      </Service>
    <Service ID=""20"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>23.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <InsComment>SERVICE</InsComment>
      <SvcCommitments>6 - 10 business days</SvcCommitments>
      <SvcDescription>Priority Mail&reg; International Small Flat Rate Envelope**</SvcDescription>
      <MaxDimensions>
        USPS-Produced Envelope: 10"" x 6"".
Maximum weight 4 pounds.</MaxDimensions>
      <MaxWeight>4</MaxWeight>
    </Service>
    <Service ID=""19"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>23.95</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <InsComment>SERVICE</InsComment>
      <SvcCommitments>6 - 10 business days</SvcCommitments>
      <SvcDescription>Priority Mail&reg; International Window Flat Rate Envelope**</SvcDescription>
      <MaxDimensions>
        USPS-Produced Envelope: 10"" x 5"".
Maximum weight 4 pounds.</MaxDimensions>
      <MaxWeight>4</MaxWeight>
    </Service>
    <Service ID=""13"">
      <Pounds>0</Pounds>
      <Ounces>3</Ounces>
      <MailType>Envelope</MailType>
      <Container />
      <Size>REGULAR</Size>
      <Width>0</Width>
      <Length>0</Length>
      <Height>0</Height>
      <Girth>0</Girth>
      <Country>ALGERIA</Country>
      <Postage>2.70</Postage>
      <ExtraServices>
        <ExtraService>
          <ServiceID>6</ServiceID>
          <ServiceName>Certificate of Mailing</ServiceName>
          <Available>True</Available>
          <Price>1.20</Price>
        </ExtraService>
      </ExtraServices>
      <ValueOfContents>750.00</ValueOfContents>
      <InsComment>SERVICE</InsComment>
      <SvcCommitments>Varies by country</SvcCommitments>
      <SvcDescription>First-Class Mail&reg; International Letter**</SvcDescription>
      <MaxDimensions>Max. length 11-1/2"", height 6-1/8"" or thickness 1/4"".</MaxDimensions>
      <MaxWeight>0.21875</MaxWeight>
    </Service>
  </Package>
</IntlRateV2Response>");
                default:
                    return XElement.Parse(@"<?xml version=""1.0"" ?>
<Error>
    <Number>0</Number>
    <Source>Nwazet.Commerce</Source>
    <Description>Unrecognized API</Description>
    <HelpFile></HelpFile>
    <HelpContext></HelpContext>
</Error> ");
            }
        }
    }
}


text:
@interface PodsDummy_Pods_berlin_trnsprtTests_AFNetworking : NSObject
@end
@implementation PodsDummy_Pods_berlin_trnsprtTests_AFNetworking
@end


text:
package org.buzzrobotics.commands;

/**
 * Stops Loader
 * @author Kyle Deane
 */
public class Loader_Stop extends CommandBase {

    public Loader_Stop() {

    }

    // Called just before this Command runs the first time
    protected void initialize() {
    }

    // Called repeatedly when this Command is scheduled to run
    protected void execute() {
        shooter.stopload();
    }

    // Make this return true when this Command no longer needs to run execute()
    protected boolean isFinished() {
        return true;
    }

    // Called once after isFinished returns true
    protected void end() {
    }

    // Called when another command which requires one or more of the same
    // subsystems is scheduled to run
    protected void interrupted() {
    }
}


text:
<?php

namespace Drapi\Base;

use Drapi\Base\Log as Log;

/**
 * Main object handler
 *
 * Contains Log that wrap Monolog\Logger to manage log operations
 *
 * @author Hiraq <hrxwan@gmail.com>
 */
class Object
{
	private $log;

	/**
	 * Create Drapi\Base\Log object
	 */
	public function __construct()
	{
		$this->log = new Log;
	}

	/**
	 * Get log object
	 * @return Drapi\Base\Log
	 */
	public function log()
	{
		return $this->log;
	}
}


text:
var body = $('body');
var divTime = $('#divTime');

function onLoadFinished()
{
    setInterval(updateTime, 1000);
}
function addZeros(i)
{
    if(i < 10)
    {
        i = "0" + i;
    }
    return i;
}

function updateTime()
{
    var now = new Date();
    var hour = addZeros(now.getHours());
    var minute = addZeros(now.getMinutes());
    var second = addZeros(now.getSeconds());
    var time = hour + ':' + minute + ':' + second;
    var timeArr = String(String(hour) + String(minute) + String(second)).split('');
    var colorcode = parseInt(String(timeArr[5]) + String(timeArr[0])
                           + String(timeArr[4]) + String(timeArr[1])
                           + String(timeArr[3]) + String(timeArr[2]));
    console.log(colorcode);
    body.css('background-color', '#' + colorcode);
    divTime.css('color', '#' + (0xFFFFFF ^ colorcode).toString(16));
    divTime.text(time);
}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            // web reference(for web service)
            WebServiceWebReference.WebService ws =
                new WebServiceWebReference.WebService();
            string test = ws.HelloWorld();

            // service reference(for web service)
            WebServiceReference.WebServiceSoapClient client = new WebServiceReference.WebServiceSoapClient();
            client.Endpoint.Address = new System.ServiceModel.EndpointAddress(
                "http://localhost:56009/WebService.asmx");
            string test1 = client.HelloWorld();

            // web reference(for wcf service)
            WCFWebReference.WCFService wcf =
                new WCFWebReference.WCFService();
            wcf.DoWork();

            // service reference(for wcf service)
            WCFServiceReference.WCFServiceClient client2 = new WCFServiceReference.WCFServiceClient();
            client.Endpoint.Address = new System.ServiceModel.EndpointAddress(
                "http://localhost:56009/WCFService.svc");
            client2.DoWork();
        }
    }
}


text:
![#](https://img.shields.io/nuget/v/handyconfig.svg?style=flat)

#Introduction

HandyConfig is a lightweight library to load application configuration settings into a dictionary.  It simplifies reading values from a string, apply parsing, then do type conversion.

Would you rather write:

```csharp
var installApp = Convert.ToBoolean(ConfigurationManager.AppSettings["InstallApp"])
var timeOutSecs = Convert.ToInt32(ConfigurationManager.AppSettings["TimeoutSecs"]);
var expiryDate = Convert.ToDateTime(ConfigurationManager.AppSettings["ExpiryDate"]);
```

Or in your App.config

```xml
 <handyconfig>
    <add name="InstallApp" value="true" type="System.Boolean" />
    <add name="TimeoutSecs" value="30" type="System.Int32"/>
    <add name="ExpiryDate" value="Dec 31, 2015" type="System.DateTime" />
    ...
</handyconfig>
```

```csharp

var bundler = new ConfigBundler();
bundler.Bundle(HandyConfigSection.Settings);

// installApp == true
bool installApp = bundler.Get<bool>("InstallApp");

// timeoutSecs == 30
int timeoutSecs = bundler.Get<int>("TimeoutSecs");

// expiryDate is 2015/12/31
DateTime expiryDate = bundler.Get<DateTime>("ExpiryDate");

// get back all the configuration settings
IDictionary<string, object> configs = bundler.GetConfigs();

```

# Installation

Using Nuget Package Manager Console:

```
PM> Install-Package HandyConfig
```

Add the following section to your App.Config:

```xml
  <configSections>
    <section name="handyconfig" type="HandyConfig.Configuration.HandyConfigSection, HandyConfig"/>
  </configSections>
```

Then add your settings under the handyconfig section.  Here is an entire template App.config:

```xml
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="handyconfig" type="HandyConfig.Configuration.HandyConfigSection, HandyConfig"/>
  </configSections>

  <handyconfig>
    <add name="InstallApp" value="true" type="System.Boolean" />
    <add name="TimeoutSecs" value="30" type="System.Int32"/>
    <add name="ExpiryDate" value="Dec 31, 2015" type="System.DateTime" />
  </handyconfig>
</configuration>

```
# Making use of HandyConfig for custom configurations

You can make use of HandyConfig for your own customizations.   For example:

```xml
<machine name="test">
   <add name="description" value="This is a test machine" />
   <add name="ip" value="10.10.1.100" />
   <add name="archive-count" value="5" type="System.Int32" />
   <add name="clean-install" value="true" type="System.Boolean" />
   <add name="backup-date" value="May 1, 2015" type="System.DateTime" />
</machine>

```

```csharp
    public class MachineElement : HandyConfigElement
    {
        [ConfigurationProperty("name", IsRequired = true, IsKey = true)]
        public string Name
        {
            get { return this["name"] as string; }
            set { this["name"] = value; }
        }
    }
```

Have fun,

Glory Lo


text:
package strconv

import "internal/bytealg"

// index returns the index of the first instance of c in s, or -1 if missing.
func index(s string, c byte) int {
	return bytealg.IndexByteString(s, c)
}


text:
package modularmachines.client.gui.widgets;

/*public class WidgetModuleTab extends Widget<IModuleLogic> {

	protected static final ResourceLocation guiTexture = new ResourceLocation("modularmachines", "textures/gui/modular_widgets.png");
	public final Module module;
	public final boolean onRightSide;
	public final int moduleIndex;
	public IModuleGuiLogic guiLogic;
	public int currentIndex;

	public WidgetModuleTab(int xPosition, int yPosition, Module module, boolean onRightSide) {
		super(xPosition, yPosition, 28, 21);
		this.onRightSide = onRightSide;
		this.module = module;
		this.moduleIndex = module.getIndex();
	}

	@Override
	public void setManager(WidgetManager<IGuiProvider, IModuleLogic> manager) {
		super.setManager(manager);
		ContainerModuleLogic logic = (ContainerModuleLogic) gui.inventorySlots;
		this.guiLogic = logic.getGuiLogic();
		this.currentIndex = guiLogic.getCurrentModule().getIndex();
	}

	@Override
	public void draw(int guiLeft, int guiTop) {
		GlStateManager.color(1F, 1F, 1F, 1F);
		RenderUtil.texture(guiTexture);
		gui.drawTexturedModalRect(guiLeft + pos.x, guiTop + pos.y, (moduleIndex == currentIndex) ? 0 : 28, onRightSide ? 214 : 235, 28, 21);
		gui.drawItemStack(module.getParentItem(), guiLeft + pos.x + (onRightSide ? 5 : 7), guiTop + pos.y + 2);
	}

	@Override
	public void handleMouseClick(int mouseX, int mouseY, int mouseButton) {
		if (moduleIndex != currentIndex) {
			ModularMachines.proxy.playButtonClick();
			guiLogic.setCurrentPage(module.getComponent(0), true);
		}
	}

	@Override
	public List<String> getTooltip() {
		return Arrays.asList(module.getData().getDisplayName());
	}
}*/


text:
{% if user.is_authenticated %}

{% if user in suggestion.supported_by.all %}

    <form class="vote" method="POST" action="{% url suggestion_unsupport suggestion.pk %}">{% csrf_token %}
        <input type="submit" name="do_unsupport" value="Remove support" />
    </form>

{% else %}

    <form class="vote" method="POST" action="{% url suggestion_support suggestion.pk %}">{% csrf_token %}
        <input type="submit" name="do_support" value="Support +1" />
    </form>

{% endif %}

{% endif %}


text:
package utils

import (
	"os"
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestFilterStrings(t *testing.T) {
	executed := false
	_ = FilterStrings([]string{}, func([]string) map[string]string {
		executed = true
		return nil
	})
	if !assert.True(t, executed) {
		t.Errorf("The function FilterStrings was not called.")
	}
}

func TestSplitEnvVars(t *testing.T) {
	values := []struct {
		input    []string
		expected map[string]string
	}{
		{
			[]string{"var=111", "odoorc_var=123", "CAPS_VAR=wer", "ODOORC_INCAPS=caps"},
			map[string]string{"var": "111", "odoorc_var": "123", "CAPS_VAR": "wer", "ODOORC_INCAPS": "caps"},
		},
	}
	for _, v := range values {
		res := SplitEnvVars(v.input)
		if !assert.Equal(t, v.expected, res) {
			t.Errorf("Got: %+v, expected: %+v", res, v.expected)
		}
	}
}

func TestDefaultConverter(t *testing.T) {
	values := []struct {
		input    []string
		expected map[string]string
	}{
		{
			[]string{"var=111", "odoorc_var=123", "CAPS_VAR=wer", "ODOORC_INCAPS=caps"},
			map[string]string{"var": "111", "odoorc_var": "123", "CAPS_VAR": "wer", "ODOORC_INCAPS": "caps"},
		},
	}
	for _, v := range values {
		res := DefaultConverter(v.input)
		if !assert.Equal(t, v.expected, res) {
			t.Errorf("Got: %+v, expected: %+v", res, v.expected)
		}
	}
}

func TestOdoorcConverter(t *testing.T) {
	values := []struct {
		input    []string
		expected map[string]string
	}{
		{
			[]string{"var=111", "odoorc_var=123", "CAPS_VAR=wer", "ODOORC_INCAPS=caps"},
			map[string]string{"var": "123", "incaps": "caps"},
		},
	}
	for _, v := range values {
		res := OdoorcConverter(v.input)
		if !assert.Equal(t, v.expected, res) {
			t.Errorf("Got: %+v, expected: %+v", res, v.expected)
		}
	}
}

func TestGetOdooUser(t *testing.T) {
	res := GetOdooUser()
	assert.Equal(t, "odoo", res)
}

func TestGetConfigFile(t *testing.T) {
	res := GetConfigFile()
	assert.Equal(t, "/home/odoo/.openerp_serverrc", res)
	err := os.Setenv("ODOO_CONFIG_FILE", "/etc/odoo.conf")
	assert.NoError(t, err)
	res = GetConfigFile()
	assert.Equal(t, "/etc/odoo.conf", res)
	os.Unsetenv("ODOO_CONFIG_FILE")
}

func TestGetInstanceType(t *testing.T) {
	_, err := GetInstanceType()
	assert.Errorf(t, err, "cannot determine the instance type, env vars INSTANCE_TYPE and/or ODOO_STAGE 'must' be defined and match")

	err = os.Setenv("INSTANCE_TYPE", "test")
	assert.NoError(t, err)
	res, err := GetInstanceType()
	assert.NoError(t, err)
	assert.Equal(t, "test", res)

	err = os.Setenv("ODOO_STAGE", "dev")
	assert.NoError(t, err)
	_, err = GetInstanceType()
	assert.Errorf(t, err, "cannot determine the instance type, env vars INSTANCE_TYPE and ODOO_STAGE 'must' match")
}

//func TestUpdateSentry(t *testing.T) {
//	values := []struct{
//		input map[string]string
//		instanceType string
//		expected map[string]string
//	}{
//		{
//			map[string]string{"sentry_enabled": "true"},
//			"develop",
//			map[string]string{"sentry_enabled": "true", "sentry_odoo_dir": "/home/odoo/instance/odoo", "sentry_environment": "develop"},
//		},
//		{
//			map[string]string{"sentry_enabled": "false"},
//			"test",
//			map[string]string{"sentry_enabled": "false"},
//		},
//		{
//			map[string]string{"sentry_enabled": "True"},
//			"production",
//			map[string]string{"sentry_enabled": "True", "sentry_odoo_dir": "/home/odoo/instance/odoo", "sentry_environment": "production"},
//		},
//		{
//			map[string]string{"not_sentry": "True"},
//			"production",
//			map[string]string{"not_sentry": "True"},
//		},
//	}
//	for _, v := range values {
//		UpdateSentry(v.input, v.instanceType)
//		if !assert.Equal(t, v.expected, v.input) {
//			t.Errorf("Got: %+v, expected: %+v", v.input, v.expected)
//		}
//	}
//}


text:
@interface GestureStroke : NSObject <NSCopying, NSCoding>

@property NSMutableArray *points;

- (id)init;
- (id)initWithPoints:(NSMutableArray *)points;
- (void)addPoint:(GesturePoint *)point;
- (int)pointCount;
- (GesturePoint *)pointAtIndex:(int)i;
- (void)insertPoint:(GesturePoint *)point atIndex:(int)i;
- (void)encodeWithCoder:(NSCoder *)coder;
- (id)initWithCoder:(NSCoder *)coder;
- (id)copyWithZone:(NSZone *)zone;
- (NSString *)description;

@end


text:
require 'nokogiri'

module EncodingDotCom
  # A remote facade to the encoding.com queue.
  #
  # The queue is stateless and can be reused for multiple requests.
  class Queue
    # Where encoding.com expects messages to be posted to.
    ENDPOINT = "http://manage.encoding.com/"

    # Creates a new facacde given an encoding.com user id & key, and
    # an HTTP library implementation.
    #
    # +user_id+:: your encoding.com user id
    # +user_key+:: your encoding.com secret key
    # +http+:: should respond to post, and return an object responding to
    #          +#code+ and +#to_s+
    def initialize(user_id, user_key, http=HttpAdapters::CurbAdapter.new)
      @user_id, @user_key, @http = user_id, user_key, http
    end

    # Add a video/image to the encoding.com queue to be encoded in
    # various formats. Item will be processed after being added.
    #
    # +source+:: the source url
    # +formats+:: a hash of destination urls => format objects
    def add_and_process(source, formats={}, notify_url=nil)
      add_request("AddMedia", source, formats, notify_url)
    end

    # Add a video/image to the encoding.com queue to be encoded in
    # various formats.
    #
    # +source+:: the source url
    # +formats+:: a hash of destination urls => format objects
    def add(source, formats={})
      add_request("AddMediaBenchmark", source, formats)
    end

    # Returns the status string of a particular media item in the
    # encoding.com queue. The status will be for the job as a whole,
    # rather than individual ouput formats
    def status(media_id)
      response = make_request("GetStatus") {|q| q.mediaid media_id }
      response.xpath("/response/status").text
    end

    # Returns the full status of an entry in the encoding.com queue,
    # including details about the status of individual formats
    def full_status(media_id) #:nodoc:
      response = make_request("GetStatus") do |q|
        q.mediaid media_id
      end
    end

    # Returns a list of media in the encoding.com queue
    def list
      make_request("GetMediaList").xpath("/response/media").map {|node| MediaListItem.new(node) }
    end

    # Cancels a media item in the encoding.com queue
    def cancel(media_id)
      make_request("CancelMedia") {|q| q.mediaid media_id }
    end

    # Process an item already in the encoding.com queue
    def process(media_id)
      make_request("ProcessMedia") {|q| q.mediaid media_id }
    end

    # Replaces all the formats in an item on the encoding.com queue
    # with the formats provided. This also kicks off the encoding
    # process - there is no need to call process after this.
    #
    # +media_id+:: id of the item in the encoding.com queue
    # +formats+:: a hash of destination urls => Format objects
    def update(media_id, formats={}, notify_url=nil)
      make_request("UpdateMedia") do |q|
        q.mediaid media_id
        q.notify notify_url unless notify_url.nil?
        formats.each {|url, format| format.build_xml(q, url) }
      end
    end

    # Returns a MediaInfo object with some attributes of the video
    # identified by media_id.
    def info(media_id)
      response = make_request("GetMediaInfo") {|q| q.mediaid media_id }
      MediaInfo.new(response)
    end

    private

    def add_request(action, source, formats, notify_url=nil)
      response = make_request(action) do |q|
        q.source source
        q.notify notify_url unless notify_url.nil?
        formats.each {|url, format| format.build_xml(q, url) }
      end
      media_id = response.xpath("/response/MediaID").text
      media_id.to_i if media_id
    end

    def make_request(action_name, &block)
      query = build_query(action_name, &block)
      response = @http.post(ENDPOINT, :xml => query)
      raise AvailabilityError.new unless response.code == "200"
      xml = Nokogiri::XML(response.body)
      check_for_response_errors(xml)
      xml
    end

    def build_query(action)
      query = Nokogiri::XML::Builder.new do |q|
        q.query {
          q.userid @user_id
          q.userkey @user_key
          q.action action
          yield q if block_given?
        }
      end.to_xml
    end

    def check_for_response_errors(xml)
      errors = xml.xpath("/response/errors/error").map {|e| e.text }
      raise MessageError.new(errors.join(", ")) unless errors.empty?
    end
  end
end


text:
using NUnit.Framework;

namespace L4p.Common.Concerns.nunit
{
    [TestFixture]
    class When_try_catch_rethrow_With_method_call
    {
        [Test]
        public void It_should_invoke_underlaying_method()
        {
            Assert.Fail();
        }

        [Test]
        public void And_call_is_failed_It_should_rethrow_error()
        {
            Assert.Fail();
        }
    }

    [TestFixture]
    class When_try_catch_rethrow_With_function_call
    {
        [Test]
        public void It_should_invoke_underlaying_function()
        {
            Assert.Fail();
        }

        [Test]
        public void And_call_is_failed_It_should_rethrow_error()
        {
            Assert.Fail();
        }
    }

    [TestFixture]
    class When_try_catch_handle_With_method_call
    {
        [Test]
        public void It_should_invoke_underlaying_function()
        {
            Assert.Fail();
        }

        [Test]
        public void And_call_is_failed_It_should_handle_error()
        {
            Assert.Fail();
        }
    }

    [TestFixture]
    class When_exception_is_wrapped
    {
        [Test]
        public void It_should_be_of_specified_type()
        {
            Assert.Fail();
        }
    }
}


text:
<?php

namespace tests\codeception\common\fixtures;

use yii\test\ActiveFixture;

/**
 * User fixture
 */
class PostFixture extends ActiveFixture
{
    public $modelClass = 'common\models\Post';
}


text:
package org.apache.oodt.cas.crawl.action;

//JDK imports
import java.io.File;
import java.util.List;

//Apache imports
import org.apache.commons.lang.Validate;

//OODT imports
import org.apache.oodt.cas.crawl.action.CrawlerAction;
import org.apache.oodt.cas.crawl.structs.exceptions.CrawlerActionException;
import org.apache.oodt.cas.metadata.Metadata;

/**
 * Support of a GroupAction could go a ways to simplify command line
 * specification of actions to run. Instead of having to list actions to run one
 * would simply end up referencing the group. In addition, this may end up
 * opening up the possibility to customize the behavior of GroupActions such as
 * not continuing to run actions if one failed. Currently, the crawler continues
 * executing actions even if an action fails this could be a way to tailor that
 * behavior.
 *
 * @author pramirez (Paul Ramirez)
 */
public class GroupAction extends CrawlerAction {
   private List<CrawlerAction> actionsToCall;

   @Override
   public boolean performAction(File product, Metadata metadata)
         throws CrawlerActionException {
      boolean allSucceeded = true;
      for (CrawlerAction action : actionsToCall) {
         try {
            LOG.info("Performing action (id = " + action.getId()
                  + " : description = " + action.getDescription() + ")");
            if (!action.performAction(product, metadata))
               throw new Exception("Action (id = " + action.getId()
                     + " : description = " + action.getDescription()
                     + ") returned false");
         } catch (Exception e) {
            allSucceeded = false;
            LOG.warning("Failed to perform crawler action : " + e.getMessage());
         }

      }
      return allSucceeded;
   }

   @Override
   public void validate() throws CrawlerActionException {
      super.validate();
      try {
         Validate.notNull(actionsToCall, "Must specify actionsToCall");
      } catch (Exception e) {
         throw new CrawlerActionException(e);
      }
   }

   public void setActionsToCall(List<CrawlerAction> actionsToCall) {
      this.actionsToCall = actionsToCall;
   }
}


text:
if hash powershell 2>/dev/null; then
    echo 'Continuing with `powershell -noprofile -c Start-PSBuild`'
    powershell -noprofile -c "Import-Module ./build.psm1; Start-PSBuild"
else
    echo 'No `powershell`, see docs/building/linux.md or macos.md to build PowerShell!'
fi


text:
<?php

namespace League\Glide\Manipulators;

use Mockery;

class GammaTest extends \PHPUnit_Framework_TestCase
{
    private $manipulator;

    public function setUp()
    {
        $this->manipulator = new Gamma();
    }

    public function tearDown()
    {
        Mockery::close();
    }

    public function testCreateInstance()
    {
        $this->assertInstanceOf('League\Glide\Manipulators\Gamma', $this->manipulator);
    }

    public function testRun()
    {
        $image = Mockery::mock('Intervention\Image\Image', function ($mock) {
            $mock->shouldReceive('gamma')->with('1.5')->once();
        });

        $this->assertInstanceOf(
            'Intervention\Image\Image',
            $this->manipulator->setParams(['gam' => '1.5'])->run($image)
        );
    }

    public function testGetGamma()
    {
        $this->assertSame(1.5, $this->manipulator->setParams(['gam' => '1.5'])->getGamma());
        $this->assertSame(1.5, $this->manipulator->setParams(['gam' => 1.5])->getGamma());
        $this->assertSame(null, $this->manipulator->setParams(['gam' => null])->getGamma());
        $this->assertSame(null, $this->manipulator->setParams(['gam' => 'a'])->getGamma());
        $this->assertSame(null, $this->manipulator->setParams(['gam' => '.1'])->getGamma());
        $this->assertSame(null, $this->manipulator->setParams(['gam' => '9.999'])->getGamma());
        $this->assertSame(null, $this->manipulator->setParams(['gam' => '0.005'])->getGamma());
        $this->assertSame(null, $this->manipulator->setParams(['gam' => '-1'])->getGamma());
    }
}


text:
#ifndef MORPHOLOGY_DISAMBIGUATOR_RUS
#define MORPHOLOGY_DISAMBIGUATOR_RUS

#include "Disambiguator.h"

namespace Disambiguation
{

/**
 * @class	DisambiguatorRus
 * @brief	Enables to disambiguate input sentences and texts
 */
class DisambiguatorRus : public Disambiguator
{
public:
    DisambiguatorRus(
        const string& crfFile
        , shared_ptr<MorphologicalDictionary> dictionary
        , shared_ptr<IFeatureCalculator> featureCalculator
        , shared_ptr<IChainTransformer> chainTransformer
        , shared_ptr<IPossibleStateFinder> possibleStateFinder
        , bool isBinary
        , bool useCyrillic = true
        , bool useTransitivity = true);

    DisambiguatorRus(
        shared_ptr<CRF> model
        , shared_ptr<MorphologicalDictionary> dictionary
        , shared_ptr<IFeatureCalculator> featureCalculator
        , shared_ptr<IChainTransformer> chainTransformer
        , shared_ptr<IPossibleStateFinder> possibleStateFinder
        , bool useCyrillic = true
        , bool useTransitivity = true);

    virtual Tools::Language GetLanguage() const;

protected:
    virtual void applyPostprocessRules(
        wstring* label
        , const GrammInfo& gramInfo);

private:
    bool useCyrillic;
    bool useTransitivity;
};

}

#endif // MORPHOLOGY_DISAMBIGUATOR_RUS


text:
import withContext from 'oors-graphql/build/decorators/withContext';

export default repositories =>
  withContext((_, args, ctx) => ({
    ...ctx,
    ...repositories.reduce(
      (acc, repository) => ({
        ...acc,
        [`${repository}Repository`]: ctx.getRepository(repository),
      }),
      {},
    ),
  }));


text:
Rails.application.config.assets.precompile += [
  'uns_person/doings.js',
  'uns_person/resumes.js',
  'uns_person/resumes.css',
]