text:
<?php

namespace Bee\Notation\String\StringParser\ExpressionDiscoverer;

use Bee\Bat\QuoteTool;

/**
 * QuoteExpressionDiscoverer
 * @author Lingtalfi
 * 2015-05-12
 *
 * This quote discoverer uses a backslash recursive escaping mechanism.
 *
 */
class QuoteExpressionDiscoverer extends ExpressionDiscoverer
{

    protected $escapingMode;

    public function __construct()
    {
        parent::__construct();
        $this->escapingMode = 2;
    }

    //------------------------------------------------------------------------------/
    // IMPLEMENTS ExpressionDiscovererInterface
    //------------------------------------------------------------------------------/
    /**
     * Parse a string, looking for an expression.
     * If the expression is found, the method will define the value and the position
     * of the last char of the expression, and then return true.
     *
     * It returns false otherwise (and the value and position are not set).
     *
     *
     * @return bool
     */
    public function parse($string, $pos = 0)
    {
        if (false !== $info = QuoteTool::getCorrespondingEndQuoteInfo($string, $this->escapingMode, $pos)) {
            list($quoted, $lastPos) = $info;
            if (false !== $s = QuoteTool::unquote($quoted, $this->escapingMode)) {
                $this->value = $s;
                $this->pos = $lastPos;
                return true;
            }
        }
        return false;
    }

}


text:
<!DOCTYPE html>

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Well Preserved Advisory Group</title>
  <link href="_css/styles.css" rel="stylesheet">

Preserving your Health, Wealth, and Freedom to live life the way you choose!

4800 N. Mayfair Drive Oklahoma City OK 73112

Call 405.848.5790

          Email address protected by JavaScript.

    Please enable JavaScript to contact me.

Home

Health

Wealth

Freedom

Salutes

Meet the Staff

Events

Radio Show

Resources

Contact Us

						Listen to Glenn Beck’s endorsement
of Eunice Khoury

Wealth

Eunice’s motto on her radio program for the past 13 years has been “Preserving your Health, Wealth, and the Freedom to live life the way you choose”. In other words, to be “Well Preserved”. That is truly our mission we bring to our clients.

The Well Preserved Advisory Group has two trusted advisors to assist our clients, Eunice Khoury and Patrick Munnerlyn. We look at all of our clients assets to formulate the best plan. Our services that we specialize in include:

Long Term Care Planning

Retirement Planning

Medicare

Life Insurance

Financial Planning

Qualified & Non Qualified Annuities

Featured Article: “As easy as 1-2-3”

Three Simple Ways to Improve Your Retirement Planning

1. Revise your budget at the year’s beginning.

Ask yourself: How do I spend my money? How do I protect my health? Many of us believe we have a reasonable idea of where we put our money, but unless you account for your spending, you may miss out by not putting away enough for your happy retirement. And, putting into place the Medicare coverage that best suits your needs.

A household’s discretionary spending on nonessential goods and services like a second smart phone case or the premier movie channel could top 30 percent. And that is often twice what you intended— but you don’t see it until you budget.

Budgeting puts you in the driver’s seat. From there you can control where you spend. You’re buying on purpose, and sometimes you get a nice surprise. That alluring vacation is now within reach.

2. Be proactive about your financial interests.

Learning about which financial products may work best for your personal needs and how to protect your hard-earned money from unnecessary taxation is not what most laypeople excel at. That job is best handled by working with a professional. But, as with your health, you reap the benefits of being aware of your needs and of initiating the process of looking after yourself.

Remember, 40 percent of retirees underestimate their life expectancy, according to an Ernst & Young study. So if you don’t want to run out of money, create your financial plan to cover this extended retirement period. Then, your odds for a comfortable retirement are improved.

3. Consider alternatives to stocks, bonds and cash.

Many new investment types have appeared to solve planning and retirement issues. Yet most investors limit their choices by relying exclusively on stocks, bonds and cash.

From 2000 to 2013, the stock market, for all its ups and downs, wound up at roughly the same place, around 1527. At a 2 to 3 percent investment cost per year, many investors, for all their efforts, lost money!

The Well Preserved Advisory Group educates our clients by showing diverse Medicare and financial planning options to achieve your retirement goals. We customize a plan to suit your needs to preserve your health, wealth and freedom to live the way you choose.

Revised from LifeHealth Pro

It’s hard sometimes to be ready for ALL emergencies, health problems or financial issues but you can PREPARE YOURSELF for all of these to cover many of the situation that might arise. Please call us today to let us work with you to define and reach your goals... and prepare for the life you choose!

Saturdays at 7:06 a.m. on News Radio 1000 AM KTOK... listen with iHeart Radio on your phone or computer!

“Eunice cares...and she knows her stuff!”

Eunice Khoury is a Dave Ramsey endorsed local provider!

Patrick Munnerlyn and Eunice Khoury

Eunice has been an independent agent since 1989, specializing in:

Asset Protection • Medicare • Long-Term Care • Life Insurance • Qualified & Non-qualified Annuities

4800 Mayfair Drive, Oklahoma City, OK 73112 | (405) 848-5790  |  TOLL FREE: (800) 288-5433  |  Fax: (405) 810-2939

©2015 Well Preserved ADVISORY GROUP| Eunice Khoury. All Rights Reserved. Advisory Services offered through High Street Asset Management, LLC

174 Cornerstone Court, Suite A, Hot Springs AR 71913, (800) 756-0920, a registered investment advisory firm.

redpajama_set_name: RedPajamaGithub


text:
"""
Example to show streaming sending events with different options to an Event Hub asynchronously.
"""

import time
import asyncio
import os

from azure.eventhub.aio import EventHubProducerClient
from azure.eventhub import EventData

CONNECTION_STR = os.environ['EVENT_HUB_CONN_STR']
EVENTHUB_NAME = os.environ['EVENT_HUB_NAME']

async def run():

    producer = EventHubProducerClient.from_connection_string(
        conn_str=CONNECTION_STR,
        eventhub_name=EVENTHUB_NAME
    )

    to_send_message_cnt = 500
    bytes_per_message = 256

    async with producer:
        event_data_batch = await producer.create_batch()
        for i in range(to_send_message_cnt):
            event_data = EventData('D' * bytes_per_message)
            try:
                event_data_batch.add(event_data)
            except ValueError:
                await producer.send_batch(event_data_batch)
                event_data_batch = await producer.create_batch()
                event_data_batch.add(event_data)
        if len(event_data_batch) > 0:
            await producer.send_batch(event_data_batch)

start_time = time.time()
asyncio.run(run())
print("Send messages in {} seconds.".format(time.time() - start_time))


text:
1;

addpath ("./common");

clear all;
close all;
clc;

% This function returns a function that returns the minimum number of examples
% given N, epsilon and the maximum probability bound (delta)
function N = minimum_n (epsilon, delta, M)
  N = (-log (delta) + log (2*M)) / (2 * epsilon^2);
end

h = figure (1);

hold on;
grid on;

title ("Hoeffding Inequality In Terms Of M, {/Symbol e} and {/Symbol d}");
xlabel ("Hypothesis set complexity (M)");
ylabel ("Minimum number of examples (N)");

% Range of M
limits = [1 100];

% Plots the minimum number of examples varying the parameters epsilon and delta
fplot (@ (M) minimum_n (0.05, 0.03, M), limits, "r-");
fplot (@ (M) minimum_n (0.07, 0.05, M), limits, "b-");
fplot (@ (M) minimum_n (0.1, 0.1, M), limits, "g-");

legend ("{/Symbol e}=0.05, {/Symbol d}=0.03", ...
        "{/Symbol e}=0.07, {/Symbol d}=0.05", ...
        "{/Symbol e}=0.1, {/Symbol d}=0.1")

% Uncomment the following line in order to save the plot to a PNG file
% saveplot (h, 4, 3, "../img/plot_minimum_n.png");


text:
using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using hw.Helper;
using JetBrains.Annotations;
using Reni.Basics;
using Reni.Code;
using Reni.Context;
using Reni.Type;

namespace Reni
{
    /// <summary>
    ///     Contains list of references to compiler environments.
    /// </summary>
    sealed class Closures : DumpableObject
    {
        sealed class Closure : Singleton<Closure, DumpableObject>, IContextReference
        {
            int IContextReference.Order => -1;
            protected override string GetNodeDump() => "Closure";
        }

        public static int NextOrder;
        static int NextId;

        [SmartNode]
        [DisableDump]
        public List<IContextReference> Data { get; }

        SizeArray SizesCache;
        readonly ValueCache<IContextReference[]> SortedDataCache;

        Closures()
            : base(NextId++)
        {
            Data = new List<IContextReference>();
            SortedDataCache = new ValueCache<IContextReference[]>(ObtainSortedData);
            StopByObjectIds(-10);
        }

        Closures(IContextReference context)
            : this()
            => Add(context);

        Closures(IEnumerable<IContextReference> a, IEnumerable<IContextReference> b)
            : this()
        {
            AddRange(a);
            AddRange(b);
        }

        Closures(IEnumerable<IContextReference> a)
            : this()
            => AddRange(a);

        [DisableDump]
        SizeArray Sizes => SizesCache ??= CalculateSizes();

        internal bool HasArg => Contains(Closure.Instance);
        public int Count => Data.Count;

        [UsedImplicitly]
        IContextReference this[int i] => Data[i];
        public Size Size => Sizes.Size;
        public bool IsNone => Count == 0;
        IContextReference[] SortedData => SortedDataCache.Value;

        void AddRange(IEnumerable<IContextReference> a)
        {
            foreach(var e in a)
                Add(e);
        }

        void Add(IContextReference e)
        {
            if(!Data.Contains(e))
                Data.Add(e);
        }

        internal static Closures Void() => new Closures();
        internal static Closures Arg() => new Closures(Closure.Instance);

        public Closures Sequence(Closures closures)
            => closures.Count == 0? this :
                Count == 0? closures :
                new Closures(Data, closures.Data);

        internal static Closures Create(IContextReference contextReference)
            => new Closures(contextReference);

        protected override string GetNodeDump() => base.GetNodeDump() + "#" + Count;

        public override string DumpData()
        {
            var result = "";
            for(var i = 0; i < Count; i++)
            {
                if(i > 0)
                    result += "\n";
                result += Tracer.Dump(Data[i]);
            }

            return result;
        }

        SizeArray CalculateSizes()
        {
            var result = new SizeArray();
            for(var i = 0; i < Count; i++)
                result.Add(Data[i].Size());
            return result;
        }

        public Closures Without(IContextReference e)
        {
            if(!Data.Contains(e))
                return this;
            var r = new List<IContextReference>(Data);
            r.Remove(e);
            return new Closures(r);
        }

        IContextReference[] ObtainSortedData()
            => Data
                .OrderBy(codeArg => codeArg.Order)
                .ToArray();

        public Closures WithoutArg() => Without(Closure.Instance);

        Closures Without(Closures other)
            => other
                .Data
                .Aggregate(this, (current, refInCode) => current.Without(refInCode));

        public bool Contains(IContextReference context) => Data.Contains(context);

