text:
namespace v8 {
namespace internal {

// Flag used to set the interrupt causes.
enum InterruptFlag {
  INTERRUPT = 1 << 0,
  DEBUGBREAK = 1 << 1,
  DEBUGCOMMAND = 1 << 2,
  PREEMPT = 1 << 3,
  TERMINATE = 1 << 4,
  GC_REQUEST = 1 << 5,
  FULL_DEOPT = 1 << 6,
  INSTALL_CODE = 1 << 7,
  API_INTERRUPT = 1 << 8,
  DEOPT_MARKED_ALLOCATION_SITES = 1 << 9
};

class Isolate;

class Execution : public AllStatic {
 public:
  // Call a function, the caller supplies a receiver and an array
  // of arguments. Arguments are Object* type. After function returns,
  // pointers in 'args' might be invalid.
  //
  // *pending_exception tells whether the invoke resulted in
  // a pending exception.
  //
  // When convert_receiver is set, and the receiver is not an object,
  // and the function called is not in strict mode, receiver is converted to
  // an object.
  //
  static Handle<Object> Call(Isolate* isolate,
                             Handle<Object> callable,
                             Handle<Object> receiver,
                             int argc,
                             Handle<Object> argv[],
                             bool* pending_exception,
                             bool convert_receiver = false);

  // Construct object from function, the caller supplies an array of
  // arguments. Arguments are Object* type. After function returns,
  // pointers in 'args' might be invalid.
  //
  // *pending_exception tells whether the invoke resulted in
  // a pending exception.
  //
  static Handle<Object> New(Handle<JSFunction> func,
                            int argc,
                            Handle<Object> argv[],
                            bool* pending_exception);

  // Call a function, just like Call(), but make sure to silently catch
  // any thrown exceptions. The return value is either the result of
  // calling the function (if caught exception is false) or the exception
  // that occurred (if caught exception is true).
  static Handle<Object> TryCall(Handle<JSFunction> func,
                                Handle<Object> receiver,
                                int argc,
                                Handle<Object> argv[],
                                bool* caught_exception);

  // ECMA-262 9.3
  static Handle<Object> ToNumber(
      Isolate* isolate, Handle<Object> obj, bool* exc);

  // ECMA-262 9.4
  static Handle<Object> ToInteger(
      Isolate* isolate, Handle<Object> obj, bool* exc);

  // ECMA-262 9.5
  static Handle<Object> ToInt32(
      Isolate* isolate, Handle<Object> obj, bool* exc);

  // ECMA-262 9.6
  static Handle<Object> ToUint32(
      Isolate* isolate, Handle<Object> obj, bool* exc);

  // ECMA-262 9.8
  static Handle<Object> ToString(
      Isolate* isolate, Handle<Object> obj, bool* exc);

  // ECMA-262 9.8
  static Handle<Object> ToDetailString(
      Isolate* isolate, Handle<Object> obj, bool* exc);

  // ECMA-262 9.9
  static Handle<Object> ToObject(
      Isolate* isolate, Handle<Object> obj, bool* exc);

  // Create a new date object from 'time'.
  static Handle<Object> NewDate(
      Isolate* isolate, double time, bool* exc);

  // Create a new regular expression object from 'pattern' and 'flags'.
  static Handle<JSRegExp> NewJSRegExp(Handle<String> pattern,
                                      Handle<String> flags,
                                      bool* exc);

  // Used to implement [] notation on strings (calls JS code)
  static Handle<Object> CharAt(Handle<String> str, uint32_t index);

  static Handle<Object> GetFunctionFor();
  static Handle<JSFunction> InstantiateFunction(
      Handle<FunctionTemplateInfo> data, bool* exc);
  static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data,
                                            bool* exc);
  static void ConfigureInstance(Isolate* isolate,
                                Handle<Object> instance,
                                Handle<Object> data,
                                bool* exc);
  static Handle<String> GetStackTraceLine(Handle<Object> recv,
                                          Handle<JSFunction> fun,
                                          Handle<Object> pos,
                                          Handle<Object> is_global);
#ifdef ENABLE_DEBUGGER_SUPPORT
  static Object* DebugBreakHelper(Isolate* isolate);
  static void ProcessDebugMessages(Isolate* isolate, bool debug_command_only);
#endif

  // If the stack guard is triggered, but it is not an actual
  // stack overflow, then handle the interruption accordingly.
  MUST_USE_RESULT static MaybeObject* HandleStackGuardInterrupt(
      Isolate* isolate);

  // Get a function delegate (or undefined) for the given non-function
  // object. Used for support calling objects as functions.
  static Handle<Object> GetFunctionDelegate(Isolate* isolate,
                                            Handle<Object> object);
  static Handle<Object> TryGetFunctionDelegate(Isolate* isolate,
                                               Handle<Object> object,
                                               bool* has_pending_exception);

  // Get a function delegate (or undefined) for the given non-function
  // object. Used for support calling objects as constructors.
  static Handle<Object> GetConstructorDelegate(Isolate* isolate,
                                               Handle<Object> object);
  static Handle<Object> TryGetConstructorDelegate(Isolate* isolate,
                                                  Handle<Object> object,
                                                  bool* has_pending_exception);

  static void RunMicrotasks(Isolate* isolate);
  static void EnqueueMicrotask(Isolate* isolate, Handle<Object> microtask);
};

class ExecutionAccess;

// StackGuard contains the handling of the limits that are used to limit the
// number of nested invocations of JavaScript and the stack size used in each
// invocation.
class StackGuard {
 public:
  // Pass the address beyond which the stack should not grow.  The stack
  // is assumed to grow downwards.
  void SetStackLimit(uintptr_t limit);

  // Threading support.
  char* ArchiveStackGuard(char* to);
  char* RestoreStackGuard(char* from);
  static int ArchiveSpacePerThread() { return sizeof(ThreadLocal); }
  void FreeThreadResources();
  // Sets up the default stack guard for this thread if it has not
  // already been set up.
  void InitThread(const ExecutionAccess& lock);
  // Clears the stack guard for this thread so it does not look as if
  // it has been set up.
  void ClearThread(const ExecutionAccess& lock);

  bool IsStackOverflow();
  bool IsPreempted();
  void Preempt();
  bool IsInterrupted();
  void Interrupt();
  bool IsTerminateExecution();
  void TerminateExecution();
  void CancelTerminateExecution();
#ifdef ENABLE_DEBUGGER_SUPPORT
  bool IsDebugBreak();
  void DebugBreak();
  bool IsDebugCommand();
  void DebugCommand();
#endif
  bool IsGCRequest();
  void RequestGC();
  bool IsInstallCodeRequest();
  void RequestInstallCode();
  bool IsFullDeopt();
  void FullDeopt();
  bool IsDeoptMarkedAllocationSites();
  void DeoptMarkedAllocationSites();
  void Continue(InterruptFlag after_what);

  void RequestInterrupt(InterruptCallback callback, void* data);
  void ClearInterrupt();
  bool IsAPIInterrupt();
  void InvokeInterruptCallback();

  // This provides an asynchronous read of the stack limits for the current
  // thread.  There are no locks protecting this, but it is assumed that you
  // have the global V8 lock if you are using multiple V8 threads.
  uintptr_t climit() {
    return thread_local_.climit_;
  }
  uintptr_t real_climit() {
    return thread_local_.real_climit_;
  }
  uintptr_t jslimit() {
    return thread_local_.jslimit_;
  }
  uintptr_t real_jslimit() {
    return thread_local_.real_jslimit_;
  }
  Address address_of_jslimit() {
    return reinterpret_cast<Address>(&thread_local_.jslimit_);
  }
  Address address_of_real_jslimit() {
    return reinterpret_cast<Address>(&thread_local_.real_jslimit_);
  }
  bool ShouldPostponeInterrupts();

 private:
  StackGuard();

  // You should hold the ExecutionAccess lock when calling this method.
  bool has_pending_interrupts(const ExecutionAccess& lock) {
    // Sanity check: We shouldn't be asking about pending interrupts
    // unless we're not postponing them anymore.
    ASSERT(!should_postpone_interrupts(lock));
    return thread_local_.interrupt_flags_ != 0;
  }

  // You should hold the ExecutionAccess lock when calling this method.
  bool should_postpone_interrupts(const ExecutionAccess& lock) {
    return thread_local_.postpone_interrupts_nesting_ > 0;
  }

  // You should hold the ExecutionAccess lock when calling this method.
  inline void set_interrupt_limits(const ExecutionAccess& lock);

  // Reset limits to actual values. For example after handling interrupt.
  // You should hold the ExecutionAccess lock when calling this method.
  inline void reset_limits(const ExecutionAccess& lock);

  // Enable or disable interrupts.
  void EnableInterrupts();
  void DisableInterrupts();

#if V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64
  static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe);
  static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8);
#else
  static const uintptr_t kInterruptLimit = 0xfffffffe;
  static const uintptr_t kIllegalLimit = 0xfffffff8;
#endif

  class ThreadLocal {
   public:
    ThreadLocal() { Clear(); }
    // You should hold the ExecutionAccess lock when you call Initialize or
    // Clear.
    void Clear();

    // Returns true if the heap's stack limits should be set, false if not.
    bool Initialize(Isolate* isolate);

    // The stack limit is split into a JavaScript and a C++ stack limit. These
    // two are the same except when running on a simulator where the C++ and
    // JavaScript stacks are separate. Each of the two stack limits have two
    // values. The one eith the real_ prefix is the actual stack limit
    // set for the VM. The one without the real_ prefix has the same value as
    // the actual stack limit except when there is an interruption (e.g. debug
    // break or preemption) in which case it is lowered to make stack checks
    // fail. Both the generated code and the runtime system check against the
    // one without the real_ prefix.
    uintptr_t real_jslimit_;  // Actual JavaScript stack limit set for the VM.
    uintptr_t jslimit_;
    uintptr_t real_climit_;  // Actual C++ stack limit set for the VM.
    uintptr_t climit_;

    int nesting_;
    int postpone_interrupts_nesting_;
    int interrupt_flags_;

    InterruptCallback interrupt_callback_;
    void* interrupt_callback_data_;
  };

  // TODO(isolates): Technically this could be calculated directly from a
  //                 pointer to StackGuard.
  Isolate* isolate_;
  ThreadLocal thread_local_;

  friend class Isolate;
  friend class StackLimitCheck;
  friend class PostponeInterruptsScope;

  DISALLOW_COPY_AND_ASSIGN(StackGuard);
};

} }  // namespace v8::internal

#endif  // V8_EXECUTION_H_


text:
using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class DrawParticleWorld : LPDrawParticleSystem
{
    public Transform target;
    public float MaxVis = 3000;
    public float MaxAlfa = 1f;

    public Color col;

    public override void UpdateParticles(List<LPParticle> partdata)
    {
        if (GetComponent<ParticleEmitter>().particleCount < partdata.Count)
        {
            GetComponent<ParticleEmitter>().Emit(partdata.Count - GetComponent<ParticleEmitter>().particleCount);
            particles = GetComponent<ParticleEmitter>().particles;
        }

        for (int i = 0; i < particles.Length; i++)
        {
            if (i < partdata.Count - 1)
            {
                particles[i].position = partdata[i].Position;

                float r = Vector3.SqrMagnitude(target.position - partdata[i].Position);
                float colorA = 0f;
                if (r > MaxVis) colorA = 0;
                else colorA = (1 - (r / MaxVis)) * MaxAlfa;

                particles[i].color = new Color(col.r, col.g, col.b, colorA);
            }
            else
            {
                particles[i].energy = 0f;
            }
        }
        GetComponent<ParticleEmitter>().particles = particles;
    }
}

redpajama_set_name: RedPajamaGithub