        public bool Contains(Closures other)
        {
            if(Count < other.Count)
                return false;

            for(int i = 0, j = 0; i < Count; i++)
            {
                var delta = SortedData[i].Order - other.SortedData[j].Order;

                if(delta > 0)
                    return false;

                if(delta == 0)
                {
                    j++;
                    if(j == other.Count)
                        return true;
                }
            }

            return false;
        }

        public bool IsEqual(Closures other)
        {
            if(Count != other.Count)
                return false;

            for(var i = 0; i < Count; i++)
                if(SortedData[i].Order != other.SortedData[i].Order)
                    return false;

            return true;
        }

        internal CodeBase ToCode()
            => Data
                .Aggregate(CodeBase.Void, (current, t) => current + CodeBase.ReferenceCode(t));

        internal CodeBase ReplaceRefsForFunctionBody(CodeBase code, CodeBase codeArgsReference)
        {
            var trace = ObjectId == -1;
            StartMethodDump(trace, code, codeArgsReference);
            try
            {
                var refSize = Root.DefaultRefAlignParam.RefSize;
                var reference = codeArgsReference.ReferencePlus(refSize * Data.Count);
                var result = code;
                foreach(var referenceInCode in Data)
                {
                    Dump("reference", reference);
                    BreakExecution();
                    reference = reference.ReferencePlus(refSize * -1);
                    result = result.ReplaceAbsolute
                        (referenceInCode, () => reference.DePointer(refSize));
                    Dump("result", result);
                }

                return ReturnMethodDump(result);
            }
            finally
            {
                EndMethodDump();
            }
        }

        public static Closures operator +(Closures x, Closures y) => x.Sequence(y);
        public static Closures operator -(Closures x, Closures y) => x.Without(y);
        public static Closures operator -(Closures x, IContextReference y) => x.Without(y);
    }
}


text:
package com.planet_ink.coffee_mud.Abilities.Common;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.Common.CraftingSkill.CraftParms;
import com.planet_ink.coffee_mud.Abilities.Common.CraftingSkill.CraftingActivity;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import com.planet_ink.coffee_mud.CharClasses.interfaces.*;
import com.planet_ink.coffee_mud.Commands.interfaces.*;
import com.planet_ink.coffee_mud.Common.interfaces.*;
import com.planet_ink.coffee_mud.Common.interfaces.Session.InputCallback;
import com.planet_ink.coffee_mud.Exits.interfaces.*;
import com.planet_ink.coffee_mud.Items.interfaces.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.AchievementLibrary;
import com.planet_ink.coffee_mud.Libraries.interfaces.ListingLibrary;
import com.planet_ink.coffee_mud.Locales.interfaces.*;
import com.planet_ink.coffee_mud.MOBS.interfaces.*;
import com.planet_ink.coffee_mud.Races.interfaces.*;

import java.util.*;

public class PaperMaking extends CraftingSkill implements ItemCraftor
{
	@Override public String ID() { return "PaperMaking"; }
	private final static String localizedName = CMLib.lang().L("Paper Making");
	@Override public String name() { return localizedName; }
	private static final String[] triggerStrings =I(new String[] {"PAPERMAKE","PAPERMAKING"});
	@Override public String[] triggerStrings(){return triggerStrings;}
	@Override public String supportedResourceString(){return "WOODEN|HEMP|SILK|CLOTH";}
	@Override
	public String parametersFormat(){ return
		"ITEM_NAME\tITEM_LEVEL\tBUILD_TIME_TICKS\tMATERIALS_REQUIRED\tITEM_BASE_VALUE\t"
		+"ITEM_CLASS_ID\tRESOURCE_OR_MATERIAL\tSTATUE||\tN_A\tCODED_SPELL_LIST";}

	//protected static final int RCP_FINALNAME=0;
	//protected static final int RCP_LEVEL=1;
	//protected static final int RCP_TICKS=2;
	protected static final int RCP_WOOD=3;
	protected static final int RCP_VALUE=4;
	protected static final int RCP_CLASSTYPE=5;
	protected static final int RCP_WOODTYPE=6;
	protected static final int RCP_MISCTYPE=7;
	//protected static final int RCP_MISCTEXT=8;
	protected static final int RCP_SPELL=9;

	@Override public boolean supportsDeconstruction() { return false; }

	@Override
	public boolean tick(Tickable ticking, int tickID)
	{
		if((affected!=null)&&(affected instanceof MOB)&&(tickID==Tickable.TICKID_MOB))
		{
			if(buildingI==null)
				unInvoke();
		}
		return super.tick(ticking,tickID);
	}

	@Override public String parametersFile(){ return "papermaking.txt";}
	@Override protected List<List<String>> loadRecipes(){return super.loadRecipes(parametersFile());}

	@Override
	public void unInvoke()
	{
		if(canBeUninvoked())
		{
			if(affected instanceof MOB)
			{
				final MOB mob=(MOB)affected;
				if((buildingI!=null)&&(!aborted))
				{
					if(messedUp)
						commonTell(mob,L("<S-NAME> mess(es) up making @x1.",buildingI.name(mob)));
					else
					{
						dropAWinner(mob,buildingI);
						CMLib.achievements().possiblyBumpAchievement(mob, AchievementLibrary.Event.CRAFTING, 1, this);
					}
				}
				buildingI=null;
			}
		}
		super.unInvoke();
	}

	@Override
	public String getDecodedComponentsDescription(final MOB mob, final List<String> recipe)
	{
		return super.getComponentDescription( mob, recipe, RCP_WOOD );
	}

	@Override
	public boolean invoke(MOB mob, List<String> commands, Physical givenTarget, boolean auto, int asLevel)
	{
		return autoGenInvoke(mob,commands,givenTarget,auto,asLevel,0,false,new Vector<Item>(0));
	}

	@Override
	protected boolean autoGenInvoke(final MOB mob, List<String> commands, Physical givenTarget, final boolean auto,
								 final int asLevel, int autoGenerate, boolean forceLevels, List<Item> crafted)
	{
		final List<String> originalCommands = new XVector<String>(commands);
		if(super.checkStop(mob, commands))
			return true;
		final Session session=mob.session();

		randomRecipeFix(mob,addRecipes(mob,loadRecipes()),commands,autoGenerate);
		if(commands.size()==0)
		{
			commonTell(mob,L("Papermake what? Enter \"papermake list\" for a list, or \"papermake stop\" to cancel."));
			return false;
		}
		if((!auto)
		&&(commands.size()>0)
		&&((commands.get(0)).equalsIgnoreCase("bundle")))
		{
			bundling=true;
			if(super.invoke(mob,commands,givenTarget,auto,asLevel))
				return super.bundle(mob,commands);
			return false;
		}
		final List<List<String>> recipes=addRecipes(mob,loadRecipes());
		final String str=commands.get(0);
		String startStr=null;
		int duration=4;
		if(str.equalsIgnoreCase("list"))
		{
			String mask=CMParms.combine(commands,1);
			boolean allFlag=false;
			if(mask.equalsIgnoreCase("all"))
			{
				allFlag=true;
				mask="";
			}
			final int[] cols={
					CMLib.lister().fixColWidth(22,mob.session()),
					CMLib.lister().fixColWidth(3,mob.session())
				};
			final StringBuffer buf=new StringBuffer(L("@x1 @x2 Material required\n\r",CMStrings.padRight(L("Item"),cols[0]),CMStrings.padRight(L("Lvl"),cols[1])));
			for(int r=0;r<recipes.size();r++)
			{
				final List<String> V=recipes.get(r);
				if(V.size()>0)
				{
					final String item=replacePercent(V.get(RCP_FINALNAME),"");
					final int level=CMath.s_int(V.get(RCP_LEVEL));
					String material=V.get(RCP_WOODTYPE);
					final String wood=getComponentDescription(mob,V,RCP_WOOD);
					if(wood.length()>5)
						material="";
					if(((level<=xlevel(mob))||allFlag)
					&&((mask.length()==0)||mask.equalsIgnoreCase("all")||CMLib.english().containsString(item,mask)))
						buf.append(CMStrings.padRight(item,cols[0])+" "+CMStrings.padRight(""+level,cols[1])+" "+wood+" "+material.toLowerCase()+"\n\r");
				}
			}
			commonTell(mob,buf.toString());
			return true;
		}
		activity = CraftingActivity.CRAFTING;
		buildingI=null;
		messedUp=false;
		String statue=null;
		if((commands.size()>1)&&(commands.get(commands.size()-1)).startsWith("STATUE="))
		{
			statue=((commands.get(commands.size()-1)).substring(7)).trim();
			if(statue.length()==0)
				statue=null;
			else
				commands.remove(commands.size()-1);
		}
		String materialDesc="";
		final String recipeName=CMParms.combine(commands,0);
		List<String> foundRecipe=null;
		final List<List<String>> matches=matchingRecipeNames(recipes,recipeName,true);
		for(int r=0;r<matches.size();r++)
		{
			final List<String> V=matches.get(r);
			if(V.size()>0)
			{
				final int level=CMath.s_int(V.get(RCP_LEVEL));
				if((autoGenerate>0)||(level<=xlevel(mob)))
				{
					foundRecipe=V;
					materialDesc=foundRecipe.get(RCP_WOODTYPE);
					if(materialDesc.equalsIgnoreCase("WOOD"))
						materialDesc="WOODEN";
					break;
				}
			}
		}

		if(materialDesc.length()==0)
			materialDesc="WOODEN";

		if(foundRecipe==null)
		{
			commonTell(mob,L("You don't know how to make a '@x1'.  Try \"make list\" for a list.",recipeName));
			return false;
		}

		final String woodRequiredStr = foundRecipe.get(RCP_WOOD);
		final int[] compData = new int[CF_TOTAL];
		final List<Object> componentsFoundList=getAbilityComponents(mob, woodRequiredStr, "make "+CMLib.english().startWithAorAn(recipeName),autoGenerate,compData);
		if(componentsFoundList==null)
			return false;
		int woodRequired=CMath.s_int(woodRequiredStr);
		woodRequired=adjustWoodRequired(woodRequired,mob);

		final int[][] data=fetchFoundResourceData(mob,
											woodRequired,materialDesc,null,
											0,null,null,
											false,
											autoGenerate,
											null);
		if(data==null)
			return false;
		woodRequired=data[0][FOUND_AMT];

		final String misctype=(foundRecipe.size()>RCP_MISCTYPE)?foundRecipe.get(RCP_MISCTYPE).trim():"";
		if((misctype.equalsIgnoreCase("statue"))
		&&(session!=null)
		&&((statue==null)||(statue.trim().length()==0)))
		{
			final Ability me=this;
			final Physical target=givenTarget;
			session.prompt(new InputCallback(InputCallback.Type.PROMPT,"",0)
			{
				@Override public void showPrompt() {session.promptPrint(L("What is this of?\n\r: "));}
				@Override public void timedOut() {}
				@Override public void callBack()
				{
					final String of=this.input;
					if((of.trim().length()==0)||(of.indexOf('<')>=0))
						return;
					final Vector<String> newCommands=new XVector<String>(originalCommands);
					newCommands.add("STATUE="+of);
					me.invoke(mob, newCommands, target, auto, asLevel);
				}
			});
			return false;
		}

		if(!super.invoke(mob,commands,givenTarget,auto,asLevel))
			return false;

		if(autoGenerate<=0)
		{
			CMLib.materials().destroyResourcesValue(mob.location(),woodRequired,data[0][FOUND_CODE],0,null);
			CMLib.ableComponents().destroyAbilityComponents(componentsFoundList);
		}
		buildingI=CMClass.getItem(foundRecipe.get(RCP_CLASSTYPE));
		if(buildingI==null)
		{
			commonTell(mob,L("There's no such thing as a @x1!!!",foundRecipe.get(RCP_CLASSTYPE)));
			return false;
		}
		duration=getDuration(CMath.s_int(foundRecipe.get(RCP_TICKS)),mob,CMath.s_int(foundRecipe.get(RCP_LEVEL)),4);
		String itemName=foundRecipe.get(RCP_FINALNAME).toLowerCase();
		itemName=CMLib.english().startWithAorAn(itemName);
		buildingI.setName(itemName);
		startStr=L("<S-NAME> start(s) making @x1.",buildingI.name());
		displayText=L("You are making @x1",buildingI.name());
		verb=L("making @x1",buildingI.name());
		playSound="crumple.wav";
		buildingI.setDisplayText(L("@x1 lies here",itemName));
		buildingI.setDescription(itemName+". ");
		int weight = getStandardWeight(woodRequired+compData[CF_AMOUNT],bundling) / 10;
		if(weight < 1)
			weight = 1;
		buildingI.basePhyStats().setWeight(weight);
		buildingI.setBaseValue(CMath.s_int(foundRecipe.get(RCP_VALUE))+(woodRequired*(RawMaterial.CODES.VALUE(data[0][FOUND_CODE]))));
		buildingI.setMaterial(super.getBuildingMaterial(woodRequired, data, compData));
		final String spell=(foundRecipe.size()>RCP_SPELL)?foundRecipe.get(RCP_SPELL).trim():"";
		addSpells(buildingI,spell);
		buildingI.setSecretIdentity(getBrand(mob));
		if(((data[0][FOUND_CODE]&RawMaterial.MATERIAL_MASK)==RawMaterial.MATERIAL_WOODEN)
		||(data[0][FOUND_CODE]==RawMaterial.RESOURCE_RICE))
			buildingI.setMaterial(RawMaterial.RESOURCE_PAPER);
		if(buildingI instanceof Recipe)
			((Recipe)buildingI).setTotalRecipePages(CMath.s_int(woodRequiredStr));
		buildingI.basePhyStats().setLevel(CMath.s_int(foundRecipe.get(RCP_LEVEL)));
		buildingI.recoverPhyStats();
		buildingI.text();
		buildingI.recoverPhyStats();

		if((misctype.equalsIgnoreCase("statue"))
		&&(statue!=null)
		&&(statue.trim().length()>0))
		{
			if(buildingI.Name().indexOf('%')>0)
			{
				buildingI.setName(CMStrings.replaceAll(buildingI.Name(), "%", statue.trim()));
				buildingI.setDisplayText(CMStrings.replaceAll(buildingI.displayText(), "%", statue.trim()));
				buildingI.setDescription(CMStrings.replaceAll(buildingI.description(), "%", statue.trim()));
			}
			else
			{
				buildingI.setName(L("@x1 of @x2",itemName,statue.trim()));
				buildingI.setDisplayText(L("@x1 of @x2 is here",itemName,statue.trim()));
				buildingI.setDescription(L("@x1 of @x2. ",itemName,statue.trim()));
			}
			verb=L("making @x1",buildingI.name());
		}

		messedUp=!proficiencyCheck(mob,0,auto);

		if(autoGenerate>0)
		{
			crafted.add(buildingI);
			return true;
		}

		final CMMsg msg=CMClass.getMsg(mob,buildingI,this,getActivityMessageType(),startStr);
		if(mob.location().okMessage(mob,msg))
		{
			mob.location().send(mob,msg);
			buildingI=(Item)msg.target();
			beneficialAffect(mob,mob,asLevel,duration);
		}
		return true;
	}
}