text:
using System;
using System.Globalization;
using System.Windows.Data;
using Drachenhorn.Core.Lang;

namespace Drachenhorn.Desktop.Converter
{
    public sealed class EnumToAbbreviationConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value == null)
                return null;

            return LanguageManager.Translate(value.GetType().Name + "." + value + ".Abbr");
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var str = (string) value;

            foreach (var enumValue in Enum.GetValues(targetType))
                if (str == LanguageManager.Translate(enumValue.GetType().Name + "." + enumValue + ".Abbr"))
                    return enumValue;

            throw new ArgumentException(null, "value");
        }
    }
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2020 Greatwall

  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.
-->
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
    <id>bin</id>
    <includeBaseDirectory>false</includeBaseDirectory>
    <componentDescriptors>
        <componentDescriptor>src/main/assembly/component-bin.xml</componentDescriptor>
        <componentDescriptor>src/main/assembly/component-etc.xml</componentDescriptor>
        <componentDescriptor>src/main/assembly/component-include.xml</componentDescriptor>
        <componentDescriptor>src/main/assembly/component-lib.xml</componentDescriptor>
        <componentDescriptor>src/main/assembly/component-libexec.xml</componentDescriptor>
        <componentDescriptor>src/main/assembly/component-sbin.xml</componentDescriptor>
        <componentDescriptor>src/main/assembly/component-share-client.xml</componentDescriptor>
        <componentDescriptor>src/main/assembly/component-share-common.xml</componentDescriptor>
    </componentDescriptors>
</assembly>


text:
from tkinter import *
import tkinter.messagebox
from gensim.models import Word2Vec
import os

hp_model_cbow = Word2Vec.load(os.path.join("trained_HP_model","model_cbow.w2v"))
hp_model_sg = Word2Vec.load(os.path.join("trained_HP_model","model_sg.w2v"))

def getdata(query):
	cbow_res = hp_model_cbow.most_similar(query)
	sg_res = hp_model_sg.most_similar(query)
	return cbow_res, sg_res

def validatedata(query):
	if len(query)<1:
		return False
	for x in query:
		if x==' ' or x=='\n':
			return False
	if query in hp_model_cbow.wv.vocab and query in hp_model_sg.wv.vocab:
		return True
	else:
		return False

class gui:
	def __init__(self, master):
		#Heading
		self.label = Label(master, text='Harry Potter Vectors', font=("TimesNewRoman",40)).grid(row =0, columnspan=6)
		self.blanklabel = Label(master, text="", font=("TimesNewRoman",40)).grid(row=1)

		#Tnput
		self.label2 = Label(master, text = "Enter a single word", font=("TimesNewRoman",25)).grid(row = 2, column=0, columnspan=3, padx=20, pady=3)
		self.inputbox = Text(master, height=2, width=30, font=("TimesNewRoman",20))
		self.inputbox.grid(row = 2, column=3, columnspan=2)

		#Submit Button
		self.submitbutton = Button(master, text="Submit", font=("TimesNewRoman",20), command = self.submitfunc, height=2, width = 10).grid(row=2, column=5, columnspan=2, padx=20)

		self.blanklabel3 = Label(master, text="", font=("TimesNewRoman",30)).grid(row=3)

		#Result Labels
		self.reslabel = Label(master, text = "", font=("TimesNewRoman",30))
		self.reslabel.grid(row=4)

		self.blanklabel4 = Label(master, text="", font=("TimesNewRoman",30)).grid(row=5)

		self.cbow_label = Label(master, text="",font=("TimesNewRoman",20))
		self.cbow_label.grid(row = 6, column = 0, columnspan = 2)
		self.sg_label = Label(master, text="",font=("TimesNewRoman",20))
		self.sg_label.grid(row = 6, column = 2, columnspan = 2)

		#Results
		self.cbow_data = []
		self.sg_data = []
		for x in range(10):
			for y in range(4):
				if y<2:
					self.cbow_data.append(Label(root, text = "", font=("TimesNewRoman",15)))
					self.cbow_data[-1].grid(row = x+7,column = y, padx=20, pady=3)
				else:
					self.sg_data.append(Label(root, text = "", font=("TimesNewRoman",15)))
					self.sg_data[-1].grid(row = x+7,column = y, padx=20, pady=3)

	def submitfunc(self):
		query = self.inputbox.get("1.0",'end-1c')
		if validatedata(query)==False:
			self.reslabel['text'] = "Bad Input!!!"
			self.cbow_label['text'] = ""
			self.sg_label['text'] = ""
			for x in range(10):
				for y in range(4):
					if y<2:
						self.cbow_data[x*2+y]['text'] = ""
					else:
						self.sg_data[x*2+y-2]['text'] = ""

			return

		self.reslabel['text'] = "Results for "+query

		res_cbow = hp_model_cbow.most_similar(query)
		res_sg = hp_model_sg.most_similar(query)

		self.cbow_label['text'] = "CBOW Results"
		self.sg_label['text'] = "Skip Gram Results"

		for x in range(10):
			for y in range(4):
				if y<2:
					self.cbow_data[x*2+y]['text'] = res_cbow[x][y]
				else:
					self.sg_data[x*2+y-2]['text'] = res_sg[x][y-2]

root = Tk()
root.geometry('1280x720')
root.title("Word2Vec on HP")
b = gui(root)
root.mainloop()


text:
/*
 *
 * Copay main CSS
 *
 */

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../font/ubuntu-light.woff) format('woff');
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(../font/ubuntu.woff) format('woff');
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../font/ubuntu-bold.woff) format('woff');
}
@font-face {
  font-family: 'Ubuntu';
  font-style: italic;
  font-weight: 700;
  src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../font/ubuntu-bold-italic.woff) format('woff');
}

@keyframes rotateThis {
  from { transform: scale( 1 ) rotate( 0deg );   }
  to   { transform: scale( 1 ) rotate( 360deg ); }
}

@-webkit-keyframes rotateThis {
  from { -webkit-transform: scale( 1 ) rotate( 0deg );   }
  to   { -webkit-transform: scale( 1 ) rotate( 360deg ); }
}

@-webkit-keyframes yellow-flash {
  0% {
    background-color: #FFFFE0;
    opacity:1;
  }
  22% {
    background-color: #FFFFE0;
  }
  100% {
    background-color: none;
  }
}

::-webkit-input-placeholder {
   color: #7A8C9E;
}

:-moz-placeholder { /* Firefox 18- */
   color: #7A8C9E;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #7A8C9E;
}

:-ms-input-placeholder {
   color: #7A8C9E;
}

#qr-canvas { display: none; }
#qrcode-scanner-video {
  display: block;
  margin: 0 auto;
}

* {
  font-family: 'Ubuntu', Helvetica, sans-serif !important;
}

h1 {
  font-weight: 100;
  font-size: 24px;
  color: #2C3E50;
  margin-bottom: 1rem;
}

h2 {
  font-size: 20px;
  font-weight: 100;
}

h3 {
  font-weight: 300;
  font-size: 16px;
  color: #fff;
}

h4 {
  font-size: 0.875rem;
}

body, html{
  height:100%;
  width:100%;
}

.off-canvas-wrap, .inner-wrap{
    height:100%;
}

.tab-bar {
  display: none;
}