text:
// Package deleter implements the deleter which listens for pod DELETE events
// from the apiserver and kills tasks for deleted pods.
package deleter // import "k8s.io/kubernetes/contrib/mesos/pkg/scheduler/components/deleter"


text:
FROM centos:centos7
MAINTAINER hillsheepstudios <chris@hillsheepstudios.com>

# Use Yum to install NGINX
RUN yum -y update; yum clean all
RUN yum -y install http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm; yum -y makecache
RUN yum -y install nginx-1.8.0

# Cleanup some default NGINX configuration files we don't need
RUN rm /etc/nginx/conf.d/default.conf
RUN rm /etc/nginx/conf.d/example_ssl.conf

# add our configuration files
COPY conf/jenkins.conf /etc/nginx/conf.d/jenkins.conf
COPY conf/nginx.conf /etc/nginx/nginx.conf

# listen on Port 80
EXPOSE 80

# Sart NGINX
CMD ["nginx"]


text:
<!DOCTYPE html>

        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width,initial-scale=1.0" />

        <link href="/system/css/vue3/primevue.min.css" rel="stylesheet" />
        <link href="/system/css/vue3/primeflex.min.css" rel="stylesheet" />
        <link href="/system/css/vue3/primeicons.css" rel="stylesheet" />
        <link href="/system/css/vue3/loxberry_theme.css" rel="stylesheet" />
        <link href="/system/css/vue3/loxberry_custom.css" rel="stylesheet" />

Mein Plugin

https://wiki.loxberry.de

Hilfe

				Detailed help

Help html

									{{ lb_head_data.headtitle }}


text:
"""Gated Graph Neural Network."""

from typing import Any

from absl import logging  # pylint: disable=unused-import
from flax import linen as nn
import jax
from jax import lax
import jax.numpy as jnp

from core.modules.ipagnn import encoder
from core.modules.ipagnn import rnn
from core.modules.ipagnn import spans
from third_party.flax_examples import transformer_modules

Embed = nn.Embed
StackedRNNCell = rnn.StackedRNNCell

def create_lstm_cells(n):
  """Creates a list of n LSTM cells."""
  cells = []
  for i in range(n):
    cell = nn.LSTMCell(
        gate_fn=nn.sigmoid,
        activation_fn=nn.tanh,
        kernel_init=nn.initializers.xavier_uniform(),
        recurrent_kernel_init=nn.initializers.orthogonal(),
        bias_init=nn.initializers.zeros,
        name=f'lstm_{i}',
    )
    cells.append(cell)
  return cells

class GGNNLayer(nn.Module):
  """A single layer of GGNN message passing."""

  info: Any
  config: Any
  num_nodes: Any
  hidden_size: Any

  @nn.compact
  def __call__(
      self,
      node_embeddings,
      source_indices,
      dest_indices,
      edge_types,
      num_edges):
    """Apply GGNN layer."""
    config = self.config
    num_nodes = self.num_nodes
    hidden_size = self.hidden_size

    gru_cell = nn.recurrent.GRUCell(name='gru_cell')

    num_edge_types = 6
    max_num_edges = edge_types.shape[0]
    # num_edges.shape: scalar
    assert num_edges.shape == ()
    edge_dense = nn.Dense(  # Used for creating key/query/values.
        name='edge_dense',
        features=num_edge_types * hidden_size,
        kernel_init=nn.initializers.xavier_uniform(),
        bias_init=nn.initializers.normal(stddev=1e-6))

    # node_embeddings.shape: num_nodes, hidden_size
    source_embeddings = node_embeddings[source_indices]
    # source_embeddings.shape: max_num_edges, hidden_size

    new_source_embeddings_all_types = edge_dense(source_embeddings)
    # new_source_embeddings_all_types.shape:
    #   max_num_edges, (num_edge_types*hidden_size)
    new_source_embeddings_by_type = (
        new_source_embeddings_all_types.reshape(
            (-1, num_edge_types, hidden_size)))
    # new_source_embeddings_by_type.shape:
    #    max_num_edges, num_edge_types, hidden_size
    new_source_embeddings = (
        new_source_embeddings_by_type[jnp.arange(max_num_edges), edge_types, :])
    # new_source_embeddings.shape: max_num_edges, hidden_size

    # Set new_source_embeddings to zero for all edges beyond the last edge.
    new_source_embeddings = jnp.where(
        (jnp.arange(max_num_edges) < num_edges)[:, None],
        new_source_embeddings,
        0
    )

    proposed_node_embeddings = jax.ops.segment_sum(
        data=new_source_embeddings,
        segment_ids=dest_indices,
        num_segments=num_nodes,
    )
    # proposed_node_embeddings.shape: num_nodes, hidden_state

    _, outputs = gru_cell(proposed_node_embeddings, node_embeddings)
    return outputs

class GGNNModule(nn.Module):
  """GGNN model. Operates on batches of batch_size."""

  config: Any
  info: Any

  @nn.compact
  def __call__(
      self,
      node_embeddings,
      docstring_embeddings,
      docstring_mask,
      edge_sources,
      edge_dests,
      edge_types,
      num_edges,
      true_indexes,
      false_indexes,
      raise_indexes,
      start_node_indexes,
      exit_node_indexes,
      step_limits):
    config = self.config
    info = self.info

    # start_node_indexes.shape: batch_size, 1
    # exit_node_indexes.shape: batch_size, 1
    start_node_indexes = jnp.squeeze(start_node_indexes, axis=-1)
    exit_node_indexes = jnp.squeeze(exit_node_indexes, axis=-1)
    # start_node_indexes.shape: batch_size
    # exit_node_indexes.shape: batch_size
    # num_edges.shape: batch_size
    batch_size = node_embeddings.shape[0]
    num_edges = jnp.squeeze(num_edges, axis=-1)
    assert num_edges.shape == (batch_size,)

    start_indexes = start_node_indexes
    exit_indexes = exit_node_indexes
    steps_all = jnp.squeeze(step_limits, axis=-1)
    # steps_all.shape: batch_size
    # edge_types = edge_types
    source_indices = edge_sources
    dest_indices = edge_dests
    vocab_size = info.vocab_size
    output_token_vocabulary_size = info.num_classes
    hidden_size = config.hidden_size
    num_nodes = node_embeddings.shape[1]

    max_steps = config.max_steps

    output_dense = nn.Dense(
        name='output_dense',
        features=output_token_vocabulary_size,
        kernel_init=nn.initializers.xavier_uniform(),
        bias_init=nn.initializers.normal(stddev=1e-6))

    # node_embeddings.shape:
    #     batch_size, num_nodes, statement_length, hidden_size

    gnn_layer_single_example = GGNNLayer(
        info=info,
        config=config,
        num_nodes=num_nodes,
        hidden_size=hidden_size,
    )
    gnn_layer = jax.vmap(gnn_layer_single_example)

    # node_embeddings.shape: batch_size, num_nodes, hidden_size
    if config.ggnn_use_fixed_num_layers:
      for step in range(config.ggnn_layers):
        node_embeddings = gnn_layer(
            node_embeddings,
            source_indices,
            dest_indices,
            edge_types,
            num_edges)
    else:
      # Run one layer per allowed step of execution.
      for step in range(max_steps):
        new_node_embeddings = gnn_layer(
            node_embeddings,
            source_indices,
            dest_indices,
            edge_types,
            num_edges)
        # steps_all.shape: batch_size
        valid = jnp.expand_dims(step < steps_all, axis=(1, 2))
        # valid.shape: batch_size, 1, 1
        node_embeddings = jnp.where(
            valid,
            new_node_embeddings,
            node_embeddings)

    def get_final_state(node_embeddings, exit_index):
      if config.ggnn_use_exit_node_embedding:
        return node_embeddings[exit_index]
      else:
        # Mean Pool over num_nodes (only up to the actual num nodes, given by exit_index + 1)
        is_node = jnp.arange(num_nodes) < exit_index
        print(is_node.shape)
        print(node_embeddings.shape)
        node_embeddings = jnp.where(is_node[:, None], node_embeddings, 0)
        # set to 0 anything beyond exit_index
        # sum and divide.
        global_embedding = jnp.sum(node_embeddings, axis=0) / (exit_index + 1)
        assert global_embedding.shape == (hidden_size,)
        return global_embedding
    # node_embeddings.shape: batch_size, num_nodes, hidden_size
    final_states = jax.vmap(get_final_state)(node_embeddings, exit_indexes)
    # final_states.shape: batch_size, hidden_size

    logits = output_dense(final_states)
    # logits.shape: batch_size, output_token_vocabulary_size
    return logits

class GGNN(nn.Module):

  config: Any
  info: Any
  transformer_config: transformer_modules.TransformerConfig
  docstring_transformer_config: transformer_modules.TransformerConfig

  def setup(self):
    config = self.config
    vocab_size = self.info.vocab_size
    max_tokens = config.max_tokens
    max_num_nodes = config.max_num_nodes
    max_num_edges = config.max_num_edges
    max_steps = config.max_steps
    self.node_span_encoder = spans.NodeSpanEncoder(
        info=self.info,
        config=config,
        transformer_config=self.transformer_config,
        max_tokens=max_tokens,
        max_num_nodes=max_num_nodes,
        use_span_index_encoder=False,
        use_span_start_indicators=False,
    )
    if config.use_film or config.use_cross_attention:
      self.docstring_token_encoder = encoder.TokenEncoder(
          transformer_config=self.docstring_transformer_config,
          num_embeddings=vocab_size,
          features=config.hidden_size,
      )
      self.docstring_encoder = encoder.TransformerEncoder(
          config=self.docstring_transformer_config)

    self.ggnn = GGNNModule(
        info=self.info,
        config=config,
    )

  @nn.compact
  def __call__(self, x):
    config = self.config
    info = self.info
    tokens = x['tokens']
    docstring_tokens = x['docstring_tokens']
    # tokens.shape: batch_size, max_tokens
    batch_size = tokens.shape[0]
    encoded_inputs = self.node_span_encoder(
        tokens, x['node_token_span_starts'], x['node_token_span_ends'],
        x['num_nodes'])
    # encoded_inputs.shape: batch_size, max_num_nodes, hidden_size
    if config.use_film or config.use_cross_attention:
      docstring_token_embeddings = self.docstring_token_encoder(
          docstring_tokens)
      docstring_mask = docstring_tokens > 0
      docstring_encoder_mask = nn.make_attention_mask(
          docstring_mask, docstring_mask, dtype=jnp.float32)
      # docstring_token_embeddings.shape: batch_size, max_tokens, hidden_size
      docstring_embeddings = self.docstring_encoder(
          docstring_token_embeddings,
          encoder_mask=docstring_encoder_mask)
    else:
      docstring_embeddings = None
      docstring_mask = None
    logits = self.ggnn(
        node_embeddings=encoded_inputs,
        docstring_embeddings=docstring_embeddings,
        docstring_mask=docstring_mask,
        edge_sources=x['edge_sources'],
        edge_dests=x['edge_dests'],
        edge_types=x['edge_types'],
        num_edges=x['edge_sources_shape'],
        true_indexes=x['true_branch_nodes'],
        false_indexes=x['false_branch_nodes'],
        raise_indexes=x['raise_nodes'],
        start_node_indexes=x['start_index'],
        exit_node_indexes=x['exit_index'],
        step_limits=x['step_limit'],
    )
    return logits, {}


text:
<?php

/**
 * Skeleton subclass for performing query and update operations on the 'session' table.
 *
 *
 *
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package    propel.generator.lib.model
 */

class SessionQuery extends \sfAltumoPlugin\Model\SessionQuery {

} // SessionQuery


text:
package org.rabix.engine.store.repository;

import org.rabix.engine.store.model.EventRecord;

import java.util.List;
import java.util.Set;
import java.util.UUID;

public interface EventRepository {

  void insert(EventRecord event);

  void deleteGroup(UUID groupId);

  void deleteByGroupIds(UUID rootId, Set<UUID> groupIds);

  void deleteByRootId(UUID rootId);

  void updateStatus(UUID groupId, EventRecord.Status status);

  List<EventRecord> getPendingEvents();

}


text:
SYNONYM

#### According to
Index Fungorum

#### Published in
null

#### Original name
Stenella celastrae A.N. Rai & Kamal

### Remarks
null


text:
<?php

namespace Muffin\Webservice\Test\test_app\Model\Endpoint\Schema;

use Muffin\Webservice\Model\Schema;

class TestSchema extends Schema
{

    public function initialize()
    {
        $this->addColumn('id', [
            'type' => 'int'
        ]);
        $this->addColumn('title', [
            'type' => 'string'
        ]);
        $this->addColumn('body', [
            'type' => 'string'
        ]);
    }
}


text:
class Loader {
    static load(url, success, error) {
        var xhr = new XMLHttpRequest();
        xhr.overrideMimeType("application/json");
        xhr.open('GET', url, true); // Replace 'my_data' with the path to your file
        xhr.onreadystatechange = function () {
            if (xhr.readyState == 4) {
                if (xhr.status == "200") {
                    success && success(xhr);
                } else {
                    error && error(xhr);
                }
            }
        };
        xhr.send(null);
    }
}


text:
namespace Fixtures.MirrorPolymorphic.Models
{
    using Fixtures.MirrorPolymorphic;
    using Newtonsoft.Json;
    using System.Linq;

    public partial class Error2
    {
        /// <summary>
        /// Initializes a new instance of the Error2 class.
        /// </summary>
        public Error2()
        {
          CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the Error2 class.
        /// </summary>
        public Error2(int? code = default(int?), string message = default(string), string fields = default(string))
        {
            Code = code;
            Message = message;
            Fields = fields;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "code")]
        public int? Code { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "message")]
        public string Message { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "fields")]
        public string Fields { get; set; }

    }
}


text:
package model;

public class MortgageBean
{
	private String bank;
	private double rate;

	public MortgageBean(String bank, double rate) {
		this.setBank(bank);
		this.setRate(rate);
	}

	public void setBank(String bankName) {
		bank = bankName;
	}

	public void setRate(double bankRate) {
		rate = bankRate;
	}

	public String getBank() {
		return bank;
	}

	public double getRate() {
		return rate;
	}
}


text:
require.config({
  paths: {
    "jquery": "https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min",
    //"underscore": "scripts/underscore",
    "underscore": "underscore",
  }
});

//require(['scripts/tempa'], function(template) {
require(['tempa'], function(template) {
  template.showName("Jack");
});


text:
 1. ~~DateWithCalendar should not have member 'date' -> 'inner_date'~~
 2. ~~Don't use a variable name 'date' either -> 'dt_date'~~
 3. ~~Implement all the comparison operators correctly for DateWithCalendar.~~
 4. ~~Make DateWithCalendar inherit from datetime.date so that operators don't have to be reimplemented.~~ Not going to do this - datetime.date is an old-style object.

## TODO before version 0.1

 1. ~~Catholic historical calendar.~~
 2. ~~Display strings for dates.~~
 3. ~~Years before 1.~~
 4. Astronomical calendar (depends on 3.).
 5. Make a calendar for ISO.
 6. ~~README.md~~
 7. ~~Julian Date numbers (calendar?)~~
 8. ~~Methods for direct conversion between Julian and Gregorian.~~

## Fixes before version 0,1
 1. ~~'1th March 1500'~~

## Changes before version 0.1
 1. ~~Create a property which returns a datetime.date if possible, rather than using x._date._~~
 2. ~~Check all imports to make sure that we are importing the local code correctly.~~
 3. ~~Change all imports of date/datetime so that we import them as 'vanilla_date' etc.~~

## Tests before version 0.1
 1. ~~Every calendar should be able to generate a representation for all reasonable dates.~~
 2. ~~Every calendar should be able to generate a display string for all reasonable dates.~~
 3. Tests on constants.py.

## Cleanups before version 0.1
 1. Move all constants into constants.py.
 2. Remove JulianCalendar.julian_day_number() and replace functionality with JulianDayNumber calendar.
 3. Move _is_julian_leap_year etc from several places into global helpers.
 4. All calculations in internal. calendars, dates and fn call these helper functions.
 5. Code in dates should not call any code in fn or calendars.

## TODO after completing features for 0.1

 1. Register with pypi and upload.
 2. Complete documentation.

## TODO harder
 1. Deal with displaying calendar-specific strings in different locales.
 2. Deal with displaying calendar-specific strings with some notion of formatting.
 3. Make it work with Python 3.x.
 4. Use a single polymorphic date object which every calendar can be based on. Calendar objects are maybe not so important anymore.


text:
USE [StayHomewithoutPer]
GO
-- Wieviele Filialen gibt es in der Stadt "Liverpool" (Nur die Anzahl anzeigen)? Achten Sie bei der Ausgabe
-- auf eine aussagekräftige Spaltenüberschrif

SELECT count([Branch ID]) as anzahl
  FROM [dbo].[Fil]
  where city = 'Liverpool'
GO

--SELECT count(BranchID) as anzahl
--  FROM Branch
--  where city = 'Liverpool'


text:
.class Lcom/ub/main/ShopOnline$ShopAdapter;
.super Landroid/widget/BaseAdapter;
.source "ShopOnline.java"

# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/ub/main/ShopOnline;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "ShopAdapter"
.end annotation

# instance fields
.field private datas:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field final synthetic this$0:Lcom/ub/main/ShopOnline;

# direct methods
.method public constructor <init>(Lcom/ub/main/ShopOnline;Ljava/util/ArrayList;)V
    .locals 0
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    .line 116
    .local p2, shopListData:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    iput-object p1, p0, Lcom/ub/main/ShopOnline$ShopAdapter;->this$0:Lcom/ub/main/ShopOnline;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 117
    iput-object p2, p0, Lcom/ub/main/ShopOnline$ShopAdapter;->datas:Ljava/util/ArrayList;

    .line 118
    return-void