a {
  color: #3498DB;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, input:-webkit-autofill:focus, textarea:-webkit-autofill:focus, select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.join label,
.open label,
.setup label {
  font-size: 0.875rem;
  color: #fff;
  font-weight: 100;
}

a:hover {
  color: #2980b9;
}

.open input,
.join input,
.setup input,
.import input,
.settings input {
  background: #2C3E50 !important;
  -moz-box-shadow:    inset 0px 0px 3px 0px rgba(0,0,0,0.10) !important;
  box-shadow:         inset 0px 0px 3px 0px rgba(0,0,0,0.10) !important;
  border: 0 !important;
  color: #7A8C9E !important;
}

.open select,
.join select,
.setup select,
.import select,
.settings select {
  background: #2C3E50 !important;
  border: 0 !important;
  color: #7A8C9E !important;
}

.page, .main {
  height:100%;
  overflow-y: auto;
  overflow-x: none;
  background-color: #2C3E50;
}

.sidebar {
  height:100%;
  overflow-y: auto;
  overflow-x: none;
}

.sidebar {
  position: fixed;
  width: 250px;
  background-color: #2C3E50;
  color: #fff;
  line-height: 24px;
}

.sidebar a {
  color: #fff;
}

.sidebar ul.copayer-list {
  list-style-type: none;
  padding:0; margin:0;
}

.sidebar ul.copayer-list li {
  margin-top: 15px;
  font-weight: 100;
  font-size: 12px;
  color: #C9C9C9;
}

.sidebar ul.copayer-list img {
  width: 30px;
  height: 30px;
}

.button.small.side-bar {
  padding: 0rem 0.4rem;
}

.waiting {
  border: 2px solid #fff;
}

.online {
  border: 2px solid #1ABC9C;
}

.offline {
  border: 2px solid gray;
  opacity: 0.4;
}

.main {
  margin-left: 250px;
  padding: 1.5rem;
  background-color: #F8F8FB;
}

.home, .open, .join, .waiting-copayers, .setup, .import, .settings {
  margin-top: 15%;
  color: #fff;
}

.import fieldset, .settings fieldset {
  border: 1px solid #3C5269;
}

.import fieldset legend, .settings fieldset legend {
  background: transparent;
  color: #fff;
  font-weight: normal;
}

.import input[type="file"],
.import label,
.import label small,
.settings label,
.settings label small {
  color: #fff;
}

.logo-setup {
  text-align: center;
  margin-top: 9%;
}

.box-setup {
  padding: 20px 30px;
  background: #34495E;
  margin-bottom: 20px;
}

.last-transactions {
  border: 1px solid #eee;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  margin-bottom: 1.25rem;
  background-color: #fff;
}

.last-transactions-header {
  padding: 10px 0;
  overflow: hidden;
}

.last-transactions-footer {
  padding: 10px 0;
  overflow: hidden;
}

.last-transactions-content {
  background-color: #FDFCFC;
  overflow: hidden;
  padding: 10px 0;
}

.last-transactions-content .box-status {
  text-align: center;
  font-size: 14;
}

.last-transactions-content .box-copayer {
  width: 60px;
  margin-right: 20px;
  float: left;
  text-align: center;
}

.last-transactions-content .copayer-ico {
  width: 30px;
  height: 30px;
}

.last-transactions-content .box-copayer .icon-inactive {
  color: #4C5B69;
}

.last-transactions-content .box-copayer .icon-active {
  color: #ccc;
}

.last-transactions-content .box-copayer .icon-active-check {
  color: #3FBC9C;
}

.last-transactions-content .box-copayer .icon-active-x {
  color: #C0392B;
}

.input-note {
  margin-top: -10px;
  display: block;
  margin-bottom: 1rem;
}

.send-note {
  font-style: italic;
  color: gray;
  background-color: #EDEDF5;
  padding: 1.5rem;
  width: 400px;
}

.box-note {
  text-align: center;
  clear: both;
  font-style: italic;
  color: gray;
  margin-bottom: 10px;
}

.button-setup a {
  display: block;
  padding: 20px 30px;
  background: #34495E;
  margin-bottom: 20px;
  font-weight: 100;
  font-size: 24px;
}

.button-setup a:hover {
  background: #3C4E60;
}

.footer-setup {
  overflow: hidden;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

.dn {display: none;}
.pr {position: relative;}
.pa {position: absolute;}
.m0 {margin: 0;}
.db {display: block;}
.size-12 { font-size: 12px; }
.size-14 { font-size: 14px; }
.size-16 { font-size: 16px; }
.size-18 { font-size: 18px; }
.size-21 { font-size: 21px; }
.size-24 { font-size: 24px; }
.size-36 { font-size: 36px; }
.size-48 { font-size: 48px; }
.size-60 { font-size: 60px; }
.size-72 { font-size: 72px; }
.m5t {margin-top: 5px;}
.m10t {margin-top: 10px;}
.m5b {margin-bottom: 5px;}
.m5r {margin-right: 5px;}
.m10b {margin-bottom: 10px;}
.m15b {margin-bottom: 20px;}
.m10r {margin-right: 10px;}
.m15l {margin-left: 15px;}
.m15t {margin-top: 15px;}
.m20r {margin-right: 20px;}
.m15r {margin-right: 15px;}
.m20t {margin-top: 20px;}
.m10 {margin: 10px;}
.m15 {margin: 15px;}
.m15h {margin: 0 15px;}
.p10t {padding-top: 10px;}
.p0r {padding-right: 0;}
.p70r {padding-right: 70px;}
.p70l {padding-left: 70px;}
.p5h {padding: 0 5px;}
.p20h {padding: 0 20px;}
.p15 {padding:15px;}
.p20 {padding:20px;}
.p10 {padding:10px;}
.m30v {margin: 30px 0;}
.m10h {margin:0 10px;}
.m10v {margin:10px 0;}
.m30a {margin: 30px auto;}
.m-negative-l {margin-left: -0.9375rem;}
.br100 {border-radius: 100%;}
.lh {line-height: 0;}
.oh {overflow:hidden;}
.lh {line-height: 0;}

.small {
  font-size: 60%;
  line-height: inherit;
}

.line-dashed-setup-v {
  border-left: 1px dashed #415970;
}

.line-dashed-v {
  border-right: 1px dashed #E3E3E3;
}

.line-dashed-h {
  border-bottom: 1px dashed #E3E3E3;
}

.line {
  border-top: 1px solid #f2f2f2;
  margin: 0.5rem 0 1rem;
}

.line-sidebar {
  border-top: 1px solid #34495E;
  margin: 1rem 0;
}

.line-sidebar-t {
  border-top: 1px solid #3C5269;
  padding-top: 0.5rem;
}

.line-sidebar-b {
  border-bottom: 1px solid #3C5269;
  padding-bottom: 0.5rem;
}

.line-dashed {
  border-top: 1px dashed #ccc;
  margin: 1rem 0;
  padding: 1rem 0;
  overflow: hidden;
}

.name-wallet {
  font-size: 16px;
  line-height: 16px;
}

.box-livenet {
  background: #213140;
  padding: 0rem 0.5rem 0.2rem;
  color: #7A8C9E;
}

.founds {
  font-weight: 100;
  color: #7A8C9E;
}

.hidden {
  visibility: hidden;
}

/* Turn Off Number Input Spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.icon-rotate {
  animation-name: rotateThis;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-name: rotateThis;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

.spinner {
  display:inline-block;
  width: 1em;
  text-align:center;
  line-height:1em;
  vertical-align:middle;
}

.highlight{
  -webkit-animation-name: yellow-flash;
  -webkit-animation-duration: 400ms;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: yellow-flash;
  -moz-animation-duration: 400ms;
  -moz-animation-iteration-count: 1;
  -moz-animation-timing-function: linear;
}

/* notifications */

.dr-notification-container {
  position: absolute;
  z-index: 10000;
}

.dr-notification-container.bottom {
  bottom: 20px;
}

.dr-notification-container.right {
  right: 0;
}

.dr-notification-container.left {
  left: 20px;
}

.dr-notification-container.top {
  top: 20px;
}

.dr-notification-container.center {
  left: 50%;
  margin-left: -190px;
}

.dr-notification-wrapper {
  width: 360px;
  position: relative;
  margin: 10px 0;
}

.dr-notification {
  width: 360px;
  clear: both;
  height: 90px;
  overflow: hidden;
}

.dr-notification-close-btn {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  border-radius: 20px;
  display: inline-block;
  padding: 5px;
  font-size: 12px;
  position: absolute;
  right: 350px;
  top: -8px;
  cursor: pointer;
  z-index: 10;
}

.dr-notification-close-btn:hover {
  -webkit-transform: scale3d(1.25, 1.25, 1);
  -moz-transform: scale3d(1.25, 1.25, 1);
  -ms-transform: scale3d(1.25, 1.25, 1);
  transform: scale3d(1.25, 1.25, 1);
}

.dr-notification-image {
  width: 80px;
  height: 90px;
  float: left;
  display: block;
  font-size: 40px;
  color: white;
  text-align: center;
  border-right: 1px dashed #415970;
}
.dr-notification-image i {
  display: block;
  width: 100%;
  padding-top: 20px;
}
.dr-notification-image img {
  margin: 15px;
  max-width: 70px;
  min-width: 48px;
}

.dr-notification-content {
  padding-left: 90px;
  padding-right: 10px;
  padding-top: 5px;
}

.dr-notification-title {
  color: white;
  padding: 0px;
  font-size: 18px;
  margin-top: 0;
}

.dr-notification {
  background-color: #34495E;
  color: #eee;
  border: 1px solid #2C3E50;
  opacity: 0.9;

}
.dr-notification-close-btn {
  background-color: #34495E;
  color: #fff;
  border: 1px solid #3C5269;
}

.dr-notification-image.dr-notification-type-info {
  color: #FFF;
}

.dr-notification-image.dr-notification-type-warning {
  color: #FFA226;
}

.dr-notification-image.dr-notification-type-error {
  color: #FF4B4F;
}

.dr-notification-image.dr-notification-type-success {
  color: #B4D455;
}

.dr-notification-image.success {
  color: #B4D455;
}

.success {
  color: #1ABC9C;
}

.dr-notification-text {
  font-size: 12px;
  line-height: 120%;
}

.ellipsis {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

ul.pagination li.current a {
  background: #1ABC9C;
}

ul.pagination li.current a:hover, ul.pagination li.current a:focus {
  background: #16A085;
}

.tooltip {
  background: #16A085;
  color: #fff;
  font-weight: normal;
  font-size: 14px;
  padding: 3px 5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #16A085;
  text-overflow: ellipsis;
  overflow-y: hidden;
}

.tooltip>.nub {
  border-color:transparent transparent #16A085 transparent;
}
.tooltip.tip-top>.nub {
  border-color:#16A085 transparent transparent transparent;
}
.tooltip.tip-right>.nub {
  border-color:transparent #16A085 transparent transparent;
}
.tooltip.tip-left>.nub {
  border-color:transparent transparent transparent #16A085;
}

.logo {
  background: transparent url('../img/logo-negative-beta.svg') no-repeat;
  background-size: 130px 51px;
}

button.radius, .button.radius {
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

/* SECONDARY */
button.secondary,
.button.secondary {
  background-color: #4A90E2;
  color: #fff;
}
button.secondary:hover,
button.secondary:focus,
.button.secondary:hover,
.button.secondary:focus {
  background-color: #2980B9;
  color: #fff;
}
button.disabled.secondary,
button[disabled].secondary,
.button.disabled.secondary,
.button[disabled].secondary,
button.disabled.secondary:hover,
button.disabled.secondary:focus,
button[disabled].secondary:hover,
button[disabled].secondary:focus,
.button.disabled.secondary:hover,
.button.disabled.secondary:focus,
.button[disabled].secondary:hover,
.button[disabled].secondary:focus {
  background-color: #95a5a6;
  color: #E6E6E6;
}

/* PRIMARY */
button.primary,
.button.primary {
  background-color: #1ABC9C;
  color: #fff;
}
button.primary:hover,
button.primary:focus,
.button.primary:hover,
.button.primary:focus {
  background-color: #16A085;
  color: #fff;
}
button.disabled.primary,
button[disabled].primary,
.button.disabled.primary,
.button[disabled].primary,
button.disabled.primary:hover,
button.disabled.primary:focus,
button[disabled].primary:hover,
button[disabled].primary:focus,
.button.disabled.primary:hover,
.button.disabled.primary:focus,
.button[disabled].primary:hover,
.button[disabled].primary:focus {
  background-color: #95a5a6;
  color: #E6E6E6;
}

/* WARNING */
button.warning,
.button.warning {
  background-color: #C0392A;
  color: #fff;
}
button.warning:hover,
button.warning:focus,
.button.warning:hover,
.button.warning:focus {
  background-color: #82251A;
  color: #e6e6e6;
}

button.disabled.warning,
button[disabled].warning,
.button.disabled.warning,
.button[disabled].warning,
button.disabled.warning:hover,
button.disabled.warning:focus,
button[disabled].warning:hover,
button[disabled].warning:focus,
.button.disabled.warning:hover,
.button.disabled.warning:focus,
.button[disabled].warning:hover,
.button[disabled].warning:focus {
  background-color: #95a5a6;
  color: #E6E6E6;
}

/* WHITE */
button.white,
.button.white {
  background-color: #fff;
  color: #2C3E50;
}
button.white:hover,
button.white:focus,
.button.white:hover,
.button.white:focus {
  background-color: #E0E0E0;
  color: #2C3E50;
}

button.disabled.white,
button[disabled].white,
.button.disabled.white,
.button[disabled].white,
button.disabled.white:hover,
button.disabled.white:focus,
button[disabled].white:hover,
button[disabled].white:focus,
.button.disabled.white:hover,
.button.disabled.white:focus,
.button[disabled].white:hover,
.button[disabled].white:focus {
  background-color: #95a5a6;
  color: #E6E6E6;
}

/* BLACK */
button.black,
.button.black {
  background-color: #2C3E50;
  color: #fff;
}
button.black:hover,
button.black:focus,
.button.black:hover,
.button.black:focus {
  background-color: #213140;
  color: #fff;
}

button.disabled.black,
button[disabled].black,
.button.disabled.black,
.button[disabled].black,
button.disabled.black:hover,
button.disabled.black:focus,
button[disabled].black:hover,
button[disabled].black:focus,
.button.disabled.black:hover,
.button.disabled.black:focus,
.button[disabled].black:hover,
.button[disabled].black:focus {
  background-color: #95a5a6;
  color: #E6E6E6;
}

/* GRAY */
button.gray,
.button.gray {
  background-color: #A9B2B8;
  color: #2C3E50;
}
button.gray:hover,
button.gray:focus,
.button.gray:hover,
.button.gray:focus {
  background-color: #E0E5E5;
  color: #2C3E50;
}

.side-nav {padding: 0;}

.side-nav li {
  font-size: 16px;
  line-height: 40px;
  font-weight: 100;
}

.side-nav li.active>a:first-child:not(.button) {
  color: #2C3E50;
  background-color: #F8F8FB;
}

.side-nav li>a:first-child:not(.button), .side-nav li a:not(.button) {
  color: #fff;
}

.side-nav li>a:first-child:not(.button) i {
  opacity: 0.6;
}

.side-nav li.active>a:first-child:not(.button) i {
  opacity: 1;
}

.side-nav li.active:hover a {
  background-color: #F8F8FB;
}

.side-nav li:hover a {
  background-color: #3C4E60;
}

.addresses ul {
  margin-left: 0;
}

.pointer {
  cursor: pointer;
}

.video-box {
  width: 70px;
  text-align: center;
  margin-right: 20px;
  padding-bottom: 5px;
  float: left;
}

.video-small {
  width: 50px;
  height: 50px;
}

.icon-input {
  position: absolute;
  top: 11px;
  right: 20px;
  font-size: 16px;
  color: #fff;
}

.icon-input .fi-check {
  background-color: #1ABC9C;
  padding: 0.2rem 0.4rem;
}

.icon-input .fi-x {
  background-color: #C0392A;
  padding: 0.2rem 0.4rem;
}

.has-error {
  color: #C0392A;
}

.is-valid {
  color: #1ABC9C;
}

input.ng-invalid-match, input.ng-invalid-match:focus {
  border-color: red;
}

.copayers h3, .copayers h4, .waiting-copayers h4 {
  color: #fff;
  font-weight: 100;
}

.copayers {
  width: 100%;
  background-color: #213140;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  border-top: 1px solid #475065;
  overflow-y: hidden;
}

.copayers i {
  opacity: 0.6;
}

.text-light {font-weight: 100;}
.text-gray {color: #8597A7;}
.text-primary {color: #1ABC9C;}
.text-secondary {color: #3498DB;}
.text-white {color: #fff;}

.footer-setup a.text-gray:hover {color: #fff;}
a.text-gray:hover {color: #2C3E50;}
a.text-primary:hover {color: #50E3C2;}
a.text-secondary:hover {color: #4A90E2;}
a.text-white:hover {color: #ccc;}

.box-setup-copayers {
  background: #2C3E50;
  -moz-box-shadow:    0px 0px 0px 0px rgba(255,255,255,0.09), inset 0px 0px 2px 0px rgba(0,0,0,0.20);
  box-shadow:         0px 0px 0px 0px rgba(255,255,255,0.09), inset 0px 0px 2px 0px rgba(0,0,0,0.20);
  margin-bottom: 20px;
}

.box-setup-copay-required {
  border: 3px solid #1ABC9C;
  opacity: 1;
}

.loading-screen {
  text-align: center;
  background-color: #1ABC9C;
  width: 100%;
  position: absolute;
  top: 40%;
}

.box-setup .panel {
  background-color: #2C3E50;
  padding: 1rem;
  border: 0;
}

.panel qrcode {
  float: left;
  width: 160px;
  height: 160px;
  padding: 5px 0 0 5px;
  background-color: white;
}

.panel qrcode canvas {
  width: 150px;
  height: 150px;
}

.panel .secret {
  line-height: 1.3rem;
  padding-top: 4rem;
  float: left;
  margin-left: 2rem;
  overflow-wrap: break-word;
  width: 55%;
  text-align: left;
}

/*-----------------------------------------------------------------*/


text:
+++
date = "2015-07-28T09:32:45-04:00"
draft = false
title = "Welcome to Hugo-Geo!"
tags = ["blog", "hugo"]
+++

Welcome to hugo-geo, a resposive theme for the [Hugo static site generator.](http://gohugo.io) Hugo is designed for `post` and `tutorial` sections, and is perfect for personal
portfolio or blog sites.

Why don't you check out the [Getting Started Tutorial]({{< relref "tutorial/getting-started.md" >}}) and find out how you can use hugo-geo and customize it to your liking.


text:
#include "stdafx.h"
#include "dx10StateCache.h"

dx10StateCache<ID3DRasterizerState, D3D_RASTERIZER_DESC> RSManager;
dx10StateCache<ID3DDepthStencilState, D3D_DEPTH_STENCIL_DESC> DSSManager;
dx10StateCache<ID3DBlendState, D3D_BLEND_DESC> BSManager;

template <class IDeviceState, class StateDecs>
dx10StateCache<IDeviceState, StateDecs>::dx10StateCache() {
    static const int iMasRSStates = 10;
    m_StateArray.reserve(iMasRSStates);
}

template <class IDeviceState, class StateDecs>
dx10StateCache<IDeviceState, StateDecs>::~dx10StateCache() {
    ClearStateArray();
    //	VERIFY(m_StateArray.empty());
}

/*
template <class IDeviceState, class StateDecs>
void
dx10StateCache<IDeviceState, StateDecs>
::FlushStates()
{
        ClearStateArray();
}
*/

template <class IDeviceState, class StateDecs>
void dx10StateCache<IDeviceState, StateDecs>::ClearStateArray() {
    for (u32 i = 0; i < m_StateArray.size(); ++i) {
        _RELEASE(m_StateArray[i].m_pState);
    }

    m_StateArray.clear();
}

template <>
void dx10StateCache<ID3DRasterizerState, D3D_RASTERIZER_DESC>::CreateState(
    D3D_RASTERIZER_DESC desc, ID3DRasterizerState** ppIState) {
    CHK_DX(HW.pDevice->CreateRasterizerState(&desc, ppIState));

//	TODO: DX10: Remove this.
#ifdef DEBUG
    Msg("ID3DRasterizerState #%d created.", m_StateArray.size());
#endif //	DEBUG
}

template <>
void dx10StateCache<ID3DDepthStencilState, D3D_DEPTH_STENCIL_DESC>::CreateState(
    D3D_DEPTH_STENCIL_DESC desc, ID3DDepthStencilState** ppIState) {
    CHK_DX(HW.pDevice->CreateDepthStencilState(&desc, ppIState));

//	TODO: DX10: Remove this.
#ifdef DEBUG
    Msg("ID3DDepthStencilState #%d created.", m_StateArray.size());
#endif //	DEBUG
}

template <>
void dx10StateCache<ID3DBlendState, D3D_BLEND_DESC>::CreateState(D3D_BLEND_DESC desc,
                                                                 ID3DBlendState** ppIState) {
    CHK_DX(HW.pDevice->CreateBlendState(&desc, ppIState));

//	TODO: DX10: Remove this.
#ifdef DEBUG
    Msg("ID3DBlendState #%d created.", m_StateArray.size());
#endif //	DEBUG
}

/*
template <>
void
dx10StateCache<ID3DxxRasterizerState, D3D_RASTERIZER_DESC>
::ResetDescription( D3D_RASTERIZER_DESC &desc )
{
        ZeroMemory(&desc, sizeof(desc));
        desc.FillMode = D3D_FILL_SOLID;
        desc.CullMode = D3Dxx_CULL_BACK;
        desc.FrontCounterClockwise = FALSE;
        desc.DepthBias = 0;
        desc.DepthBiasClamp = 0.0f;
        desc.SlopeScaledDepthBias = 0.0f;
        desc.DepthClipEnable = TRUE;
        desc.ScissorEnable = FALSE;
        desc.MultisampleEnable = FALSE;
        desc.AntialiasedLineEnable = FALSE;
}

template <>
void
dx10StateCache<ID3DxxDepthStencilState, D3D_DEPTH_STENCIL_DESC>
::ResetDescription( D3D_DEPTH_STENCIL_DESC &desc )
{
        ZeroMemory(&desc, sizeof(desc));
        desc.DepthEnable = TRUE;
        desc.DepthWriteMask = D3D_DEPTH_WRITE_MASK_ALL;
        desc.DepthFunc = D3Dxx_COMPARISON_LESS;
        desc.StencilEnable = TRUE;
        desc.StencilReadMask = 0xFF;
        desc.StencilWriteMask = 0xFF;

        desc.FrontFace.StencilFailOp = D3Dxx_STENCIL_OP_KEEP;
        desc.FrontFace.StencilDepthFailOp = D3Dxx_STENCIL_OP_KEEP;
        desc.FrontFace.StencilPassOp = D3Dxx_STENCIL_OP_KEEP;
        desc.FrontFace.StencilFunc = D3Dxx_COMPARISON_ALWAYS;

        desc.BackFace.StencilFailOp = D3Dxx_STENCIL_OP_KEEP;
        desc.BackFace.StencilDepthFailOp = D3Dxx_STENCIL_OP_KEEP;
        desc.BackFace.StencilPassOp = D3Dxx_STENCIL_OP_KEEP;
        desc.BackFace.StencilFunc = D3Dxx_COMPARISON_ALWAYS;
}

template <>
void
dx10StateCache< ID3DxxBlendState , D3D_BLEND_DESC >
::ResetDescription( D3D_BLEND_DESC &desc )
{
        ZeroMemory(&desc, sizeof(desc));

        desc.AlphaToCoverageEnable = FALSE;
        desc.SrcBlend = D3Dxx_BLEND_ONE;
        desc.DestBlend = D3Dxx_BLEND_ZERO;
        desc.BlendOp = D3Dxx_BLEND_OP_ADD;
        desc.SrcBlendAlpha = D3Dxx_BLEND_ONE;
        desc.DestBlendAlpha = D3Dxx_BLEND_ZERO;
        desc.BlendOpAlpha = D3Dxx_BLEND_OP_ADD;

        for ( int i=0; i<8; ++i)
        {
                desc.BlendEnable[i] = FALSE;
                desc.RenderTargetWriteMask[i] = D3Dxx_COLOR_WRITE_ENABLE_ALL;
        }
}
*/


text:
This document explains samples and how to use them.

## Getting started

Getting started explained in detail [here][sdk_readme_getting_started].

## Key concepts

Key concepts are explained in detail [here][sdk_readme_key_concepts].

## Examples

### Creating a pipeline topology

To create a pipeline topology you need to define parameters, sources, and sinks.

```java readme-sample-buildPipelineTopology
private static PipelineTopology buildPipeLineTopology() {
    IotHubMessageSource msgSource = new IotHubMessageSource("iotMsgSource")
        .setHubInputName("${hubSourceInput}");

    UsernamePasswordCredentials creds = new UsernamePasswordCredentials("${rtspUsername}", "${rtspPassword}");

    UnsecuredEndpoint endpoint = new UnsecuredEndpoint("${rtspUrl}")
        .setCredentials(creds);

    RtspSource rtspSource = new RtspSource("rtspSource", endpoint);

    NodeInput rtspInput = new NodeInput("rtspSource");

    OutputSelector rtspOutputSelector = new OutputSelector()
        .setProperty(OutputSelectorProperty.MEDIA_TYPE)
        .setOperator(OutputSelectorOperator.IS)
        .setValue("video");
    ImageScale imageScale = new ImageScale()
        .setMode(ImageScaleMode.PRESERVE_ASPECT_RATIO)
        .setHeight("416")
        .setWidth("416");
    ImageFormatBmp imageFormat = new ImageFormatBmp();
    ImageProperties image = new ImageProperties()
        .setScale(imageScale)
        .setFormat(imageFormat);
    ExtensionProcessorBase httpExtension = new HttpExtension("inferenceClient", Arrays.asList(rtspInput), endpoint, image);

    NodeInput nodeInput = new NodeInput("inferenceClient");

    IotHubMessageSink msgSink = new IotHubMessageSink("msgSink",
        Arrays.asList(nodeInput),
        "${hubSinkOutputName}");

    ParameterDeclaration userName = new ParameterDeclaration("rtspUserName", ParameterType.STRING);

    ParameterDeclaration password = new ParameterDeclaration("rtspPassword", ParameterType.SECRET_STRING);
    ParameterDeclaration url = new ParameterDeclaration("rtspUrl", ParameterType.STRING);
    ParameterDeclaration hubOutput = new ParameterDeclaration("hubSinkOutputName", ParameterType.STRING);

    PipelineTopologyProperties pipeProps = new PipelineTopologyProperties()
        .setParameters(Arrays.asList(userName, password, url, hubOutput))
        .setSources(Arrays.asList(rtspSource))
        .setSinks(Arrays.asList(msgSink))
        .setProcessors(Arrays.asList(httpExtension));

    return new PipelineTopology(TOPOLOGY_NAME)
        .setProperties(pipeProps);
}
```

### Creating a live pipeline

To create a live pipeline instance, you need to have an existing pipeline topology.

```java readme-sample-buildLivePipeline
private static LivePipeline buildLivePipeline() {
    ParameterDefinition hubParam = new ParameterDefinition("hubSinkOutputName")
        .setValue("testHubOutput");
    ParameterDefinition userParam = new ParameterDefinition("rtspUserName")
        .setValue("testuser");
    ParameterDefinition urlParam = new ParameterDefinition("rtspUrl")
        .setValue("rtsp://sample-url-from-camera");
    ParameterDefinition passParam = new ParameterDefinition("rtspPassword")
        .setValue("testpass");

    LivePipelineProperties livePipelineProps = new LivePipelineProperties()
        .setParameters(Arrays.asList(urlParam, userParam, passParam, hubParam))
        .setTopologyName(TOPOLOGY_NAME);

    return new LivePipeline(LIVE_PIPELINE_NAME)
        .setProperties(livePipelineProps);
}
```

### Invoking a pipeline method request

```java readme-sample-invokeDirectMethodHelper
private static MethodResult invokeDirectMethodHelper(DeviceMethod client, String methodName, String payload) throws IOException, IotHubException {
    MethodResult result = null;
    try {
        result = client.invoke(iothubDeviceid, iothubModuleid, methodName, null, null, payload);
    } catch (IotHubException e) {
        System.out.println("An error has occurred.");
        System.out.println(e.toString());
    }

    return result;
}
```

```java readme-sample-setPipelineTopologyRequest
PipelineTopologySetRequest setPipelineTopologyRequest = new PipelineTopologySetRequest(pipelineTopology);
MethodResult setPipelineResult = invokeDirectMethodHelper(dClient, setPipelineTopologyRequest.getMethodName(), setPipelineTopologyRequest.getPayloadAsJson());
System.out.println(setPipelineResult.getPayload());
```

## Troubleshooting

Troubleshooting steps can be found [here][sdk_readme_troubleshooting].

## Next steps

-   [Samples][samples]
-   [Azure IoT Device SDK][iot-device-sdk]
-   [Azure IoTHub Service SDK][iot-hub-sdk]

## Contributing

This project welcomes contributions and suggestions. Most contributions require
you to agree to a Contributor License Agreement (CLA) declaring that you have
the right to, and actually do, grant us the rights to use your contribution.
For details, visit https://cla.microsoft.com.

If you encounter any issues, please open an issue on our [Github][github-page-issues].

When you submit a pull request, a CLA-bot will automatically determine whether
you need to provide a CLA and decorate the PR appropriately (e.g., label,
comment). Simply follow the instructions provided by the bot. You will only
need to do this once across all repos using our CLA.

This project has adopted the
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
see the Code of Conduct FAQ or contact opencode@microsoft.com with any
additional questions or comments.

<!-- LINKS -->

[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[cla]: https://cla.microsoft.com
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
[coc_contact]: mailto:opencode@microsoft.com
[package]: TODO://link-to-published-package
[source]: TODO://link-to-published-source
[doc_direct_methods]: TODO://lilink-to-published-docnk
[doc_product]: TODO://link-to-published-doc
[doc_pipeline]: TODO://link-to-published-doc
[iot_device_connection_string]: TODO://link-to-published-doc
[iot-device-sdk]: https://search.maven.org/search?q=a:iot-service-client
[iot-hub-sdk]: https://github.com/Azure/azure-iot-sdk-java
[github-page-issues]: https://github.com/Azure/azure-sdk-for-java/issues
[sdk_readme_key_concepts]: TODO://link-to-published-readme
[sdk_readme_getting_started]: TODO://link-to-published-readme
[sdk_readme_troubleshooting]: TODO://link-to-published-readme
[samples]: TODO://link-to-published-samples

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fvideoanalyzer%2Fazure-media-videoanalyzer-edge%2FREADME.png)


text:
import angular from 'angular';

angular
.module('ignite-console.states.login', [
    'ui.router',
    // services
    'ignite-console.user'
])
.config(['$stateProvider', function($stateProvider) {
    // set up the states
    $stateProvider
    .state('signin', {
        url: '/',
        templateUrl: '/signin.html',
        metaTags: {
        }
    });
}])
.run(['$rootScope', '$state', 'Auth', 'IgniteBranding', function($root, $state, Auth, branding) {
    $root.$on('$stateChangeStart', function(event, toState) {
        if (toState.name === branding.termsState)
            return;

        if (!Auth.authorized && (toState.name !== 'signin' && !_.startsWith(toState.name, 'password.'))) {
            event.preventDefault();

            $state.go('signin');
        }
        else if (Auth.authorized && toState.name === 'signin') {
            event.preventDefault();

            $state.go('base.configuration.clusters');
        }
    });
}]);


text:
"use strict";
(function(){

  function init() {
  }

  function updateFromJson(obj) {
    if (typeof obj === 'string') {
      obj = JSON.parse(obj);
    }

    confirmApply(obj, function() {
      Object.keys(obj).forEach(function(key) {
        Espruino.Config.set(key, obj[key]);
      });
    });
  }

  function confirmApply(obj, confirmCallback) {
    var $content = $('

');
    var $wrapper = $('

').appendTo($content);
    $wrapper.append('Following settings are about to be applied:');

    var $table = $([
      '
',
        '
',
          '
',
            'Key	',
            'Value	',
          '
',
        '
',
        '
',
        '
',
      '
'
    ].join('')).appendTo($wrapper);

    var $tbody = $('tbody', $table);

    var isAltered = false;
    Object.keys(obj).forEach(function(key) {
      if (Espruino.Config[key]!=obj[key])
        isAltered = true;
      $([
        '
',
          '', key, '	',
          '', obj[key], '	',
        '
'
      ].join('')).appendTo($tbody);
    });

    // Nothing has changed - don't bother prompting the user.
    if (!isAltered) return;

    var popup = Espruino.Core.App.openPopup({
      title: "Confirm setting update...",
      contents: $content.html(),
      position: "center",
      buttons : [{ name:"Ok", callback : function() {
        popup.close();
        confirmCallback();
      }}]
    });
  }

  Espruino.Plugins.SettingsProfile = {
    init : init,
    updateFromJson: updateFromJson
  };
}());


text:
/**
 * This file is generated by the Angular 2 template compiler.
 * Do not edit.
 */
 /* tslint:disable */

import * as import0 from '@angular/core/src/linker/ng_module_factory';
import * as import1 from '../../../components/carousel/carousel';
import * as import2 from '@angular/common/src/common_module';
import * as import3 from '../../../components/common/shared';
import * as import4 from '@angular/common/src/localization';
import * as import5 from '@angular/core/src/di/injector';
import * as import6 from '@angular/core/src/i18n/tokens';
import * as import7 from '@angular/core/src/render/api';
import * as import8 from '@angular/core/src/linker/view';
import * as import9 from '@angular/core/src/linker/element';
import * as import10 from '../../../components/dom/domhandler';
import * as import11 from '@angular/core/src/linker/query_list';
import * as import12 from '@angular/core/src/linker/view_utils';
import * as import13 from '@angular/core/src/linker/view_type';
import * as import14 from '@angular/core/src/change_detection/change_detection';
import * as import15 from '@angular/core/src/linker/element_ref';
import * as import16 from '@angular/core/src/change_detection/differs/iterable_differs';
import * as import17 from '@angular/core/src/metadata/view';
import * as import18 from '@angular/core/src/linker/component_factory';
import * as import19 from '@angular/common/src/directives/ng_class';
import * as import20 from '@angular/common/src/directives/ng_style';
import * as import21 from '@angular/common/src/directives/ng_if';
import * as import22 from '@angular/common/src/directives/ng_for';
import * as import23 from '@angular/core/src/change_detection/differs/keyvalue_differs';
import * as import24 from '@angular/core/src/linker/template_ref';
import * as import25 from '@angular/core/src/security';
class CarouselModuleInjector extends import0.NgModuleInjector<import1.CarouselModule> {
  _CommonModule_0:import2.CommonModule;
  _SharedModule_1:import3.SharedModule;
  _CarouselModule_2:import1.CarouselModule;
  __LOCALE_ID_3:any;
  __NgLocalization_4:import4.NgLocaleLocalization;
  __TRANSLATIONS_FORMAT_5:any;
  constructor(parent:import5.Injector) {
    super(parent,[],[]);
  }
  get _LOCALE_ID_3():any {
    if ((this.__LOCALE_ID_3 == (null as any))) { (this.__LOCALE_ID_3 = (null as any)); }
    return this.__LOCALE_ID_3;
  }
  get _NgLocalization_4():import4.NgLocaleLocalization {
    if ((this.__NgLocalization_4 == (null as any))) { (this.__NgLocalization_4 = new import4.NgLocaleLocalization(this._LOCALE_ID_3)); }
    return this.__NgLocalization_4;
  }
  get _TRANSLATIONS_FORMAT_5():any {
    if ((this.__TRANSLATIONS_FORMAT_5 == (null as any))) { (this.__TRANSLATIONS_FORMAT_5 = (null as any)); }
    return this.__TRANSLATIONS_FORMAT_5;
  }
  createInternal():import1.CarouselModule {
    this._CommonModule_0 = new import2.CommonModule();
    this._SharedModule_1 = new import3.SharedModule();
    this._CarouselModule_2 = new import1.CarouselModule();
    return this._CarouselModule_2;
  }
  getInternal(token:any,notFoundResult:any):any {
    if ((token === import2.CommonModule)) { return this._CommonModule_0; }
    if ((token === import3.SharedModule)) { return this._SharedModule_1; }
    if ((token === import1.CarouselModule)) { return this._CarouselModule_2; }
    if ((token === import6.LOCALE_ID)) { return this._LOCALE_ID_3; }
    if ((token === import4.NgLocalization)) { return this._NgLocalization_4; }
    if ((token === import6.TRANSLATIONS_FORMAT)) { return this._TRANSLATIONS_FORMAT_5; }
    return notFoundResult;
  }
  destroyInternal():void {
  }
}
export const CarouselModuleNgFactory:import0.NgModuleFactory<import1.CarouselModule> = new import0.NgModuleFactory(CarouselModuleInjector,import1.CarouselModule);
var renderType_Carousel_Host:import7.RenderComponentType = (null as any);
class _View_Carousel_Host0 extends import8.AppView<any> {
  _el_0:any;
  /*private*/ _appEl_0:import9.AppElement;
  _DomHandler_0_4:import10.DomHandler;
  _Carousel_0_5:import1.Carousel;
  _query_TemplateRef_0_0:import11.QueryList<any>;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel_Host0,renderType_Carousel_Host,import13.ViewType.HOST,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.selectOrCreateHostElement('p-carousel',rootSelector,(null as any));
    this._appEl_0 = new import9.AppElement(0,(null as any),this,this._el_0);
    var compView_0:any = viewFactory_Carousel0(this.viewUtils,this.injector(0),this._appEl_0);
    this._DomHandler_0_4 = new import10.DomHandler();
    this._Carousel_0_5 = new import1.Carousel(new import15.ElementRef(this._el_0),this._DomHandler_0_4,this.parentInjector.get(import16.IterableDiffers),this.renderer);
    this._query_TemplateRef_0_0 = new import11.QueryList<any>();
    this._appEl_0.initComponent(this._Carousel_0_5,[],compView_0);
    this._query_TemplateRef_0_0.reset([]);
    this._Carousel_0_5.itemTemplate = this._query_TemplateRef_0_0.first;
    compView_0.create(this._Carousel_0_5,this.projectableNodes,(null as any));
    this.init([].concat([this._el_0]),[this._el_0],[],[]);
    return this._appEl_0;
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import10.DomHandler) && (0 === requestNodeIndex))) { return this._DomHandler_0_4; }
    if (((token === import1.Carousel) && (0 === requestNodeIndex))) { return this._Carousel_0_5; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    if (((this.numberOfChecks === 0) && !throwOnChange)) { this._Carousel_0_5.ngOnInit(); }
    if (!throwOnChange) { this._Carousel_0_5.ngDoCheck(); }
    this.detectContentChildrenChanges(throwOnChange);
    this.detectViewChildrenChanges(throwOnChange);
    if (!throwOnChange) {
      if ((this.numberOfChecks === 0)) { this._Carousel_0_5.ngAfterViewInit(); }
      this._Carousel_0_5.ngAfterViewChecked();
    }
  }
  destroyInternal():void {
    this._Carousel_0_5.ngOnDestroy();
  }
}
function viewFactory_Carousel_Host0(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  if ((renderType_Carousel_Host === (null as any))) { (renderType_Carousel_Host = viewUtils.createRenderComponentType('',0,import17.ViewEncapsulation.None,[],{})); }
  return new _View_Carousel_Host0(viewUtils,parentInjector,declarationEl);
}
export const CarouselNgFactory:import18.ComponentFactory<import1.Carousel> = new import18.ComponentFactory<import1.Carousel>('p-carousel',viewFactory_Carousel_Host0,import1.Carousel);
const styles_Carousel:any[] = [];
var renderType_Carousel:import7.RenderComponentType = (null as any);
class _View_Carousel0 extends import8.AppView<import1.Carousel> {
  _text_0:any;
  _el_1:any;
  _NgClass_1_3:import19.NgClass;
  _NgStyle_1_4:import20.NgStyle;
  _text_2:any;
  _el_3:any;
  _text_4:any;
  _el_5:any;
  _text_6:any;
  _text_7:any;
  _el_8:any;
  _NgClass_8_3:import19.NgClass;
  _text_9:any;
  _el_10:any;
  _NgClass_10_3:import19.NgClass;
  _text_11:any;
  _anchor_12:any;
  /*private*/ _appEl_12:import9.AppElement;
  _TemplateRef_12_5:any;
  _NgIf_12_6:import21.NgIf;
  _text_13:any;
  _anchor_14:any;
  /*private*/ _appEl_14:import9.AppElement;
  _TemplateRef_14_5:any;
  _NgIf_14_6:import21.NgIf;
  _text_15:any;
  _anchor_16:any;
  /*private*/ _appEl_16:import9.AppElement;
  _TemplateRef_16_5:any;
  _NgIf_16_6:import21.NgIf;
  _text_17:any;
  _text_18:any;
  _el_19:any;
  _text_20:any;
  _el_21:any;
  _text_22:any;
  _anchor_23:any;
  /*private*/ _appEl_23:import9.AppElement;
  _TemplateRef_23_5:any;
  _NgFor_23_6:import22.NgFor;
  _text_24:any;
  _text_25:any;
  _text_26:any;
  _text_27:any;
  /*private*/ _expr_0:any;
  _map_0:any;
  /*private*/ _expr_1:any;
  /*private*/ _expr_2:any;
  /*private*/ _expr_3:any;
  /*private*/ _expr_5:any;
  _map_1:any;
  /*private*/ _expr_6:any;
  /*private*/ _expr_8:any;
  _map_2:any;
  /*private*/ _expr_9:any;
  /*private*/ _expr_10:any;
  /*private*/ _expr_11:any;
  /*private*/ _expr_12:any;
  /*private*/ _expr_13:any;
  /*private*/ _expr_14:any;
  /*private*/ _expr_15:any;
  /*private*/ _expr_16:any;
  /*private*/ _expr_17:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel0,renderType_Carousel,import13.ViewType.COMPONENT,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
    this._text_0 = this.renderer.createText(parentRenderNode,'\n        ',(null as any));
    this._el_1 = this.renderer.createElement(parentRenderNode,'div',(null as any));
    this._NgClass_1_3 = new import19.NgClass(this.parentInjector.get(import16.IterableDiffers),this.parentInjector.get(import23.KeyValueDiffers),new import15.ElementRef(this._el_1),this.renderer);
    this._NgStyle_1_4 = new import20.NgStyle(this.parentInjector.get(import23.KeyValueDiffers),new import15.ElementRef(this._el_1),this.renderer);
    this._text_2 = this.renderer.createText(this._el_1,'\n            ',(null as any));
    this._el_3 = this.renderer.createElement(this._el_1,'div',(null as any));
    this.renderer.setElementAttribute(this._el_3,'class','ui-carousel-header ui-widget-header');
    this._text_4 = this.renderer.createText(this._el_3,'\n                ',(null as any));
    this._el_5 = this.renderer.createElement(this._el_3,'div',(null as any));
    this.renderer.setElementAttribute(this._el_5,'class','ui-carousel-header-title');
    this._text_6 = this.renderer.createText(this._el_5,'',(null as any));
    this._text_7 = this.renderer.createText(this._el_3,'\n                ',(null as any));
    this._el_8 = this.renderer.createElement(this._el_3,'span',(null as any));
    this.renderer.setElementAttribute(this._el_8,'class','ui-carousel-button ui-carousel-next-button fa fa-arrow-circle-right');
    this._NgClass_8_3 = new import19.NgClass(this.parentInjector.get(import16.IterableDiffers),this.parentInjector.get(import23.KeyValueDiffers),new import15.ElementRef(this._el_8),this.renderer);
    this._text_9 = this.renderer.createText(this._el_3,'\n                ',(null as any));
    this._el_10 = this.renderer.createElement(this._el_3,'span',(null as any));
    this.renderer.setElementAttribute(this._el_10,'class','ui-carousel-button ui-carousel-prev-button fa fa-arrow-circle-left');
    this._NgClass_10_3 = new import19.NgClass(this.parentInjector.get(import16.IterableDiffers),this.parentInjector.get(import23.KeyValueDiffers),new import15.ElementRef(this._el_10),this.renderer);
    this._text_11 = this.renderer.createText(this._el_3,'\n                ',(null as any));
    this._anchor_12 = this.renderer.createTemplateAnchor(this._el_3,(null as any));
    this._appEl_12 = new import9.AppElement(12,3,this,this._anchor_12);
    this._TemplateRef_12_5 = new import24.TemplateRef_(this._appEl_12,viewFactory_Carousel1);
    this._NgIf_12_6 = new import21.NgIf(this._appEl_12.vcRef,this._TemplateRef_12_5);
    this._text_13 = this.renderer.createText(this._el_3,'\n                ',(null as any));
    this._anchor_14 = this.renderer.createTemplateAnchor(this._el_3,(null as any));
    this._appEl_14 = new import9.AppElement(14,3,this,this._anchor_14);
    this._TemplateRef_14_5 = new import24.TemplateRef_(this._appEl_14,viewFactory_Carousel3);
    this._NgIf_14_6 = new import21.NgIf(this._appEl_14.vcRef,this._TemplateRef_14_5);
    this._text_15 = this.renderer.createText(this._el_3,'\n                ',(null as any));
    this._anchor_16 = this.renderer.createTemplateAnchor(this._el_3,(null as any));
    this._appEl_16 = new import9.AppElement(16,3,this,this._anchor_16);
    this._TemplateRef_16_5 = new import24.TemplateRef_(this._appEl_16,viewFactory_Carousel5);
    this._NgIf_16_6 = new import21.NgIf(this._appEl_16.vcRef,this._TemplateRef_16_5);
    this._text_17 = this.renderer.createText(this._el_3,'\n            ',(null as any));
    this._text_18 = this.renderer.createText(this._el_1,'\n            ',(null as any));
    this._el_19 = this.renderer.createElement(this._el_1,'div',(null as any));
    this.renderer.setElementAttribute(this._el_19,'class','ui-carousel-viewport');
    this._text_20 = this.renderer.createText(this._el_19,'\n                ',(null as any));
    this._el_21 = this.renderer.createElement(this._el_19,'ul',(null as any));
    this.renderer.setElementAttribute(this._el_21,'class','ui-carousel-items');
    this._text_22 = this.renderer.createText(this._el_21,'\n                    ',(null as any));
    this._anchor_23 = this.renderer.createTemplateAnchor(this._el_21,(null as any));
    this._appEl_23 = new import9.AppElement(23,21,this,this._anchor_23);
    this._TemplateRef_23_5 = new import24.TemplateRef_(this._appEl_23,viewFactory_Carousel7);
    this._NgFor_23_6 = new import22.NgFor(this._appEl_23.vcRef,this._TemplateRef_23_5,this.parentInjector.get(import16.IterableDiffers),this.ref);
    this._text_24 = this.renderer.createText(this._el_21,'\n                ',(null as any));
    this._text_25 = this.renderer.createText(this._el_19,'\n            ',(null as any));
    this._text_26 = this.renderer.createText(this._el_1,'\n        ',(null as any));
    this._text_27 = this.renderer.createText(parentRenderNode,'\n    ',(null as any));
    this._expr_0 = import14.UNINITIALIZED;
    this._map_0 = import12.pureProxy1((p0:any):{[key: string]:any} => {
      return {'ui-carousel ui-widget ui-widget-content ui-corner-all': p0};
    });
    this._expr_1 = import14.UNINITIALIZED;
    this._expr_2 = import14.UNINITIALIZED;
    this._expr_3 = import14.UNINITIALIZED;
    var disposable_0:Function = this.renderer.listen(this._el_8,'click',this.eventHandler(this._handle_click_8_0.bind(this)));
    this._expr_5 = import14.UNINITIALIZED;
    this._map_1 = import12.pureProxy1((p0:any):{[key: string]:any} => {
      return {'ui-state-disabled': p0};
    });
    this._expr_6 = import14.UNINITIALIZED;
    var disposable_1:Function = this.renderer.listen(this._el_10,'click',this.eventHandler(this._handle_click_10_0.bind(this)));
    this._expr_8 = import14.UNINITIALIZED;
    this._map_2 = import12.pureProxy1((p0:any):{[key: string]:any} => {
      return {'ui-state-disabled': p0};
    });
    this._expr_9 = import14.UNINITIALIZED;
    this._expr_10 = import14.UNINITIALIZED;
    this._expr_11 = import14.UNINITIALIZED;
    this._expr_12 = import14.UNINITIALIZED;
    this._expr_13 = import14.UNINITIALIZED;
    this._expr_14 = import14.UNINITIALIZED;
    this._expr_15 = import14.UNINITIALIZED;
    this._expr_16 = import14.UNINITIALIZED;
    this._expr_17 = import14.UNINITIALIZED;
    this.init([],[
      this._text_0,
      this._el_1,
      this._text_2,
      this._el_3,
      this._text_4,
      this._el_5,
      this._text_6,
      this._text_7,
      this._el_8,
      this._text_9,
      this._el_10,
      this._text_11,
      this._anchor_12,
      this._text_13,
      this._anchor_14,
      this._text_15,
      this._anchor_16,
      this._text_17,
      this._text_18,
      this._el_19,
      this._text_20,
      this._el_21,
      this._text_22,
      this._anchor_23,
      this._text_24,
      this._text_25,
      this._text_26,
      this._text_27
    ]
    ,[
      disposable_0,
      disposable_1
    ]
    ,[]);
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import19.NgClass) && (8 === requestNodeIndex))) { return this._NgClass_8_3; }
    if (((token === import19.NgClass) && (10 === requestNodeIndex))) { return this._NgClass_10_3; }
    if (((token === import24.TemplateRef) && (12 === requestNodeIndex))) { return this._TemplateRef_12_5; }
    if (((token === import21.NgIf) && (12 === requestNodeIndex))) { return this._NgIf_12_6; }
    if (((token === import24.TemplateRef) && (14 === requestNodeIndex))) { return this._TemplateRef_14_5; }
    if (((token === import21.NgIf) && (14 === requestNodeIndex))) { return this._NgIf_14_6; }
    if (((token === import24.TemplateRef) && (16 === requestNodeIndex))) { return this._TemplateRef_16_5; }
    if (((token === import21.NgIf) && (16 === requestNodeIndex))) { return this._NgIf_16_6; }
    if (((token === import24.TemplateRef) && (23 === requestNodeIndex))) { return this._TemplateRef_23_5; }
    if (((token === import22.NgFor) && (23 === requestNodeIndex))) { return this._NgFor_23_6; }
    if (((token === import19.NgClass) && ((1 <= requestNodeIndex) && (requestNodeIndex <= 26)))) { return this._NgClass_1_3; }
    if (((token === import20.NgStyle) && ((1 <= requestNodeIndex) && (requestNodeIndex <= 26)))) { return this._NgStyle_1_4; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    var changes:{[key: string]:import14.SimpleChange} = (null as any);
    const currVal_0:any = this.context.styleClass;
    if (import12.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
      this._NgClass_1_3.klass = currVal_0;
      this._expr_0 = currVal_0;
    }
    const currVal_1:any = this._map_0(true);
    if (import12.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
      this._NgClass_1_3.ngClass = currVal_1;
      this._expr_1 = currVal_1;
    }
    if (!throwOnChange) { this._NgClass_1_3.ngDoCheck(); }
    const currVal_2:any = this.context.style;
    if (import12.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
      this._NgStyle_1_4.ngStyle = currVal_2;
      this._expr_2 = currVal_2;
    }
    if (!throwOnChange) { this._NgStyle_1_4.ngDoCheck(); }
    const currVal_5:any = 'ui-carousel-button ui-carousel-next-button fa fa-arrow-circle-right';
    if (import12.checkBinding(throwOnChange,this._expr_5,currVal_5)) {
      this._NgClass_8_3.klass = currVal_5;
      this._expr_5 = currVal_5;
    }
    const currVal_6:any = this._map_1(((this.context.page === (this.context.totalPages - 1)) && !this.context.circular));
    if (import12.checkBinding(throwOnChange,this._expr_6,currVal_6)) {
      this._NgClass_8_3.ngClass = currVal_6;
      this._expr_6 = currVal_6;
    }
    if (!throwOnChange) { this._NgClass_8_3.ngDoCheck(); }
    const currVal_8:any = 'ui-carousel-button ui-carousel-prev-button fa fa-arrow-circle-left';
    if (import12.checkBinding(throwOnChange,this._expr_8,currVal_8)) {
      this._NgClass_10_3.klass = currVal_8;
      this._expr_8 = currVal_8;
    }
    const currVal_9:any = this._map_2(((this.context.page === 0) && !this.context.circular));
    if (import12.checkBinding(throwOnChange,this._expr_9,currVal_9)) {
      this._NgClass_10_3.ngClass = currVal_9;
      this._expr_9 = currVal_9;
    }
    if (!throwOnChange) { this._NgClass_10_3.ngDoCheck(); }
    const currVal_10:any = this.context.displayPageLinks;
    if (import12.checkBinding(throwOnChange,this._expr_10,currVal_10)) {
      this._NgIf_12_6.ngIf = currVal_10;
      this._expr_10 = currVal_10;
    }
    const currVal_11:any = this.context.displayPageDropdown;
    if (import12.checkBinding(throwOnChange,this._expr_11,currVal_11)) {
      this._NgIf_14_6.ngIf = currVal_11;
      this._expr_11 = currVal_11;
    }
    const currVal_12:any = this.context.responsive;
    if (import12.checkBinding(throwOnChange,this._expr_12,currVal_12)) {
      this._NgIf_16_6.ngIf = currVal_12;
      this._expr_12 = currVal_12;
    }
    changes = (null as any);
    const currVal_17:any = this.context.value;
    if (import12.checkBinding(throwOnChange,this._expr_17,currVal_17)) {
      this._NgFor_23_6.ngForOf = currVal_17;
      if ((changes === (null as any))) { (changes = {}); }
      changes['ngForOf'] = new import14.SimpleChange(this._expr_17,currVal_17);
      this._expr_17 = currVal_17;
    }
    if ((changes !== (null as any))) { this._NgFor_23_6.ngOnChanges(changes); }
    if (!throwOnChange) { this._NgFor_23_6.ngDoCheck(); }
    this.detectContentChildrenChanges(throwOnChange);
    const currVal_3:any = import12.interpolate(1,'',this.context.headerText,'');
    if (import12.checkBinding(throwOnChange,this._expr_3,currVal_3)) {
      this.renderer.setText(this._text_6,currVal_3);
      this._expr_3 = currVal_3;
    }
    const currVal_13:any = this.context.left;
    if (import12.checkBinding(throwOnChange,this._expr_13,currVal_13)) {
      this.renderer.setElementStyle(this._el_21,'left',((this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_13) == (null as any))? (null as any): (this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_13).toString() + 'px')));
      this._expr_13 = currVal_13;
    }
    const currVal_14:any = 'left';
    if (import12.checkBinding(throwOnChange,this._expr_14,currVal_14)) {
      this.renderer.setElementStyle(this._el_21,'transitionProperty',((this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_14) == (null as any))? (null as any): this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_14).toString()));
      this._expr_14 = currVal_14;
    }
    const currVal_15:any = this.context.effectDuration;
    if (import12.checkBinding(throwOnChange,this._expr_15,currVal_15)) {
      this.renderer.setElementStyle(this._el_21,'transitionDuration',((this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_15) == (null as any))? (null as any): this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_15).toString()));
      this._expr_15 = currVal_15;
    }
    const currVal_16:any = this.context.easing;
    if (import12.checkBinding(throwOnChange,this._expr_16,currVal_16)) {
      this.renderer.setElementStyle(this._el_21,'transitionTimingFunction',((this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_16) == (null as any))? (null as any): this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_16).toString()));
      this._expr_16 = currVal_16;
    }
    this.detectViewChildrenChanges(throwOnChange);
  }
  private _handle_click_8_0($event:any):boolean {
    this.markPathToRootAsCheckOnce();
    const pd_0:any = ((<any>this.context.onNextNav()) !== false);
    return (true && pd_0);
  }
  private _handle_click_10_0($event:any):boolean {
    this.markPathToRootAsCheckOnce();
    const pd_0:any = ((<any>this.context.onPrevNav()) !== false);
    return (true && pd_0);
  }
}
export function viewFactory_Carousel0(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<import1.Carousel> {
  if ((renderType_Carousel === (null as any))) { (renderType_Carousel = viewUtils.createRenderComponentType('c:/Users/eirwn/Documents/primeng-min/components/carousel/carousel.ts class Carousel - inline template',0,import17.ViewEncapsulation.None,styles_Carousel,{})); }
  return new _View_Carousel0(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel1 extends import8.AppView<any> {
  _el_0:any;
  _text_1:any;
  _anchor_2:any;
  /*private*/ _appEl_2:import9.AppElement;
  _TemplateRef_2_5:any;
  _NgFor_2_6:import22.NgFor;
  _text_3:any;
  /*private*/ _expr_0:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel1,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.renderer.createElement((null as any),'div',(null as any));
    this.renderer.setElementAttribute(this._el_0,'class','ui-carousel-page-links');
    this._text_1 = this.renderer.createText(this._el_0,'\n                    ',(null as any));
    this._anchor_2 = this.renderer.createTemplateAnchor(this._el_0,(null as any));
    this._appEl_2 = new import9.AppElement(2,0,this,this._anchor_2);
    this._TemplateRef_2_5 = new import24.TemplateRef_(this._appEl_2,viewFactory_Carousel2);
    this._NgFor_2_6 = new import22.NgFor(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(import16.IterableDiffers),this.parent.ref);
    this._text_3 = this.renderer.createText(this._el_0,'\n                ',(null as any));
    this._expr_0 = import14.UNINITIALIZED;
    this.init([].concat([this._el_0]),[
      this._el_0,
      this._text_1,
      this._anchor_2,
      this._text_3
    ]
    ,[],[]);
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import24.TemplateRef) && (2 === requestNodeIndex))) { return this._TemplateRef_2_5; }
    if (((token === import22.NgFor) && (2 === requestNodeIndex))) { return this._NgFor_2_6; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    var changes:{[key: string]:import14.SimpleChange} = (null as any);
    changes = (null as any);
    const currVal_0:any = this.parent.context.anchorPageLinks;
    if (import12.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
      this._NgFor_2_6.ngForOf = currVal_0;
      if ((changes === (null as any))) { (changes = {}); }
      changes['ngForOf'] = new import14.SimpleChange(this._expr_0,currVal_0);
      this._expr_0 = currVal_0;
    }
    if ((changes !== (null as any))) { this._NgFor_2_6.ngOnChanges(changes); }
    if (!throwOnChange) { this._NgFor_2_6.ngDoCheck(); }
    this.detectContentChildrenChanges(throwOnChange);
    this.detectViewChildrenChanges(throwOnChange);
  }
}
function viewFactory_Carousel1(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel1(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel2 extends import8.AppView<any> {
  _el_0:any;
  _NgClass_0_3:import19.NgClass;
  /*private*/ _expr_1:any;
  _map_0:any;
  /*private*/ _expr_2:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel2,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.renderer.createElement((null as any),'a',(null as any));
    this.renderer.setElementAttribute(this._el_0,'class','ui-carousel-page-link fa fa-circle-o');
    this.renderer.setElementAttribute(this._el_0,'href','#');
    this._NgClass_0_3 = new import19.NgClass(this.parent.parent.parentInjector.get(import16.IterableDiffers),this.parent.parent.parentInjector.get(import23.KeyValueDiffers),new import15.ElementRef(this._el_0),this.renderer);
    var disposable_0:Function = this.renderer.listen(this._el_0,'click',this.eventHandler(this._handle_click_0_0.bind(this)));
    this._expr_1 = import14.UNINITIALIZED;
    this._map_0 = import12.pureProxy1((p0:any):{[key: string]:any} => {
      return {'fa-dot-circle-o': p0};
    });
    this._expr_2 = import14.UNINITIALIZED;
    this.init([].concat([this._el_0]),[this._el_0],[disposable_0],[]);
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import19.NgClass) && (0 === requestNodeIndex))) { return this._NgClass_0_3; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    const currVal_1:any = 'ui-carousel-page-link fa fa-circle-o';
    if (import12.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
      this._NgClass_0_3.klass = currVal_1;
      this._expr_1 = currVal_1;
    }
    const currVal_2:any = this._map_0((this.parent.parent.context.page === this.context.index));
    if (import12.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
      this._NgClass_0_3.ngClass = currVal_2;
      this._expr_2 = currVal_2;
    }
    if (!throwOnChange) { this._NgClass_0_3.ngDoCheck(); }
    this.detectContentChildrenChanges(throwOnChange);
    this.detectViewChildrenChanges(throwOnChange);
  }
  private _handle_click_0_0($event:any):boolean {
    this.markPathToRootAsCheckOnce();
    const pd_0:any = ((<any>this.parent.parent.context.setPageWithLink($event,this.context.index)) !== false);
    return (true && pd_0);
  }
}
function viewFactory_Carousel2(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel2(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel3 extends import8.AppView<any> {
  _el_0:any;
  _text_1:any;
  _anchor_2:any;
  /*private*/ _appEl_2:import9.AppElement;
  _TemplateRef_2_5:any;
  _NgFor_2_6:import22.NgFor;
  _text_3:any;
  /*private*/ _expr_1:any;
  /*private*/ _expr_2:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel3,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.renderer.createElement((null as any),'select',(null as any));
    this.renderer.setElementAttribute(this._el_0,'class','ui-carousel-dropdown ui-widget ui-state-default ui-corner-left');
    this._text_1 = this.renderer.createText(this._el_0,'\n                    ',(null as any));
    this._anchor_2 = this.renderer.createTemplateAnchor(this._el_0,(null as any));
    this._appEl_2 = new import9.AppElement(2,0,this,this._anchor_2);
    this._TemplateRef_2_5 = new import24.TemplateRef_(this._appEl_2,viewFactory_Carousel4);
    this._NgFor_2_6 = new import22.NgFor(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(import16.IterableDiffers),this.parent.ref);
    this._text_3 = this.renderer.createText(this._el_0,'\n                ',(null as any));
    this._expr_1 = import14.UNINITIALIZED;
    var disposable_0:Function = this.renderer.listen(this._el_0,'change',this.eventHandler(this._handle_change_0_0.bind(this)));
    this._expr_2 = import14.UNINITIALIZED;
    this.init([].concat([this._el_0]),[
      this._el_0,
      this._text_1,
      this._anchor_2,
      this._text_3
    ]
    ,[disposable_0],[]);
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import24.TemplateRef) && (2 === requestNodeIndex))) { return this._TemplateRef_2_5; }
    if (((token === import22.NgFor) && (2 === requestNodeIndex))) { return this._NgFor_2_6; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    var changes:{[key: string]:import14.SimpleChange} = (null as any);
    changes = (null as any);
    const currVal_2:any = this.parent.context.selectDropdownOptions;
    if (import12.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
      this._NgFor_2_6.ngForOf = currVal_2;
      if ((changes === (null as any))) { (changes = {}); }
      changes['ngForOf'] = new import14.SimpleChange(this._expr_2,currVal_2);
      this._expr_2 = currVal_2;
    }
    if ((changes !== (null as any))) { this._NgFor_2_6.ngOnChanges(changes); }
    if (!throwOnChange) { this._NgFor_2_6.ngDoCheck(); }
    this.detectContentChildrenChanges(throwOnChange);
    const currVal_1:any = this.parent.context.page;
    if (import12.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
      this.renderer.setElementProperty(this._el_0,'value',currVal_1);
      this._expr_1 = currVal_1;
    }
    this.detectViewChildrenChanges(throwOnChange);
  }
  private _handle_change_0_0($event:any):boolean {
    this.markPathToRootAsCheckOnce();
    const pd_0:any = ((<any>this.parent.context.onDropdownChange($event.target.value)) !== false);
    return (true && pd_0);
  }
}
function viewFactory_Carousel3(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel3(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel4 extends import8.AppView<any> {
  _el_0:any;
  _text_1:any;
  /*private*/ _expr_0:any;
  /*private*/ _expr_1:any;
  /*private*/ _expr_2:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel4,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.renderer.createElement((null as any),'option',(null as any));
    this._text_1 = this.renderer.createText(this._el_0,'',(null as any));
    this._expr_0 = import14.UNINITIALIZED;
    this._expr_1 = import14.UNINITIALIZED;
    this._expr_2 = import14.UNINITIALIZED;
    this.init([].concat([this._el_0]),[
      this._el_0,
      this._text_1
    ]
    ,[],[]);
    return (null as any);
  }
  detectChangesInternal(throwOnChange:boolean):void {
    this.detectContentChildrenChanges(throwOnChange);
    const currVal_0:any = this.context.$implicit;
    if (import12.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
      this.renderer.setElementProperty(this._el_0,'value',currVal_0);
      this._expr_0 = currVal_0;
    }
    const currVal_1:any = (this.parent.parent.context.value == this.context.$implicit);
    if (import12.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
      this.renderer.setElementProperty(this._el_0,'selected',currVal_1);
      this._expr_1 = currVal_1;
    }
    const currVal_2:any = import12.interpolate(1,'',(this.context.$implicit + 1),'');
    if (import12.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
      this.renderer.setText(this._text_1,currVal_2);
      this._expr_2 = currVal_2;
    }
    this.detectViewChildrenChanges(throwOnChange);
  }
}
function viewFactory_Carousel4(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel4(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel5 extends import8.AppView<any> {
  _el_0:any;
  _text_1:any;
  _anchor_2:any;
  /*private*/ _appEl_2:import9.AppElement;
  _TemplateRef_2_5:any;
  _NgFor_2_6:import22.NgFor;
  _text_3:any;
  /*private*/ _expr_1:any;
  /*private*/ _expr_2:any;
  /*private*/ _expr_3:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel5,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.renderer.createElement((null as any),'select',(null as any));
    this.renderer.setElementAttribute(this._el_0,'class','ui-carousel-mobiledropdown ui-widget ui-state-default ui-corner-left');
    this._text_1 = this.renderer.createText(this._el_0,'\n                    ',(null as any));
    this._anchor_2 = this.renderer.createTemplateAnchor(this._el_0,(null as any));
    this._appEl_2 = new import9.AppElement(2,0,this,this._anchor_2);
    this._TemplateRef_2_5 = new import24.TemplateRef_(this._appEl_2,viewFactory_Carousel6);
    this._NgFor_2_6 = new import22.NgFor(this._appEl_2.vcRef,this._TemplateRef_2_5,this.parent.parentInjector.get(import16.IterableDiffers),this.parent.ref);
    this._text_3 = this.renderer.createText(this._el_0,'\n                ',(null as any));
    this._expr_1 = import14.UNINITIALIZED;
    this._expr_2 = import14.UNINITIALIZED;
    var disposable_0:Function = this.renderer.listen(this._el_0,'change',this.eventHandler(this._handle_change_0_0.bind(this)));
    this._expr_3 = import14.UNINITIALIZED;
    this.init([].concat([this._el_0]),[
      this._el_0,
      this._text_1,
      this._anchor_2,
      this._text_3
    ]
    ,[disposable_0],[]);
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import24.TemplateRef) && (2 === requestNodeIndex))) { return this._TemplateRef_2_5; }
    if (((token === import22.NgFor) && (2 === requestNodeIndex))) { return this._NgFor_2_6; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    var changes:{[key: string]:import14.SimpleChange} = (null as any);
    changes = (null as any);
    const currVal_3:any = this.parent.context.mobileDropdownOptions;
    if (import12.checkBinding(throwOnChange,this._expr_3,currVal_3)) {
      this._NgFor_2_6.ngForOf = currVal_3;
      if ((changes === (null as any))) { (changes = {}); }
      changes['ngForOf'] = new import14.SimpleChange(this._expr_3,currVal_3);
      this._expr_3 = currVal_3;
    }
    if ((changes !== (null as any))) { this._NgFor_2_6.ngOnChanges(changes); }
    if (!throwOnChange) { this._NgFor_2_6.ngDoCheck(); }
    this.detectContentChildrenChanges(throwOnChange);
    const currVal_1:any = this.parent.context.page;
    if (import12.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
      this.renderer.setElementProperty(this._el_0,'value',currVal_1);
      this._expr_1 = currVal_1;
    }
    const currVal_2:any = (this.parent.context.shrinked? 'block': 'none');
    if (import12.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
      this.renderer.setElementStyle(this._el_0,'display',((this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_2) == (null as any))? (null as any): this.viewUtils.sanitizer.sanitize(import25.SecurityContext.STYLE,currVal_2).toString()));
      this._expr_2 = currVal_2;
    }
    this.detectViewChildrenChanges(throwOnChange);
  }
  private _handle_change_0_0($event:any):boolean {
    this.markPathToRootAsCheckOnce();
    const pd_0:any = ((<any>this.parent.context.onDropdownChange($event.target.value)) !== false);
    return (true && pd_0);
  }
}
function viewFactory_Carousel5(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel5(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel6 extends import8.AppView<any> {
  _el_0:any;
  _text_1:any;
  /*private*/ _expr_0:any;
  /*private*/ _expr_1:any;
  /*private*/ _expr_2:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel6,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.renderer.createElement((null as any),'option',(null as any));
    this._text_1 = this.renderer.createText(this._el_0,'',(null as any));
    this._expr_0 = import14.UNINITIALIZED;
    this._expr_1 = import14.UNINITIALIZED;
    this._expr_2 = import14.UNINITIALIZED;
    this.init([].concat([this._el_0]),[
      this._el_0,
      this._text_1
    ]
    ,[],[]);
    return (null as any);
  }
  detectChangesInternal(throwOnChange:boolean):void {
    this.detectContentChildrenChanges(throwOnChange);
    const currVal_0:any = this.context.$implicit;
    if (import12.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
      this.renderer.setElementProperty(this._el_0,'value',currVal_0);
      this._expr_0 = currVal_0;
    }
    const currVal_1:any = (this.parent.parent.context.value == this.context.$implicit);
    if (import12.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
      this.renderer.setElementProperty(this._el_0,'selected',currVal_1);
      this._expr_1 = currVal_1;
    }
    const currVal_2:any = import12.interpolate(1,'',(this.context.$implicit + 1),'');
    if (import12.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
      this.renderer.setText(this._text_1,currVal_2);
      this._expr_2 = currVal_2;
    }
    this.detectViewChildrenChanges(throwOnChange);
  }
}
function viewFactory_Carousel6(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel6(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel7 extends import8.AppView<any> {
  _el_0:any;
  _text_1:any;
  _anchor_2:any;
  /*private*/ _appEl_2:import9.AppElement;
  _TemplateRef_2_5:any;
  _TemplateWrapper_2_6:import3.TemplateWrapper;
  _text_3:any;
  /*private*/ _expr_0:any;
  /*private*/ _expr_1:any;
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel7,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this._el_0 = this.renderer.createElement((null as any),'li',(null as any));
    this.renderer.setElementAttribute(this._el_0,'class','ui-carousel-item ui-widget-content ui-corner-all');
    this._text_1 = this.renderer.createText(this._el_0,'\n                        ',(null as any));
    this._anchor_2 = this.renderer.createTemplateAnchor(this._el_0,(null as any));
    this._appEl_2 = new import9.AppElement(2,0,this,this._anchor_2);
    this._TemplateRef_2_5 = new import24.TemplateRef_(this._appEl_2,viewFactory_Carousel8);
    this._TemplateWrapper_2_6 = new import3.TemplateWrapper(this._appEl_2.vcRef);
    this._text_3 = this.renderer.createText(this._el_0,'\n                    ',(null as any));
    this._expr_0 = import14.UNINITIALIZED;
    this._expr_1 = import14.UNINITIALIZED;
    this.init([].concat([this._el_0]),[
      this._el_0,
      this._text_1,
      this._anchor_2,
      this._text_3
    ]
    ,[],[]);
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import24.TemplateRef) && (2 === requestNodeIndex))) { return this._TemplateRef_2_5; }
    if (((token === import3.TemplateWrapper) && (2 === requestNodeIndex))) { return this._TemplateWrapper_2_6; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    const currVal_0:any = this.context.$implicit;
    if (import12.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
      this._TemplateWrapper_2_6.item = currVal_0;
      this._expr_0 = currVal_0;
    }
    const currVal_1:any = this.parent.context.itemTemplate;
    if (import12.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
      this._TemplateWrapper_2_6.templateRef = currVal_1;
      this._expr_1 = currVal_1;
    }
    if (((this.numberOfChecks === 0) && !throwOnChange)) { this._TemplateWrapper_2_6.ngOnInit(); }
    this.detectContentChildrenChanges(throwOnChange);
    this.detectViewChildrenChanges(throwOnChange);
  }
}
function viewFactory_Carousel7(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel7(viewUtils,parentInjector,declarationEl);
}
class _View_Carousel8 extends import8.AppView<any> {
  constructor(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement) {
    super(_View_Carousel8,renderType_Carousel,import13.ViewType.EMBEDDED,viewUtils,parentInjector,declarationEl,import14.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import9.AppElement {
    this.init([],[],[],[]);
    return (null as any);
  }
}
function viewFactory_Carousel8(viewUtils:import12.ViewUtils,parentInjector:import5.Injector,declarationEl:import9.AppElement):import8.AppView<any> {
  return new _View_Carousel8(viewUtils,parentInjector,declarationEl);
}


text:
namespace _03.AnimalHierarchy
{
    using System;

    public class Cat : Animal, ISound
    {
        public Cat(string name, int age, Sex sex) : base(name, age, sex)
        {

        }
        public override void ProduceSound()
        {
            Console.WriteLine("Cat Sound");
        }
    }
}