.end method

# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 122
    iget-object v0, p0, Lcom/ub/main/ShopOnline$ShopAdapter;->datas:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .parameter "position"

    .prologue
    .line 127
    iget-object v0, p0, Lcom/ub/main/ShopOnline$ShopAdapter;->datas:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .parameter "position"

    .prologue
    .line 132
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 6
    .parameter "position"
    .parameter "convertView"
    .parameter "parent"

    .prologue
    .line 137
    const/4 v2, 0x0

    .line 138
    .local v2, view:Landroid/view/View;
    if-nez p2, :cond_0

    .line 139
    iget-object v3, p0, Lcom/ub/main/ShopOnline$ShopAdapter;->this$0:Lcom/ub/main/ShopOnline;

    invoke-virtual {v3}, Lcom/ub/main/ShopOnline;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v3

    const v4, 0x7f030045

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 144
    :goto_0
    iget-object v3, p0, Lcom/ub/main/ShopOnline$ShopAdapter;->datas:Ljava/util/ArrayList;

    invoke-virtual {v3, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/HashMap;

    .line 146
    .local v1, item:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const v3, 0x7f08016a

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 147
    .local v0, img:Landroid/widget/ImageView;
    const-string v3, "icon"

    invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 149
    const v3, 0x7f08016b

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const-string v4, "chName"

    invoke-virtual {v1, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 150
    const v3, 0x7f08016c

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const-string v4, "enName"

    invoke-virtual {v1, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 152
    return-object v2

    .line 141
    .end local v0           #img:Landroid/widget/ImageView;
    .end local v1           #item:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_0
    move-object v2, p2

    goto :goto_0
.end method


text:
local pairs = _G.pairs

local libpath = select(1, ...):match(".+%.") or ""

local NIL = require(libpath .. "nil")

local function inplace_update(tbl, upd, nilval)
	nilval = nilval or NIL
	for k, v in pairs(upd) do
		if v == nilval then
			tbl[k] = nil
		else
			tbl[k] = v
		end
	end
	return tbl
end

return inplace_update


text:
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.firebaseappcheck.v1beta.model;

/**
 * Request message for the ExchangeRecaptchaToken method.
 *
 *
 This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Firebase App Check API. For a detailed explanation
 * see:
 * https://developers.google.com/api-client-library/java/google-http-java-client/json
 *

 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest extends com.google.api.client.json.GenericJson {

  /**
   * Required. The reCAPTCHA token as returned by the [reCAPTCHA v3 JavaScript
   * API](https://developers.google.com/recaptcha/docs/v3).
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String recaptchaToken;

  /**
   * Required. The reCAPTCHA token as returned by the [reCAPTCHA v3 JavaScript
   * API](https://developers.google.com/recaptcha/docs/v3).
   * @return value or {@code null} for none
   */
  public java.lang.String getRecaptchaToken() {
    return recaptchaToken;
  }

  /**
   * Required. The reCAPTCHA token as returned by the [reCAPTCHA v3 JavaScript
   * API](https://developers.google.com/recaptcha/docs/v3).
   * @param recaptchaToken recaptchaToken or {@code null} for none
   */
  public GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest setRecaptchaToken(java.lang.String recaptchaToken) {
    this.recaptchaToken = recaptchaToken;
    return this;
  }

  @Override
  public GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest set(String fieldName, Object value) {
    return (GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest) super.set(fieldName, value);
  }

  @Override
  public GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest clone() {
    return (GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest) super.clone();
  }

}


text:
<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\searches\CategorySearchModel */
/* @var $form yii\widgets\ActiveForm */
?>

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'id') ?>

    <?= $form->field($model, 'name') ?>

    <?= $form->field($model, 'description') ?>

    <?= $form->field($model, 'pid') ?>

    <?= $form->field($model, 'created_at') ?>

    <?php // echo $form->field($model, 'updated_at') ?>

        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>

    <?php ActiveForm::end(); ?>


text:
<?php

namespace Ekyna\Component\Commerce\Common\Generator;

use Ekyna\Component\Commerce\Exception\RuntimeException;

/**
 * Class DefaultKeyGenerator
 * @package Ekyna\Component\Commerce\Order\Generator
 * @author  Etienne Dauvergne <contact@ekyna.com>
 */
class DefaultKeyGenerator extends AbstractGenerator implements GeneratorInterface
{
    /**
     * @inheritDoc
     */
    public function generate($subject): string
    {
        // TODO read last key from a file

        throw new RuntimeException("Not yet implemented");
    }
}


text:
define({

    _widgetLabel: "Basiskaartgalerij"

});


text:
package com.google.android.exoplayer.extractor.flv;

import com.google.android.exoplayer.C;
import com.google.android.exoplayer.ParserException;
import com.google.android.exoplayer.extractor.TrackOutput;
import com.google.android.exoplayer.util.ParsableByteArray;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * Parses Script Data tags from an FLV stream and extracts metadata information.
 */
/* package */ final class ScriptTagPayloadReader extends TagPayloadReader {

  private static final String NAME_METADATA = "onMetaData";
  private static final String KEY_DURATION = "duration";

  // AMF object types
  private static final int AMF_TYPE_NUMBER = 0;
  private static final int AMF_TYPE_BOOLEAN = 1;
  private static final int AMF_TYPE_STRING = 2;
  private static final int AMF_TYPE_OBJECT = 3;
  private static final int AMF_TYPE_ECMA_ARRAY = 8;
  private static final int AMF_TYPE_END_MARKER = 9;
  private static final int AMF_TYPE_STRICT_ARRAY = 10;
  private static final int AMF_TYPE_DATE = 11;

  /**
   * @param output A {@link TrackOutput} to which samples should be written.
   */
  public ScriptTagPayloadReader(TrackOutput output) {
    super(output);
  }

  @Override
  public void seek() {
    // Do nothing.
  }

  @Override
  protected boolean parseHeader(ParsableByteArray data) {
    return true;
  }

  @Override
  protected void parsePayload(ParsableByteArray data, long timeUs) throws ParserException {
    int nameType = readAmfType(data);
    if (nameType != AMF_TYPE_STRING) {
      // Should never happen.
      throw new ParserException();
    }
    String name = readAmfString(data);
    if (!NAME_METADATA.equals(name)) {
      // We're only interested in metadata.
      return;
    }
    int type = readAmfType(data);
    if (type != AMF_TYPE_ECMA_ARRAY) {
      // Should never happen.
      throw new ParserException();
    }
    // Set the duration to the value contained in the metadata, if present.
    Map<String, Object> metadata = readAmfEcmaArray(data);
    if (metadata.containsKey(KEY_DURATION)) {
      double durationSeconds = (double) metadata.get(KEY_DURATION);
      setDurationUs((long) (durationSeconds * C.MICROS_PER_SECOND));
    }
  }

  private static int readAmfType(ParsableByteArray data) {
    return data.readUnsignedByte();
  }

  /**
   * Read a boolean from an AMF encoded buffer.
   *
   * @param data The buffer from which to read.
   * @return The value read from the buffer.
   */
  private static Boolean readAmfBoolean(ParsableByteArray data) {
    return data.readUnsignedByte() == 1;
  }

  /**
   * Read a double number from an AMF encoded buffer.
   *
   * @param data The buffer from which to read.
   * @return The value read from the buffer.
   */
  private static Double readAmfDouble(ParsableByteArray data) {
    return Double.longBitsToDouble(data.readLong());
  }

  /**
   * Read a string from an AMF encoded buffer.
   *
   * @param data The buffer from which to read.
   * @return The value read from the buffer.
   */
  private static String readAmfString(ParsableByteArray data) {
    int size = data.readUnsignedShort();
    int position = data.getPosition();
    data.skipBytes(size);
    return new String(data.data, position, size);
  }

  /**
   * Read an array from an AMF encoded buffer.
   *
   * @param data The buffer from which to read.
   * @return The value read from the buffer.
   */
  private static ArrayList<Object> readAmfStrictArray(ParsableByteArray data) {
    int count = data.readUnsignedIntToInt();
    ArrayList<Object> list = new ArrayList<>(count);
    for (int i = 0; i < count; i++) {
      int type = readAmfType(data);
      list.add(readAmfData(data, type));
    }
    return list;
  }

  /**
   * Read an object from an AMF encoded buffer.
   *
   * @param data The buffer from which to read.
   * @return The value read from the buffer.
   */
  private static HashMap<String, Object> readAmfObject(ParsableByteArray data) {
    HashMap<String, Object> array = new HashMap<>();
    while (true) {
      String key = readAmfString(data);
      int type = readAmfType(data);
      if (type == AMF_TYPE_END_MARKER) {
        break;
      }
      array.put(key, readAmfData(data, type));
    }
    return array;
  }

  /**
   * Read an ECMA array from an AMF encoded buffer.
   *
   * @param data The buffer from which to read.
   * @return The value read from the buffer.
   */
  private static HashMap<String, Object> readAmfEcmaArray(ParsableByteArray data) {
    int count = data.readUnsignedIntToInt();
    HashMap<String, Object> array = new HashMap<>(count);
    for (int i = 0; i < count; i++) {
      String key = readAmfString(data);
      int type = readAmfType(data);
      array.put(key, readAmfData(data, type));
    }
    return array;
  }

  /**
   * Read a date from an AMF encoded buffer.
   *
   * @param data The buffer from which to read.
   * @return The value read from the buffer.
   */
  private static Date readAmfDate(ParsableByteArray data) {
    Date date = new Date((long) readAmfDouble(data).doubleValue());
    data.skipBytes(2); // Skip reserved bytes.
    return date;
  }

  private static Object readAmfData(ParsableByteArray data, int type) {
    switch (type) {
      case AMF_TYPE_NUMBER:
        return readAmfDouble(data);
      case AMF_TYPE_BOOLEAN:
        return readAmfBoolean(data);
      case AMF_TYPE_STRING:
        return readAmfString(data);
      case AMF_TYPE_OBJECT:
        return readAmfObject(data);
      case AMF_TYPE_ECMA_ARRAY:
        return readAmfEcmaArray(data);
      case AMF_TYPE_STRICT_ARRAY:
        return readAmfStrictArray(data);
      case AMF_TYPE_DATE:
        return readAmfDate(data);
      default:
        return null;
    }
  }

}


text:
namespace clangmm {
  class CompilationDatabase {
  public:
    explicit CompilationDatabase(const std::string &project_path);
    ~CompilationDatabase();

    CXCompilationDatabase cx_db;
  };
}

#endif  // COMPILATIONDATABASE_H_


text:
import { OPEN_SIDEBAR, CLOSE_SIDEBAR } from '../../constants';

const defaultData = {
  openedSidebar: false,
};

export default function sidebarReducer(state = defaultData, action) {
  switch (action.type) {
    case OPEN_SIDEBAR:
      return {
        ...state,
        openedSidebar: true
      };
    case CLOSE_SIDEBAR:
      return {
        ...state,
        openedSidebar: false
      };
    default:
      return state;
  }
}


text:
import { KeySet } from '../ojkeyset';
import { DataProvider } from '../ojdataprovider';
import { dvtBaseComponent, dvtBaseComponentEventMap, dvtBaseComponentSettableProperties } from '../ojdvt-base';
import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSetPropertyType } from '..';
export interface DvtDiagramLayoutContext {
    getCommonContainer(nodeId1: any, nodeId2: any): any;
    getComponentSize(): {
        x: number;
        y: number;
        w: number;
        h: number;
    };
    getCurrentViewport(): {
        x: number;
        y: number;
        w: number;
        h: number;
    };
    getEventData(): object;
    getLinkById(id: any): DvtDiagramLayoutContextLink;
    getLinkByIndex(index: number): DvtDiagramLayoutContextLink;
    getLinkCount(): number;
    getNodeById(id: any): DvtDiagramLayoutContextNode;
    getNodeByIndex(index: number): DvtDiagramLayoutContextNode;
    getNodeCount(): number;
    getViewport(): {
        x: number;
        y: number;
        w: number;
        h: number;
    };
    isLocaleR2L(): boolean;
    setViewport(viewport: {
        x: number;
        y: number;
        w: number;
        h: number;
    }): void;
}
export interface DvtDiagramLayoutContextLink {
    getCoordinateSpace(): any;
    getData(): object | any[];
    getEndConnectorOffset(): number;
    getEndId(): any;
    getId(): any;
    getLabelBounds(): {
        x: number;
        y: number;
        w: number;
        h: number;
    };
    getLabelHalign(): 'left' | 'center' | 'right';
    getLabelPosition(): {
        x: number;
        y: number;
    };
    getLabelRotationAngle(): number;
    getLabelRotationPoint(): {
        x: number;
        y: number;
    };
    getLabelValign(): 'top' | 'middle' | 'bottom' | 'baseline';
    getLinkWidth(): number;
    getPoints(): any[];
    getSelected(): boolean;
    getStartConnectorOffset(): number;
    getStartId(): any;
    isPromoted(): boolean;
    setCoordinateSpace(containerId: any): void;
    setLabelHalign(halign: 'left' | 'center' | 'right'): void;
    setLabelPosition(pos: {
        x: number;
        y: number;
    }): void;
    setLabelRotationAngle(angle: number): void;
    setLabelRotationPoint(point: {
        x: number;
        y: number;
    }): void;
    setLabelValign(valign: 'top' | 'middle' | 'bottom' | 'baseline'): void;
    setPoints(points: any[]): void;
}
export interface DvtDiagramLayoutContextNode {
    getBounds(): {
        x: number;
        y: number;
        w: number;
        h: number;
    };
    getChildNodes(): any[];
    getContentBounds(): {
        x: number;
        y: number;
        w: number;
        h: number;
    };
    getData(): object;
    getId(): any;
    getLabelBounds(): {
        x: number;
        y: number;
        w: number;
        h: number;
    };
    getLabelHalign(): 'left' | 'center' | 'right';
    getLabelPosition(): {
        x: number;
        y: number;
    };
    getLabelRotationAngle(): number;
    getLabelRotationPoint(): {
        x: number;
        y: number;
    };
    getLabelValign(): 'top' | 'middle' | 'bottom' | 'baseline';
    getPosition(): {
        x: number;
        y: number;
    };
    getRelativePosition(containerId: any): {
        x: number;
        y: number;
    };
    getSelected(): boolean;
    isDisclosed(): boolean;
    setLabelHalign(halign: 'left' | 'center' | 'right'): void;
    setLabelPosition(pos: {
        x: number;
        y: number;
    }): void;
    setLabelRotationAngle(angle: number): void;
    setLabelRotationPoint(point: {
        x: number;
        y: number;
    }): void;
    setLabelValign(valign: 'top' | 'middle' | 'bottom' | 'baseline'): void;
    setPosition(pos: {
        x: number;
        y: number;
    }): void;
}
export interface ojDiagram<K1, K2, D1, D2> extends dvtBaseComponent<ojDiagramSettableProperties<K1, K2, D1, D2>> {
    animationOnDataChange: 'auto' | 'none';
    animationOnDisplay: 'auto' | 'none';
    as: string;
    dnd: {
        drag: {
            nodes: {
                dataTypes: string | string[];
                drag: ((param0: Event) => void);
                dragEnd: ((param0: Event) => void);
                dragStart: ((param0: Event, param1: object) => void);
            };
            ports: {
                dataTypes: string | string[];
                drag: ((param0: Event) => void);
                dragEnd: ((param0: Event) => void);
                dragStart: ((param0: Event, param1: object) => void);
                linkStyle: ((param0: object) => void);
                selector: string;
            };
        };
        drop: {
            background: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
            };
            links: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
            };
            nodes: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
            };
            ports: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
                selector: string;
            };
        };
    };
    expanded: KeySet<K1>;
    focusRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    hiddenCategories: string[];
    highlightMatch: 'any' | 'all';
    highlightedCategories: string[];
    hoverBehavior: 'dim' | 'none';
    hoverRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    layout: ((param0: DvtDiagramLayoutContext) => void);
    linkData: DataProvider<K2, D2> | null;
    linkHighlightMode: 'linkAndNodes' | 'link';
    maxZoom: number;
    minZoom: number;
    nodeData: DataProvider<K1, D1> | null;
    nodeHighlightMode: 'nodeAndIncomingLinks' | 'nodeAndOutgoingLinks' | 'nodeAndLinks' | 'node';
    overview: {
        halign: 'start' | 'end' | 'center';
        height: number;
        rendered: 'on' | 'off';
        valign: 'top' | 'bottom' | 'middle';
        width: number;
    };
    panDirection: 'x' | 'y' | 'auto';
    panning: 'auto' | 'none';
    promotedLinkBehavior: 'none' | 'full' | 'lazy';
    renderer: ((context: ojDiagram.RendererContext<K1, D1>) => ({
        insert: SVGElement;
    }));
    selection: Array<K1 | K2>;
    selectionMode: 'single' | 'multiple' | 'none';
    selectionRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    styleDefaults: {
        animationDuration: number;
        hoverBehaviorDelay: number;
        linkDefaults: {
            color: string;
            endConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            labelStyle: object;
            startConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            svgClassName: string;
            svgStyle: object;
            width: number;
        };
        nodeDefaults: {
            icon: {
                borderColor: string;
                borderRadius: string;
                borderWidth: number;
                color: string;
                height: number;
                pattern: 'smallChecker' | 'smallCrosshatch' | 'smallDiagonalLeft' | 'smallDiagonalRight' | 'smallDiamond' | 'smallTriangle' | 'largeChecker' | 'largeCrosshatch' | 'largeDiagonalLeft' |
                   'largeDiagonalRight' | 'largeDiamond' | 'largeTriangle' | 'none';
                shape?: 'circle' | 'diamond' | 'ellipse' | 'human' | 'plus' | 'rectangle' | 'square' | 'star' | 'triangleDown' | 'triangleUp' | string | undefined;
                source: string;
                sourceHover: string;
                sourceHoverSelected: string;
                sourceSelected: string;
                svgClassName: string;
                svgStyle: object;
                width: number;
            };
            labelStyle: object;
            showDisclosure: 'off' | 'on';
        };
        promotedLink: {
            color: string;
            endConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            startConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            svgClassName: string;
            svgStyle: object;
            width: number;
        };
    };
    tooltip: {
        renderer: ((context: ojDiagram.TooltipContext<K1, K2, D1, D2>) => ({
            insert: Element | string;
        } | {
            preventDefault: boolean;
        }));
    };
    touchResponse: 'touchStart' | 'auto';
    zoomRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    zooming: 'auto' | 'none';
    translations: {
        componentName?: string | undefined;
        labelAndValue?: string | undefined;
        labelClearSelection?: string | undefined;
        labelCountWithTotal?: string | undefined;
        labelDataVisualization?: string | undefined;
        labelInvalidData?: string | undefined;
        labelNoData?: string | undefined;
        promotedLink?: string | undefined;
        promotedLinkAriaDesc?: string | undefined;
        promotedLinks?: string | undefined;
        stateCollapsed?: string | undefined;
        stateDrillable?: string | undefined;
        stateExpanded?: string | undefined;
        stateHidden?: string | undefined;
        stateIsolated?: string | undefined;
        stateMaximized?: string | undefined;
        stateMinimized?: string | undefined;
        stateSelected?: string | undefined;
        stateUnselected?: string | undefined;
        stateVisible?: string | undefined;
    };
    onAnimationOnDataChangeChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["animationOnDataChange"]>) => any) | null;
    onAnimationOnDisplayChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["animationOnDisplay"]>) => any) | null;
    onAsChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["as"]>) => any) | null;
    onDndChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["dnd"]>) => any) | null;
    onExpandedChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["expanded"]>) => any) | null;
    onFocusRendererChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["focusRenderer"]>) => any) | null;
    onHiddenCategoriesChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["hiddenCategories"]>) => any) | null;
    onHighlightMatchChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["highlightMatch"]>) => any) | null;
    onHighlightedCategoriesChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["highlightedCategories"]>) => any) | null;
    onHoverBehaviorChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["hoverBehavior"]>) => any) | null;
    onHoverRendererChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["hoverRenderer"]>) => any) | null;
    onLayoutChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["layout"]>) => any) | null;
    onLinkDataChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["linkData"]>) => any) | null;
    onLinkHighlightModeChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["linkHighlightMode"]>) => any) | null;
    onMaxZoomChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["maxZoom"]>) => any) | null;
    onMinZoomChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["minZoom"]>) => any) | null;
    onNodeDataChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["nodeData"]>) => any) | null;
    onNodeHighlightModeChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["nodeHighlightMode"]>) => any) | null;
    onOverviewChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["overview"]>) => any) | null;
    onPanDirectionChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["panDirection"]>) => any) | null;
    onPanningChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["panning"]>) => any) | null;
    onPromotedLinkBehaviorChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["promotedLinkBehavior"]>) => any) | null;
    onRendererChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["renderer"]>) => any) | null;
    onSelectionChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["selection"]>) => any) | null;
    onSelectionModeChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["selectionMode"]>) => any) | null;
    onSelectionRendererChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["selectionRenderer"]>) => any) | null;
    onStyleDefaultsChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["styleDefaults"]>) => any) | null;
    onTooltipChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["tooltip"]>) => any) | null;
    onTouchResponseChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["touchResponse"]>) => any) | null;
    onZoomRendererChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["zoomRenderer"]>) => any) | null;
    onZoomingChanged: ((event: JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["zooming"]>) => any) | null;
    onOjBeforeCollapse: ((event: ojDiagram.ojBeforeCollapse) => any) | null;
    onOjBeforeExpand: ((event: ojDiagram.ojBeforeExpand) => any) | null;
    onOjCollapse: ((event: ojDiagram.ojCollapse) => any) | null;
    onOjExpand: ((event: ojDiagram.ojExpand) => any) | null;
    addEventListener<T extends keyof ojDiagramEventMap<K1, K2, D1, D2>>(type: T, listener: (this: HTMLElement, ev: ojDiagramEventMap<K1, K2, D1, D2>[T]) => any, useCapture?: boolean): void;
    addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
    getProperty<T extends keyof ojDiagramSettableProperties<K1, K2, D1, D2>>(property: T): ojDiagram<K1, K2, D1, D2>[T];
    getProperty(property: string): any;
    setProperty<T extends keyof ojDiagramSettableProperties<K1, K2, D1, D2>>(property: T, value: ojDiagramSettableProperties<K1, K2, D1, D2>[T]): void;
    setProperty<T extends string>(property: T, value: JetSetPropertyType<T, ojDiagramSettableProperties<K1, K2, D1, D2>>): void;
    setProperties(properties: ojDiagramSettablePropertiesLenient<K1, K2, D1, D2>): void;
    getContextByNode(node: Element): object | null;
    getLink(linkIndex: number): object | null;
    getLinkCount(): number;
    getNode(nodeIndex: number): object | null;
    getNodeCount(): number;
    getPromotedLink(startNodeIndex: number, endNodeIndex: number): object | null;
}
export namespace ojDiagram {
    interface ojBeforeCollapse extends CustomEvent<{
        nodeId: any;
        [propName: string]: any;
    }> {
    }
    interface ojBeforeExpand extends CustomEvent<{
        nodeId: any;
        [propName: string]: any;
    }> {
    }
    interface ojCollapse extends CustomEvent<{
        nodeId: any;
        [propName: string]: any;
    }> {
    }
    interface ojExpand extends CustomEvent<{
        nodeId: any;
        [propName: string]: any;
    }> {
    }
    // tslint:disable-next-line interface-over-type-literal
    type RendererContext<K1, D1> = {
        parentElement: Element;
        componentElement: Element;
        data: object;
        itemData: D1;
        content: {
            element: Element;
            width: number;
            height: number;
        };
        state: {
            hovered: boolean;
            selected: boolean;
            focused: boolean;
            expanded: boolean;
            zoom: number;
        };
        previousState: {
            hovered: boolean;
            selected: boolean;
            focused: boolean;
            expanded: boolean;
            zoom: number;
        };
        id: K1;
        type: string;
        renderDefaultFocus: (() => void);
        renderDefaultHover: (() => void);
        renderDefaultSelection: (() => void);
    };
    // tslint:disable-next-line interface-over-type-literal
    type TooltipContext<K1, K2, D1, D2> = {
        parentElement: Element;
        componentElement: Element;
        id: K1 | K2;
        type: string;
        label: string;
        data: object | object[];
        itemData: D1 | D2 | D2[];
    };
}
export interface ojDiagramEventMap<K1, K2, D1, D2> extends dvtBaseComponentEventMap<ojDiagramSettableProperties<K1, K2, D1, D2>> {
    'ojBeforeCollapse': ojDiagram.ojBeforeCollapse;
    'ojBeforeExpand': ojDiagram.ojBeforeExpand;
    'ojCollapse': ojDiagram.ojCollapse;
    'ojExpand': ojDiagram.ojExpand;
    'animationOnDataChangeChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["animationOnDataChange"]>;
    'animationOnDisplayChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["animationOnDisplay"]>;
    'asChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["as"]>;
    'dndChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["dnd"]>;
    'expandedChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["expanded"]>;
    'focusRendererChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["focusRenderer"]>;
    'hiddenCategoriesChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["hiddenCategories"]>;
    'highlightMatchChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["highlightMatch"]>;
    'highlightedCategoriesChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["highlightedCategories"]>;
    'hoverBehaviorChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["hoverBehavior"]>;
    'hoverRendererChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["hoverRenderer"]>;
    'layoutChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["layout"]>;
    'linkDataChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["linkData"]>;
    'linkHighlightModeChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["linkHighlightMode"]>;
    'maxZoomChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["maxZoom"]>;
    'minZoomChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["minZoom"]>;
    'nodeDataChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["nodeData"]>;
    'nodeHighlightModeChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["nodeHighlightMode"]>;
    'overviewChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["overview"]>;
    'panDirectionChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["panDirection"]>;
    'panningChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["panning"]>;
    'promotedLinkBehaviorChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["promotedLinkBehavior"]>;
    'rendererChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["renderer"]>;
    'selectionChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["selection"]>;
    'selectionModeChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["selectionMode"]>;
    'selectionRendererChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["selectionRenderer"]>;
    'styleDefaultsChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["styleDefaults"]>;
    'tooltipChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["tooltip"]>;
    'touchResponseChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["touchResponse"]>;
    'zoomRendererChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["zoomRenderer"]>;
    'zoomingChanged': JetElementCustomEvent<ojDiagram<K1, K2, D1, D2>["zooming"]>;
}
export interface ojDiagramSettableProperties<K1, K2, D1, D2> extends dvtBaseComponentSettableProperties {
    animationOnDataChange: 'auto' | 'none';
    animationOnDisplay: 'auto' | 'none';
    as: string;
    dnd: {
        drag: {
            nodes: {
                dataTypes: string | string[];
                drag: ((param0: Event) => void);
                dragEnd: ((param0: Event) => void);
                dragStart: ((param0: Event, param1: object) => void);
            };
            ports: {
                dataTypes: string | string[];
                drag: ((param0: Event) => void);
                dragEnd: ((param0: Event) => void);
                dragStart: ((param0: Event, param1: object) => void);
                linkStyle: ((param0: object) => void);
                selector: string;
            };
        };
        drop: {
            background: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
            };
            links: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
            };
            nodes: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
            };
            ports: {
                dataTypes: string | string[];
                dragEnter: ((param0: Event, param1: object) => void);
                dragLeave: ((param0: Event, param1: object) => void);
                dragOver: ((param0: Event, param1: object) => void);
                drop: ((param0: Event, param1: object) => void);
                selector: string;
            };
        };
    };
    expanded: KeySet<K1>;
    focusRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    hiddenCategories: string[];
    highlightMatch: 'any' | 'all';
    highlightedCategories: string[];
    hoverBehavior: 'dim' | 'none';
    hoverRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    layout: ((param0: DvtDiagramLayoutContext) => void);
    linkData: DataProvider<K2, D2> | null;
    linkHighlightMode: 'linkAndNodes' | 'link';
    maxZoom: number;
    minZoom: number;
    nodeData: DataProvider<K1, D1> | null;
    nodeHighlightMode: 'nodeAndIncomingLinks' | 'nodeAndOutgoingLinks' | 'nodeAndLinks' | 'node';
    overview: {
        halign: 'start' | 'end' | 'center';
        height: number;
        rendered: 'on' | 'off';
        valign: 'top' | 'bottom' | 'middle';
        width: number;
    };
    panDirection: 'x' | 'y' | 'auto';
    panning: 'auto' | 'none';
    promotedLinkBehavior: 'none' | 'full' | 'lazy';
    renderer: ((context: ojDiagram.RendererContext<K1, D1>) => ({
        insert: SVGElement;
    }));
    selection: Array<K1 | K2>;
    selectionMode: 'single' | 'multiple' | 'none';
    selectionRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    styleDefaults: {
        animationDuration: number;
        hoverBehaviorDelay: number;
        linkDefaults: {
            color: string;
            endConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            labelStyle: object;
            startConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            svgClassName: string;
            svgStyle: object;
            width: number;
        };
        nodeDefaults: {
            icon: {
                borderColor: string;
                borderRadius: string;
                borderWidth: number;
                color: string;
                height: number;
                pattern: 'smallChecker' | 'smallCrosshatch' | 'smallDiagonalLeft' | 'smallDiagonalRight' | 'smallDiamond' | 'smallTriangle' | 'largeChecker' | 'largeCrosshatch' | 'largeDiagonalLeft' |
                   'largeDiagonalRight' | 'largeDiamond' | 'largeTriangle' | 'none';
                shape?: 'circle' | 'diamond' | 'ellipse' | 'human' | 'plus' | 'rectangle' | 'square' | 'star' | 'triangleDown' | 'triangleUp' | string | undefined;
                source: string;
                sourceHover: string;
                sourceHoverSelected: string;
                sourceSelected: string;
                svgClassName: string;
                svgStyle: object;
                width: number;
            };
            labelStyle: object;
            showDisclosure: 'off' | 'on';
        };
        promotedLink: {
            color: string;
            endConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            startConnectorType: 'arrowOpen' | 'arrow' | 'arrowConcave' | 'circle' | 'rectangle' | 'rectangleRounded' | 'none';
            svgClassName: string;
            svgStyle: object;
            width: number;
        };
    };
    tooltip: {
        renderer: ((context: ojDiagram.TooltipContext<K1, K2, D1, D2>) => ({
            insert: Element | string;
        } | {
            preventDefault: boolean;
        }));
    };
    touchResponse: 'touchStart' | 'auto';
    zoomRenderer: ((context: ojDiagram.RendererContext<K1, D1>) => {
        insert: SVGElement;
    } | void) | null;
    zooming: 'auto' | 'none';
    translations: {
        componentName?: string | undefined;
        labelAndValue?: string | undefined;
        labelClearSelection?: string | undefined;
        labelCountWithTotal?: string | undefined;
        labelDataVisualization?: string | undefined;
        labelInvalidData?: string | undefined;
        labelNoData?: string | undefined;
        promotedLink?: string | undefined;
        promotedLinkAriaDesc?: string | undefined;
        promotedLinks?: string | undefined;
        stateCollapsed?: string | undefined;
        stateDrillable?: string | undefined;
        stateExpanded?: string | undefined;
        stateHidden?: string | undefined;
        stateIsolated?: string | undefined;
        stateMaximized?: string | undefined;
        stateMinimized?: string | undefined;
        stateSelected?: string | undefined;
        stateUnselected?: string | undefined;
        stateVisible?: string | undefined;
    };
}
export interface ojDiagramSettablePropertiesLenient<K1, K2, D1, D2> extends Partial<ojDiagramSettableProperties<K1, K2, D1, D2>> {
    [key: string]: any;
}
export interface ojDiagramLink extends JetElement<ojDiagramLinkSettableProperties> {
    categories: string[];
    color?: string | undefined;
    endConnectorType?: 'arrow' | 'arrowConcave' | 'arrowOpen' | 'circle' | 'none' | 'rectangle' | 'rectangleRounded' | undefined;
    endNode: any;
    label?: string | undefined;
    labelStyle?: object | null | undefined;
    selectable?: 'auto' | 'off' | undefined;
    shortDesc?: string | undefined;
    startConnectorType?: 'arrow' | 'arrowConcave' | 'arrowOpen' | 'circle' | 'none' | 'rectangle' | 'rectangleRounded' | undefined;
    startNode: any;
    svgClassName?: string | undefined;
    svgStyle?: object | undefined;
    width?: number | undefined;
    onCategoriesChanged: ((event: JetElementCustomEvent<ojDiagramLink["categories"]>) => any) | null;
    onColorChanged: ((event: JetElementCustomEvent<ojDiagramLink["color"]>) => any) | null;
    onEndConnectorTypeChanged: ((event: JetElementCustomEvent<ojDiagramLink["endConnectorType"]>) => any) | null;
    onEndNodeChanged: ((event: JetElementCustomEvent<ojDiagramLink["endNode"]>) => any) | null;
    onLabelChanged: ((event: JetElementCustomEvent<ojDiagramLink["label"]>) => any) | null;
    onLabelStyleChanged: ((event: JetElementCustomEvent<ojDiagramLink["labelStyle"]>) => any) | null;
    onSelectableChanged: ((event: JetElementCustomEvent<ojDiagramLink["selectable"]>) => any) | null;
    onShortDescChanged: ((event: JetElementCustomEvent<ojDiagramLink["shortDesc"]>) => any) | null;
    onStartConnectorTypeChanged: ((event: JetElementCustomEvent<ojDiagramLink["startConnectorType"]>) => any) | null;
    onStartNodeChanged: ((event: JetElementCustomEvent<ojDiagramLink["startNode"]>) => any) | null;
    onSvgClassNameChanged: ((event: JetElementCustomEvent<ojDiagramLink["svgClassName"]>) => any) | null;
    onSvgStyleChanged: ((event: JetElementCustomEvent<ojDiagramLink["svgStyle"]>) => any) | null;
    onWidthChanged: ((event: JetElementCustomEvent<ojDiagramLink["width"]>) => any) | null;
    addEventListener<T extends keyof ojDiagramLinkEventMap>(type: T, listener: (this: HTMLElement, ev: ojDiagramLinkEventMap[T]) => any, useCapture?: boolean): void;
    addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
    getProperty<T extends keyof ojDiagramLinkSettableProperties>(property: T): ojDiagramLink[T];
    getProperty(property: string): any;
    setProperty<T extends keyof ojDiagramLinkSettableProperties>(property: T, value: ojDiagramLinkSettableProperties[T]): void;
    setProperty<T extends string>(property: T, value: JetSetPropertyType<T, ojDiagramLinkSettableProperties>): void;
    setProperties(properties: ojDiagramLinkSettablePropertiesLenient): void;
}
export interface ojDiagramLinkEventMap extends HTMLElementEventMap {
    'categoriesChanged': JetElementCustomEvent<ojDiagramLink["categories"]>;
    'colorChanged': JetElementCustomEvent<ojDiagramLink["color"]>;
    'endConnectorTypeChanged': JetElementCustomEvent<ojDiagramLink["endConnectorType"]>;
    'endNodeChanged': JetElementCustomEvent<ojDiagramLink["endNode"]>;
    'labelChanged': JetElementCustomEvent<ojDiagramLink["label"]>;
    'labelStyleChanged': JetElementCustomEvent<ojDiagramLink["labelStyle"]>;
    'selectableChanged': JetElementCustomEvent<ojDiagramLink["selectable"]>;
    'shortDescChanged': JetElementCustomEvent<ojDiagramLink["shortDesc"]>;
    'startConnectorTypeChanged': JetElementCustomEvent<ojDiagramLink["startConnectorType"]>;
    'startNodeChanged': JetElementCustomEvent<ojDiagramLink["startNode"]>;
    'svgClassNameChanged': JetElementCustomEvent<ojDiagramLink["svgClassName"]>;
    'svgStyleChanged': JetElementCustomEvent<ojDiagramLink["svgStyle"]>;
    'widthChanged': JetElementCustomEvent<ojDiagramLink["width"]>;
}
export interface ojDiagramLinkSettableProperties extends JetSettableProperties {
    categories: string[];
    color?: string | undefined;
    endConnectorType?: 'arrow' | 'arrowConcave' | 'arrowOpen' | 'circle' | 'none' | 'rectangle' | 'rectangleRounded' | undefined;
    endNode: any;
    label?: string | undefined;
    labelStyle?: object | null | undefined;
    selectable?: 'auto' | 'off' | undefined;
    shortDesc?: string | undefined;
    startConnectorType?: 'arrow' | 'arrowConcave' | 'arrowOpen' | 'circle' | 'none' | 'rectangle' | 'rectangleRounded' | undefined;
    startNode: any;
    svgClassName?: string | undefined;
    svgStyle?: object | undefined;
    width?: number | undefined;
}
export interface ojDiagramLinkSettablePropertiesLenient extends Partial<ojDiagramLinkSettableProperties> {
    [key: string]: any;
}
export interface ojDiagramNode extends JetElement<ojDiagramNodeSettableProperties> {
    categories?: string[] | undefined;
    descendantsConnectivity?: 'connected' | 'disjoint' | 'unknown' | undefined;
    icon?: {
        borderColor?: string | undefined;
        borderRadius?: string | undefined;
        borderWidth?: number | undefined;
        color?: string | undefined;
        height?: number | undefined;
        opacity?: number | undefined;
        pattern?: 'largeChecker' | 'largeCrosshatch' | 'largeDiagonalLeft' | 'largeDiagonalRight' | 'largeDiamond' | 'largeTriangle' | 'none' | 'mallChecker' | 'smallCrosshatch' |
           'smallDiagonalLeft' | 'smallDiagonalRight' | 'smallDiamond' | 'smallTriangle' | undefined;
        shape?: 'circle' | 'diamond' | 'ellipse' | 'human' | 'plus' | 'rectangle' | 'square' | 'star' | 'triangleDown' | 'triangleUp' | string | undefined;
        source?: string | undefined;
        sourceHover?: string | undefined;
        sourceHoverSelected?: string | undefined;
        sourceSelected?: string | undefined;
        svgClassName?: string | undefined;
        svgStyle?: object | undefined;
        width?: number | undefined;
    } | undefined;
    label?: string | undefined;
    labelStyle?: object | null | undefined;
    overview?: {
        icon?: {
            shape?: 'inherit' | 'circle' | 'diamond' | 'ellipse' | 'human' | 'plus' | 'rectangle' | 'square' | 'star' | 'triangleDown' | 'triangleUp' | string | undefined;
            svgClassName?: string | undefined;
            svgStyle?: object | undefined;
        } | undefined;
    } | undefined;
    selectable?: 'auto' | 'off' | undefined;
    shortDesc?: string | undefined;
    showDisclosure?: 'on' | 'off' | undefined;
    onCategoriesChanged: ((event: JetElementCustomEvent<ojDiagramNode["categories"]>) => any) | null;
    onDescendantsConnectivityChanged: ((event: JetElementCustomEvent<ojDiagramNode["descendantsConnectivity"]>) => any) | null;
    onIconChanged: ((event: JetElementCustomEvent<ojDiagramNode["icon"]>) => any) | null;
    onLabelChanged: ((event: JetElementCustomEvent<ojDiagramNode["label"]>) => any) | null;
    onLabelStyleChanged: ((event: JetElementCustomEvent<ojDiagramNode["labelStyle"]>) => any) | null;
    onOverviewChanged: ((event: JetElementCustomEvent<ojDiagramNode["overview"]>) => any) | null;
    onSelectableChanged: ((event: JetElementCustomEvent<ojDiagramNode["selectable"]>) => any) | null;
    onShortDescChanged: ((event: JetElementCustomEvent<ojDiagramNode["shortDesc"]>) => any) | null;
    onShowDisclosureChanged: ((event: JetElementCustomEvent<ojDiagramNode["showDisclosure"]>) => any) | null;
    addEventListener<T extends keyof ojDiagramNodeEventMap>(type: T, listener: (this: HTMLElement, ev: ojDiagramNodeEventMap[T]) => any, useCapture?: boolean): void;
    addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
    getProperty<T extends keyof ojDiagramNodeSettableProperties>(property: T): ojDiagramNode[T];
    getProperty(property: string): any;
    setProperty<T extends keyof ojDiagramNodeSettableProperties>(property: T, value: ojDiagramNodeSettableProperties[T]): void;
    setProperty<T extends string>(property: T, value: JetSetPropertyType<T, ojDiagramNodeSettableProperties>): void;
    setProperties(properties: ojDiagramNodeSettablePropertiesLenient): void;
}
export interface ojDiagramNodeEventMap extends HTMLElementEventMap {
    'categoriesChanged': JetElementCustomEvent<ojDiagramNode["categories"]>;
    'descendantsConnectivityChanged': JetElementCustomEvent<ojDiagramNode["descendantsConnectivity"]>;
    'iconChanged': JetElementCustomEvent<ojDiagramNode["icon"]>;
    'labelChanged': JetElementCustomEvent<ojDiagramNode["label"]>;
    'labelStyleChanged': JetElementCustomEvent<ojDiagramNode["labelStyle"]>;
    'overviewChanged': JetElementCustomEvent<ojDiagramNode["overview"]>;
    'selectableChanged': JetElementCustomEvent<ojDiagramNode["selectable"]>;
    'shortDescChanged': JetElementCustomEvent<ojDiagramNode["shortDesc"]>;
    'showDisclosureChanged': JetElementCustomEvent<ojDiagramNode["showDisclosure"]>;
}
export interface ojDiagramNodeSettableProperties extends JetSettableProperties {
    categories?: string[] | undefined;
    descendantsConnectivity?: 'connected' | 'disjoint' | 'unknown' | undefined;
    icon?: {
        borderColor?: string | undefined;
        borderRadius?: string | undefined;
        borderWidth?: number | undefined;
        color?: string | undefined;
        height?: number | undefined;
        opacity?: number | undefined;
        pattern?: 'largeChecker' | 'largeCrosshatch' | 'largeDiagonalLeft' | 'largeDiagonalRight' | 'largeDiamond' | 'largeTriangle' | 'none' | 'mallChecker' | 'smallCrosshatch' |
           'smallDiagonalLeft' | 'smallDiagonalRight' | 'smallDiamond' | 'smallTriangle' | undefined;
        shape?: 'circle' | 'diamond' | 'ellipse' | 'human' | 'plus' | 'rectangle' | 'square' | 'star' | 'triangleDown' | 'triangleUp' | string | undefined;
        source?: string | undefined;
        sourceHover?: string | undefined;
        sourceHoverSelected?: string | undefined;
        sourceSelected?: string | undefined;
        svgClassName?: string | undefined;
        svgStyle?: object | undefined;
        width?: number | undefined;
    } | undefined;
    label?: string | undefined;
    labelStyle?: object | null | undefined;
    overview?: {
        icon?: {
            shape?: 'inherit' | 'circle' | 'diamond' | 'ellipse' | 'human' | 'plus' | 'rectangle' | 'square' | 'star' | 'triangleDown' | 'triangleUp' | string | undefined;
            svgClassName?: string | undefined;
            svgStyle?: object | undefined;
        } | undefined;
    } | undefined;
    selectable?: 'auto' | 'off' | undefined;
    shortDesc?: string | undefined;
    showDisclosure?: 'on' | 'off' | undefined;
}
export interface ojDiagramNodeSettablePropertiesLenient extends Partial<ojDiagramNodeSettableProperties> {
    [key: string]: any;
}